@microsoft/applicationinsights-properties-js 3.0.0-beta.2301-20 → 3.0.0-beta.2302-02

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/browser/applicationinsights-properties-js.integrity.json +9 -9
  2. package/browser/applicationinsights-properties-js.js +57 -15
  3. package/browser/applicationinsights-properties-js.js.map +1 -1
  4. package/browser/applicationinsights-properties-js.min.js +2 -2
  5. package/browser/applicationinsights-properties-js.min.js.map +1 -1
  6. package/dist/applicationinsights-properties-js.api.json +1 -1
  7. package/dist/applicationinsights-properties-js.d.ts +1 -1
  8. package/dist/applicationinsights-properties-js.js +57 -15
  9. package/dist/applicationinsights-properties-js.js.map +1 -1
  10. package/dist/applicationinsights-properties-js.min.js +2 -2
  11. package/dist/applicationinsights-properties-js.min.js.map +1 -1
  12. package/dist/applicationinsights-properties-js.rollup.d.ts +1 -1
  13. package/dist-esm/Context/Application.js +1 -1
  14. package/dist-esm/Context/Device.js +1 -1
  15. package/dist-esm/Context/Internal.js +1 -1
  16. package/dist-esm/Context/Location.js +1 -1
  17. package/dist-esm/Context/Session.js +1 -1
  18. package/dist-esm/Context/TelemetryTrace.js +1 -1
  19. package/dist-esm/Context/User.js +1 -1
  20. package/dist-esm/Interfaces/IPropTelemetryContext.js +1 -1
  21. package/dist-esm/Interfaces/IPropertiesConfig.js +1 -1
  22. package/dist-esm/PropertiesPlugin.js +1 -1
  23. package/dist-esm/TelemetryContext.js +1 -1
  24. package/dist-esm/__DynamicConstants.js +4 -4
  25. package/dist-esm/__DynamicConstants.js.map +1 -1
  26. package/dist-esm/applicationinsights-properties-js.js +1 -1
  27. package/package.json +6 -6
  28. package/src/Context/Session.ts +11 -11
  29. package/src/Context/User.ts +13 -13
  30. package/src/PropertiesPlugin.ts +20 -20
  31. package/src/TelemetryContext.ts +25 -25
  32. package/src/__DynamicConstants.ts +41 -41
  33. package/types/tsdoc-metadata.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights properties plugin, 3.0.0-beta.2301-20
2
+ * Microsoft Application Insights properties plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2301-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2301-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2301-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2301-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2301-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2301-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2301-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2301-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2301-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2301-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2301-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2301-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -8,9 +8,9 @@
8
8
  // ##############################################################
9
9
  // AUTO GENERATED FILE: This file is Auto Generated during build.
10
10
  // ##############################################################
11
- // ###########################################################################################################################################
12
- // Note: DON'T Export these const from the package as we are still targeting IE this will export a mutable variables that someone could change
13
- // ###########################################################################################################################################
11
+ // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
+ // Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!
13
+ // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
14
  export var _DYN_SESSION_MANAGER = "sessionManager"; // Count: 3
15
15
  export var _DYN_UPDATE = "update"; // Count: 4
16
16
  export var _DYN_IS_USER_COOKIE_SET = "isUserCookieSet"; // Count: 4
