@microsoft/1ds-core-js 4.4.0-nightlybeta3.2505-20 → 4.4.0-nightlybeta3.2505-36
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/README.md +2 -2
- package/bundle/es5/{ms.core-4.4.0-nightlybeta3.2505-20.gbl.js → ms.core-4.4.0-nightlybeta3.2505-36.gbl.js} +21 -21
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-36.gbl.js.map +1 -0
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-36.gbl.min.js +7 -0
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-36.gbl.min.js.map +1 -0
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-36.integrity.json +46 -0
- package/bundle/es5/{ms.core-4.4.0-nightlybeta3.2505-20.js → ms.core-4.4.0-nightlybeta3.2505-36.js} +21 -21
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-36.js.map +1 -0
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-36.min.js +7 -0
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-36.min.js.map +1 -0
- package/bundle/es5/ms.core.gbl.js +20 -20
- package/bundle/es5/ms.core.gbl.js.map +1 -1
- package/bundle/es5/ms.core.gbl.min.js +2 -2
- package/bundle/es5/ms.core.gbl.min.js.map +1 -1
- package/bundle/es5/ms.core.integrity.json +17 -17
- package/bundle/es5/ms.core.js +20 -20
- package/bundle/es5/ms.core.js.map +1 -1
- package/bundle/es5/ms.core.min.js +2 -2
- package/bundle/es5/ms.core.min.js.map +1 -1
- package/dist/es5/ms.core.js +18 -18
- package/dist/es5/ms.core.js.map +1 -1
- package/dist/es5/ms.core.min.js +2 -2
- package/dist/es5/ms.core.min.js.map +1 -1
- package/dist-es5/AppInsightsCore.js +1 -1
- package/dist-es5/BaseCore.js +1 -1
- package/dist-es5/DataModels.js +1 -1
- package/dist-es5/Enums.js +1 -1
- package/dist-es5/Index.js +1 -1
- package/dist-es5/InternalConstants.js +1 -1
- package/dist-es5/Utils.js +2 -2
- package/dist-es5/Utils.js.map +1 -1
- package/dist-es5/ValueSanitizer.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/package.json +2 -2
- package/types/1ds-core-js.d.ts +2 -2
- package/types/1ds-core-js.namespaced.d.ts +23 -4
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-20.gbl.js.map +0 -1
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-20.gbl.min.js +0 -7
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-20.gbl.min.js.map +0 -1
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-20.integrity.json +0 -46
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-20.js.map +0 -1
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-20.min.js +0 -7
- package/bundle/es5/ms.core-4.4.0-nightlybeta3.2505-20.min.js.map +0 -1
package/README.md
CHANGED
|
@@ -52,8 +52,8 @@ appInsightsCore.initialize(coreConfig, []);
|
|
|
52
52
|
| idLength | [Optional] Identifies the default length used to generate new random session and user id's. Defaults to 22, previous default value was 5 (v2.4.2 or less), if you need to keep the previous maximum length you should set this value to 5. | number<br />Default: 22
|
|
53
53
|
| disableEventTimings | [Optional] Disables additional internal event timings that are added during processing of events, the timings are not sent as part telemetry items to the server. | boolean<br/>Default: false
|
|
54
54
|
| enableCompoundKey | [Optional] Enables support for objects with compound keys which indirectly represent an object where the "key" of the object contains a "." as part of it's name.<br />Example: <code>event: { "somedata.embeddedvalue": 123 } </code> | boolean<br />Default: false
|
|
55
|
-
| disablePageUnloadEvents | [Optional] An array of the page unload events that you would like to be ignored, special note there must be at least one valid unload event hooked, if you list all or the runtime environment only supports a listed "disabled" event it will still be hooked, if required by the SDK.<br /> Unload events include "beforeunload", "unload", "visibilitychange" (with 'hidden' state) and "pagehide"
|
|
56
|
-
| disablePageShowEvents | [Optional] An array of page show events that you would like to be ignored, special note there must be at lease one valid show event hooked, if you list all or the runtime environment only supports a listed (disabled) event it will STILL be hooked, if required by the SDK.<br/> Page Show events include "pageshow" and "visibilitychange" (with 'visible' state)
|
|
55
|
+
| [disablePageUnloadEvents](https://microsoft.github.io/ApplicationInsights-JS/webSdk/1ds-core-js/interfaces/IConfiguration.html#disablePageUnloadEvents) | [Optional] An array of the page unload events that you would like to be ignored, special note there must be at least one valid unload event hooked, if you list all or the runtime environment only supports a listed "disabled" event it will still be hooked, if required by the SDK.<br /> Unload events include "beforeunload", "unload", "visibilitychange" (with 'hidden' state) and "pagehide". See [Page Unload Events documentation](https://microsoft.github.io/ApplicationInsights-JS/docs/PageUnloadEvents.html) for details.| string[]<br />Default: not specified
|
|
56
|
+
| [disablePageShowEvents](https://microsoft.github.io/ApplicationInsights-JS/webSdk/1ds-core-js/interfaces/IConfiguration.html#disablePageShowEvents) | [Optional] An array of page show events that you would like to be ignored, special note there must be at lease one valid show event hooked, if you list all or the runtime environment only supports a listed (disabled) event it will STILL be hooked, if required by the SDK.<br/> Page Show events include "pageshow" and "visibilitychange" (with 'visible' state). See [Page Unload Events documentation](https://microsoft.github.io/ApplicationInsights-JS/docs/PageUnloadEvents.html) for details.| string[]<br /> Default: not specified
|
|
57
57
|
|
|
58
58
|
### [IPropertyStorageOverride](https://microsoft.github.io/ApplicationInsights-JS/webSdk/1ds-core-js/interfaces/IPropertyStorageOverride.html)
|
|
59
59
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* 1DS JS SDK Core, 4.4.0-nightlybeta3.2505-
|
|
2
|
+
* 1DS JS SDK Core, 4.4.0-nightlybeta3.2505-36
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
* (Microsoft Internal Only)
|
|
5
5
|
*/
|
|
6
6
|
(function (global, factory) {
|
|
7
7
|
var undef = "undefined";
|
|
8
|
-
var nsKey, key, nm, theExports = {}, modName = "
|
|
9
|
-
var mods={}, modDetail=mods[modName]={}, ver="4.4.0-nightlybeta3.2505-
|
|
8
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_ms_core_4_4_0_nightlybeta3_2505_36", msMod="__ms$mod__";
|
|
9
|
+
var mods={}, modDetail=mods[modName]={}, ver="4.4.0-nightlybeta3.2505-36";
|
|
10
10
|
// Versioned namespace "oneDS4"
|
|
11
11
|
var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
|
|
12
12
|
// Global namespace "oneDS"
|
|
@@ -33,7 +33,7 @@ var strShimPrototype = "prototype";
|
|
|
33
33
|
var ObjClass$1 = Object;
|
|
34
34
|
var ObjProto$1 = ObjClass$1[strShimPrototype];
|
|
35
35
|
|
|
36
|
-
/*! https://github.com/nevware21/ts-utils v0.12.
|
|
36
|
+
/*! https://github.com/nevware21/ts-utils v0.12.5 */
|
|
37
37
|
/*#__NO_SIDE_EFFECTS__*/
|
|
38
38
|
function _pureAssign(func1, func2) {
|
|
39
39
|
return func1 || func2;
|
|
@@ -161,7 +161,7 @@ function _returnNothing() {
|
|
|
161
161
|
function _returnFalse() {
|
|
162
162
|
return false;
|
|
163
163
|
}
|
|
164
|
-
var asString = (
|
|
164
|
+
var asString = ( /*#__PURE__*/_pureAssign(StrCls));
|
|
165
165
|
var ERROR_TYPE = "[object Error]";
|
|
166
166
|
/*#__NO_SIDE_EFFECTS__*/
|
|
167
167
|
function dumpObj(object, format) {
|
|
@@ -199,8 +199,8 @@ function _throwIfNotString(value) {
|
|
|
199
199
|
function objHasOwnProperty(obj, prop) {
|
|
200
200
|
return !!obj && ObjProto.hasOwnProperty[CALL](obj, prop);
|
|
201
201
|
}
|
|
202
|
-
var _objGetOwnPropertyDescriptor$2 = (
|
|
203
|
-
var objHasOwn = ( /*#__PURE__*/_pureAssign((
|
|
202
|
+
var _objGetOwnPropertyDescriptor$2 = ( /*#__PURE__*/_pureAssign(( /*#__PURE__*/_pureRef(ObjClass, GET_OWN_PROPERTY_DESCRIPTOR)), _returnNothing));
|
|
203
|
+
var objHasOwn = ( /*#__PURE__*/_pureAssign(( /*#__PURE__*/_pureRef(ObjClass, "hasOwn")), polyObjHasOwn));
|
|
204
204
|
/*#__NO_SIDE_EFFECTS__*/
|
|
205
205
|
function polyObjHasOwn(obj, prop) {
|
|
206
206
|
_throwIfNullOrUndefined(obj);
|
|
@@ -248,7 +248,7 @@ function _unwrapProp(propName) {
|
|
|
248
248
|
return thisArg[propName];
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
|
-
var _objGetOwnPropertyDescriptor$1 = (
|
|
251
|
+
var _objGetOwnPropertyDescriptor$1 = ( /*#__PURE__*/_pureAssign(( /*#__PURE__*/_pureRef(ObjClass, GET_OWN_PROPERTY_DESCRIPTOR)), _returnNothing));
|
|
252
252
|
var propMap = {
|
|
253
253
|
e: "enumerable",
|
|
254
254
|
c: "configurable",
|
|
@@ -310,8 +310,8 @@ function _assignMapValue(theMap, key, value, writable) {
|
|
|
310
310
|
writable: false
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
|
-
var objIsFrozen = (
|
|
314
|
-
var _objFreeze = (
|
|
313
|
+
var objIsFrozen = ( /*#__PURE__*/_pureAssign(( /*#__PURE__*/_pureRef(ObjClass, "isFrozen")), _returnFalse));
|
|
314
|
+
var _objFreeze = ( /*#__PURE__*/_pureRef(ObjClass, "freeze"));
|
|
315
315
|
function _doNothing(value) {
|
|
316
316
|
return value;
|
|
317
317
|
}
|
|
@@ -340,9 +340,9 @@ function _deepFreeze(val, visited) {
|
|
|
340
340
|
function objDeepFreeze(value) {
|
|
341
341
|
return _objFreeze ? _deepFreeze(value, []) : value;
|
|
342
342
|
}
|
|
343
|
-
var objFreeze = (
|
|
344
|
-
var objSeal = (
|
|
345
|
-
var objGetPrototypeOf = (
|
|
343
|
+
var objFreeze = ( /*#__PURE__*/_pureAssign(_objFreeze, _doNothing));
|
|
344
|
+
var objSeal = ( /*#__PURE__*/_pureAssign(( /*#__PURE__*/_pureRef(ObjClass, "seal")), _doNothing));
|
|
345
|
+
var objGetPrototypeOf = ( /*#__PURE__*/_pureAssign(( /*#__PURE__*/_pureRef(ObjClass, "getPrototypeOf")), _getProto));
|
|
346
346
|
/*#__NO_SIDE_EFFECTS__*/
|
|
347
347
|
function createEnum(values) {
|
|
348
348
|
return _createKeyValueMap(values, 1 , 0 , objFreeze);
|
|
@@ -351,7 +351,7 @@ function createEnum(values) {
|
|
|
351
351
|
function createEnumKeyMap(values) {
|
|
352
352
|
return _createKeyValueMap(values, 0 , 0 , objFreeze);
|
|
353
353
|
}
|
|
354
|
-
var _wellKnownSymbolMap = /*#__PURE__*/
|
|
354
|
+
var _wellKnownSymbolMap = ( /*#__PURE__*/createEnumKeyMap({
|
|
355
355
|
asyncIterator: 0 ,
|
|
356
356
|
hasInstance: 1 ,
|
|
357
357
|
isConcatSpreadable: 2 ,
|
|
@@ -365,7 +365,7 @@ var _wellKnownSymbolMap = /*#__PURE__*/ createEnumKeyMap({
|
|
|
365
365
|
toPrimitive: 10 ,
|
|
366
366
|
toStringTag: 11 ,
|
|
367
367
|
unscopables: 12
|
|
368
|
-
});
|
|
368
|
+
}));
|
|
369
369
|
var GLOBAL_CONFIG_KEY = "__tsUtils$gblCfg";
|
|
370
370
|
var _globalCfg;
|
|
371
371
|
/*#__NO_SIDE_EFFECTS__*/
|
|
@@ -742,7 +742,7 @@ function polyArrIncludes(theArray, searchElement, fromIndex) {
|
|
|
742
742
|
var arrIncludes = ( /*#__PURE__*/_unwrapFunctionWithPoly("includes", ArrProto, polyArrIncludes));
|
|
743
743
|
var arrReduce = ( /*#__PURE__*/_unwrapFunction("reduce", ArrProto));
|
|
744
744
|
var _isProtoArray;
|
|
745
|
-
var objSetPrototypeOf = (
|
|
745
|
+
var objSetPrototypeOf = ( /*#__PURE__*/_pureAssign(( /*#__PURE__*/_pureRef(ObjClass, "setPrototypeOf")), _polyObjSetPrototypeOf));
|
|
746
746
|
function _polyObjSetPrototypeOf(obj, proto) {
|
|
747
747
|
var _a;
|
|
748
748
|
!_isProtoArray && (_isProtoArray = createCachedValue((_a = {}, _a[__PROTO__] = [], _a) instanceof Array));
|
|
@@ -1001,7 +1001,7 @@ function perfNow() {
|
|
|
1001
1001
|
}
|
|
1002
1002
|
return utcNow();
|
|
1003
1003
|
}
|
|
1004
|
-
var objGetOwnPropertyDescriptor = (
|
|
1004
|
+
var objGetOwnPropertyDescriptor = ( /*#__PURE__*/_pureAssign(( /*#__PURE__*/_pureRef(ObjClass, GET_OWN_PROPERTY_DESCRIPTOR)), _returnNothing));
|
|
1005
1005
|
var strEndsWith = ( /*#__PURE__*/_unwrapFunctionWithPoly("endsWith", StrProto, polyStrEndsWith));
|
|
1006
1006
|
/*#__NO_SIDE_EFFECTS__*/
|
|
1007
1007
|
function polyStrEndsWith(value, searchString, length) {
|
|
@@ -2435,7 +2435,7 @@ function newId(maxLength) {
|
|
|
2435
2435
|
return result;
|
|
2436
2436
|
}
|
|
2437
2437
|
|
|
2438
|
-
var version = '3.4.0-nightlybeta3.2505-
|
|
2438
|
+
var version = '3.4.0-nightlybeta3.2505-36';
|
|
2439
2439
|
var instanceName = "." + newId(6);
|
|
2440
2440
|
var _dataUid = 0;
|
|
2441
2441
|
function _canAcceptData(target) {
|
|
@@ -2493,7 +2493,7 @@ function createElmNodeData(name) {
|
|
|
2493
2493
|
}
|
|
2494
2494
|
|
|
2495
2495
|
function _isConfigDefaults(value) {
|
|
2496
|
-
return (value && isObject(value) && (value.isVal || value.fb || objHasOwn(value, "v") || objHasOwn(value, "mrg") || objHasOwn(value, "ref") || value.set));
|
|
2496
|
+
return (value && isObject(value) && !isArray(value) && (value.isVal || value.fb || objHasOwn(value, "v") || objHasOwn(value, "mrg") || objHasOwn(value, "ref") || value.set));
|
|
2497
2497
|
}
|
|
2498
2498
|
function _getDefault(dynamicHandler, theConfig, cfgDefaults) {
|
|
2499
2499
|
var defValue;
|
|
@@ -6606,7 +6606,7 @@ var _DYN_RM_FIELD_SANITIZER = "rmFieldSanitizer";
|
|
|
6606
6606
|
var _DYN_CAN_HANDLE = "canHandle";
|
|
6607
6607
|
|
|
6608
6608
|
var _a;
|
|
6609
|
-
var Version = '4.4.0-nightlybeta3.2505-
|
|
6609
|
+
var Version = '4.4.0-nightlybeta3.2505-36';
|
|
6610
6610
|
var FullVersionString = "1DS-Web-JS-" + Version;
|
|
6611
6611
|
var ObjHasOwnProperty = ObjProto$1.hasOwnProperty;
|
|
6612
6612
|
var strDisabledPropertyName = "Microsoft_ApplicationInsights_BypassAjaxInstrumentation";
|
|
@@ -7363,4 +7363,4 @@ exports.toISOString = toISOString;
|
|
|
7363
7363
|
exports.useXDomainRequest = useXDomainRequest;
|
|
7364
7364
|
|
|
7365
7365
|
}));
|
|
7366
|
-
//# sourceMappingURL=ms.core-4.4.0-nightlybeta3.2505-
|
|
7366
|
+
//# sourceMappingURL=ms.core-4.4.0-nightlybeta3.2505-36.gbl.js.map
|