@microsoft/1ds-core-js 4.4.0-nightlybeta3.2602-27 → 4.4.1

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 (53) hide show
  1. package/README.md +56 -0
  2. package/bundle/es5/{ms.core-4.4.0-nightlybeta3.2602-27.gbl.js → ms.core-4.4.1.gbl.js} +498 -511
  3. package/bundle/es5/ms.core-4.4.1.gbl.js.map +1 -0
  4. package/bundle/es5/ms.core-4.4.1.gbl.min.js +7 -0
  5. package/bundle/es5/ms.core-4.4.1.gbl.min.js.map +1 -0
  6. package/bundle/es5/ms.core-4.4.1.integrity.json +46 -0
  7. package/bundle/es5/{ms.core-4.4.0-nightlybeta3.2602-27.js → ms.core-4.4.1.js} +498 -511
  8. package/bundle/es5/ms.core-4.4.1.js.map +1 -0
  9. package/bundle/es5/ms.core-4.4.1.min.js +7 -0
  10. package/bundle/es5/ms.core-4.4.1.min.js.map +1 -0
  11. package/bundle/es5/ms.core.gbl.js +497 -510
  12. package/bundle/es5/ms.core.gbl.js.map +1 -1
  13. package/bundle/es5/ms.core.gbl.min.js +2 -2
  14. package/bundle/es5/ms.core.gbl.min.js.map +1 -1
  15. package/bundle/es5/ms.core.integrity.json +17 -17
  16. package/bundle/es5/ms.core.js +497 -510
  17. package/bundle/es5/ms.core.js.map +1 -1
  18. package/bundle/es5/ms.core.min.js +2 -2
  19. package/bundle/es5/ms.core.min.js.map +1 -1
  20. package/dist/es5/ms.core.js +495 -508
  21. package/dist/es5/ms.core.js.map +1 -1
  22. package/dist/es5/ms.core.min.js +2 -2
  23. package/dist/es5/ms.core.min.js.map +1 -1
  24. package/dist-es5/Index.js +9 -22
  25. package/dist-es5/Index.js.map +1 -1
  26. package/package.json +69 -72
  27. package/types/1ds-core-js.d.ts +110 -691
  28. package/types/1ds-core-js.namespaced.d.ts +54 -5
  29. package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-27.gbl.js.map +0 -1
  30. package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-27.gbl.min.js +0 -7
  31. package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-27.gbl.min.js.map +0 -1
  32. package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-27.integrity.json +0 -46
  33. package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-27.js.map +0 -1
  34. package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-27.min.js +0 -7
  35. package/bundle/es5/ms.core-4.4.0-nightlybeta3.2602-27.min.js.map +0 -1
  36. package/dist-es5/AppInsightsCore.js +0 -96
  37. package/dist-es5/AppInsightsCore.js.map +0 -1
  38. package/dist-es5/BaseCore.js +0 -67
  39. package/dist-es5/BaseCore.js.map +0 -1
  40. package/dist-es5/DataModels.js +0 -7
  41. package/dist-es5/DataModels.js.map +0 -1
  42. package/dist-es5/Enums.js +0 -92
  43. package/dist-es5/Enums.js.map +0 -1
  44. package/dist-es5/InternalConstants.js +0 -19
  45. package/dist-es5/InternalConstants.js.map +0 -1
  46. package/dist-es5/Utils.js +0 -397
  47. package/dist-es5/Utils.js.map +0 -1
  48. package/dist-es5/ValueSanitizer.js +0 -262
  49. package/dist-es5/ValueSanitizer.js.map +0 -1
  50. package/dist-es5/__DynamicConstants.js +0 -28
  51. package/dist-es5/__DynamicConstants.js.map +0 -1
  52. package/dist-es5/extSpanUtils.js +0 -308
  53. package/dist-es5/extSpanUtils.js.map +0 -1
