From 1b641e4605fae7423b9b7778d3e7a1b4f1133864 Mon Sep 17 00:00:00 2001 From: Deyaaeldeen Almahallawi Date: Wed, 20 Jan 2021 16:03:01 -0500 Subject: [PATCH] [Monitor] Ship type declarations (#13299) * [Monitor] Ship type declarations file * prepare release --- .../opentelemetry-exporter-azure-monitor/CHANGELOG.md | 4 ++++ .../opentelemetry-exporter-azure-monitor/api-extractor.json | 2 +- .../opentelemetry-exporter-azure-monitor/package.json | 6 +++--- .../src/generated/applicationInsightsClientContext.ts | 2 +- .../src/utils/constants/applicationinsights.ts | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/CHANGELOG.md b/sdk/monitor/opentelemetry-exporter-azure-monitor/CHANGELOG.md index 4331d6e86be1..2b5a8050e2f7 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/CHANGELOG.md +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History +## 1.0.0-beta.2 (2021-01-20) + +- Ship the correct type declaration file + ## 1.0.0-beta.1 (2021-01-13) - OT Exporter retry when there are network issues diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/api-extractor.json b/sdk/monitor/opentelemetry-exporter-azure-monitor/api-extractor.json index 0601238f5944..dd0bbf50ef5f 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/api-extractor.json +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/api-extractor.json @@ -11,7 +11,7 @@ "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "./types/latest/opentelemetry-exporter-azure-monitor.d.ts" + "publicTrimmedFilePath": "./types/opentelemetry-exporter-azure-monitor.d.ts" }, "messages": { "tsdocMessageReporting": { diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/package.json b/sdk/monitor/opentelemetry-exporter-azure-monitor/package.json index e471becf19cc..f9c8fef37ef8 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/package.json +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/package.json @@ -2,11 +2,11 @@ "name": "@azure/opentelemetry-exporter-azure-monitor", "author": "Microsoft Corporation", "sdk-type": "client", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "description": "Application Insights exporter for the OpenTelemetry JavaScript (Node.js) SDK", "main": "dist/index.js", "module": "dist-esm/src/index.js", - "types": "types/latest/opentelemetry-exporter-azure-monitor.d.ts", + "types": "types/opentelemetry-exporter-azure-monitor.d.ts", "scripts": { "clean": "rimraf dist-esm types dist", "build:autorest": "autorest ./swagger/README.md --typescript --v3", @@ -41,7 +41,7 @@ "dist-esm/src/", "dist/src/", "browser/src/", - "types/src/", + "types/opentelemetry-exporter-azure-monitor.d.ts", "README.md", "SECURITY.md", "LICENSE" diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/src/generated/applicationInsightsClientContext.ts b/sdk/monitor/opentelemetry-exporter-azure-monitor/src/generated/applicationInsightsClientContext.ts index f502c2cf98f9..af16c10c9c3d 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/src/generated/applicationInsightsClientContext.ts +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/src/generated/applicationInsightsClientContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { ApplicationInsightsClientOptionalParams } from "./models"; const packageName = "@azure/opentelemetry-exporter-azure-monitor"; -const packageVersion = "1.0.0"; +const packageVersion = "1.0.0-beta.2"; export class ApplicationInsightsClientContext extends coreHttp.ServiceClient { host: string; diff --git a/sdk/monitor/opentelemetry-exporter-azure-monitor/src/utils/constants/applicationinsights.ts b/sdk/monitor/opentelemetry-exporter-azure-monitor/src/utils/constants/applicationinsights.ts index 031aea14aa6c..24e32865e0ec 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/src/utils/constants/applicationinsights.ts +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/src/utils/constants/applicationinsights.ts @@ -10,4 +10,4 @@ export const MS_LINKS = "_MS.links"; export const INPROC = "InProc"; export const ENQUEUED_TIME = "enqueuedTime"; export const TIME_SINCE_ENQUEUED = "timeSinceEnqueued"; -export const packageVersion = "1.0.0-beta.1"; +export const packageVersion = "1.0.0-beta.2";