@microsoft/applicationinsights-common 3.3.0-nightly3.2406-08 → 3.3.0-nightly3.2406-10
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-common.cjs.js +49 -52
- package/browser/es5/applicationinsights-common.cjs.js.map +1 -1
- package/browser/es5/applicationinsights-common.cjs.min.js +2 -2
- package/browser/es5/applicationinsights-common.cjs.min.js.map +1 -1
- package/browser/es5/applicationinsights-common.gbl.js +51 -54
- package/browser/es5/applicationinsights-common.gbl.js.map +1 -1
- package/browser/es5/applicationinsights-common.gbl.min.js +2 -2
- package/browser/es5/applicationinsights-common.gbl.min.js.map +1 -1
- package/browser/es5/applicationinsights-common.integrity.json +25 -25
- package/browser/es5/applicationinsights-common.js +51 -54
- package/browser/es5/applicationinsights-common.js.map +1 -1
- package/browser/es5/applicationinsights-common.min.js +2 -2
- package/browser/es5/applicationinsights-common.min.js.map +1 -1
- package/dist/es5/applicationinsights-common.js +49 -52
- package/dist/es5/applicationinsights-common.js.map +1 -1
- package/dist/es5/applicationinsights-common.min.js +2 -2
- package/dist/es5/applicationinsights-common.min.js.map +1 -1
- package/dist-es5/ConnectionStringParser.js +1 -1
- package/dist-es5/Constants.js +1 -1
- package/dist-es5/DomHelperFuncs.js +1 -1
- package/dist-es5/Enums.js +1 -1
- package/dist-es5/HelperFuncs.js +1 -1
- package/dist-es5/Interfaces/ConnectionString.js +1 -1
- package/dist-es5/Interfaces/Context/IApplication.js +1 -1
- package/dist-es5/Interfaces/Context/IDevice.js +1 -1
- package/dist-es5/Interfaces/Context/IInternal.js +1 -1
- package/dist-es5/Interfaces/Context/ILocation.js +1 -1
- package/dist-es5/Interfaces/Context/IOperatingSystem.js +1 -1
- package/dist-es5/Interfaces/Context/ISample.js +1 -1
- package/dist-es5/Interfaces/Context/ISession.js +1 -1
- package/dist-es5/Interfaces/Context/ISessionManager.js +1 -1
- package/dist-es5/Interfaces/Context/ITelemetryTrace.js +1 -1
- package/dist-es5/Interfaces/Context/IUser.js +1 -1
- package/dist-es5/Interfaces/Context/IWeb.js +1 -1
- package/dist-es5/Interfaces/Contracts/AvailabilityData.js +1 -1
- package/dist-es5/Interfaces/Contracts/ContextTagKeys.js +1 -1
- package/dist-es5/Interfaces/Contracts/DataPointType.js +1 -1
- package/dist-es5/Interfaces/Contracts/DependencyKind.js +1 -1
- package/dist-es5/Interfaces/Contracts/DependencySourceType.js +1 -1
- package/dist-es5/Interfaces/Contracts/IBase.js +1 -1
- package/dist-es5/Interfaces/Contracts/IData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IDataPoint.js +1 -1
- package/dist-es5/Interfaces/Contracts/IDomain.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Contracts/IEventData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IExceptionData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IExceptionDetails.js +1 -1
- package/dist-es5/Interfaces/Contracts/IMessageData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IMetricData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IPageViewData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IPageViewPerfData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IRemoteDependencyData.js +1 -1
- package/dist-es5/Interfaces/Contracts/IStackFrame.js +1 -1
- package/dist-es5/Interfaces/Contracts/RequestData.js +1 -1
- package/dist-es5/Interfaces/Contracts/SeverityLevel.js +1 -1
- package/dist-es5/Interfaces/IAppInsights.js +1 -1
- package/dist-es5/Interfaces/IConfig.js +1 -1
- package/dist-es5/Interfaces/ICorrelationConfig.js +1 -1
- package/dist-es5/Interfaces/IDependencyTelemetry.js +1 -1
- package/dist-es5/Interfaces/IEventTelemetry.js +1 -1
- package/dist-es5/Interfaces/IExceptionTelemetry.js +1 -1
- package/dist-es5/Interfaces/IMetricTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPageViewPerformanceTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPageViewTelemetry.js +1 -1
- package/dist-es5/Interfaces/IPartC.js +1 -1
- package/dist-es5/Interfaces/IPropertiesPlugin.js +1 -1
- package/dist-es5/Interfaces/IRequestContext.js +1 -1
- package/dist-es5/Interfaces/IStorageBuffer.js +1 -1
- package/dist-es5/Interfaces/ITelemetryContext.js +1 -1
- package/dist-es5/Interfaces/IThrottleMgr.js +1 -1
- package/dist-es5/Interfaces/ITraceTelemetry.js +1 -1
- package/dist-es5/Interfaces/PartAExtensions.js +1 -1
- package/dist-es5/Interfaces/Telemetry/IEnvelope.js +1 -1
- package/dist-es5/Interfaces/Telemetry/ISerializable.js +1 -1
- package/dist-es5/Offline.js +1 -1
- package/dist-es5/RequestResponseHeaders.js +1 -1
- package/dist-es5/StorageHelperFuncs.js +1 -1
- package/dist-es5/Telemetry/Common/Data.js +1 -1
- package/dist-es5/Telemetry/Common/DataPoint.js +1 -1
- package/dist-es5/Telemetry/Common/DataSanitizer.js +1 -1
- package/dist-es5/Telemetry/Common/Envelope.js +1 -1
- package/dist-es5/Telemetry/Event.js +1 -1
- package/dist-es5/Telemetry/Exception.js +1 -1
- package/dist-es5/Telemetry/Metric.js +1 -1
- package/dist-es5/Telemetry/PageView.js +1 -1
- package/dist-es5/Telemetry/PageViewPerformance.js +1 -1
- package/dist-es5/Telemetry/RemoteDependencyData.js +1 -1
- package/dist-es5/Telemetry/Trace.js +1 -1
- package/dist-es5/TelemetryItemCreator.js +1 -1
- package/dist-es5/ThrottleMgr.js +1 -1
- package/dist-es5/UrlHelperFuncs.js +1 -1
- package/dist-es5/Util.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-common.js +1 -1
- package/package.json +3 -3
- package/types/applicationinsights-common.d.ts +1 -1
- package/types/applicationinsights-common.namespaced.d.ts +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Common, 3.3.0-nightly3.2406-
|
|
2
|
+
* Application Insights JavaScript SDK - Common, 3.3.0-nightly3.2406-10
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
6
6
|
var undef = "undefined";
|
|
7
|
-
var nsKey, key, nm, theExports = {}, modName = "
|
|
8
|
-
var mods={}, modDetail=mods[modName]={}, ver="3.3.0-nightly3.2406-
|
|
7
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_applicationinsights_common_3_3_0_nightly3_2406_10", msMod="__ms$mod__";
|
|
8
|
+
var mods={}, modDetail=mods[modName]={}, ver="3.3.0-nightly3.2406-10";
|
|
9
9
|
var baseNs=global, nsKey="Microsoft", baseNs=baseNs[nsKey]=(baseNs[nsKey]||{});
|
|
10
10
|
// Versioned namespace "Microsoft.ApplicationInsights3"
|
|
11
11
|
var exportNs=baseNs, nsKey="ApplicationInsights3", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
'use strict';
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
/*! https://github.com/nevware21/ts-utils v0.11.
|
|
29
|
+
/*! https://github.com/nevware21/ts-utils v0.11.3 */
|
|
30
30
|
/*#__NO_SIDE_EFFECTS__*/
|
|
31
31
|
function _pureAssign(func1, func2) {
|
|
32
32
|
return func1 || func2;
|
|
@@ -129,14 +129,52 @@ function objForEachKey(theObject, callbackfn, thisArg) {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
+
var propMap = {
|
|
133
|
+
e: "enumerable",
|
|
134
|
+
c: "configurable",
|
|
135
|
+
v: "value",
|
|
136
|
+
w: "writable",
|
|
137
|
+
g: "get",
|
|
138
|
+
s: "set"
|
|
139
|
+
};
|
|
140
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
141
|
+
function _createProp(value) {
|
|
142
|
+
var prop = {};
|
|
143
|
+
prop[propMap["c"]] = true;
|
|
144
|
+
prop[propMap["e"]] = true;
|
|
145
|
+
if (value.l) {
|
|
146
|
+
prop.get = function () { return value.l.v; };
|
|
147
|
+
var desc = objGetOwnPropertyDescriptor(value.l, "v");
|
|
148
|
+
if (desc && desc.set) {
|
|
149
|
+
prop.set = function (newValue) {
|
|
150
|
+
value.l.v = newValue;
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
objForEachKey(value, function (key, value) {
|
|
155
|
+
prop[propMap[key]] = isUndefined(value) ? prop[propMap[key]] : value;
|
|
156
|
+
});
|
|
157
|
+
return prop;
|
|
158
|
+
}
|
|
159
|
+
var objDefineProp = ( /*#__PURE__*/_pureRef(ObjClass$1, "defineProperty"));
|
|
160
|
+
function objDefine(target, key, propDesc) {
|
|
161
|
+
return objDefineProp(target, key, _createProp(propDesc));
|
|
162
|
+
}
|
|
132
163
|
/*#__NO_SIDE_EFFECTS__*/
|
|
133
|
-
function _createKeyValueMap(values, keyType, valueType, completeFn) {
|
|
164
|
+
function _createKeyValueMap(values, keyType, valueType, completeFn, writable) {
|
|
134
165
|
var theMap = {};
|
|
135
166
|
objForEachKey(values, function (key, value) {
|
|
136
|
-
theMap
|
|
137
|
-
theMap
|
|
167
|
+
_assignMapValue(theMap, key, keyType ? value : key, writable);
|
|
168
|
+
_assignMapValue(theMap, value, valueType ? value : key, writable);
|
|
169
|
+
});
|
|
170
|
+
return completeFn ? completeFn(theMap) : theMap;
|
|
171
|
+
}
|
|
172
|
+
function _assignMapValue(theMap, key, value, writable) {
|
|
173
|
+
objDefineProp(theMap, key, {
|
|
174
|
+
value: value,
|
|
175
|
+
enumerable: true,
|
|
176
|
+
writable: !!writable
|
|
138
177
|
});
|
|
139
|
-
return completeFn(theMap);
|
|
140
178
|
}
|
|
141
179
|
var asString = ( /* #__PURE__ */_pureAssign(StrCls));
|
|
142
180
|
var ERROR_TYPE = "[object Error]";
|
|
@@ -172,30 +210,20 @@ function _getProto(value) {
|
|
|
172
210
|
}
|
|
173
211
|
var objAssign = ( /*#__PURE__*/_pureRef(ObjClass$1, "assign"));
|
|
174
212
|
var objKeys = ( /*#__PURE__*/_pureRef(ObjClass$1, "keys"));
|
|
175
|
-
function objDeepFreeze(value) {
|
|
176
|
-
if (_objFreeze) {
|
|
177
|
-
objForEachKey(value, function (key, value) {
|
|
178
|
-
if (isArray(value) || isObject(value)) {
|
|
179
|
-
_objFreeze(value);
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
|
-
}
|
|
183
|
-
return objFreeze(value);
|
|
184
|
-
}
|
|
185
213
|
var objFreeze = ( /* #__PURE__*/_pureAssign(_objFreeze, _doNothing));
|
|
186
214
|
var objGetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass$1, "getPrototypeOf")), _getProto));
|
|
187
215
|
/*#__NO_SIDE_EFFECTS__*/
|
|
188
216
|
function createEnum(values) {
|
|
189
|
-
return _createKeyValueMap(values, 1 , 0 ,
|
|
217
|
+
return _createKeyValueMap(values, 1 , 0 , objFreeze);
|
|
190
218
|
}
|
|
191
219
|
/*#__NO_SIDE_EFFECTS__*/
|
|
192
220
|
function createSimpleMap(values) {
|
|
193
221
|
var mapClass = {};
|
|
194
222
|
objForEachKey(values, function (key, value) {
|
|
195
|
-
mapClass
|
|
196
|
-
mapClass
|
|
223
|
+
_assignMapValue(mapClass, key, value[1]);
|
|
224
|
+
_assignMapValue(mapClass, value[0], value[1]);
|
|
197
225
|
});
|
|
198
|
-
return
|
|
226
|
+
return objFreeze(mapClass);
|
|
199
227
|
}
|
|
200
228
|
/*#__NO_SIDE_EFFECTS__*/
|
|
201
229
|
function createTypeMap(values) {
|
|
@@ -297,37 +325,6 @@ function polySymbolFor(key) {
|
|
|
297
325
|
}
|
|
298
326
|
return registry.k[key];
|
|
299
327
|
}
|
|
300
|
-
var propMap = {
|
|
301
|
-
e: "enumerable",
|
|
302
|
-
c: "configurable",
|
|
303
|
-
v: "value",
|
|
304
|
-
w: "writable",
|
|
305
|
-
g: "get",
|
|
306
|
-
s: "set"
|
|
307
|
-
};
|
|
308
|
-
/*#__NO_SIDE_EFFECTS__*/
|
|
309
|
-
function _createProp(value) {
|
|
310
|
-
var prop = {};
|
|
311
|
-
prop[propMap["c"]] = true;
|
|
312
|
-
prop[propMap["e"]] = true;
|
|
313
|
-
if (value.l) {
|
|
314
|
-
prop.get = function () { return value.l.v; };
|
|
315
|
-
var desc = objGetOwnPropertyDescriptor(value.l, "v");
|
|
316
|
-
if (desc && desc.set) {
|
|
317
|
-
prop.set = function (newValue) {
|
|
318
|
-
value.l.v = newValue;
|
|
319
|
-
};
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
objForEachKey(value, function (key, value) {
|
|
323
|
-
prop[propMap[key]] = isUndefined(value) ? prop[propMap[key]] : value;
|
|
324
|
-
});
|
|
325
|
-
return prop;
|
|
326
|
-
}
|
|
327
|
-
var objDefineProp = ( /*#__PURE__*/_pureRef(ObjClass$1, "defineProperty"));
|
|
328
|
-
function objDefine(target, key, propDesc) {
|
|
329
|
-
return objDefineProp(target, key, _createProp(propDesc));
|
|
330
|
-
}
|
|
331
328
|
var _globalLazyTestHooks;
|
|
332
329
|
function _initTestHooks() {
|
|
333
330
|
_globalLazyTestHooks = _getGlobalConfig();
|
|
@@ -1187,7 +1184,7 @@ function newId(maxLength) {
|
|
|
1187
1184
|
return result;
|
|
1188
1185
|
}
|
|
1189
1186
|
|
|
1190
|
-
var version = '3.3.0-nightly3.2406-
|
|
1187
|
+
var version = '3.3.0-nightly3.2406-10';
|
|
1191
1188
|
var instanceName = "." + newId(6);
|
|
1192
1189
|
var _dataUid = 0;
|
|
1193
1190
|
function _canAcceptData(target) {
|