@@ -1,96 +0,0 @@
1
- /*
2
- * 1DS JS SDK Core, 4.4.0-nightlybeta3.2602-27
3
- * Copyright (c) Microsoft and contributors. All rights reserved.
4
- * (Microsoft Internal Only)
5
- */
6
- import { __extendsFn as __extends } from "@microsoft/applicationinsights-shims";
7
- /**
8
- * AppInsightsCore.ts
9
- * @author Abhilash Panwar (abpanwar) Hector Hernandez (hectorh)
10
- * @copyright Microsoft 2018
11
- */
12
- import dynamicProto from "@microsoft/dynamicproto-js";
13
- import { AppInsightsCore as InternalCore, _throwInternal, createDynamicConfig, doPerf, dumpObj, throwError } from "@microsoft/applicationinsights-core-js";
14
- import { objDeepFreeze } from "@nevware21/ts-utils";
15
- import { STR_DEFAULT_ENDPOINT_URL, STR_EMPTY, STR_PROPERTIES, STR_VERSION } from "./InternalConstants";
16
- import { FullVersionString, getTime, isLatency } from "./Utils";
17
- import { _DYN_BASE_DATA, _DYN_INDEX_OF, _DYN_INITIALIZE, _DYN_POLL_INTERNAL_LOGS, _DYN_TIMINGS } from "./__DynamicConstants";
18
- /**
19
- * The default settings for the config.
20
- * WE MUST include all defaults here to ensure that the config is created with all of the properties
21
- * defined as dynamic.
22
- */
23
- var defaultConfig = ( /*#__PURE__*/objDeepFreeze({
24
- endpointUrl: STR_DEFAULT_ENDPOINT_URL,
25
- propertyStorageOverride: { isVal: _chkPropOverride }
26
- }));
27
- /*#__NO_SIDE_EFFECTS__*/
28
- function _chkPropOverride(propertyStorageOverride) {
29
- // Validate property storage override
30
- if (propertyStorageOverride && (!propertyStorageOverride.getProperty || !propertyStorageOverride.setProperty)) {
31
- throwError("Invalid property storage override passed.");
32
- }
33
- return true;
34
- }
35
- /**
36
- * @group Classes
37
- * @group Entrypoint
38
- */
39
- var AppInsightsCore = /** @class */ (function (_super) {
40
- __extends(AppInsightsCore, _super);
41
- function AppInsightsCore() {
42
- var _this = _super.call(this) || this;
43
- dynamicProto(AppInsightsCore, _this, function (_self, _base) {
44
- _self[_DYN_INITIALIZE /* @min:%2einitialize */] = function (config, extensions, logger, notificationManager) {
45
- doPerf(_self, function () { return "AppInsightsCore.initialize"; }, function () {
46
- try {
47
- _base[_DYN_INITIALIZE /* @min:%2einitialize */](createDynamicConfig(config, defaultConfig, logger || _self.logger, false).cfg, extensions, logger, notificationManager);
48
- }
49
- catch (e) {
50
- var logger_1 = _self.logger;
51
- var message = dumpObj(e);
52
- if (message[_DYN_INDEX_OF /* @min:%2eindexOf */]("channels") !== -1) {
53
- // Add some additional context to the underlying reported error
54
- message += "\n - Channels must be provided through config.channels only!";
55
- }
56
- _throwInternal(logger_1, 1 /* eLoggingSeverity.CRITICAL */, 514 /* _eExtendedInternalMessageId.FailedToInitializeSDK */, "SDK Initialization Failed - no telemetry will be sent: " + message);
57
- }
58
- }, function () { return ({ config: config, extensions: extensions, logger: logger, notificationManager: notificationManager }); });
59
- };
60
- _self.track = function (item) {
61
- doPerf(_self, function () { return "AppInsightsCore.track"; }, function () {
62
- var telemetryItem = item;
63
- if (telemetryItem) {
64
- telemetryItem[_DYN_TIMINGS /* @min:%2etimings */] = telemetryItem[_DYN_TIMINGS /* @min:%2etimings */] || {};
65
- telemetryItem[_DYN_TIMINGS /* @min:%2etimings */].trackStart = getTime();
66
- if (!isLatency(telemetryItem.latency)) {
67
- telemetryItem.latency = 1 /* EventLatencyValue.Normal */;
68
- }
69
- var itemExt = telemetryItem.ext = telemetryItem.ext || {};
70
- itemExt.sdk = itemExt.sdk || {};
71
- itemExt.sdk.ver = FullVersionString;
72
- var baseData = telemetryItem[_DYN_BASE_DATA /* @min:%2ebaseData */] = telemetryItem[_DYN_BASE_DATA /* @min:%2ebaseData */] || {};
73
- baseData[STR_PROPERTIES /* @min:%2eproperties */] = baseData[STR_PROPERTIES /* @min:%2eproperties */] || {};
74
- var itemProperties = baseData[STR_PROPERTIES /* @min:%2eproperties */];
75
- itemProperties[STR_VERSION] = itemProperties[STR_VERSION] || _self.pluginVersionString || STR_EMPTY;
76
- }
77
- _base.track(telemetryItem);
78
- }, function () { return ({ item: item }); }, !(item.sync));
79
- };
80
- _self[_DYN_POLL_INTERNAL_LOGS /* @min:%2epollInternalLogs */] = function (eventName) {
81
- return _base[_DYN_POLL_INTERNAL_LOGS /* @min:%2epollInternalLogs */](eventName || "InternalLog");
82
- };
83
- });
84
- return _this;
85
- }
86
- // Removed Stub for AppInsightsCore.prototype.initialize.
87
- // Removed Stub for AppInsightsCore.prototype.track.
88
- // Removed Stub for AppInsightsCore.prototype.pollInternalLogs.
89
- // This is a workaround for an IE bug when using dynamicProto() with classes that don't have any
90
- // non-dynamic functions or static properties/functions when using uglify-js to minify the resulting code.
91
- AppInsightsCore.__ieDyn=1;
92
-
93
- return AppInsightsCore;
94
- }(InternalCore));
95
- export { AppInsightsCore };
96
- //# sourceMappingURL=AppInsightsCore.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppInsightsCore.js.map","sources":["AppInsightsCore.js"],"sourcesContent":["import { __extends } from \"tslib\";\r\n/**\r\n* AppInsightsCore.ts\r\n* @author Abhilash Panwar (abpanwar) Hector Hernandez (hectorh)\r\n* @copyright Microsoft 2018\r\n*/\r\nimport dynamicProto from \"@microsoft/dynamicproto-js\";\r\nimport { AppInsightsCore as InternalCore, _throwInternal, createDynamicConfig, doPerf, dumpObj, throwError } from \"@microsoft/applicationinsights-core-js\";\r\nimport { objDeepFreeze } from \"@nevware21/ts-utils\";\r\nimport { STR_DEFAULT_ENDPOINT_URL, STR_EMPTY, STR_PROPERTIES, STR_VERSION } from \"./InternalConstants\";\r\nimport { FullVersionString, getTime, isLatency } from \"./Utils\";\r\nimport { _DYN_BASE_DATA, _DYN_INDEX_OF, _DYN_INITIALIZE, _DYN_POLL_INTERNAL_LOGS, _DYN_TIMINGS } from \"./__DynamicConstants\";\r\n/**\r\n * The default settings for the config.\r\n * WE MUST include all defaults here to ensure that the config is created with all of the properties\r\n * defined as dynamic.\r\n */\r\nvar defaultConfig = ( /*#__PURE__*/objDeepFreeze({\r\n endpointUrl: STR_DEFAULT_ENDPOINT_URL,\r\n propertyStorageOverride: { isVal: _chkPropOverride }\r\n}));\r\n/*#__NO_SIDE_EFFECTS__*/\r\nfunction _chkPropOverride(propertyStorageOverride) {\r\n // Validate property storage override\r\n if (propertyStorageOverride && (!propertyStorageOverride.getProperty || !propertyStorageOverride.setProperty)) {\r\n throwError(\"Invalid property storage override passed.\");\r\n }\r\n return true;\r\n}\r\n/**\r\n * @group Classes\r\n * @group Entrypoint\r\n */\r\nvar AppInsightsCore = /** @class */ (function (_super) {\r\n __extends(AppInsightsCore, _super);\r\n function AppInsightsCore() {\r\n var _this = _super.call(this) || this;\r\n dynamicProto(AppInsightsCore, _this, function (_self, _base) {\r\n _self[_DYN_INITIALIZE /* @min:%2einitialize */] = function (config, extensions, logger, notificationManager) {\r\n doPerf(_self, function () { return \"AppInsightsCore.initialize\"; }, function () {\r\n try {\r\n _base[_DYN_INITIALIZE /* @min:%2einitialize */](createDynamicConfig(config, defaultConfig, logger || _self.logger, false).cfg, extensions, logger, notificationManager);\r\n }\r\n catch (e) {\r\n var logger_1 = _self.logger;\r\n var message = dumpObj(e);\r\n if (message[_DYN_INDEX_OF /* @min:%2eindexOf */](\"channels\") !== -1) {\r\n // Add some additional context to the underlying reported error\r\n message += \"\\n - Channels must be provided through config.channels only!\";\r\n }\r\n _throwInternal(logger_1, 1 /* eLoggingSeverity.CRITICAL */, 514 /* _eExtendedInternalMessageId.FailedToInitializeSDK */, \"SDK Initialization Failed - no telemetry will be sent: \" + message);\r\n }\r\n }, function () { return ({ config: config, extensions: extensions, logger: logger, notificationManager: notificationManager }); });\r\n };\r\n _self.track = function (item) {\r\n doPerf(_self, function () { return \"AppInsightsCore.track\"; }, function () {\r\n var telemetryItem = item;\r\n if (telemetryItem) {\r\n telemetryItem[_DYN_TIMINGS /* @min:%2etimings */] = telemetryItem[_DYN_TIMINGS /* @min:%2etimings */] || {};\r\n telemetryItem[_DYN_TIMINGS /* @min:%2etimings */].trackStart = getTime();\r\n if (!isLatency(telemetryItem.latency)) {\r\n telemetryItem.latency = 1 /* EventLatencyValue.Normal */;\r\n }\r\n var itemExt = telemetryItem.ext = telemetryItem.ext || {};\r\n itemExt.sdk = itemExt.sdk || {};\r\n itemExt.sdk.ver = FullVersionString;\r\n var baseData = telemetryItem[_DYN_BASE_DATA /* @min:%2ebaseData */] = telemetryItem[_DYN_BASE_DATA /* @min:%2ebaseData */] || {};\r\n baseData[STR_PROPERTIES /* @min:%2eproperties */] = baseData[STR_PROPERTIES /* @min:%2eproperties */] || {};\r\n var itemProperties = baseData[STR_PROPERTIES /* @min:%2eproperties */];\r\n itemProperties[STR_VERSION] = itemProperties[STR_VERSION] || _self.pluginVersionString || STR_EMPTY;\r\n }\r\n _base.track(telemetryItem);\r\n }, function () { return ({ item: item }); }, !(item.sync));\r\n };\r\n _self[_DYN_POLL_INTERNAL_LOGS /* @min:%2epollInternalLogs */] = function (eventName) {\r\n return _base[_DYN_POLL_INTERNAL_LOGS /* @min:%2epollInternalLogs */](eventName || \"InternalLog\");\r\n };\r\n });\r\n return _this;\r\n }\r\n /**\r\n * Initialize the sdk.\r\n * @param config - The configuration to initialize the SDK.\r\n * @param extensions - An array of extensions that are to be used by the core.\r\n */\r\n AppInsightsCore.prototype.initialize = function (config, extensions, logger, notificationManager) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n AppInsightsCore.prototype.track = function (item) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Periodically check logger.queue for\r\n */\r\n AppInsightsCore.prototype.pollInternalLogs = function (eventName) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n return AppInsightsCore;\r\n}(InternalCore));\r\nexport { AppInsightsCore };\r\n//# sourceMappingURL=AppInsightsCore.js.map"],"names":[],"mappings":";;;;;AAAA,gFAAkC;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;+DAiBM,CAAC;;;;;2BACoB;AAC3B;AACA;AACA"}
@@ -1,67 +0,0 @@
1
- /*
2
- * 1DS JS SDK Core, 4.4.0-nightlybeta3.2602-27
3
- * Copyright (c) Microsoft and contributors. All rights reserved.
4
- * (Microsoft Internal Only)
5
- */
6
- import { __extendsFn as __extends } from "@microsoft/applicationinsights-shims";
7
- /**
8
- * BaseCore.ts
9
- * Base Core is a subset of 1DS Web SDK Core. The purpose of Base Core is to generate a smaller bundle size while providing essential features of Core. Features that are not included in Base Core are:
10
- * 1. Internal logging
11
- * 2. Sending notifications on telemetry sent/discarded
12
- * @author Abhilash Panwar (abpanwar) Hector Hernandez (hectorh)
13
- * @copyright Microsoft 2018
14
- */
15
- import dynamicProto from "@microsoft/dynamicproto-js";
16
- import { AppInsightsCore as InternalCore, _throwInternal, createDynamicConfig, dumpObj } from "@microsoft/applicationinsights-core-js";
17
- import { objDeepFreeze } from "@nevware21/ts-utils";
18
- import { STR_DEFAULT_ENDPOINT_URL } from "./InternalConstants";
19
- import { FullVersionString } from "./Utils";
20
- import { _DYN_INITIALIZE, _DYN_POLL_INTERNAL_LOGS } from "./__DynamicConstants";
21
- /**
22
- * The default settings for the config.
23
- * WE MUST include all defaults here to ensure that the config is created with all of the properties
24
- * defined as dynamic.
25
- */
26
- var defaultConfig = objDeepFreeze({
27
- endpointUrl: STR_DEFAULT_ENDPOINT_URL
28
- });
29
- var BaseCore = /** @class */ (function (_super) {
30
- __extends(BaseCore, _super);
31
- function BaseCore() {
32
- var _this = _super.call(this) || this;
33
- dynamicProto(BaseCore, _this, function (_self, _base) {
34
- _self[_DYN_INITIALIZE /* @min:%2einitialize */] = function (config, extensions, logger, notificationManager) {
35
- try {
36
- _base[_DYN_INITIALIZE /* @min:%2einitialize */](createDynamicConfig(config, defaultConfig, logger || _self.logger, false).cfg, extensions, logger, notificationManager);
37
- }
38
- catch (e) {
39
- _throwInternal(_self.logger, 1 /* eLoggingSeverity.CRITICAL */, 514 /* _eExtendedInternalMessageId.FailedToInitializeSDK */, "Initialization Failed: " + dumpObj(e) + "\n - Note: Channels must be provided through config.channels only");
40
- }
41
- };
42
- _self.track = function (item) {
43
- var telemetryItem = item;
44
- if (telemetryItem) {
45
- var ext = telemetryItem.ext = telemetryItem.ext || {};
46
- ext.sdk = ext.sdk || {};
47
- ext.sdk.ver = FullVersionString;
48
- }
49
- _base.track(telemetryItem);
50
- };
51
- _self[_DYN_POLL_INTERNAL_LOGS /* @min:%2epollInternalLogs */] = function (eventName) {
52
- return _base[_DYN_POLL_INTERNAL_LOGS /* @min:%2epollInternalLogs */](eventName || "InternalLog");
53
- };
54
- });
55
- return _this;
56
- }
57
- // Removed Stub for BaseCore.prototype.initialize.
58
- // Removed Stub for BaseCore.prototype.track.
59
- // Removed Stub for BaseCore.prototype.pollInternalLogs.
60
- // This is a workaround for an IE bug when using dynamicProto() with classes that don't have any
61
- // non-dynamic functions or static properties/functions when using uglify-js to minify the resulting code.
62
- BaseCore.__ieDyn=1;
63
-
64
- return BaseCore;
65
- }(InternalCore));
66
- export { BaseCore };
67
- //# sourceMappingURL=BaseCore.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseCore.js.map","sources":["BaseCore.js"],"sourcesContent":["import { __extends } from \"tslib\";\r\n/**\r\n* BaseCore.ts\r\n* Base Core is a subset of 1DS Web SDK Core. The purpose of Base Core is to generate a smaller bundle size while providing essential features of Core. Features that are not included in Base Core are:\r\n* 1. Internal logging\r\n* 2. Sending notifications on telemetry sent/discarded\r\n* @author Abhilash Panwar (abpanwar) Hector Hernandez (hectorh)\r\n* @copyright Microsoft 2018\r\n*/\r\nimport dynamicProto from \"@microsoft/dynamicproto-js\";\r\nimport { AppInsightsCore as InternalCore, _throwInternal, createDynamicConfig, dumpObj } from \"@microsoft/applicationinsights-core-js\";\r\nimport { objDeepFreeze } from \"@nevware21/ts-utils\";\r\nimport { STR_DEFAULT_ENDPOINT_URL } from \"./InternalConstants\";\r\nimport { FullVersionString } from \"./Utils\";\r\nimport { _DYN_INITIALIZE, _DYN_POLL_INTERNAL_LOGS } from \"./__DynamicConstants\";\r\n/**\r\n * The default settings for the config.\r\n * WE MUST include all defaults here to ensure that the config is created with all of the properties\r\n * defined as dynamic.\r\n */\r\nvar defaultConfig = objDeepFreeze({\r\n endpointUrl: STR_DEFAULT_ENDPOINT_URL\r\n});\r\nvar BaseCore = /** @class */ (function (_super) {\r\n __extends(BaseCore, _super);\r\n function BaseCore() {\r\n var _this = _super.call(this) || this;\r\n dynamicProto(BaseCore, _this, function (_self, _base) {\r\n _self[_DYN_INITIALIZE /* @min:%2einitialize */] = function (config, extensions, logger, notificationManager) {\r\n try {\r\n _base[_DYN_INITIALIZE /* @min:%2einitialize */](createDynamicConfig(config, defaultConfig, logger || _self.logger, false).cfg, extensions, logger, notificationManager);\r\n }\r\n catch (e) {\r\n _throwInternal(_self.logger, 1 /* eLoggingSeverity.CRITICAL */, 514 /* _eExtendedInternalMessageId.FailedToInitializeSDK */, \"Initialization Failed: \" + dumpObj(e) + \"\\n - Note: Channels must be provided through config.channels only\");\r\n }\r\n };\r\n _self.track = function (item) {\r\n var telemetryItem = item;\r\n if (telemetryItem) {\r\n var ext = telemetryItem.ext = telemetryItem.ext || {};\r\n ext.sdk = ext.sdk || {};\r\n ext.sdk.ver = FullVersionString;\r\n }\r\n _base.track(telemetryItem);\r\n };\r\n _self[_DYN_POLL_INTERNAL_LOGS /* @min:%2epollInternalLogs */] = function (eventName) {\r\n return _base[_DYN_POLL_INTERNAL_LOGS /* @min:%2epollInternalLogs */](eventName || \"InternalLog\");\r\n };\r\n });\r\n return _this;\r\n }\r\n /**\r\n * Initialize the sdk.\r\n * @param config - The configuration to initialize the SDK.\r\n * @param extensions - An array of extensions that are to be used by the core.\r\n */\r\n BaseCore.prototype.initialize = function (config, extensions, logger, notificationManager) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n BaseCore.prototype.track = function (item) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Periodically check logger.queue for\r\n */\r\n BaseCore.prototype.pollInternalLogs = function (eventName) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n return BaseCore;\r\n}(InternalCore));\r\nexport { BaseCore };\r\n//# sourceMappingURL=BaseCore.js.map"],"names":[],"mappings":";;;;;AAAA,gFAAkC;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;wDAiBM,CAAC;;;;;oBACa;AACpB;AACA;AACA"}
@@ -1,7 +0,0 @@
1
- /*
2
- * 1DS JS SDK Core, 4.4.0-nightlybeta3.2602-27
3
- * Copyright (c) Microsoft and contributors. All rights reserved.
4
- * (Microsoft Internal Only)
5
- */
6
- export {};
7
- //# sourceMappingURL=DataModels.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DataModels.js.map","sources":["DataModels.js"],"sourcesContent":["export {};\r\n//# sourceMappingURL=DataModels.js.map"],"names":[],"mappings":";;;;;AAAA;AACA"}
package/dist-es5/Enums.js DELETED
@@ -1,92 +0,0 @@
1
- /*
2
- * 1DS JS SDK Core, 4.4.0-nightlybeta3.2602-27
3
- * Copyright (c) Microsoft and contributors. All rights reserved.
4
- * (Microsoft Internal Only)
5
- */
6
- /**
7
- * Enums.ts
8
- * @author Abhilash Panwar (abpanwar)
9
- * @copyright Microsoft 2018
10
- * File containing the enums as constants.
11
- */
12
- import { createEnumStyle } from "@microsoft/applicationinsights-core-js";
13
- /**
14
- * The ValueKind contains a set of values that specify value kind of the property.
15
- * Either PII (Personal Identifiable Information) or customer content.
16
- */
17
- export var ValueKind = ( /* @__PURE__ */createEnumStyle({
18
- NotSet: 0 /* eValueKind.NotSet */,
19
- Pii_DistinguishedName: 1 /* eValueKind.Pii_DistinguishedName */,
20
- Pii_GenericData: 2 /* eValueKind.Pii_GenericData */,
21
- Pii_IPV4Address: 3 /* eValueKind.Pii_IPV4Address */,
22
- Pii_IPv6Address: 4 /* eValueKind.Pii_IPv6Address */,
23
- Pii_MailSubject: 5 /* eValueKind.Pii_MailSubject */,
24
- Pii_PhoneNumber: 6 /* eValueKind.Pii_PhoneNumber */,
25
- Pii_QueryString: 7 /* eValueKind.Pii_QueryString */,
26
- Pii_SipAddress: 8 /* eValueKind.Pii_SipAddress */,
27
- Pii_SmtpAddress: 9 /* eValueKind.Pii_SmtpAddress */,
28
- Pii_Identity: 10 /* eValueKind.Pii_Identity */,
29
- Pii_Uri: 11 /* eValueKind.Pii_Uri */,
30
- Pii_Fqdn: 12 /* eValueKind.Pii_Fqdn */,
31
- Pii_IPV4AddressLegacy: 13 /* eValueKind.Pii_IPV4AddressLegacy */,
32
- Pii_IPv6ScrubLastHextets: 14 /* eValueKind.Pii_IPv6ScrubLastHextets */,
33
- Pii_DropValue: 15 /* eValueKind.Pii_DropValue */,
34
- CustomerContent_GenericContent: 32 /* eValueKind.CustomerContent_GenericContent */
35
- }));
36
- /**
37
- * The EventLatency contains a set of values that specify the latency with which an event is sent.
38
- */
39
- export var EventLatency = ( /* @__PURE__ */createEnumStyle({
40
- /**
41
- * Normal latency.
42
- */
43
- Normal: 1 /* EventLatencyValue.Normal */,
44
- /**
45
- * Cost deferred latency. At the moment this latency is treated as Normal latency.
46
- */
47
- CostDeferred: 2 /* EventLatencyValue.CostDeferred */,
48
- /**
49
- * Real time latency.
50
- */
51
- RealTime: 3 /* EventLatencyValue.RealTime */,
52
- /**
53
- * Bypass normal batching/timing and send as soon as possible, this will still send asynchronously.
54
- * Added in v3.1.1
55
- */
56
- Immediate: 4 /* EventLatencyValue.Immediate */
57
- }));
58
- /**
59
- * Enum for property types.
60
- */
61
- export var EventPropertyType = ( /* @__PURE__ */createEnumStyle({
62
- Unspecified: 0 /* eEventPropertyType.Unspecified */,
63
- String: 1 /* eEventPropertyType.String */,
64
- Int32: 2 /* eEventPropertyType.Int32 */,
65
- UInt32: 3 /* eEventPropertyType.UInt32 */,
66
- Int64: 4 /* eEventPropertyType.Int64 */,
67
- UInt64: 5 /* eEventPropertyType.UInt64 */,
68
- Double: 6 /* eEventPropertyType.Double */,
69
- Bool: 7 /* eEventPropertyType.Bool */,
70
- Guid: 8 /* eEventPropertyType.Guid */,
71
- DateTime: 9 /* eEventPropertyType.DateTime */
72
- }));
73
- /**
74
- * The EventPersistence contains a set of values that specify the event's persistence.
75
- */
76
- export var EventPersistence = ( /* @__PURE__ */createEnumStyle({
77
- /**
78
- * Normal persistence.
79
- */
80
- Normal: 1 /* EventPersistenceValue.Normal */,
81
- /**
82
- * Critical persistence.
83
- */
84
- Critical: 2 /* EventPersistenceValue.Critical */
85
- }));
86
- export var TraceLevel = ( /* @__PURE__ */createEnumStyle({
87
- NONE: 0 /* eTraceLevel.NONE */,
88
- ERROR: 1 /* eTraceLevel.ERROR */,
89
- WARNING: 2 /* eTraceLevel.WARNING */,
90
- INFORMATION: 3 /* eTraceLevel.INFORMATION */
91
- }));
92
- //# sourceMappingURL=Enums.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Enums.js.map","sources":["Enums.js"],"sourcesContent":["/**\r\n* Enums.ts\r\n* @author Abhilash Panwar (abpanwar)\r\n* @copyright Microsoft 2018\r\n* File containing the enums as constants.\r\n*/\r\nimport { createEnumStyle } from \"@microsoft/applicationinsights-core-js\";\r\n/**\r\n * The ValueKind contains a set of values that specify value kind of the property.\r\n * Either PII (Personal Identifiable Information) or customer content.\r\n */\r\nexport var ValueKind = ( /* @__PURE__ */createEnumStyle({\r\n NotSet: 0 /* eValueKind.NotSet */,\r\n Pii_DistinguishedName: 1 /* eValueKind.Pii_DistinguishedName */,\r\n Pii_GenericData: 2 /* eValueKind.Pii_GenericData */,\r\n Pii_IPV4Address: 3 /* eValueKind.Pii_IPV4Address */,\r\n Pii_IPv6Address: 4 /* eValueKind.Pii_IPv6Address */,\r\n Pii_MailSubject: 5 /* eValueKind.Pii_MailSubject */,\r\n Pii_PhoneNumber: 6 /* eValueKind.Pii_PhoneNumber */,\r\n Pii_QueryString: 7 /* eValueKind.Pii_QueryString */,\r\n Pii_SipAddress: 8 /* eValueKind.Pii_SipAddress */,\r\n Pii_SmtpAddress: 9 /* eValueKind.Pii_SmtpAddress */,\r\n Pii_Identity: 10 /* eValueKind.Pii_Identity */,\r\n Pii_Uri: 11 /* eValueKind.Pii_Uri */,\r\n Pii_Fqdn: 12 /* eValueKind.Pii_Fqdn */,\r\n Pii_IPV4AddressLegacy: 13 /* eValueKind.Pii_IPV4AddressLegacy */,\r\n Pii_IPv6ScrubLastHextets: 14 /* eValueKind.Pii_IPv6ScrubLastHextets */,\r\n Pii_DropValue: 15 /* eValueKind.Pii_DropValue */,\r\n CustomerContent_GenericContent: 32 /* eValueKind.CustomerContent_GenericContent */\r\n}));\r\n/**\r\n * The EventLatency contains a set of values that specify the latency with which an event is sent.\r\n */\r\nexport var EventLatency = ( /* @__PURE__ */createEnumStyle({\r\n /**\r\n * Normal latency.\r\n */\r\n Normal: 1 /* EventLatencyValue.Normal */,\r\n /**\r\n * Cost deferred latency. At the moment this latency is treated as Normal latency.\r\n */\r\n CostDeferred: 2 /* EventLatencyValue.CostDeferred */,\r\n /**\r\n * Real time latency.\r\n */\r\n RealTime: 3 /* EventLatencyValue.RealTime */,\r\n /**\r\n * Bypass normal batching/timing and send as soon as possible, this will still send asynchronously.\r\n * Added in v3.1.1\r\n */\r\n Immediate: 4 /* EventLatencyValue.Immediate */\r\n}));\r\n/**\r\n * Enum for property types.\r\n */\r\nexport var EventPropertyType = ( /* @__PURE__ */createEnumStyle({\r\n Unspecified: 0 /* eEventPropertyType.Unspecified */,\r\n String: 1 /* eEventPropertyType.String */,\r\n Int32: 2 /* eEventPropertyType.Int32 */,\r\n UInt32: 3 /* eEventPropertyType.UInt32 */,\r\n Int64: 4 /* eEventPropertyType.Int64 */,\r\n UInt64: 5 /* eEventPropertyType.UInt64 */,\r\n Double: 6 /* eEventPropertyType.Double */,\r\n Bool: 7 /* eEventPropertyType.Bool */,\r\n Guid: 8 /* eEventPropertyType.Guid */,\r\n DateTime: 9 /* eEventPropertyType.DateTime */\r\n}));\r\n/**\r\n * The EventPersistence contains a set of values that specify the event's persistence.\r\n */\r\nexport var EventPersistence = ( /* @__PURE__ */createEnumStyle({\r\n /**\r\n * Normal persistence.\r\n */\r\n Normal: 1 /* EventPersistenceValue.Normal */,\r\n /**\r\n * Critical persistence.\r\n */\r\n Critical: 2 /* EventPersistenceValue.Critical */\r\n}));\r\nexport var TraceLevel = ( /* @__PURE__ */createEnumStyle({\r\n NONE: 0 /* eTraceLevel.NONE */,\r\n ERROR: 1 /* eTraceLevel.ERROR */,\r\n WARNING: 2 /* eTraceLevel.WARNING */,\r\n INFORMATION: 3 /* eTraceLevel.INFORMATION */\r\n}));\r\n//# sourceMappingURL=Enums.js.map"],"names":[],"mappings":";;;;;AAAA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
@@ -1,19 +0,0 @@
1
- /*
2
- * 1DS JS SDK Core, 4.4.0-nightlybeta3.2602-27
3
- * Copyright (c) Microsoft and contributors. All rights reserved.
4
- * (Microsoft Internal Only)
5
- */
6
-
7
- // Licensed under the MIT License.
8
- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9
- // 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!!!
10
- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11
- // Generally you should only put values that are used more than 2 times and then only if not already exposed as a constant (such as SdkCoreNames)
12
- // as when using "short" named values from here they will be will be minified smaller than the SdkCoreNames[eSdkCoreNames.xxxx] value.
13
- export var UNDEFINED_VALUE = undefined;
14
- export var STR_EMPTY = "";
15
- export var STR_DEFAULT_ENDPOINT_URL = "https://browser.events.data.microsoft.com/OneCollector/1.0/";
16
- export var STR_VERSION = "version";
17
- export var STR_PROPERTIES = "properties";
18
- export var STR_NOT_SPECIFIED = "not_specified";
19
- //# sourceMappingURL=InternalConstants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InternalConstants.js.map","sources":["InternalConstants.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\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\n// Generally you should only put values that are used more than 2 times and then only if not already exposed as a constant (such as SdkCoreNames)\r\n// as when using \"short\" named values from here they will be will be minified smaller than the SdkCoreNames[eSdkCoreNames.xxxx] value.\r\nexport var UNDEFINED_VALUE = undefined;\r\nexport var STR_EMPTY = \"\";\r\nexport var STR_DEFAULT_ENDPOINT_URL = \"https://browser.events.data.microsoft.com/OneCollector/1.0/\";\r\nexport var STR_VERSION = \"version\";\r\nexport var STR_PROPERTIES = \"properties\";\r\nexport var STR_NOT_SPECIFIED = \"not_specified\";\r\n//# sourceMappingURL=InternalConstants.js.map"],"names":[],"mappings":";;;;;AAA4D;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}