@microsoft/applicationinsights-teechannel-js 3.3.6-nightly3.2502-13 → 3.3.6-nightly3.2503-01
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.
- package/browser/es5/{applicationinsights-teechannel-js.3.3.6-nightly3.2502-13.cjs.js → applicationinsights-teechannel-js.3.3.6-nightly3.2503-01.cjs.js} +98 -120
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2503-01.cjs.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2503-01.cjs.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2503-01.cjs.min.js.map +1 -0
- package/browser/es5/{applicationinsights-teechannel-js.3.3.6-nightly3.2502-13.gbl.js → applicationinsights-teechannel-js.3.3.6-nightly3.2503-01.gbl.js} +100 -122
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2503-01.gbl.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2503-01.gbl.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2503-01.gbl.min.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2503-01.integrity.json +66 -0
- package/browser/es5/{applicationinsights-teechannel-js.3.3.6-nightly3.2502-13.js → applicationinsights-teechannel-js.3.3.6-nightly3.2503-01.js} +100 -122
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2503-01.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2503-01.min.js +6 -0
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2503-01.min.js.map +1 -0
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.js +97 -119
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.js +99 -121
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.integrity.json +25 -25
- package/browser/es5/applicationinsights-teechannel-js.3.js +99 -121
- package/browser/es5/applicationinsights-teechannel-js.3.js.map +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.min.js +2 -2
- package/browser/es5/applicationinsights-teechannel-js.3.min.js.map +1 -1
- package/dist/es5/applicationinsights-teechannel-js.js +97 -119
- package/dist/es5/applicationinsights-teechannel-js.js.map +1 -1
- package/dist/es5/applicationinsights-teechannel-js.min.js +2 -2
- package/dist/es5/applicationinsights-teechannel-js.min.js.map +1 -1
- package/dist-es5/ChannelController.js +4 -4
- package/dist-es5/ChannelController.js.map +1 -1
- package/dist-es5/Interfaces/ITeeChannelConfig.js +1 -1
- package/dist-es5/TeeChannel.js +19 -21
- package/dist-es5/TeeChannel.js.map +1 -1
- package/dist-es5/__DynamicConstants.js +4 -10
- package/dist-es5/__DynamicConstants.js.map +1 -1
- package/dist-es5/applicationinsights-teechannel-js.js +1 -1
- package/package.json +4 -4
- package/types/applicationinsights-teechannel-js.d.ts +1 -1
- package/types/applicationinsights-teechannel-js.namespaced.d.ts +1 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2502-13.cjs.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2502-13.cjs.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2502-13.cjs.min.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2502-13.gbl.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2502-13.gbl.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2502-13.gbl.min.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2502-13.integrity.json +0 -66
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2502-13.js.map +0 -1
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2502-13.min.js +0 -6
- package/browser/es5/applicationinsights-teechannel-js.3.3.6-nightly3.2502-13.min.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Tee Channel, 3.3.6-nightly3.
|
|
2
|
+
* Application Insights JavaScript SDK - Tee Channel, 3.3.6-nightly3.2503-01
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import { createProcessTelemetryContext } from "@microsoft/applicationinsights-core-js";
|
|
8
8
|
import { createPromise } from "@nevware21/ts-async";
|
|
9
9
|
import { arrForEach, scheduleTimeout } from "@nevware21/ts-utils";
|
|
10
|
-
import { _DYN_IDENTIFIER, _DYN_LENGTH, _DYN_PROCESS_NEXT
|
|
10
|
+
import { _DYN_IDENTIFIER, _DYN_LENGTH, _DYN_PROCESS_NEXT } from "./__DynamicConstants";
|
|
11
11
|
export var ChannelControllerPriority = 500;
|
|
12
12
|
function _getTelCtx(core) {
|
|
13
13
|
return createProcessTelemetryContext(null, core.config, core, null);
|
|
@@ -25,7 +25,7 @@ function _processChannelQueue(theChannels, itemCtx, processFn, onComplete) {
|
|
|
25
25
|
arrForEach(theChannels, function (channels) {
|
|
26
26
|
// pass on to first item in queue
|
|
27
27
|
if (channels && channels.queue[_DYN_LENGTH /* @min:%2elength */] > 0) {
|
|
28
|
-
var chainCtx = itemCtx.createNew(channels
|
|
28
|
+
var chainCtx = itemCtx.createNew(channels.queue);
|
|
29
29
|
chainCtx.onComplete(_runChainOnComplete);
|
|
30
30
|
// Cause this chain to start processing
|
|
31
31
|
processFn(chainCtx);
|
|
@@ -57,7 +57,7 @@ export function createChannelControllerPlugin() {
|
|
|
57
57
|
arrForEach(_channelQueue, function (channels) {
|
|
58
58
|
// pass on to first item in queue
|
|
59
59
|
if (channels && channels.queue[_DYN_LENGTH /* @min:%2elength */] > 0) {
|
|
60
|
-
arrForEach(channels
|
|
60
|
+
arrForEach(channels.queue, function (ext) {
|
|
61
61
|
if (ext[_DYN_IDENTIFIER /* @min:%2eidentifier */] === pluginIdentifier) {
|
|
62
62
|
thePlugin = ext;
|
|
63
63
|
// Cause arrForEach to stop iterating
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelController.js.map","sources":["ChannelController.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { createProcessTelemetryContext } from \"@microsoft/applicationinsights-core-js\";\r\nimport { createPromise } from \"@nevware21/ts-async\";\r\nimport { arrForEach, scheduleTimeout } from \"@nevware21/ts-utils\";\r\nimport { _DYN_IDENTIFIER, _DYN_LENGTH, _DYN_PROCESS_NEXT
|
|
1
|
+
{"version":3,"file":"ChannelController.js.map","sources":["ChannelController.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { createProcessTelemetryContext } from \"@microsoft/applicationinsights-core-js\";\r\nimport { createPromise } from \"@nevware21/ts-async\";\r\nimport { arrForEach, scheduleTimeout } from \"@nevware21/ts-utils\";\r\nimport { _DYN_IDENTIFIER, _DYN_LENGTH, _DYN_PROCESS_NEXT } from \"./__DynamicConstants\";\r\nexport var ChannelControllerPriority = 500;\r\nfunction _getTelCtx(core) {\r\n return createProcessTelemetryContext(null, core.config, core, null);\r\n}\r\nfunction _processChannelQueue(theChannels, itemCtx, processFn, onComplete) {\r\n var waiting = theChannels ? (theChannels[_DYN_LENGTH /* @min:%2elength */] + 1) : 1;\r\n function _runChainOnComplete() {\r\n waiting--;\r\n if (waiting === 0) {\r\n onComplete && onComplete();\r\n onComplete = null;\r\n }\r\n }\r\n if (waiting > 0) {\r\n arrForEach(theChannels, function (channels) {\r\n // pass on to first item in queue\r\n if (channels && channels.queue[_DYN_LENGTH /* @min:%2elength */] > 0) {\r\n var chainCtx = itemCtx.createNew(channels.queue);\r\n chainCtx.onComplete(_runChainOnComplete);\r\n // Cause this chain to start processing\r\n processFn(chainCtx);\r\n }\r\n else {\r\n waiting--;\r\n }\r\n });\r\n }\r\n _runChainOnComplete();\r\n}\r\nexport function createChannelControllerPlugin() {\r\n var _channelQueue = [];\r\n var _core = null;\r\n function _doUpdate(updateCtx, updateState) {\r\n var theUpdateState = updateState || {\r\n reason: 0 /* TelemetryUpdateReason.Unknown */\r\n };\r\n _processChannelQueue(_channelQueue, updateCtx, function (chainCtx) {\r\n chainCtx[_DYN_PROCESS_NEXT /* @min:%2eprocessNext */](theUpdateState);\r\n }, function () {\r\n updateCtx[_DYN_PROCESS_NEXT /* @min:%2eprocessNext */](theUpdateState);\r\n });\r\n return true;\r\n }\r\n function _getChannel(pluginIdentifier) {\r\n var thePlugin = null;\r\n if (_channelQueue && _channelQueue[_DYN_LENGTH /* @min:%2elength */] > 0) {\r\n arrForEach(_channelQueue, function (channels) {\r\n // pass on to first item in queue\r\n if (channels && channels.queue[_DYN_LENGTH /* @min:%2elength */] > 0) {\r\n arrForEach(channels.queue, function (ext) {\r\n if (ext[_DYN_IDENTIFIER /* @min:%2eidentifier */] === pluginIdentifier) {\r\n thePlugin = ext;\r\n // Cause arrForEach to stop iterating\r\n return -1;\r\n }\r\n });\r\n if (thePlugin) {\r\n // Cause arrForEach to stop iterating\r\n return -1;\r\n }\r\n }\r\n });\r\n }\r\n return thePlugin;\r\n }\r\n var channelController = {\r\n init: function (channelQueue, core) {\r\n _channelQueue = channelQueue;\r\n _core = core;\r\n },\r\n getQueues: function () {\r\n return _channelQueue;\r\n },\r\n processTelemetry: function (item, itemCtx) {\r\n _processChannelQueue(_channelQueue, itemCtx || _getTelCtx(_core), function (chainCtx) {\r\n chainCtx[_DYN_PROCESS_NEXT /* @min:%2eprocessNext */](item);\r\n }, function () {\r\n itemCtx[_DYN_PROCESS_NEXT /* @min:%2eprocessNext */](item);\r\n });\r\n },\r\n update: _doUpdate,\r\n pause: function () {\r\n _processChannelQueue(_channelQueue, _getTelCtx(_core), function (chainCtx) {\r\n chainCtx.iterate(function (plugin) {\r\n plugin.pause && plugin.pause();\r\n });\r\n }, null);\r\n },\r\n resume: function () {\r\n _processChannelQueue(_channelQueue, _getTelCtx(_core), function (chainCtx) {\r\n chainCtx.iterate(function (plugin) {\r\n plugin.resume && plugin.resume();\r\n });\r\n }, null);\r\n },\r\n teardown: function (unloadCtx, unloadState, onComplete) {\r\n var theUnloadState = unloadState || {\r\n reason: 0 /* TelemetryUnloadReason.ManualTeardown */,\r\n isAsync: false\r\n };\r\n _processChannelQueue(_channelQueue, unloadCtx, function (chainCtx) {\r\n chainCtx[_DYN_PROCESS_NEXT /* @min:%2eprocessNext */](theUnloadState);\r\n }, function () {\r\n unloadCtx[_DYN_PROCESS_NEXT /* @min:%2eprocessNext */](theUnloadState);\r\n onComplete && onComplete();\r\n });\r\n return true;\r\n },\r\n getChannel: _getChannel,\r\n flush: function (isAsync, callBack, sendReason, cbTimeout) {\r\n // Setting waiting to one so that we don't call the callBack until we finish iterating\r\n var waiting = 1;\r\n var doneIterating = false;\r\n var cbTimer = null;\r\n var result = true;\r\n cbTimeout = cbTimeout || 5000;\r\n if (isAsync && !callBack) {\r\n result = createPromise(function (resolve) {\r\n callBack = resolve;\r\n });\r\n }\r\n function doCallback() {\r\n waiting--;\r\n if (doneIterating && waiting === 0) {\r\n cbTimer && cbTimer.cancel();\r\n cbTimer = null;\r\n callBack && callBack(doneIterating);\r\n callBack = null;\r\n }\r\n }\r\n _processChannelQueue(_channelQueue, _getTelCtx(_core), function (chainCtx) {\r\n chainCtx.iterate(function (plugin) {\r\n if (plugin.flush) {\r\n waiting++;\r\n var handled_1 = false;\r\n // Not all channels will call this callback for every scenario\r\n if (!plugin.flush(isAsync, function () {\r\n handled_1 = true;\r\n doCallback();\r\n }, sendReason)) {\r\n if (!handled_1) {\r\n // If any channel doesn't return true and it didn't call the callback, then we should assume that the callback\r\n // will never be called, so use a timeout to allow the channel(s) some time to \"finish\" before triggering any\r\n // followup function (such as unloading)\r\n if (isAsync && cbTimer == null) {\r\n cbTimer = scheduleTimeout(function () {\r\n cbTimer = null;\r\n doCallback();\r\n }, cbTimeout);\r\n }\r\n else {\r\n doCallback();\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }, function () {\r\n doneIterating = true;\r\n doCallback();\r\n });\r\n return result;\r\n }\r\n };\r\n return channelController;\r\n}\r\n//# sourceMappingURL=ChannelController.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;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;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"}
|
package/dist-es5/TeeChannel.js
CHANGED
|
@@ -1,45 +1,43 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Tee Channel, 3.3.6-nightly3.
|
|
2
|
+
* Application Insights JavaScript SDK - Tee Channel, 3.3.6-nightly3.2503-01
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var _a;
|
|
8
7
|
import { __extendsFn as __extends } from "@microsoft/applicationinsights-shims";
|
|
9
8
|
import dynamicProto from "@microsoft/dynamicproto-js";
|
|
10
9
|
import { BaseTelemetryPlugin, cfgDfBoolean, createProcessTelemetryContext, initializePlugins, onConfigChange, proxyFunctions } from "@microsoft/applicationinsights-core-js";
|
|
11
10
|
import { arrForEach, isArray, objDeepFreeze, objFreeze, throwError } from "@nevware21/ts-utils";
|
|
12
11
|
import { ChannelControllerPriority, createChannelControllerPlugin } from "./ChannelController";
|
|
13
|
-
import {
|
|
12
|
+
import { _DYN_IDENTIFIER, _DYN_LENGTH } from "./__DynamicConstants";
|
|
14
13
|
var ChannelValidationMessage = "Channel has invalid priority - ";
|
|
15
|
-
var defaultTeeChannelConfig = objDeepFreeze(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
var defaultTeeChannelConfig = objDeepFreeze({
|
|
15
|
+
teeChannels: null,
|
|
16
|
+
ignoreCoreChannels: cfgDfBoolean()
|
|
17
|
+
});
|
|
19
18
|
function _addChannelQueue(channelQueue, queue, core, teeChannel) {
|
|
20
|
-
var _a;
|
|
21
19
|
if (queue && isArray(queue) && queue[_DYN_LENGTH /* @min:%2elength */] > 0) {
|
|
22
20
|
queue = queue.sort(function (a, b) {
|
|
23
|
-
return a
|
|
21
|
+
return a.priority - b.priority;
|
|
24
22
|
});
|
|
25
23
|
var _queue_1 = [];
|
|
26
24
|
arrForEach(queue, function (queueItem) {
|
|
27
|
-
if (queueItem
|
|
25
|
+
if (queueItem.priority < ChannelControllerPriority) {
|
|
28
26
|
throwError(ChannelValidationMessage + queueItem[_DYN_IDENTIFIER /* @min:%2eidentifier */]);
|
|
29
27
|
}
|
|
30
28
|
if (queueItem !== teeChannel) {
|
|
31
29
|
_queue_1.push(queueItem);
|
|
32
30
|
}
|
|
33
31
|
});
|
|
34
|
-
channelQueue.push(
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
channelQueue.push({
|
|
33
|
+
queue: objFreeze(_queue_1)
|
|
34
|
+
});
|
|
37
35
|
}
|
|
38
36
|
}
|
|
39
37
|
function _createChannelQueues(config, core, teeChannel) {
|
|
40
38
|
var channelQueue = [];
|
|
41
39
|
if (config) {
|
|
42
|
-
if (!config
|
|
40
|
+
if (!config.ignoreCoreChannels && core.config.channels) {
|
|
43
41
|
// Add and sort the configuration channel queues
|
|
44
42
|
arrForEach(core.config.channels, function (queue, idx) {
|
|
45
43
|
if (idx > 0) {
|
|
@@ -47,9 +45,9 @@ function _createChannelQueues(config, core, teeChannel) {
|
|
|
47
45
|
}
|
|
48
46
|
});
|
|
49
47
|
}
|
|
50
|
-
if (config
|
|
48
|
+
if (config.teeChannels) {
|
|
51
49
|
// Add and sort the configuration channel queues
|
|
52
|
-
arrForEach(config
|
|
50
|
+
arrForEach(config.teeChannels, function (queue) { return _addChannelQueue(channelQueue, queue, core, teeChannel); });
|
|
53
51
|
}
|
|
54
52
|
}
|
|
55
53
|
return channelQueue;
|
|
@@ -72,10 +70,10 @@ var TeeChannel = /** @class */ (function (_super) {
|
|
|
72
70
|
};
|
|
73
71
|
_self.getTeeChannels = function () {
|
|
74
72
|
var controls = [];
|
|
75
|
-
var channelQueues = _channelController
|
|
73
|
+
var channelQueues = _channelController.getQueues();
|
|
76
74
|
if (channelQueues) {
|
|
77
75
|
arrForEach(channelQueues, function (channels) {
|
|
78
|
-
controls.push(channels
|
|
76
|
+
controls.push(channels.queue);
|
|
79
77
|
});
|
|
80
78
|
}
|
|
81
79
|
return objFreeze(controls);
|
|
@@ -83,8 +81,8 @@ var TeeChannel = /** @class */ (function (_super) {
|
|
|
83
81
|
_self.isInitialized = function () {
|
|
84
82
|
return _isInitialized;
|
|
85
83
|
};
|
|
86
|
-
_self
|
|
87
|
-
return _channelController
|
|
84
|
+
_self.teardown = function (unloadCtx, unloadState) {
|
|
85
|
+
return _channelController.teardown(unloadCtx, unloadState, function () {
|
|
88
86
|
_isInitialized = false;
|
|
89
87
|
});
|
|
90
88
|
};
|
|
@@ -109,7 +107,7 @@ var TeeChannel = /** @class */ (function (_super) {
|
|
|
109
107
|
var channelQueue = _createChannelQueues(theConfig, core, self);
|
|
110
108
|
arrForEach(channelQueue, function (channels) {
|
|
111
109
|
if (channels && channels.queue[_DYN_LENGTH /* @min:%2elength */] > 0) {
|
|
112
|
-
initializePlugins(ctx.createNew(channels
|
|
110
|
+
initializePlugins(ctx.createNew(channels.queue), details.cfg.extensions);
|
|
113
111
|
}
|
|
114
112
|
});
|
|
115
113
|
_channelController.init(channelQueue, core);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TeeChannel.js.map","sources":["TeeChannel.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nvar _a;\r\nimport { __extends } from \"tslib\";\r\nimport dynamicProto from \"@microsoft/dynamicproto-js\";\r\nimport { BaseTelemetryPlugin, cfgDfBoolean, createProcessTelemetryContext, initializePlugins, onConfigChange, proxyFunctions } from \"@microsoft/applicationinsights-core-js\";\r\nimport { arrForEach, isArray, objDeepFreeze, objFreeze, throwError } from \"@nevware21/ts-utils\";\r\nimport { ChannelControllerPriority, createChannelControllerPlugin } from \"./ChannelController\";\r\nimport { _DYN_GET_QUEUES, _DYN_IDENTIFIER, _DYN_IGNORE_CORE_CHANNELS, _DYN_LENGTH, _DYN_PRIORITY, _DYN_QUEUE, _DYN_TEARDOWN, _DYN_TEE_CHANNELS } from \"./__DynamicConstants\";\r\nvar ChannelValidationMessage = \"Channel has invalid priority - \";\r\nvar defaultTeeChannelConfig = objDeepFreeze((_a = {},\r\n _a[_DYN_TEE_CHANNELS /* @min:teeChannels */] = null,\r\n _a[_DYN_IGNORE_CORE_CHANNELS /* @min:ignoreCoreChannels */] = cfgDfBoolean(),\r\n _a));\r\nfunction _addChannelQueue(channelQueue, queue, core, teeChannel) {\r\n var _a;\r\n if (queue && isArray(queue) && queue[_DYN_LENGTH /* @min:%2elength */] > 0) {\r\n queue = queue.sort(function (a, b) {\r\n return a[_DYN_PRIORITY /* @min:%2epriority */] - b[_DYN_PRIORITY /* @min:%2epriority */];\r\n });\r\n var _queue_1 = [];\r\n arrForEach(queue, function (queueItem) {\r\n if (queueItem[_DYN_PRIORITY /* @min:%2epriority */] < ChannelControllerPriority) {\r\n throwError(ChannelValidationMessage + queueItem[_DYN_IDENTIFIER /* @min:%2eidentifier */]);\r\n }\r\n if (queueItem !== teeChannel) {\r\n _queue_1.push(queueItem);\r\n }\r\n });\r\n channelQueue.push((_a = {},\r\n _a[_DYN_QUEUE /* @min:queue */] = objFreeze(_queue_1),\r\n _a));\r\n }\r\n}\r\nfunction _createChannelQueues(config, core, teeChannel) {\r\n var channelQueue = [];\r\n if (config) {\r\n if (!config[_DYN_IGNORE_CORE_CHANNELS /* @min:%2eignoreCoreChannels */] && core.config.channels) {\r\n // Add and sort the configuration channel queues\r\n arrForEach(core.config.channels, function (queue, idx) {\r\n if (idx > 0) {\r\n _addChannelQueue(channelQueue, queue, core, teeChannel);\r\n }\r\n });\r\n }\r\n if (config[_DYN_TEE_CHANNELS /* @min:%2eteeChannels */]) {\r\n // Add and sort the configuration channel queues\r\n arrForEach(config[_DYN_TEE_CHANNELS /* @min:%2eteeChannels */], function (queue) { return _addChannelQueue(channelQueue, queue, core, teeChannel); });\r\n }\r\n }\r\n return channelQueue;\r\n}\r\nvar TeeChannel = /** @class */ (function (_super) {\r\n __extends(TeeChannel, _super);\r\n function TeeChannel() {\r\n var _this = _super.call(this) || this;\r\n _this.identifier = \"TeeChannelController\";\r\n _this.priority = 999;\r\n var _channelController;\r\n var _isInitialized;\r\n dynamicProto(TeeChannel, _this, function (_self, base) {\r\n _initDefaults();\r\n _self.initialize = function (config, core, extensions, pluginChain) {\r\n if (!_isInitialized) {\r\n _isInitialized = true;\r\n _initChannels(_self, core);\r\n }\r\n };\r\n _self.getTeeChannels = function () {\r\n var controls = [];\r\n var channelQueues = _channelController[_DYN_GET_QUEUES /* @min:%2egetQueues */]();\r\n if (channelQueues) {\r\n arrForEach(channelQueues, function (channels) {\r\n controls.push(channels[_DYN_QUEUE /* @min:%2equeue */]);\r\n });\r\n }\r\n return objFreeze(controls);\r\n };\r\n _self.isInitialized = function () {\r\n return _isInitialized;\r\n };\r\n _self[_DYN_TEARDOWN /* @min:%2eteardown */] = function (unloadCtx, unloadState) {\r\n return _channelController[_DYN_TEARDOWN /* @min:%2eteardown */](unloadCtx, unloadState, function () {\r\n _isInitialized = false;\r\n });\r\n };\r\n proxyFunctions(_self, _channelController, [\r\n \"processTelemetry\",\r\n \"update\",\r\n \"pause\",\r\n \"resume\",\r\n \"getChannel\",\r\n \"flush\"\r\n ]);\r\n });\r\n function _initDefaults() {\r\n _channelController = createChannelControllerPlugin();\r\n _isInitialized = false;\r\n }\r\n function _initChannels(self, core) {\r\n // This function will be re-called whenever any referenced configuration is changed\r\n self._addHook(onConfigChange(core.config, function (details) {\r\n var ctx = createProcessTelemetryContext(null, details.cfg, core);\r\n var theConfig = ctx.getExtCfg(self[_DYN_IDENTIFIER /* @min:%2eidentifier */], defaultTeeChannelConfig);\r\n var channelQueue = _createChannelQueues(theConfig, core, self);\r\n arrForEach(channelQueue, function (channels) {\r\n if (channels && channels.queue[_DYN_LENGTH /* @min:%2elength */] > 0) {\r\n initializePlugins(ctx.createNew(channels[_DYN_QUEUE /* @min:%2equeue */]), details.cfg.extensions);\r\n }\r\n });\r\n _channelController.init(channelQueue, core);\r\n }));\r\n }\r\n return _this;\r\n }\r\n TeeChannel.prototype.initialize = function (config, core, extensions, pluginChain) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n TeeChannel.prototype.getTeeChannels = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n TeeChannel.prototype.processTelemetry = function (telemetryItem, itemCtx) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Tear down the plugin and remove any hooked value, the plugin should be removed so that it is no longer initialized and\r\n * therefore could be re-initialized after being torn down. The plugin should ensure that once this has been called any further\r\n * processTelemetry calls are ignored and it just calls the processNext() with the provided context.\r\n * @param unloadCtx - This is the context that should be used during unloading.\r\n * @param unloadState - The details / state of the unload process, it holds details like whether it should be unloaded synchronously or asynchronously and the reason for the unload.\r\n * @returns boolean - true if the plugin has or will call processNext(), this for backward compatibility as previously teardown was synchronous and returned nothing.\r\n */\r\n TeeChannel.prototype.teardown = function (unloadCtx, unloadState) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * The the plugin should re-evaluate configuration and update any cached configuration settings.\r\n * @param updateCtx - This is the context that should be used during updating.\r\n * @param updateState - The details / state of the update process, it holds details like the current and previous configuration.\r\n * @returns boolean - true if the plugin has or will call updateCtx.processNext(), this allows the plugin to perform any asynchronous operations.\r\n */\r\n TeeChannel.prototype.update = function (updateCtx, updateState) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Pause the sending (transmission) of events, this will cause all events to be batched only until the maximum limits are\r\n * hit at which point new events are dropped. Will also cause events to NOT be sent during page unload, so if Session storage\r\n * is disabled events will be lost.\r\n * SessionStorage Limit is 2000 events, In-Memory (Array) Storage is 10,000 events (can be configured via the eventsLimitInMem).\r\n */\r\n TeeChannel.prototype.pause = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Resume the sending (transmission) of events, this will restart the timer and any batched events will be sent using the normal\r\n * send interval.\r\n */\r\n TeeChannel.prototype.resume = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Flush any batched events immediately; Will not flush if the paused and channel should default to sending data asynchronously.\r\n * If executing asynchronously and you DO NOT pass a callback function then a [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)\r\n * will be returned which will resolve once the flush is complete. The actual implementation of the `IPromise`\r\n * will be a native Promise (if supported) or the default as supplied by [ts-async library](https://github.com/nevware21/ts-async)\r\n * @param async - send data asynchronously when true\r\n * @param callBack - if specified, notify caller when send is complete, the channel should return true to indicate to the caller that it will be called.\r\n * If the caller doesn't return true the caller should assume that it may never be called.\r\n * @param sendReason - specify the reason that you are calling \"flush\" defaults to ManualFlush (1) if not specified\r\n * @returns - If a callback is provided `true` to indicate that callback will be called after the flush is complete otherwise the caller\r\n * should assume that any provided callback will never be called, Nothing or if occurring asynchronously a\r\n * [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html) which will be resolved once the unload is complete,\r\n * the [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html) will only be returned when no callback is provided\r\n * and isAsync is true.\r\n */\r\n TeeChannel.prototype.flush = function (isAsync, callBack, sendReason, cbTimeout) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Flush the batched events synchronously (if possible -- based on configuration).\r\n * Will not flush if the Send has been paused.\r\n */\r\n TeeChannel.prototype.onunloadFlush = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Get and return the named channel instance (if present) from the queues\r\n * @param pluginIdentifier - The identifier name of the plugin\r\n */\r\n TeeChannel.prototype.getChannel = function (pluginIdentifier) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n return TeeChannel;\r\n}(BaseTelemetryPlugin));\r\nexport { TeeChannel };\r\n//# sourceMappingURL=TeeChannel.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA,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;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;;;;;;;;;oDA8EM,CAAC;;;;;sBACe;AACtB;AACA;AACA"}
|
|
1
|
+
{"version":3,"file":"TeeChannel.js.map","sources":["TeeChannel.js"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT License.\r\nimport { __extends } from \"tslib\";\r\nimport dynamicProto from \"@microsoft/dynamicproto-js\";\r\nimport { BaseTelemetryPlugin, cfgDfBoolean, createProcessTelemetryContext, initializePlugins, onConfigChange, proxyFunctions } from \"@microsoft/applicationinsights-core-js\";\r\nimport { arrForEach, isArray, objDeepFreeze, objFreeze, throwError } from \"@nevware21/ts-utils\";\r\nimport { ChannelControllerPriority, createChannelControllerPlugin } from \"./ChannelController\";\r\nimport { _DYN_IDENTIFIER, _DYN_LENGTH } from \"./__DynamicConstants\";\r\nvar ChannelValidationMessage = \"Channel has invalid priority - \";\r\nvar defaultTeeChannelConfig = objDeepFreeze({\r\n teeChannels: null,\r\n ignoreCoreChannels: cfgDfBoolean()\r\n});\r\nfunction _addChannelQueue(channelQueue, queue, core, teeChannel) {\r\n if (queue && isArray(queue) && queue[_DYN_LENGTH /* @min:%2elength */] > 0) {\r\n queue = queue.sort(function (a, b) {\r\n return a.priority - b.priority;\r\n });\r\n var _queue_1 = [];\r\n arrForEach(queue, function (queueItem) {\r\n if (queueItem.priority < ChannelControllerPriority) {\r\n throwError(ChannelValidationMessage + queueItem[_DYN_IDENTIFIER /* @min:%2eidentifier */]);\r\n }\r\n if (queueItem !== teeChannel) {\r\n _queue_1.push(queueItem);\r\n }\r\n });\r\n channelQueue.push({\r\n queue: objFreeze(_queue_1)\r\n });\r\n }\r\n}\r\nfunction _createChannelQueues(config, core, teeChannel) {\r\n var channelQueue = [];\r\n if (config) {\r\n if (!config.ignoreCoreChannels && core.config.channels) {\r\n // Add and sort the configuration channel queues\r\n arrForEach(core.config.channels, function (queue, idx) {\r\n if (idx > 0) {\r\n _addChannelQueue(channelQueue, queue, core, teeChannel);\r\n }\r\n });\r\n }\r\n if (config.teeChannels) {\r\n // Add and sort the configuration channel queues\r\n arrForEach(config.teeChannels, function (queue) { return _addChannelQueue(channelQueue, queue, core, teeChannel); });\r\n }\r\n }\r\n return channelQueue;\r\n}\r\nvar TeeChannel = /** @class */ (function (_super) {\r\n __extends(TeeChannel, _super);\r\n function TeeChannel() {\r\n var _this = _super.call(this) || this;\r\n _this.identifier = \"TeeChannelController\";\r\n _this.priority = 999;\r\n var _channelController;\r\n var _isInitialized;\r\n dynamicProto(TeeChannel, _this, function (_self, base) {\r\n _initDefaults();\r\n _self.initialize = function (config, core, extensions, pluginChain) {\r\n if (!_isInitialized) {\r\n _isInitialized = true;\r\n _initChannels(_self, core);\r\n }\r\n };\r\n _self.getTeeChannels = function () {\r\n var controls = [];\r\n var channelQueues = _channelController.getQueues();\r\n if (channelQueues) {\r\n arrForEach(channelQueues, function (channels) {\r\n controls.push(channels.queue);\r\n });\r\n }\r\n return objFreeze(controls);\r\n };\r\n _self.isInitialized = function () {\r\n return _isInitialized;\r\n };\r\n _self.teardown = function (unloadCtx, unloadState) {\r\n return _channelController.teardown(unloadCtx, unloadState, function () {\r\n _isInitialized = false;\r\n });\r\n };\r\n proxyFunctions(_self, _channelController, [\r\n \"processTelemetry\",\r\n \"update\",\r\n \"pause\",\r\n \"resume\",\r\n \"getChannel\",\r\n \"flush\"\r\n ]);\r\n });\r\n function _initDefaults() {\r\n _channelController = createChannelControllerPlugin();\r\n _isInitialized = false;\r\n }\r\n function _initChannels(self, core) {\r\n // This function will be re-called whenever any referenced configuration is changed\r\n self._addHook(onConfigChange(core.config, function (details) {\r\n var ctx = createProcessTelemetryContext(null, details.cfg, core);\r\n var theConfig = ctx.getExtCfg(self[_DYN_IDENTIFIER /* @min:%2eidentifier */], defaultTeeChannelConfig);\r\n var channelQueue = _createChannelQueues(theConfig, core, self);\r\n arrForEach(channelQueue, function (channels) {\r\n if (channels && channels.queue[_DYN_LENGTH /* @min:%2elength */] > 0) {\r\n initializePlugins(ctx.createNew(channels.queue), details.cfg.extensions);\r\n }\r\n });\r\n _channelController.init(channelQueue, core);\r\n }));\r\n }\r\n return _this;\r\n }\r\n TeeChannel.prototype.initialize = function (config, core, extensions, pluginChain) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n TeeChannel.prototype.getTeeChannels = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n TeeChannel.prototype.processTelemetry = function (telemetryItem, itemCtx) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Tear down the plugin and remove any hooked value, the plugin should be removed so that it is no longer initialized and\r\n * therefore could be re-initialized after being torn down. The plugin should ensure that once this has been called any further\r\n * processTelemetry calls are ignored and it just calls the processNext() with the provided context.\r\n * @param unloadCtx - This is the context that should be used during unloading.\r\n * @param unloadState - The details / state of the unload process, it holds details like whether it should be unloaded synchronously or asynchronously and the reason for the unload.\r\n * @returns boolean - true if the plugin has or will call processNext(), this for backward compatibility as previously teardown was synchronous and returned nothing.\r\n */\r\n TeeChannel.prototype.teardown = function (unloadCtx, unloadState) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * The the plugin should re-evaluate configuration and update any cached configuration settings.\r\n * @param updateCtx - This is the context that should be used during updating.\r\n * @param updateState - The details / state of the update process, it holds details like the current and previous configuration.\r\n * @returns boolean - true if the plugin has or will call updateCtx.processNext(), this allows the plugin to perform any asynchronous operations.\r\n */\r\n TeeChannel.prototype.update = function (updateCtx, updateState) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Pause the sending (transmission) of events, this will cause all events to be batched only until the maximum limits are\r\n * hit at which point new events are dropped. Will also cause events to NOT be sent during page unload, so if Session storage\r\n * is disabled events will be lost.\r\n * SessionStorage Limit is 2000 events, In-Memory (Array) Storage is 10,000 events (can be configured via the eventsLimitInMem).\r\n */\r\n TeeChannel.prototype.pause = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Resume the sending (transmission) of events, this will restart the timer and any batched events will be sent using the normal\r\n * send interval.\r\n */\r\n TeeChannel.prototype.resume = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Flush any batched events immediately; Will not flush if the paused and channel should default to sending data asynchronously.\r\n * If executing asynchronously and you DO NOT pass a callback function then a [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)\r\n * will be returned which will resolve once the flush is complete. The actual implementation of the `IPromise`\r\n * will be a native Promise (if supported) or the default as supplied by [ts-async library](https://github.com/nevware21/ts-async)\r\n * @param async - send data asynchronously when true\r\n * @param callBack - if specified, notify caller when send is complete, the channel should return true to indicate to the caller that it will be called.\r\n * If the caller doesn't return true the caller should assume that it may never be called.\r\n * @param sendReason - specify the reason that you are calling \"flush\" defaults to ManualFlush (1) if not specified\r\n * @returns - If a callback is provided `true` to indicate that callback will be called after the flush is complete otherwise the caller\r\n * should assume that any provided callback will never be called, Nothing or if occurring asynchronously a\r\n * [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html) which will be resolved once the unload is complete,\r\n * the [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html) will only be returned when no callback is provided\r\n * and isAsync is true.\r\n */\r\n TeeChannel.prototype.flush = function (isAsync, callBack, sendReason, cbTimeout) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Flush the batched events synchronously (if possible -- based on configuration).\r\n * Will not flush if the Send has been paused.\r\n */\r\n TeeChannel.prototype.onunloadFlush = function () {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n };\r\n /**\r\n * Get and return the named channel instance (if present) from the queues\r\n * @param pluginIdentifier - The identifier name of the plugin\r\n */\r\n TeeChannel.prototype.getChannel = function (pluginIdentifier) {\r\n // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging\r\n return null;\r\n };\r\n return TeeChannel;\r\n}(BaseTelemetryPlugin));\r\nexport { TeeChannel };\r\n//# sourceMappingURL=TeeChannel.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC,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;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;;;;;;;;;oDA8EM,CAAC;;;;;sBACe;AACtB;AACA;AACA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Tee Channel, 3.3.6-nightly3.
|
|
2
|
+
* Application Insights JavaScript SDK - Tee Channel, 3.3.6-nightly3.2503-01
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -8,16 +8,10 @@
|
|
|
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
|
|
13
|
-
//
|
|
11
|
+
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
|
+
// Note: DON'T Export these const from the package as we are still targeting ES5 which can result in a mutable variables that someone could change!!!
|
|
13
|
+
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
14
14
|
export var _DYN_LENGTH = "length"; // Count: 6
|
|
15
|
-
export var _DYN_QUEUE = "queue"; // Count: 5
|
|
16
15
|
export var _DYN_PROCESS_NEXT = "processNext"; // Count: 6
|
|
17
16
|
export var _DYN_IDENTIFIER = "identifier"; // Count: 3
|
|
18
|
-
export var _DYN_GET_QUEUES = "getQueues"; // Count: 3
|
|
19
|
-
export var _DYN_TEARDOWN = "teardown"; // Count: 3
|
|
20
|
-
export var _DYN_PRIORITY = "priority"; // Count: 3
|
|
21
|
-
export var _DYN_IGNORE_CORE_CHANNELS = "ignoreCoreChannels"; // Count: 2
|
|
22
|
-
export var _DYN_TEE_CHANNELS = "teeChannels"; // Count: 3
|
|
23
17
|
//# sourceMappingURL=__DynamicConstants.js.map
|
|
@@ -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//
|
|
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 ES5 which can result in a mutable variables that someone could change!!!\r\n// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\nexport var _DYN_LENGTH = \"length\"; // Count: 6\r\nexport var _DYN_PROCESS_NEXT = \"processNext\"; // Count: 6\r\nexport var _DYN_IDENTIFIER = \"identifier\"; // Count: 3\r\n//# sourceMappingURL=__DynamicConstants.js.map"],"names":[],"mappings":";;;;AAA4D;AAC1B;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-teechannel-js",
|
|
3
|
-
"version": "3.3.6-nightly3.
|
|
3
|
+
"version": "3.3.6-nightly3.2503-01",
|
|
4
4
|
"description": "Microsoft Application Insights JavaScript SDK Tee Channel",
|
|
5
5
|
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
6
|
"author": "Microsoft Application Insights Team",
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
60
60
|
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
61
|
-
"@microsoft/applicationinsights-core-js": "3.3.6-nightly3.
|
|
62
|
-
"@microsoft/applicationinsights-common": "3.3.6-nightly3.
|
|
63
|
-
"@nevware21/ts-utils": ">= 0.11.
|
|
61
|
+
"@microsoft/applicationinsights-core-js": "3.3.6-nightly3.2503-01",
|
|
62
|
+
"@microsoft/applicationinsights-common": "3.3.6-nightly3.2503-01",
|
|
63
|
+
"@nevware21/ts-utils": ">= 0.11.8 < 2.x",
|
|
64
64
|
"@nevware21/ts-async": ">= 0.5.4 < 2.x"
|
|
65
65
|
},
|
|
66
66
|
"license": "MIT",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights JavaScript SDK Tee Channel, 3.3.6-nightly3.
|
|
2
|
+
* Microsoft Application Insights JavaScript SDK Tee Channel, 3.3.6-nightly3.2503-01
|
|
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
|
-
* Microsoft Application Insights JavaScript SDK Tee Channel, 3.3.6-nightly3.
|
|
2
|
+
* Microsoft Application Insights JavaScript SDK Tee Channel, 3.3.6-nightly3.2503-01
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|