From b293fdfcf2dfa212b58ff40134116b07699430b4 Mon Sep 17 00:00:00 2001 From: deyaaeldeen Date: Wed, 20 Jan 2021 20:28:33 +0000 Subject: [PATCH 1/2] [Monitor] Ship type declarations file --- .../opentelemetry-exporter-azure-monitor/api-extractor.json | 2 +- sdk/monitor/opentelemetry-exporter-azure-monitor/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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..cc880dc0d236 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/package.json +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/package.json @@ -6,7 +6,7 @@ "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" From 258df559faab3aafb36304a3cb1431d8a8c55656 Mon Sep 17 00:00:00 2001 From: deyaaeldeen Date: Wed, 20 Jan 2021 20:31:13 +0000 Subject: [PATCH 2/2] prepare release --- sdk/monitor/opentelemetry-exporter-azure-monitor/CHANGELOG.md | 4 ++++ sdk/monitor/opentelemetry-exporter-azure-monitor/package.json | 2 +- .../src/generated/applicationInsightsClientContext.ts | 2 +- .../src/utils/constants/applicationinsights.ts | 2 +- 4 files changed, 7 insertions(+), 3 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/package.json b/sdk/monitor/opentelemetry-exporter-azure-monitor/package.json index cc880dc0d236..f9c8fef37ef8 100644 --- a/sdk/monitor/opentelemetry-exporter-azure-monitor/package.json +++ b/sdk/monitor/opentelemetry-exporter-azure-monitor/package.json @@ -2,7 +2,7 @@ "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", 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";