@@ -1 +1 @@
1
- {"version":3,"file":"__DynamicConstants.js.map","sources":["__DynamicConstants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// @skip-file-minify\r\n// ##############################################################\r\n// AUTO GENERATED FILE: This file is Auto Generated during build.\r\n// ##############################################################\r\n// ###########################################################################################################################################\r\n// Note: DON'T Export these const from the package as we are still targeting IE this will export a mutable variables that someone could change\r\n// ###########################################################################################################################################\r\nexport var _DYN_SESSION_MANAGER = \"sessionManager\"; // Count: 3\r\nexport var _DYN_UPDATE = \"update\"; // Count: 4\r\nexport var _DYN_IS_USER_COOKIE_SET = \"isUserCookieSet\"; // Count: 4\r\nexport var _DYN_IS_NEW_USER = \"isNewUser\"; // Count: 4\r\nexport var _DYN_GET_TRACE_CTX = \"getTraceCtx\"; // Count: 3\r\nexport var _DYN_TELEMETRY_TRACE = \"telemetryTrace\"; // Count: 3\r\nexport var _DYN_APPLY_SESSION_CONTEX0 = \"applySessionContext\"; // Count: 2\r\nexport var _DYN_APPLY_APPLICATION_CO1 = \"applyApplicationContext\"; // Count: 2\r\nexport var _DYN_APPLY_DEVICE_CONTEXT = \"applyDeviceContext\"; // Count: 2\r\nexport var _DYN_APPLY_OPERATION_CONT2 = \"applyOperationContext\"; // Count: 2\r\nexport var _DYN_APPLY_USER_CONTEXT = \"applyUserContext\"; // Count: 2\r\nexport var _DYN_APPLY_OPERATING_SYST3 = \"applyOperatingSystemContxt\"; // Count: 2\r\nexport var _DYN_APPLY_LOCATION_CONTE4 = \"applyLocationContext\"; // Count: 2\r\nexport var _DYN_APPLY_INTERNAL_CONTE5 = \"applyInternalContext\"; // Count: 2\r\nexport var _DYN_ACCOUNT_ID = \"accountId\"; // Count: 7\r\nexport var _DYN_GET_SESSION_ID = \"getSessionId\"; // Count: 4\r\nexport var _DYN_NAME_PREFIX = \"namePrefix\"; // Count: 3\r\nexport var _DYN_SESSION_COOKIE_POSTF6 = \"sessionCookiePostfix\"; // Count: 2\r\nexport var _DYN_USER_COOKIE_POSTFIX = \"userCookiePostfix\"; // Count: 2\r\nexport var _DYN_ID_LENGTH = \"idLength\"; // Count: 4\r\nexport var _DYN_GET_NEW_ID = \"getNewId\"; // Count: 3\r\nexport var _DYN_LENGTH = \"length\"; // Count: 4\r\nexport var _DYN_AUTOMATIC_SESSION = \"automaticSession\"; // Count: 5\r\nexport var _DYN_AUTHENTICATED_ID = \"authenticatedId\"; // Count: 6\r\nexport var _DYN_ACQUISITION_DATE = \"acquisitionDate\"; // Count: 5\r\nexport var _DYN_RENEWAL_DATE = \"renewalDate\"; // Count: 4\r\nexport var _DYN_JOIN = \"join\"; // Count: 5\r\nexport var _DYN_COOKIE_SEPARATOR = \"cookieSeparator\"; // Count: 5\r\nexport var _DYN_AUTH_USER_COOKIE_NAM7 = \"authUserCookieName\"; // Count: 3\r\n//# sourceMappingURL=__DynamicConstants.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"__DynamicConstants.js.map","sources":["__DynamicConstants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\n// @skip-file-minify\r\n// ##############################################################\r\n// AUTO GENERATED FILE: This file is Auto Generated during build.\r\n// ##############################################################\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n// Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\nexport var _DYN_SESSION_MANAGER = \"sessionManager\"; // Count: 3\r\nexport var _DYN_UPDATE = \"update\"; // Count: 4\r\nexport var _DYN_IS_USER_COOKIE_SET = \"isUserCookieSet\"; // Count: 4\r\nexport var _DYN_IS_NEW_USER = \"isNewUser\"; // Count: 4\r\nexport var _DYN_GET_TRACE_CTX = \"getTraceCtx\"; // Count: 3\r\nexport var _DYN_TELEMETRY_TRACE = \"telemetryTrace\"; // Count: 3\r\nexport var _DYN_APPLY_SESSION_CONTEX0 = \"applySessionContext\"; // Count: 2\r\nexport var _DYN_APPLY_APPLICATION_CO1 = \"applyApplicationContext\"; // Count: 2\r\nexport var _DYN_APPLY_DEVICE_CONTEXT = \"applyDeviceContext\"; // Count: 2\r\nexport var _DYN_APPLY_OPERATION_CONT2 = \"applyOperationContext\"; // Count: 2\r\nexport var _DYN_APPLY_USER_CONTEXT = \"applyUserContext\"; // Count: 2\r\nexport var _DYN_APPLY_OPERATING_SYST3 = \"applyOperatingSystemContxt\"; // Count: 2\r\nexport var _DYN_APPLY_LOCATION_CONTE4 = \"applyLocationContext\"; // Count: 2\r\nexport var _DYN_APPLY_INTERNAL_CONTE5 = \"applyInternalContext\"; // Count: 2\r\nexport var _DYN_ACCOUNT_ID = \"accountId\"; // Count: 7\r\nexport var _DYN_GET_SESSION_ID = \"getSessionId\"; // Count: 4\r\nexport var _DYN_NAME_PREFIX = \"namePrefix\"; // Count: 3\r\nexport var _DYN_SESSION_COOKIE_POSTF6 = \"sessionCookiePostfix\"; // Count: 2\r\nexport var _DYN_USER_COOKIE_POSTFIX = \"userCookiePostfix\"; // Count: 2\r\nexport var _DYN_ID_LENGTH = \"idLength\"; // Count: 4\r\nexport var _DYN_GET_NEW_ID = \"getNewId\"; // Count: 3\r\nexport var _DYN_LENGTH = \"length\"; // Count: 4\r\nexport var _DYN_AUTOMATIC_SESSION = \"automaticSession\"; // Count: 5\r\nexport var _DYN_AUTHENTICATED_ID = \"authenticatedId\"; // Count: 6\r\nexport var _DYN_ACQUISITION_DATE = \"acquisitionDate\"; // Count: 5\r\nexport var _DYN_RENEWAL_DATE = \"renewalDate\"; // Count: 4\r\nexport var _DYN_JOIN = \"join\"; // Count: 5\r\nexport var _DYN_COOKIE_SEPARATOR = \"cookieSeparator\"; // Count: 5\r\nexport var _DYN_AUTH_USER_COOKIE_NAM7 = \"authUserCookieName\"; // Count: 3\r\n//# sourceMappingURL=__DynamicConstants.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2301-20
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2302-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-properties-js",
3
- "version": "3.0.0-beta.2301-20",
3
+ "version": "3.0.0-beta.2302-02",
4
4
  "description": "Microsoft Application Insights properties (Part A) plugin",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
@@ -30,11 +30,11 @@
30
30
  "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
31
31
  "@microsoft/applicationinsights-rollup-es5": "1.0.0",
32
32
  "@microsoft/api-extractor": "^7.18.1",
33
- "typescript": "^4.3.4",
33
+ "typescript": "^4.9.3",
34
34
  "tslib": "^2.0.0",
35
35
  "grunt": "^1.5.3",
36
36
  "grunt-cli": "^1.4.3",
37
- "grunt-contrib-qunit": "^5.0.1",
37
+ "grunt-contrib-qunit": "^6.2.1",
38
38
  "@nevware21/grunt-ts-plugin": "^0.4.3",
39
39
  "@nevware21/grunt-eslint-ts": "^0.2.2",
40
40
  "globby": "^11.0.0",
@@ -54,9 +54,9 @@
54
54
  "dependencies": {
55
55
  "@microsoft/dynamicproto-js": "^1.1.7",
56
56
  "@microsoft/applicationinsights-shims": "2.0.2",
57
- "@microsoft/applicationinsights-core-js": "3.0.0-beta.2301-20",
58
- "@microsoft/applicationinsights-common": "3.0.0-beta.2301-20",
59
- "@nevware21/ts-utils": "^0.6.0"
57
+ "@microsoft/applicationinsights-core-js": "3.0.0-beta.2302-02",
58
+ "@microsoft/applicationinsights-common": "3.0.0-beta.2302-02",
59
+ "@nevware21/ts-utils": "^0.7.0"
60
60
  },
61
61
  "license": "MIT",
62
62
  "publishConfig": {
@@ -1,13 +1,13 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import dynamicProto from "@microsoft/dynamicproto-js";
5
- import { ISession, utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage } from "@microsoft/applicationinsights-common";
6
- import {
7
- IAppInsightsCore, ICookieMgr, IDiagnosticLogger, IUnloadHookContainer, _eInternalMessageId, _throwInternal, dateNow, dumpObj,
8
- eLoggingSeverity, getExceptionName, isFunction, newId, onConfigChange, safeGetCookieMgr, safeGetLogger
9
- } from "@microsoft/applicationinsights-core-js";
10
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import dynamicProto from "@microsoft/dynamicproto-js";
5
+ import { ISession, utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage } from "@microsoft/applicationinsights-common";
6
+ import {
7
+ IAppInsightsCore, ICookieMgr, IDiagnosticLogger, IUnloadHookContainer, _eInternalMessageId, _throwInternal, dateNow, dumpObj,
8
+ eLoggingSeverity, getExceptionName, isFunction, newId, onConfigChange, safeGetCookieMgr, safeGetLogger
9
+ } from "@microsoft/applicationinsights-core-js";
10
+
11
11
  const SESSION_COOKIE_NAME = "ai_session";
12
12
  const ACQUISITION_SPAN = 86400000; // 24 hours in ms
13
13
  const RENEWAL_SPAN = 1800000; // 30 minutes in ms
@@ -254,4 +254,4 @@ export class _SessionManager {
254
254
  public backup() {
255
255
  // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging
256
256
  }
257
- }
257
+ }
@@ -1,15 +1,15 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import dynamicProto from "@microsoft/dynamicproto-js";
5
- import { IUserContext, utlRemoveStorage } from "@microsoft/applicationinsights-common";
6
- import {
7
- IAppInsightsCore, ICookieMgr, IUnloadHookContainer, _eInternalMessageId, _throwInternal, eLoggingSeverity, newId, onConfigChange,
8
- safeGetCookieMgr, safeGetLogger, toISOString
9
- } from "@microsoft/applicationinsights-core-js";
10
- import { objDefineProp } from "@nevware21/ts-utils";
11
- import { IPropertiesConfig } from "../Interfaces/IPropertiesConfig";
12
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import dynamicProto from "@microsoft/dynamicproto-js";
5
+ import { IUserContext, utlRemoveStorage } from "@microsoft/applicationinsights-common";
6
+ import {
7
+ IAppInsightsCore, ICookieMgr, IUnloadHookContainer, _eInternalMessageId, _throwInternal, eLoggingSeverity, newId, onConfigChange,
8
+ safeGetCookieMgr, safeGetLogger, toISOString
9
+ } from "@microsoft/applicationinsights-core-js";
10
+ import { objDefineProp } from "@nevware21/ts-utils";
11
+ import { IPropertiesConfig } from "../Interfaces/IPropertiesConfig";
12
+
13
13
  function _validateUserInput(id: string): boolean {
14
14
  // Validate:
15
15
  // 1. Id is a non-empty string.
@@ -232,4 +232,4 @@ export class User implements IUserContext {
232
232
  public update(userId?: string) {
233
233
  // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging
234
234
  }
235
- }
235
+ }
@@ -1,22 +1,22 @@
1
- /**
2
- * PropertiesPlugin.ts
3
- * @copyright Microsoft 2018
4
- */
5
-
6
- import dynamicProto from "@microsoft/dynamicproto-js";
7
- import {
8
- BreezeChannelIdentifier, IConfig, IPropertiesPlugin, PageView, PropertiesPluginIdentifier, createDistributedTraceContextFromTrace
9
- } from "@microsoft/applicationinsights-common";
10
- import {
11
- BaseTelemetryPlugin, IAppInsightsCore, IConfigDefaults, IConfiguration, IDistributedTraceContext, IPlugin, IProcessTelemetryContext,
12
- IProcessTelemetryUnloadContext, ITelemetryItem, ITelemetryPluginChain, ITelemetryUnloadState, _InternalLogMessage, _eInternalMessageId,
13
- _logInternalMessage, createProcessTelemetryContext, eLoggingSeverity, getNavigator, getSetValue, isNullOrUndefined, onConfigChange
14
- } from "@microsoft/applicationinsights-core-js";
15
- import { objDeepFreeze, objDefineProp } from "@nevware21/ts-utils";
16
- import { IPropTelemetryContext } from "./Interfaces/IPropTelemetryContext";
17
- import { IPropertiesConfig } from "./Interfaces/IPropertiesConfig";
18
- import { TelemetryContext } from "./TelemetryContext";
19
-
1
+ /**
2
+ * PropertiesPlugin.ts
3
+ * @copyright Microsoft 2018
4
+ */
5
+
6
+ import dynamicProto from "@microsoft/dynamicproto-js";
7
+ import {
8
+ BreezeChannelIdentifier, IConfig, IPropertiesPlugin, PageView, PropertiesPluginIdentifier, createDistributedTraceContextFromTrace
9
+ } from "@microsoft/applicationinsights-common";
10
+ import {
11
+ BaseTelemetryPlugin, IAppInsightsCore, IConfigDefaults, IConfiguration, IDistributedTraceContext, IPlugin, IProcessTelemetryContext,
12
+ IProcessTelemetryUnloadContext, ITelemetryItem, ITelemetryPluginChain, ITelemetryUnloadState, _InternalLogMessage, _eInternalMessageId,
13
+ _logInternalMessage, createProcessTelemetryContext, eLoggingSeverity, getNavigator, getSetValue, isNullOrUndefined, onConfigChange
14
+ } from "@microsoft/applicationinsights-core-js";
15
+ import { objDeepFreeze, objDefineProp } from "@nevware21/ts-utils";
16
+ import { IPropTelemetryContext } from "./Interfaces/IPropTelemetryContext";
17
+ import { IPropertiesConfig } from "./Interfaces/IPropertiesConfig";
18
+ import { TelemetryContext } from "./TelemetryContext";
19
+
20
20
  let undefString: string;
21
21
  const nullValue: any = null;
22
22
 
@@ -182,4 +182,4 @@ export default class PropertiesPlugin extends BaseTelemetryPlugin implements IPr
182
182
  public processTelemetry(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext) {
183
183
  // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging
184
184
  }
185
- }
185
+ }
@@ -1,27 +1,27 @@
1
- /**
2
- * TelemetryContext.ts
3
- * @copyright Microsoft 2018
4
- */
5
-
6
- import dynamicProto from "@microsoft/dynamicproto-js";
7
- import {
8
- CtxTagKeys, Extensions, IApplication, IDevice, IInternal, ILocation, IOperatingSystem, ISession, ITelemetryTrace, IUserContext, IWeb,
9
- PageView
10
- } from "@microsoft/applicationinsights-common";
11
- import {
12
- IAppInsightsCore, IDistributedTraceContext, IProcessTelemetryContext, ITelemetryItem, IUnloadHookContainer, _InternalLogMessage,
13
- getSetValue, hasWindow, isNullOrUndefined, isString, objKeys, setValue
14
- } from "@microsoft/applicationinsights-core-js";
15
- import { Application } from "./Context/Application";
16
- import { Device } from "./Context/Device";
17
- import { Internal } from "./Context/Internal";
18
- import { Location } from "./Context/Location";
19
- import { Session, _SessionManager } from "./Context/Session";
20
- import { TelemetryTrace } from "./Context/TelemetryTrace";
21
- import { User } from "./Context/User";
22
- import { IPropTelemetryContext } from "./Interfaces/IPropTelemetryContext";
23
- import { IPropertiesConfig } from "./Interfaces/IPropertiesConfig";
24
-
1
+ /**
2
+ * TelemetryContext.ts
3
+ * @copyright Microsoft 2018
4
+ */
5
+
6
+ import dynamicProto from "@microsoft/dynamicproto-js";
7
+ import {
8
+ CtxTagKeys, Extensions, IApplication, IDevice, IInternal, ILocation, IOperatingSystem, ISession, ITelemetryTrace, IUserContext, IWeb,
9
+ PageView
10
+ } from "@microsoft/applicationinsights-common";
11
+ import {
12
+ IAppInsightsCore, IDistributedTraceContext, IProcessTelemetryContext, ITelemetryItem, IUnloadHookContainer, _InternalLogMessage,
13
+ getSetValue, hasWindow, isNullOrUndefined, isString, objKeys, setValue
14
+ } from "@microsoft/applicationinsights-core-js";
15
+ import { Application } from "./Context/Application";
16
+ import { Device } from "./Context/Device";
17
+ import { Internal } from "./Context/Internal";
18
+ import { Location } from "./Context/Location";
19
+ import { Session, _SessionManager } from "./Context/Session";
20
+ import { TelemetryTrace } from "./Context/TelemetryTrace";
21
+ import { User } from "./Context/User";
22
+ import { IPropTelemetryContext } from "./Interfaces/IPropTelemetryContext";
23
+ import { IPropertiesConfig } from "./Interfaces/IPropertiesConfig";
24
+
25
25
  const strExt = "ext";
