@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,5 +1,5 @@
|
|
|
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) {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.Microsoft = global.Microsoft || {}, global.Microsoft.ApplicationInsights = global.Microsoft.ApplicationInsights || {})));
|
|
9
9
|
})(this, (function (exports) { 'use strict';
|
|
10
10
|
|
|
11
|
-
/*! https://github.com/nevware21/ts-utils v0.11.
|
|
11
|
+
/*! https://github.com/nevware21/ts-utils v0.11.3 */
|
|
12
12
|
/*#__NO_SIDE_EFFECTS__*/
|
|
13
13
|
function _pureAssign(func1, func2) {
|
|
14
14
|
return func1 || func2;
|
|
@@ -111,14 +111,52 @@
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
+
var propMap = {
|
|
115
|
+
e: "enumerable",
|
|
116
|
+
c: "configurable",
|
|
117
|
+
v: "value",
|
|
118
|
+
w: "writable",
|
|
119
|
+
g: "get",
|
|
120
|
+
s: "set"
|
|
121
|
+
};
|
|
122
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
123
|
+
function _createProp(value) {
|
|
124
|
+
var prop = {};
|
|
125
|
+
prop[propMap["c"]] = true;
|
|
126
|
+
prop[propMap["e"]] = true;
|
|
127
|
+
if (value.l) {
|
|
128
|
+
prop.get = function () { return value.l.v; };
|
|
129
|
+
var desc = objGetOwnPropertyDescriptor(value.l, "v");
|
|
130
|
+
if (desc && desc.set) {
|
|
131
|
+
prop.set = function (newValue) {
|
|
132
|
+
value.l.v = newValue;
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
objForEachKey(value, function (key, value) {
|
|
137
|
+
prop[propMap[key]] = isUndefined(value) ? prop[propMap[key]] : value;
|
|
138
|
+
});
|
|
139
|
+
return prop;
|
|
140
|
+
}
|
|
141
|
+
var objDefineProp = ( /*#__PURE__*/_pureRef(ObjClass$1, "defineProperty"));
|
|
142
|
+
function objDefine(target, key, propDesc) {
|
|
143
|
+
return objDefineProp(target, key, _createProp(propDesc));
|
|
144
|
+
}
|
|
114
145
|
/*#__NO_SIDE_EFFECTS__*/
|
|
115
|
-
function _createKeyValueMap(values, keyType, valueType, completeFn) {
|
|
146
|
+
function _createKeyValueMap(values, keyType, valueType, completeFn, writable) {
|
|
116
147
|
var theMap = {};
|
|
117
148
|
objForEachKey(values, function (key, value) {
|
|
118
|
-
theMap
|
|
119
|
-
theMap
|
|
149
|
+
_assignMapValue(theMap, key, keyType ? value : key, writable);
|
|
150
|
+
_assignMapValue(theMap, value, valueType ? value : key, writable);
|
|
151
|
+
});
|
|
152
|
+
return completeFn ? completeFn(theMap) : theMap;
|
|
153
|
+
}
|
|
154
|
+
function _assignMapValue(theMap, key, value, writable) {
|
|
155
|
+
objDefineProp(theMap, key, {
|
|
156
|
+
value: value,
|
|
157
|
+
enumerable: true,
|
|
158
|
+
writable: !!writable
|
|
120
159
|
});
|
|
121
|
-
return completeFn(theMap);
|
|
122
160
|
}
|
|
123
161
|
var asString = ( /* #__PURE__ */_pureAssign(StrCls));
|
|
124
162
|
var ERROR_TYPE = "[object Error]";
|
|
@@ -154,30 +192,20 @@
|
|
|
154
192
|
}
|
|
155
193
|
var objAssign = ( /*#__PURE__*/_pureRef(ObjClass$1, "assign"));
|
|
156
194
|
var objKeys = ( /*#__PURE__*/_pureRef(ObjClass$1, "keys"));
|
|
157
|
-
function objDeepFreeze(value) {
|
|
158
|
-
if (_objFreeze) {
|
|
159
|
-
objForEachKey(value, function (key, value) {
|
|
160
|
-
if (isArray(value) || isObject(value)) {
|
|
161
|
-
_objFreeze(value);
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
return objFreeze(value);
|
|
166
|
-
}
|
|
167
195
|
var objFreeze = ( /* #__PURE__*/_pureAssign(_objFreeze, _doNothing));
|
|
168
196
|
var objGetPrototypeOf = ( /* #__PURE__*/_pureAssign(( /* #__PURE__*/_pureRef(ObjClass$1, "getPrototypeOf")), _getProto));
|
|
169
197
|
/*#__NO_SIDE_EFFECTS__*/
|
|
170
198
|
function createEnum(values) {
|
|
171
|
-
return _createKeyValueMap(values, 1 , 0 ,
|
|
199
|
+
return _createKeyValueMap(values, 1 , 0 , objFreeze);
|
|
172
200
|
}
|
|
173
201
|
/*#__NO_SIDE_EFFECTS__*/
|
|
174
202
|
function createSimpleMap(values) {
|
|
175
203
|
var mapClass = {};
|
|
176
204
|
objForEachKey(values, function (key, value) {
|
|
177
|
-
mapClass
|
|
178
|
-
mapClass
|
|
205
|
+
_assignMapValue(mapClass, key, value[1]);
|
|
206
|
+
_assignMapValue(mapClass, value[0], value[1]);
|
|
179
207
|
});
|
|
180
|
-
return
|
|
208
|
+
return objFreeze(mapClass);
|
|
181
209
|
}
|
|
182
210
|
/*#__NO_SIDE_EFFECTS__*/
|
|
183
211
|
function createTypeMap(values) {
|
|
@@ -279,37 +307,6 @@
|
|
|
279
307
|
}
|
|
280
308
|
return registry.k[key];
|
|
281
309
|
}
|
|
282
|
-
var propMap = {
|
|
283
|
-
e: "enumerable",
|
|
284
|
-
c: "configurable",
|
|
285
|
-
v: "value",
|
|
286
|
-
w: "writable",
|
|
287
|
-
g: "get",
|
|
288
|
-
s: "set"
|
|
289
|
-
};
|
|
290
|
-
/*#__NO_SIDE_EFFECTS__*/
|
|
291
|
-
function _createProp(value) {
|
|
292
|
-
var prop = {};
|
|
293
|
-
prop[propMap["c"]] = true;
|
|
294
|
-
prop[propMap["e"]] = true;
|
|
295
|
-
if (value.l) {
|
|
296
|
-
prop.get = function () { return value.l.v; };
|
|
297
|
-
var desc = objGetOwnPropertyDescriptor(value.l, "v");
|
|
298
|
-
if (desc && desc.set) {
|
|
299
|
-
prop.set = function (newValue) {
|
|
300
|
-
value.l.v = newValue;
|
|
301
|
-
};
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
objForEachKey(value, function (key, value) {
|
|
305
|
-
prop[propMap[key]] = isUndefined(value) ? prop[propMap[key]] : value;
|
|
306
|
-
});
|
|
307
|
-
return prop;
|
|
308
|
-
}
|
|
309
|
-
var objDefineProp = ( /*#__PURE__*/_pureRef(ObjClass$1, "defineProperty"));
|
|
310
|
-
function objDefine(target, key, propDesc) {
|
|
311
|
-
return objDefineProp(target, key, _createProp(propDesc));
|
|
312
|
-
}
|
|
313
310
|
var _globalLazyTestHooks;
|
|
314
311
|
function _initTestHooks() {
|
|
315
312
|
_globalLazyTestHooks = _getGlobalConfig();
|
|
@@ -1169,7 +1166,7 @@
|
|
|
1169
1166
|
return result;
|
|
1170
1167
|
}
|
|
1171
1168
|
|
|
1172
|
-
var version = '3.3.0-nightly3.2406-
|
|
1169
|
+
var version = '3.3.0-nightly3.2406-10';
|
|
1173
1170
|
var instanceName = "." + newId(6);
|
|
1174
1171
|
var _dataUid = 0;
|
|
1175
1172
|
function _canAcceptData(target) {
|