26
26
  const strTags = "tags";
27
27
 
@@ -230,4 +230,4 @@ export class TelemetryContext implements IPropTelemetryContext {
230
230
  public cleanUp(event:ITelemetryItem, itemCtx?: IProcessTelemetryContext): void {
231
231
  // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging
232
232
  }
233
- }
233
+ }
@@ -1,41 +1,41 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
- // @skip-file-minify
4
-
5
- // ##############################################################
6
- // AUTO GENERATED FILE: This file is Auto Generated during build.
7
- // ##############################################################
8
-
9
- // ###########################################################################################################################################
10
- // Note: DON'T Export these const from the package as we are still targeting IE this will export a mutable variables that someone could change
11
- // ###########################################################################################################################################
12
-
13
- export const _DYN_SESSION_MANAGER = "sessionManager"; // Count: 3
14
- export const _DYN_UPDATE = "update"; // Count: 4
15
- export const _DYN_IS_USER_COOKIE_SET = "isUserCookieSet"; // Count: 4
16
- export const _DYN_IS_NEW_USER = "isNewUser"; // Count: 4
17
- export const _DYN_GET_TRACE_CTX = "getTraceCtx"; // Count: 3
18
- export const _DYN_TELEMETRY_TRACE = "telemetryTrace"; // Count: 3
19
- export const _DYN_APPLY_SESSION_CONTEX0 = "applySessionContext"; // Count: 2
20
- export const _DYN_APPLY_APPLICATION_CO1 = "applyApplicationContext"; // Count: 2
21
- export const _DYN_APPLY_DEVICE_CONTEXT = "applyDeviceContext"; // Count: 2
22
- export const _DYN_APPLY_OPERATION_CONT2 = "applyOperationContext"; // Count: 2
23
- export const _DYN_APPLY_USER_CONTEXT = "applyUserContext"; // Count: 2
24
- export const _DYN_APPLY_OPERATING_SYST3 = "applyOperatingSystemContxt"; // Count: 2
25
- export const _DYN_APPLY_LOCATION_CONTE4 = "applyLocationContext"; // Count: 2
26
- export const _DYN_APPLY_INTERNAL_CONTE5 = "applyInternalContext"; // Count: 2
27
- export const _DYN_ACCOUNT_ID = "accountId"; // Count: 7
28
- export const _DYN_GET_SESSION_ID = "getSessionId"; // Count: 4
29
- export const _DYN_NAME_PREFIX = "namePrefix"; // Count: 3
30
- export const _DYN_SESSION_COOKIE_POSTF6 = "sessionCookiePostfix"; // Count: 2
31
- export const _DYN_USER_COOKIE_POSTFIX = "userCookiePostfix"; // Count: 2
32
- export const _DYN_ID_LENGTH = "idLength"; // Count: 4
33
- export const _DYN_GET_NEW_ID = "getNewId"; // Count: 3
34
- export const _DYN_LENGTH = "length"; // Count: 4
35
- export const _DYN_AUTOMATIC_SESSION = "automaticSession"; // Count: 5
36
- export const _DYN_AUTHENTICATED_ID = "authenticatedId"; // Count: 6
37
- export const _DYN_ACQUISITION_DATE = "acquisitionDate"; // Count: 5
38
- export const _DYN_RENEWAL_DATE = "renewalDate"; // Count: 4
39
- export const _DYN_JOIN = "join"; // Count: 5
40
- export const _DYN_COOKIE_SEPARATOR = "cookieSeparator"; // Count: 5
41
- export const _DYN_AUTH_USER_COOKIE_NAM7 = "authUserCookieName"; // Count: 3
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+ // @skip-file-minify
4
+
5
+ // ##############################################################
6
+ // AUTO GENERATED FILE: This file is Auto Generated during build.
7
+ // ##############################################################
8
+
9
+ // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
+ // Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!
11
+ // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
+
13
+ export const _DYN_SESSION_MANAGER = "sessionManager"; // Count: 3
14
+ export const _DYN_UPDATE = "update"; // Count: 4
15
+ export const _DYN_IS_USER_COOKIE_SET = "isUserCookieSet"; // Count: 4
16
+ export const _DYN_IS_NEW_USER = "isNewUser"; // Count: 4
17
+ export const _DYN_GET_TRACE_CTX = "getTraceCtx"; // Count: 3
18
+ export const _DYN_TELEMETRY_TRACE = "telemetryTrace"; // Count: 3
19
+ export const _DYN_APPLY_SESSION_CONTEX0 = "applySessionContext"; // Count: 2
20
+ export const _DYN_APPLY_APPLICATION_CO1 = "applyApplicationContext"; // Count: 2
21
+ export const _DYN_APPLY_DEVICE_CONTEXT = "applyDeviceContext"; // Count: 2
22
+ export const _DYN_APPLY_OPERATION_CONT2 = "applyOperationContext"; // Count: 2
23
+ export const _DYN_APPLY_USER_CONTEXT = "applyUserContext"; // Count: 2
24
+ export const _DYN_APPLY_OPERATING_SYST3 = "applyOperatingSystemContxt"; // Count: 2
25
+ export const _DYN_APPLY_LOCATION_CONTE4 = "applyLocationContext"; // Count: 2
26
+ export const _DYN_APPLY_INTERNAL_CONTE5 = "applyInternalContext"; // Count: 2
27
+ export const _DYN_ACCOUNT_ID = "accountId"; // Count: 7
28
+ export const _DYN_GET_SESSION_ID = "getSessionId"; // Count: 4
29
+ export const _DYN_NAME_PREFIX = "namePrefix"; // Count: 3
30
+ export const _DYN_SESSION_COOKIE_POSTF6 = "sessionCookiePostfix"; // Count: 2
31
+ export const _DYN_USER_COOKIE_POSTFIX = "userCookiePostfix"; // Count: 2
32
+ export const _DYN_ID_LENGTH = "idLength"; // Count: 4
33
+ export const _DYN_GET_NEW_ID = "getNewId"; // Count: 3
34
+ export const _DYN_LENGTH = "length"; // Count: 4
35
+ export const _DYN_AUTOMATIC_SESSION = "automaticSession"; // Count: 5
36
+ export const _DYN_AUTHENTICATED_ID = "authenticatedId"; // Count: 6
37
+ export const _DYN_ACQUISITION_DATE = "acquisitionDate"; // Count: 5
38
+ export const _DYN_RENEWAL_DATE = "renewalDate"; // Count: 4
39
+ export const _DYN_JOIN = "join"; // Count: 5
40
+ export const _DYN_COOKIE_SEPARATOR = "cookieSeparator"; // Count: 5
41
+ export const _DYN_AUTH_USER_COOKIE_NAM7 = "authUserCookieName"; // Count: 3
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.0"
8
+ "packageVersion": "7.34.2"
9
9
  }
10
10
  ]
11
11
  }