@microsoft/1ds-core-js 4.3.5-nightly3.2411-14 → 4.3.5-nightly3.2412-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.
Files changed (36) hide show
  1. package/bundle/es5/{ms.core-4.3.5-nightly3.2411-14.gbl.js → ms.core-4.3.5-nightly3.2412-01.gbl.js} +6 -6
  2. package/bundle/es5/{ms.core-4.3.5-nightly3.2411-14.gbl.js.map → ms.core-4.3.5-nightly3.2412-01.gbl.js.map} +1 -1
  3. package/bundle/es5/{ms.core-4.3.5-nightly3.2411-14.gbl.min.js → ms.core-4.3.5-nightly3.2412-01.gbl.min.js} +3 -3
  4. package/bundle/es5/{ms.core-4.3.5-nightly3.2411-14.gbl.min.js.map → ms.core-4.3.5-nightly3.2412-01.gbl.min.js.map} +1 -1
  5. package/bundle/es5/ms.core-4.3.5-nightly3.2412-01.integrity.json +46 -0
  6. package/bundle/es5/{ms.core-4.3.5-nightly3.2411-14.js → ms.core-4.3.5-nightly3.2412-01.js} +6 -6
  7. package/bundle/es5/{ms.core-4.3.5-nightly3.2411-14.js.map → ms.core-4.3.5-nightly3.2412-01.js.map} +1 -1
  8. package/bundle/es5/{ms.core-4.3.5-nightly3.2411-14.min.js → ms.core-4.3.5-nightly3.2412-01.min.js} +3 -3
  9. package/bundle/es5/{ms.core-4.3.5-nightly3.2411-14.min.js.map → ms.core-4.3.5-nightly3.2412-01.min.js.map} +1 -1
  10. package/bundle/es5/ms.core.gbl.js +5 -5
  11. package/bundle/es5/ms.core.gbl.js.map +1 -1
  12. package/bundle/es5/ms.core.gbl.min.js +2 -2
  13. package/bundle/es5/ms.core.gbl.min.js.map +1 -1
  14. package/bundle/es5/ms.core.integrity.json +17 -17
  15. package/bundle/es5/ms.core.js +5 -5
  16. package/bundle/es5/ms.core.js.map +1 -1
  17. package/bundle/es5/ms.core.min.js +2 -2
  18. package/bundle/es5/ms.core.min.js.map +1 -1
  19. package/dist/es5/ms.core.js +3 -3
  20. package/dist/es5/ms.core.js.map +1 -1
  21. package/dist/es5/ms.core.min.js +2 -2
  22. package/dist/es5/ms.core.min.js.map +1 -1
  23. package/dist-es5/AppInsightsCore.js +1 -1
  24. package/dist-es5/BaseCore.js +1 -1
  25. package/dist-es5/DataModels.js +1 -1
  26. package/dist-es5/Enums.js +1 -1
  27. package/dist-es5/Index.js +1 -1
  28. package/dist-es5/InternalConstants.js +1 -1
  29. package/dist-es5/Utils.js +3 -3
  30. package/dist-es5/Utils.js.map +1 -1
  31. package/dist-es5/ValueSanitizer.js +1 -1
  32. package/dist-es5/__DynamicConstants.js +1 -1
  33. package/package.json +2 -2
  34. package/types/1ds-core-js.d.ts +3 -3
  35. package/types/1ds-core-js.namespaced.d.ts +35 -44
  36. package/bundle/es5/ms.core-4.3.5-nightly3.2411-14.integrity.json +0 -46
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Core, 4.3.5-nightly3.2411-14
2
+ * 1DS JS SDK Core, 4.3.5-nightly3.2412-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Core, 4.3.5-nightly3.2411-14
2
+ * 1DS JS SDK Core, 4.3.5-nightly3.2412-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Core, 4.3.5-nightly3.2411-14
2
+ * 1DS JS SDK Core, 4.3.5-nightly3.2412-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
package/dist-es5/Enums.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Core, 4.3.5-nightly3.2411-14
2
+ * 1DS JS SDK Core, 4.3.5-nightly3.2412-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
package/dist-es5/Index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Core, 4.3.5-nightly3.2411-14
2
+ * 1DS JS SDK Core, 4.3.5-nightly3.2412-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Core, 4.3.5-nightly3.2411-14
2
+ * 1DS JS SDK Core, 4.3.5-nightly3.2412-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
package/dist-es5/Utils.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Core, 4.3.5-nightly3.2411-14
2
+ * 1DS JS SDK Core, 4.3.5-nightly3.2412-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
@@ -15,7 +15,7 @@ import { ObjProto, strShimObject } from "@microsoft/applicationinsights-shims";
15
15
  import { strIndexOf, strLeft } from "@nevware21/ts-utils";
16
16
  import { STR_EMPTY } from "./InternalConstants";
17
17
  import { _DYN_INDEX_OF, _DYN_KIND, _DYN_LENGTH, _DYN_PROCESS_TELEMETRY_ST0, _DYN_TIMINGS, _DYN_VALUE } from "./__DynamicConstants";
18
- export var Version = '4.3.5-nightly3.2411-14';
18
+ export var Version = '4.3.5-nightly3.2412-01';
19
19
  export var FullVersionString = "1DS-Web-JS-" + Version;
20
20
  var ObjHasOwnProperty = ObjProto.hasOwnProperty;
21
21
  // Defining here so we don't need to take (import) the ApplicationInsights Common module
@@ -302,7 +302,7 @@ export function setProcessTelemetryTimings(event, identifier) {
302
302
  }
303
303
  /**
304
304
  * Returns a bitwise value for the FieldValueSanitizerType enum representing the decoded type of the passed value
305
- * @param value The value to determine the type
305
+ * @param value - The value to determine the type
306
306
  */
307
307
  export function getFieldValueType(value) {
308
308
  var theType = 0 /* FieldValueSanitizerType.NotSet */;
@@ -1 +1 @@
1
- {"version":3,"file":"Utils.js.map","sources":["Utils.js"],"sourcesContent":["var _a;\r\n/**\r\n* Utils.ts\r\n* @author Abhilash Panwar (abpanwar) Hector Hernandez (hectorh)\r\n* @copyright Microsoft 2018\r\n* File containing utility functions.\r\n*/\r\nimport { arrForEach, getGlobalInst, getNavigator, hasDocument, hasWindow, isArray, isBoolean, isNullOrUndefined, isNumber, isObject, isReactNative, isString, isUndefined, newGuid, objForEachKey, perfNow } from \"@microsoft/applicationinsights-core-js\";\r\nimport { ObjProto, strShimObject } from \"@microsoft/applicationinsights-shims\";\r\nimport { strIndexOf, strLeft } from \"@nevware21/ts-utils\";\r\nimport { STR_EMPTY } from \"./InternalConstants\";\r\nimport { _DYN_INDEX_OF, _DYN_KIND, _DYN_LENGTH, _DYN_PROCESS_TELEMETRY_ST0, _DYN_TIMINGS, _DYN_VALUE } from \"./__DynamicConstants\";\r\nexport var Version = '4.3.5-nightly3.2411-14';\r\nexport var FullVersionString = \"1DS-Web-JS-\" + Version;\r\nvar ObjHasOwnProperty = ObjProto.hasOwnProperty;\r\n// Defining here so we don't need to take (import) the ApplicationInsights Common module\r\nvar strDisabledPropertyName = \"Microsoft_ApplicationInsights_BypassAjaxInstrumentation\";\r\nvar strWithCredentials = \"withCredentials\";\r\nvar strTimeout = \"timeout\";\r\n// If value is array just get the type for the first element\r\nvar _fieldTypeEventPropMap = (_a = {},\r\n _a[0 /* FieldValueSanitizerType.NotSet */] = 0 /* eEventPropertyType.Unspecified */,\r\n _a[2 /* FieldValueSanitizerType.Number */] = 6 /* eEventPropertyType.Double */,\r\n _a[1 /* FieldValueSanitizerType.String */] = 1 /* eEventPropertyType.String */,\r\n _a[3 /* FieldValueSanitizerType.Boolean */] = 7 /* eEventPropertyType.Bool */,\r\n _a[4096 /* FieldValueSanitizerType.Array */ | 2 /* FieldValueSanitizerType.Number */] = 6 /* eEventPropertyType.Double */,\r\n _a[4096 /* FieldValueSanitizerType.Array */ | 1 /* FieldValueSanitizerType.String */] = 1 /* eEventPropertyType.String */,\r\n _a[4096 /* FieldValueSanitizerType.Array */ | 3 /* FieldValueSanitizerType.Boolean */] = 7 /* eEventPropertyType.Bool */,\r\n _a);\r\n/**\r\n * @ignore\r\n */\r\n// let _uaDisallowsSameSiteNone = null;\r\nvar uInt8ArraySupported = null;\r\n// var _areCookiesAvailable: boolean | undefined;\r\n/**\r\n * Checks if document object is available\r\n */\r\nexport var isDocumentObjectAvailable = hasDocument();\r\n/**\r\n * Checks if window object is available\r\n */\r\nexport var isWindowObjectAvailable = hasWindow();\r\n/**\r\n * Checks if value is assigned to the given param.\r\n * @param value - The token from which the tenant id is to be extracted.\r\n * @returns True/false denoting if value is assigned to the param.\r\n */\r\nexport function isValueAssigned(value) {\r\n /// <summary> takes a value and checks for undefined, null and empty string </summary>\r\n /// <param type=\"any\"> value to be tested </param>\r\n /// <returns> true if value is null undefined or emptyString </returns>\r\n return !(value === STR_EMPTY || isNullOrUndefined(value));\r\n}\r\n/**\r\n * Gets the tenant id from the tenant token.\r\n * @param apiKey - The token from which the tenant id is to be extracted.\r\n * @returns The tenant id.\r\n */\r\nexport function getTenantId(apiKey) {\r\n if (apiKey) {\r\n var indexTenantId = strIndexOf(apiKey, \"-\");\r\n if (indexTenantId > -1) {\r\n return strLeft(apiKey, indexTenantId);\r\n }\r\n }\r\n return STR_EMPTY;\r\n}\r\n/**\r\n * Checks if Uint8Array are available in the current environment. Safari and Firefox along with\r\n * ReactNative are known to not support Uint8Array properly.\r\n * @returns True if available, false otherwise.\r\n */\r\nexport function isUint8ArrayAvailable() {\r\n if (uInt8ArraySupported === null) {\r\n uInt8ArraySupported = !isUndefined(Uint8Array) && !isSafariOrFirefox() && !isReactNative();\r\n }\r\n return uInt8ArraySupported;\r\n}\r\n/**\r\n * Checks if the value is a valid EventLatency.\r\n * @param value - The value that needs to be checked.\r\n * @returns True if the value is in AWTEventLatency, false otherwise.\r\n */\r\nexport function isLatency(value) {\r\n if (value && isNumber(value) && value >= 1 /* EventLatencyValue.Normal */ && value <= 4 /* EventLatencyValue.Immediate */) {\r\n return true;\r\n }\r\n return false;\r\n}\r\n/**\r\n * Sanitizes the Property. It checks the that the property name and value are valid. It also\r\n * checks/populates the correct type and pii of the property value.\r\n * @param name - property name - The property name.\r\n * @param property - The property value or an IEventProperty containing value,\r\n * type ,pii and customer content.\r\n * @returns IEventProperty containing valid name, value, pii and type or null if invalid.\r\n */\r\nexport function sanitizeProperty(name, property, stringifyObjects) {\r\n // Check that property is valid\r\n if ((!property && !isValueAssigned(property)) || typeof name !== \"string\") {\r\n return null;\r\n }\r\n // Perf optimization -- only need to get the type once not multiple times\r\n var propType = typeof property;\r\n // If the property isn't IEventProperty (and is either string, number, boolean or array), convert it into one.\r\n if (propType === \"string\" || propType === \"number\" || propType === \"boolean\" || isArray(property)) {\r\n property = { value: property };\r\n }\r\n else if (propType === \"object\" && !ObjHasOwnProperty.call(property, \"value\")) {\r\n property = { value: stringifyObjects ? JSON.stringify(property) : property };\r\n }\r\n else if (isNullOrUndefined(property[_DYN_VALUE /* @min:%2evalue */])\r\n || property[_DYN_VALUE /* @min:%2evalue */] === STR_EMPTY || (!isString(property[_DYN_VALUE /* @min:%2evalue */])\r\n && !isNumber(property[_DYN_VALUE /* @min:%2evalue */]) && !isBoolean(property[_DYN_VALUE /* @min:%2evalue */])\r\n && !isArray(property[_DYN_VALUE /* @min:%2evalue */]))) {\r\n // Since property is IEventProperty, we need to validate its value\r\n return null;\r\n }\r\n // We need to check that if the property value is an array, it is valid\r\n if (isArray(property[_DYN_VALUE /* @min:%2evalue */]) &&\r\n !isArrayValid(property[_DYN_VALUE /* @min:%2evalue */])) {\r\n return null;\r\n }\r\n // If either pii or cc is set convert value to string (since only string pii/cc is allowed).\r\n // If the value is a complex type like an array that can't be converted to string we will drop\r\n // the property.\r\n if (!isNullOrUndefined(property[_DYN_KIND /* @min:%2ekind */])) {\r\n if (isArray(property[_DYN_VALUE /* @min:%2evalue */]) || !isValueKind(property[_DYN_KIND /* @min:%2ekind */])) {\r\n return null;\r\n }\r\n property[_DYN_VALUE /* @min:%2evalue */] = property[_DYN_VALUE /* @min:%2evalue */].toString();\r\n }\r\n return property;\r\n}\r\nexport function getCommonSchemaMetaData(value, kind, type) {\r\n var encodedTypeValue = -1;\r\n if (!isUndefined(value)) {\r\n if (kind > 0) {\r\n if (kind === 32 /* eValueKind.CustomerContent_GenericContent */) {\r\n // encode customer content. Value can only be string. bit 13-16 are for cc\r\n encodedTypeValue = (1 << 13);\r\n }\r\n else if (kind <= 13) {\r\n // encode PII. Value can only be string. bits 5-12 are for Pii\r\n encodedTypeValue = (kind << 5);\r\n }\r\n }\r\n // isDataType checks that the \"type\" is a number so we don't need to check for undefined\r\n if (isDataType(type)) {\r\n // Data Type is provided and valid, so use that\r\n if (encodedTypeValue === -1) {\r\n // Don't return -1\r\n encodedTypeValue = 0;\r\n }\r\n encodedTypeValue |= type;\r\n }\r\n else {\r\n var propType = _fieldTypeEventPropMap[getFieldValueType(value)] || -1;\r\n if (encodedTypeValue !== -1 && propType !== -1) {\r\n // pii exists so we must return correct type\r\n encodedTypeValue |= propType;\r\n }\r\n else if (propType === 6 /* eEventPropertyType.Double */) {\r\n encodedTypeValue = propType;\r\n }\r\n }\r\n }\r\n return encodedTypeValue;\r\n}\r\n/**\r\n * Helper to get and decode the cookie value using decodeURIComponent, this is for historical\r\n * backward compatibility where the document.cookie value was decoded before parsing.\r\n * @param cookieMgr - The cookie manager to use\r\n * @param name - The name of the cookie to get\r\n * @param decode - A flag to indicate whether the cookie value should be decoded\r\n * @returns The decoded cookie value (if available) otherwise an empty string.\r\n */\r\nexport function getCookieValue(cookieMgr, name, decode) {\r\n if (decode === void 0) { decode = true; }\r\n var cookieValue;\r\n if (cookieMgr) {\r\n cookieValue = cookieMgr.get(name);\r\n if (decode && cookieValue && decodeURIComponent) {\r\n cookieValue = decodeURIComponent(cookieValue);\r\n }\r\n }\r\n return cookieValue || STR_EMPTY;\r\n}\r\n/**\r\n * Create a new guid.\r\n * @param style - The style of guid to generated, defaults to Digits\r\n * Digits (Default) : 32 digits separated by hyphens: 00000000-0000-0000-0000-000000000000\r\n * Braces - 32 digits separated by hyphens, enclosed in braces: {00000000-0000-0000-0000-000000000000}\r\n * Parentheses - 32 digits separated by hyphens, enclosed in parentheses: (00000000-0000-0000-0000-000000000000)\r\n * Numeric - 32 digits: 00000000000000000000000000000000\r\n * @returns The formatted guid.\r\n */\r\nexport function createGuid(style) {\r\n if (style === void 0) { style = \"D\" /* GuidStyle.Digits */; }\r\n var theGuid = newGuid();\r\n if (style === \"B\" /* GuidStyle.Braces */) {\r\n theGuid = \"{\" + theGuid + \"}\";\r\n }\r\n else if (style === \"P\" /* GuidStyle.Parentheses */) {\r\n theGuid = \"(\" + theGuid + \")\";\r\n }\r\n else if (style === \"N\" /* GuidStyle.Numeric */) {\r\n theGuid = theGuid.replace(/-/g, STR_EMPTY);\r\n }\r\n return theGuid;\r\n}\r\n/**\r\n * Pass in the objects to merge as arguments.\r\n * @param obj1 - object to merge. Set this argument to 'true' for a deep extend.\r\n * @param obj2 - object to merge.\r\n * @param obj3 - object to merge.\r\n * @param obj4 - object to merge.\r\n * @param obj5 - object to merge.\r\n * @returns The extended object.\r\n */\r\nexport function extend(obj, obj2, obj3, obj4, obj5) {\r\n // Variables\r\n var extended = {};\r\n var deep = false;\r\n var i = 0;\r\n var length = arguments[_DYN_LENGTH /* @min:%2elength */];\r\n var theArgs = arguments;\r\n // Check if a deep merge\r\n if (isBoolean(theArgs[0])) {\r\n deep = theArgs[0];\r\n i++;\r\n }\r\n // Loop through each object and conduct a merge\r\n for (; i < length; i++) {\r\n var obj = theArgs[i];\r\n objForEachKey(obj, function (prop, value) {\r\n // If deep merge and property is an object, merge properties\r\n if (deep && value && isObject(value)) {\r\n if (isArray(value)) {\r\n extended[prop] = extended[prop] || [];\r\n arrForEach(value, function (arrayValue, arrayIndex) {\r\n if (arrayValue && isObject(arrayValue)) {\r\n extended[prop][arrayIndex] = extend(true, extended[prop][arrayIndex], arrayValue);\r\n }\r\n else {\r\n extended[prop][arrayIndex] = arrayValue;\r\n }\r\n });\r\n }\r\n else {\r\n extended[prop] = extend(true, extended[prop], value);\r\n }\r\n }\r\n else {\r\n extended[prop] = value;\r\n }\r\n });\r\n }\r\n return extended;\r\n}\r\nexport var getTime = perfNow;\r\nexport function isValueKind(value) {\r\n // Always assume that it's a number (no type checking) for performance as this is used during the JSON serialization\r\n if (value === 0 /* eValueKind.NotSet */ || ((value > 0 /* eValueKind.NotSet */ && value <= 13 /* eValueKind.Pii_IPV4AddressLegacy */) || value === 32 /* eValueKind.CustomerContent_GenericContent */)) {\r\n return true;\r\n }\r\n return false;\r\n}\r\nfunction isDataType(value) {\r\n // Remark: 0 returns false, but it doesn't affect encoding anyways\r\n // Always assume that it's a number (no type checking) for performance as this is used during the JSON serialization\r\n if (value >= 0 && value <= 9) {\r\n return true;\r\n }\r\n return false;\r\n}\r\nfunction isSafariOrFirefox() {\r\n var nav = getNavigator();\r\n // If non-browser navigator will be undefined\r\n if (!isUndefined(nav) && nav.userAgent) {\r\n var ua = nav.userAgent.toLowerCase();\r\n if ((ua[_DYN_INDEX_OF /* @min:%2eindexOf */](\"safari\") >= 0 || ua[_DYN_INDEX_OF /* @min:%2eindexOf */](\"firefox\") >= 0) && ua[_DYN_INDEX_OF /* @min:%2eindexOf */](\"chrome\") < 0) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n}\r\nexport function isArrayValid(value) {\r\n return value[_DYN_LENGTH /* @min:%2elength */] > 0;\r\n}\r\nexport function setProcessTelemetryTimings(event, identifier) {\r\n var evt = event;\r\n evt[_DYN_TIMINGS /* @min:%2etimings */] = evt[_DYN_TIMINGS /* @min:%2etimings */] || {};\r\n evt[_DYN_TIMINGS /* @min:%2etimings */][_DYN_PROCESS_TELEMETRY_ST0 /* @min:%2eprocessTelemetryStart */] = evt[_DYN_TIMINGS /* @min:%2etimings */][_DYN_PROCESS_TELEMETRY_ST0 /* @min:%2eprocessTelemetryStart */] || {};\r\n evt[_DYN_TIMINGS /* @min:%2etimings */][_DYN_PROCESS_TELEMETRY_ST0 /* @min:%2eprocessTelemetryStart */][identifier] = getTime();\r\n}\r\n/**\r\n * Returns a bitwise value for the FieldValueSanitizerType enum representing the decoded type of the passed value\r\n * @param value The value to determine the type\r\n */\r\nexport function getFieldValueType(value) {\r\n var theType = 0 /* FieldValueSanitizerType.NotSet */;\r\n if (value !== null && value !== undefined) {\r\n var objType = typeof value;\r\n if (objType === \"string\") {\r\n theType = 1 /* FieldValueSanitizerType.String */;\r\n }\r\n else if (objType === \"number\") {\r\n theType = 2 /* FieldValueSanitizerType.Number */;\r\n }\r\n else if (objType === \"boolean\") {\r\n theType = 3 /* FieldValueSanitizerType.Boolean */;\r\n }\r\n else if (objType === strShimObject) {\r\n theType = 4 /* FieldValueSanitizerType.Object */;\r\n if (isArray(value)) {\r\n theType = 4096 /* FieldValueSanitizerType.Array */;\r\n if (value[_DYN_LENGTH /* @min:%2elength */] > 0) {\r\n // Empty arrays are not supported and are considered to be the same as null\r\n theType |= getFieldValueType(value[0]);\r\n }\r\n }\r\n else if (ObjHasOwnProperty.call(value, \"value\")) {\r\n // Looks like an IEventProperty\r\n theType = 8192 /* FieldValueSanitizerType.EventProperty */ | getFieldValueType(value[_DYN_VALUE /* @min:%2evalue */]);\r\n }\r\n }\r\n }\r\n return theType;\r\n}\r\n/**\r\n * Helper to identify whether we are running in a chromium based browser environment\r\n */\r\nexport function isChromium() {\r\n return !!getGlobalInst(\"chrome\");\r\n}\r\n/**\r\n * Create and open an XMLHttpRequest object\r\n * @param method - The request method\r\n * @param urlString - The url\r\n * @param withCredentials - Option flag indicating that credentials should be sent\r\n * @param disabled - Optional flag indicating that the XHR object should be marked as disabled and not tracked (default is false)\r\n * @param isSync - Optional flag indicating if the instance should be a synchronous request (defaults to false)\r\n * @param timeout - Optional value identifying the timeout value that should be assigned to the XHR request\r\n * @returns A new opened XHR request\r\n */\r\nexport function openXhr(method, urlString, withCredentials, disabled, isSync, timeout) {\r\n if (disabled === void 0) { disabled = false; }\r\n if (isSync === void 0) { isSync = false; }\r\n function _wrapSetXhrProp(xhr, prop, value) {\r\n try {\r\n xhr[prop] = value;\r\n }\r\n catch (e) {\r\n // - Wrapping as depending on the environment setting the property may fail (non-terminally)\r\n }\r\n }\r\n var xhr = new XMLHttpRequest();\r\n if (disabled) {\r\n // Tag the instance so it's not tracked (trackDependency)\r\n // If the environment has locked down the XMLHttpRequest (preventExtensions and/or freeze), this would\r\n // cause the request to fail and we no telemetry would be sent\r\n _wrapSetXhrProp(xhr, strDisabledPropertyName, disabled);\r\n }\r\n if (withCredentials) {\r\n // Some libraries require that the withCredentials flag is set \"before\" open and\r\n // - Wrapping as IE 10 has started throwing when setting before open\r\n _wrapSetXhrProp(xhr, strWithCredentials, withCredentials);\r\n }\r\n xhr.open(method, urlString, !isSync);\r\n if (withCredentials) {\r\n // withCredentials should be set AFTER open (https://xhr.spec.whatwg.org/#the-withcredentials-attribute)\r\n // And older firefox instances from 11+ will throw for sync events (current versions don't) which happens during unload processing\r\n _wrapSetXhrProp(xhr, strWithCredentials, withCredentials);\r\n }\r\n // Only set the timeout for asynchronous requests as\r\n // \"Timeout shouldn't be used for synchronous XMLHttpRequests requests used in a document environment or it will throw an InvalidAccessError exception.\"\"\r\n // https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout\r\n if (!isSync && timeout) {\r\n _wrapSetXhrProp(xhr, strTimeout, timeout);\r\n }\r\n return xhr;\r\n}\r\n/**\r\n * Check to see if the value is > 0\r\n * @param value - The value to check\r\n * @returns true if > 0 otherwise false\r\n */\r\nexport function isGreaterThanZero(value) {\r\n return value > 0;\r\n}\r\n//# sourceMappingURL=Utils.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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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
+ {"version":3,"file":"Utils.js.map","sources":["Utils.js"],"sourcesContent":["var _a;\r\n/**\r\n* Utils.ts\r\n* @author Abhilash Panwar (abpanwar) Hector Hernandez (hectorh)\r\n* @copyright Microsoft 2018\r\n* File containing utility functions.\r\n*/\r\nimport { arrForEach, getGlobalInst, getNavigator, hasDocument, hasWindow, isArray, isBoolean, isNullOrUndefined, isNumber, isObject, isReactNative, isString, isUndefined, newGuid, objForEachKey, perfNow } from \"@microsoft/applicationinsights-core-js\";\r\nimport { ObjProto, strShimObject } from \"@microsoft/applicationinsights-shims\";\r\nimport { strIndexOf, strLeft } from \"@nevware21/ts-utils\";\r\nimport { STR_EMPTY } from \"./InternalConstants\";\r\nimport { _DYN_INDEX_OF, _DYN_KIND, _DYN_LENGTH, _DYN_PROCESS_TELEMETRY_ST0, _DYN_TIMINGS, _DYN_VALUE } from \"./__DynamicConstants\";\r\nexport var Version = '4.3.5-nightly3.2412-01';\r\nexport var FullVersionString = \"1DS-Web-JS-\" + Version;\r\nvar ObjHasOwnProperty = ObjProto.hasOwnProperty;\r\n// Defining here so we don't need to take (import) the ApplicationInsights Common module\r\nvar strDisabledPropertyName = \"Microsoft_ApplicationInsights_BypassAjaxInstrumentation\";\r\nvar strWithCredentials = \"withCredentials\";\r\nvar strTimeout = \"timeout\";\r\n// If value is array just get the type for the first element\r\nvar _fieldTypeEventPropMap = (_a = {},\r\n _a[0 /* FieldValueSanitizerType.NotSet */] = 0 /* eEventPropertyType.Unspecified */,\r\n _a[2 /* FieldValueSanitizerType.Number */] = 6 /* eEventPropertyType.Double */,\r\n _a[1 /* FieldValueSanitizerType.String */] = 1 /* eEventPropertyType.String */,\r\n _a[3 /* FieldValueSanitizerType.Boolean */] = 7 /* eEventPropertyType.Bool */,\r\n _a[4096 /* FieldValueSanitizerType.Array */ | 2 /* FieldValueSanitizerType.Number */] = 6 /* eEventPropertyType.Double */,\r\n _a[4096 /* FieldValueSanitizerType.Array */ | 1 /* FieldValueSanitizerType.String */] = 1 /* eEventPropertyType.String */,\r\n _a[4096 /* FieldValueSanitizerType.Array */ | 3 /* FieldValueSanitizerType.Boolean */] = 7 /* eEventPropertyType.Bool */,\r\n _a);\r\n/**\r\n * @ignore\r\n */\r\n// let _uaDisallowsSameSiteNone = null;\r\nvar uInt8ArraySupported = null;\r\n// var _areCookiesAvailable: boolean | undefined;\r\n/**\r\n * Checks if document object is available\r\n */\r\nexport var isDocumentObjectAvailable = hasDocument();\r\n/**\r\n * Checks if window object is available\r\n */\r\nexport var isWindowObjectAvailable = hasWindow();\r\n/**\r\n * Checks if value is assigned to the given param.\r\n * @param value - The token from which the tenant id is to be extracted.\r\n * @returns True/false denoting if value is assigned to the param.\r\n */\r\nexport function isValueAssigned(value) {\r\n /// <summary> takes a value and checks for undefined, null and empty string </summary>\r\n /// <param type=\"any\"> value to be tested </param>\r\n /// <returns> true if value is null undefined or emptyString </returns>\r\n return !(value === STR_EMPTY || isNullOrUndefined(value));\r\n}\r\n/**\r\n * Gets the tenant id from the tenant token.\r\n * @param apiKey - The token from which the tenant id is to be extracted.\r\n * @returns The tenant id.\r\n */\r\nexport function getTenantId(apiKey) {\r\n if (apiKey) {\r\n var indexTenantId = strIndexOf(apiKey, \"-\");\r\n if (indexTenantId > -1) {\r\n return strLeft(apiKey, indexTenantId);\r\n }\r\n }\r\n return STR_EMPTY;\r\n}\r\n/**\r\n * Checks if Uint8Array are available in the current environment. Safari and Firefox along with\r\n * ReactNative are known to not support Uint8Array properly.\r\n * @returns True if available, false otherwise.\r\n */\r\nexport function isUint8ArrayAvailable() {\r\n if (uInt8ArraySupported === null) {\r\n uInt8ArraySupported = !isUndefined(Uint8Array) && !isSafariOrFirefox() && !isReactNative();\r\n }\r\n return uInt8ArraySupported;\r\n}\r\n/**\r\n * Checks if the value is a valid EventLatency.\r\n * @param value - The value that needs to be checked.\r\n * @returns True if the value is in AWTEventLatency, false otherwise.\r\n */\r\nexport function isLatency(value) {\r\n if (value && isNumber(value) && value >= 1 /* EventLatencyValue.Normal */ && value <= 4 /* EventLatencyValue.Immediate */) {\r\n return true;\r\n }\r\n return false;\r\n}\r\n/**\r\n * Sanitizes the Property. It checks the that the property name and value are valid. It also\r\n * checks/populates the correct type and pii of the property value.\r\n * @param name - property name - The property name.\r\n * @param property - The property value or an IEventProperty containing value,\r\n * type ,pii and customer content.\r\n * @returns IEventProperty containing valid name, value, pii and type or null if invalid.\r\n */\r\nexport function sanitizeProperty(name, property, stringifyObjects) {\r\n // Check that property is valid\r\n if ((!property && !isValueAssigned(property)) || typeof name !== \"string\") {\r\n return null;\r\n }\r\n // Perf optimization -- only need to get the type once not multiple times\r\n var propType = typeof property;\r\n // If the property isn't IEventProperty (and is either string, number, boolean or array), convert it into one.\r\n if (propType === \"string\" || propType === \"number\" || propType === \"boolean\" || isArray(property)) {\r\n property = { value: property };\r\n }\r\n else if (propType === \"object\" && !ObjHasOwnProperty.call(property, \"value\")) {\r\n property = { value: stringifyObjects ? JSON.stringify(property) : property };\r\n }\r\n else if (isNullOrUndefined(property[_DYN_VALUE /* @min:%2evalue */])\r\n || property[_DYN_VALUE /* @min:%2evalue */] === STR_EMPTY || (!isString(property[_DYN_VALUE /* @min:%2evalue */])\r\n && !isNumber(property[_DYN_VALUE /* @min:%2evalue */]) && !isBoolean(property[_DYN_VALUE /* @min:%2evalue */])\r\n && !isArray(property[_DYN_VALUE /* @min:%2evalue */]))) {\r\n // Since property is IEventProperty, we need to validate its value\r\n return null;\r\n }\r\n // We need to check that if the property value is an array, it is valid\r\n if (isArray(property[_DYN_VALUE /* @min:%2evalue */]) &&\r\n !isArrayValid(property[_DYN_VALUE /* @min:%2evalue */])) {\r\n return null;\r\n }\r\n // If either pii or cc is set convert value to string (since only string pii/cc is allowed).\r\n // If the value is a complex type like an array that can't be converted to string we will drop\r\n // the property.\r\n if (!isNullOrUndefined(property[_DYN_KIND /* @min:%2ekind */])) {\r\n if (isArray(property[_DYN_VALUE /* @min:%2evalue */]) || !isValueKind(property[_DYN_KIND /* @min:%2ekind */])) {\r\n return null;\r\n }\r\n property[_DYN_VALUE /* @min:%2evalue */] = property[_DYN_VALUE /* @min:%2evalue */].toString();\r\n }\r\n return property;\r\n}\r\nexport function getCommonSchemaMetaData(value, kind, type) {\r\n var encodedTypeValue = -1;\r\n if (!isUndefined(value)) {\r\n if (kind > 0) {\r\n if (kind === 32 /* eValueKind.CustomerContent_GenericContent */) {\r\n // encode customer content. Value can only be string. bit 13-16 are for cc\r\n encodedTypeValue = (1 << 13);\r\n }\r\n else if (kind <= 13) {\r\n // encode PII. Value can only be string. bits 5-12 are for Pii\r\n encodedTypeValue = (kind << 5);\r\n }\r\n }\r\n // isDataType checks that the \"type\" is a number so we don't need to check for undefined\r\n if (isDataType(type)) {\r\n // Data Type is provided and valid, so use that\r\n if (encodedTypeValue === -1) {\r\n // Don't return -1\r\n encodedTypeValue = 0;\r\n }\r\n encodedTypeValue |= type;\r\n }\r\n else {\r\n var propType = _fieldTypeEventPropMap[getFieldValueType(value)] || -1;\r\n if (encodedTypeValue !== -1 && propType !== -1) {\r\n // pii exists so we must return correct type\r\n encodedTypeValue |= propType;\r\n }\r\n else if (propType === 6 /* eEventPropertyType.Double */) {\r\n encodedTypeValue = propType;\r\n }\r\n }\r\n }\r\n return encodedTypeValue;\r\n}\r\n/**\r\n * Helper to get and decode the cookie value using decodeURIComponent, this is for historical\r\n * backward compatibility where the document.cookie value was decoded before parsing.\r\n * @param cookieMgr - The cookie manager to use\r\n * @param name - The name of the cookie to get\r\n * @param decode - A flag to indicate whether the cookie value should be decoded\r\n * @returns The decoded cookie value (if available) otherwise an empty string.\r\n */\r\nexport function getCookieValue(cookieMgr, name, decode) {\r\n if (decode === void 0) { decode = true; }\r\n var cookieValue;\r\n if (cookieMgr) {\r\n cookieValue = cookieMgr.get(name);\r\n if (decode && cookieValue && decodeURIComponent) {\r\n cookieValue = decodeURIComponent(cookieValue);\r\n }\r\n }\r\n return cookieValue || STR_EMPTY;\r\n}\r\n/**\r\n * Create a new guid.\r\n * @param style - The style of guid to generated, defaults to Digits\r\n * Digits (Default) : 32 digits separated by hyphens: 00000000-0000-0000-0000-000000000000\r\n * Braces - 32 digits separated by hyphens, enclosed in braces: {00000000-0000-0000-0000-000000000000}\r\n * Parentheses - 32 digits separated by hyphens, enclosed in parentheses: (00000000-0000-0000-0000-000000000000)\r\n * Numeric - 32 digits: 00000000000000000000000000000000\r\n * @returns The formatted guid.\r\n */\r\nexport function createGuid(style) {\r\n if (style === void 0) { style = \"D\" /* GuidStyle.Digits */; }\r\n var theGuid = newGuid();\r\n if (style === \"B\" /* GuidStyle.Braces */) {\r\n theGuid = \"{\" + theGuid + \"}\";\r\n }\r\n else if (style === \"P\" /* GuidStyle.Parentheses */) {\r\n theGuid = \"(\" + theGuid + \")\";\r\n }\r\n else if (style === \"N\" /* GuidStyle.Numeric */) {\r\n theGuid = theGuid.replace(/-/g, STR_EMPTY);\r\n }\r\n return theGuid;\r\n}\r\n/**\r\n * Pass in the objects to merge as arguments.\r\n * @param obj1 - object to merge. Set this argument to 'true' for a deep extend.\r\n * @param obj2 - object to merge.\r\n * @param obj3 - object to merge.\r\n * @param obj4 - object to merge.\r\n * @param obj5 - object to merge.\r\n * @returns The extended object.\r\n */\r\nexport function extend(obj, obj2, obj3, obj4, obj5) {\r\n // Variables\r\n var extended = {};\r\n var deep = false;\r\n var i = 0;\r\n var length = arguments[_DYN_LENGTH /* @min:%2elength */];\r\n var theArgs = arguments;\r\n // Check if a deep merge\r\n if (isBoolean(theArgs[0])) {\r\n deep = theArgs[0];\r\n i++;\r\n }\r\n // Loop through each object and conduct a merge\r\n for (; i < length; i++) {\r\n var obj = theArgs[i];\r\n objForEachKey(obj, function (prop, value) {\r\n // If deep merge and property is an object, merge properties\r\n if (deep && value && isObject(value)) {\r\n if (isArray(value)) {\r\n extended[prop] = extended[prop] || [];\r\n arrForEach(value, function (arrayValue, arrayIndex) {\r\n if (arrayValue && isObject(arrayValue)) {\r\n extended[prop][arrayIndex] = extend(true, extended[prop][arrayIndex], arrayValue);\r\n }\r\n else {\r\n extended[prop][arrayIndex] = arrayValue;\r\n }\r\n });\r\n }\r\n else {\r\n extended[prop] = extend(true, extended[prop], value);\r\n }\r\n }\r\n else {\r\n extended[prop] = value;\r\n }\r\n });\r\n }\r\n return extended;\r\n}\r\nexport var getTime = perfNow;\r\nexport function isValueKind(value) {\r\n // Always assume that it's a number (no type checking) for performance as this is used during the JSON serialization\r\n if (value === 0 /* eValueKind.NotSet */ || ((value > 0 /* eValueKind.NotSet */ && value <= 13 /* eValueKind.Pii_IPV4AddressLegacy */) || value === 32 /* eValueKind.CustomerContent_GenericContent */)) {\r\n return true;\r\n }\r\n return false;\r\n}\r\nfunction isDataType(value) {\r\n // Remark: 0 returns false, but it doesn't affect encoding anyways\r\n // Always assume that it's a number (no type checking) for performance as this is used during the JSON serialization\r\n if (value >= 0 && value <= 9) {\r\n return true;\r\n }\r\n return false;\r\n}\r\nfunction isSafariOrFirefox() {\r\n var nav = getNavigator();\r\n // If non-browser navigator will be undefined\r\n if (!isUndefined(nav) && nav.userAgent) {\r\n var ua = nav.userAgent.toLowerCase();\r\n if ((ua[_DYN_INDEX_OF /* @min:%2eindexOf */](\"safari\") >= 0 || ua[_DYN_INDEX_OF /* @min:%2eindexOf */](\"firefox\") >= 0) && ua[_DYN_INDEX_OF /* @min:%2eindexOf */](\"chrome\") < 0) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n}\r\nexport function isArrayValid(value) {\r\n return value[_DYN_LENGTH /* @min:%2elength */] > 0;\r\n}\r\nexport function setProcessTelemetryTimings(event, identifier) {\r\n var evt = event;\r\n evt[_DYN_TIMINGS /* @min:%2etimings */] = evt[_DYN_TIMINGS /* @min:%2etimings */] || {};\r\n evt[_DYN_TIMINGS /* @min:%2etimings */][_DYN_PROCESS_TELEMETRY_ST0 /* @min:%2eprocessTelemetryStart */] = evt[_DYN_TIMINGS /* @min:%2etimings */][_DYN_PROCESS_TELEMETRY_ST0 /* @min:%2eprocessTelemetryStart */] || {};\r\n evt[_DYN_TIMINGS /* @min:%2etimings */][_DYN_PROCESS_TELEMETRY_ST0 /* @min:%2eprocessTelemetryStart */][identifier] = getTime();\r\n}\r\n/**\r\n * Returns a bitwise value for the FieldValueSanitizerType enum representing the decoded type of the passed value\r\n * @param value - The value to determine the type\r\n */\r\nexport function getFieldValueType(value) {\r\n var theType = 0 /* FieldValueSanitizerType.NotSet */;\r\n if (value !== null && value !== undefined) {\r\n var objType = typeof value;\r\n if (objType === \"string\") {\r\n theType = 1 /* FieldValueSanitizerType.String */;\r\n }\r\n else if (objType === \"number\") {\r\n theType = 2 /* FieldValueSanitizerType.Number */;\r\n }\r\n else if (objType === \"boolean\") {\r\n theType = 3 /* FieldValueSanitizerType.Boolean */;\r\n }\r\n else if (objType === strShimObject) {\r\n theType = 4 /* FieldValueSanitizerType.Object */;\r\n if (isArray(value)) {\r\n theType = 4096 /* FieldValueSanitizerType.Array */;\r\n if (value[_DYN_LENGTH /* @min:%2elength */] > 0) {\r\n // Empty arrays are not supported and are considered to be the same as null\r\n theType |= getFieldValueType(value[0]);\r\n }\r\n }\r\n else if (ObjHasOwnProperty.call(value, \"value\")) {\r\n // Looks like an IEventProperty\r\n theType = 8192 /* FieldValueSanitizerType.EventProperty */ | getFieldValueType(value[_DYN_VALUE /* @min:%2evalue */]);\r\n }\r\n }\r\n }\r\n return theType;\r\n}\r\n/**\r\n * Helper to identify whether we are running in a chromium based browser environment\r\n */\r\nexport function isChromium() {\r\n return !!getGlobalInst(\"chrome\");\r\n}\r\n/**\r\n * Create and open an XMLHttpRequest object\r\n * @param method - The request method\r\n * @param urlString - The url\r\n * @param withCredentials - Option flag indicating that credentials should be sent\r\n * @param disabled - Optional flag indicating that the XHR object should be marked as disabled and not tracked (default is false)\r\n * @param isSync - Optional flag indicating if the instance should be a synchronous request (defaults to false)\r\n * @param timeout - Optional value identifying the timeout value that should be assigned to the XHR request\r\n * @returns A new opened XHR request\r\n */\r\nexport function openXhr(method, urlString, withCredentials, disabled, isSync, timeout) {\r\n if (disabled === void 0) { disabled = false; }\r\n if (isSync === void 0) { isSync = false; }\r\n function _wrapSetXhrProp(xhr, prop, value) {\r\n try {\r\n xhr[prop] = value;\r\n }\r\n catch (e) {\r\n // - Wrapping as depending on the environment setting the property may fail (non-terminally)\r\n }\r\n }\r\n var xhr = new XMLHttpRequest();\r\n if (disabled) {\r\n // Tag the instance so it's not tracked (trackDependency)\r\n // If the environment has locked down the XMLHttpRequest (preventExtensions and/or freeze), this would\r\n // cause the request to fail and we no telemetry would be sent\r\n _wrapSetXhrProp(xhr, strDisabledPropertyName, disabled);\r\n }\r\n if (withCredentials) {\r\n // Some libraries require that the withCredentials flag is set \"before\" open and\r\n // - Wrapping as IE 10 has started throwing when setting before open\r\n _wrapSetXhrProp(xhr, strWithCredentials, withCredentials);\r\n }\r\n xhr.open(method, urlString, !isSync);\r\n if (withCredentials) {\r\n // withCredentials should be set AFTER open (https://xhr.spec.whatwg.org/#the-withcredentials-attribute)\r\n // And older firefox instances from 11+ will throw for sync events (current versions don't) which happens during unload processing\r\n _wrapSetXhrProp(xhr, strWithCredentials, withCredentials);\r\n }\r\n // Only set the timeout for asynchronous requests as\r\n // \"Timeout shouldn't be used for synchronous XMLHttpRequests requests used in a document environment or it will throw an InvalidAccessError exception.\"\"\r\n // https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout\r\n if (!isSync && timeout) {\r\n _wrapSetXhrProp(xhr, strTimeout, timeout);\r\n }\r\n return xhr;\r\n}\r\n/**\r\n * Check to see if the value is > 0\r\n * @param value - The value to check\r\n * @returns true if > 0 otherwise false\r\n */\r\nexport function isGreaterThanZero(value) {\r\n return value > 0;\r\n}\r\n//# sourceMappingURL=Utils.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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Core, 4.3.5-nightly3.2411-14
2
+ * 1DS JS SDK Core, 4.3.5-nightly3.2412-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Core, 4.3.5-nightly3.2411-14
2
+ * 1DS JS SDK Core, 4.3.5-nightly3.2412-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/1ds-core-js",
3
- "version": "4.3.5-nightly3.2411-14",
3
+ "version": "4.3.5-nightly3.2412-01",
4
4
  "description": "Microsoft Application Insights JavaScript SDK - 1ds-core-js",
5
5
  "author": "Microsoft Application Insights Team",
6
6
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@microsoft/applicationinsights-shims": "3.0.1",
40
- "@microsoft/applicationinsights-core-js": "3.3.5-nightly3.2411-14",
40
+ "@microsoft/applicationinsights-core-js": "3.3.5-nightly3.2412-01",
41
41
  "@microsoft/dynamicproto-js": "^2.0.3",
42
42
  "@nevware21/ts-utils": ">= 0.11.3 < 2.x",
43
43
  "@nevware21/ts-async": ">= 0.5.2 < 2.x"
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Core, 4.3.5-nightly3.2411-14
2
+ * 1DS JS SDK Core, 4.3.5-nightly3.2412-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -605,7 +605,7 @@ export { getExceptionName }
605
605
 
606
606
  /**
607
607
  * Returns a bitwise value for the FieldValueSanitizerType enum representing the decoded type of the passed value
608
- * @param value The value to determine the type
608
+ * @param value - The value to determine the type
609
609
  */
610
610
  export declare function getFieldValueType(value: any): FieldValueSanitizerType;
611
611
 
@@ -1321,7 +1321,7 @@ export declare class ValueSanitizer implements IValueSanitizer {
1321
1321
  constructor(fieldSanitizerProvider?: IFieldValueSanitizerProvider);
1322
1322
  }
1323
1323
 
1324
- export declare const Version = "4.3.5-nightly3.2411-14";
1324
+ export declare const Version = "4.3.5-nightly3.2412-01";
1325
1325
 
1326
1326
  export { _warnToConsole }
1327
1327
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Core, 4.3.5-nightly3.2411-14
2
+ * 1DS JS SDK Core, 4.3.5-nightly3.2412-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -522,7 +522,7 @@ declare namespace oneDS {
522
522
  function createDynamicConfig<T = IConfiguration>(config: T, defaultConfig?: IConfigDefaults<T>, logger?: IDiagnosticLogger, inPlace?: boolean): IDynamicConfigHandler<T>;
523
523
 
524
524
  /**
525
- * Create an enum style object which has both the key => value and value => key mappings
525
+ * Create an enum style object which has both the key \=> value and value \=> key mappings
526
526
  * @param values - The values to populate on the new object
527
527
  * @returns
528
528
  */
@@ -1281,7 +1281,6 @@ declare namespace oneDS {
1281
1281
  /**
1282
1282
  * @internal
1283
1283
  * Get the dynamic config handler if the value is already dynamic
1284
- * @param value
1285
1284
  * @returns
1286
1285
  */
1287
1286
  function getDynamicConfigHandler<T = IConfiguration, V = IConfiguration>(value: V | IDynamicConfigHandler<T>): IDynamicConfigHandler<T> | null;
@@ -1293,7 +1292,7 @@ declare namespace oneDS {
1293
1292
 
1294
1293
  /**
1295
1294
  * Returns a bitwise value for the FieldValueSanitizerType enum representing the decoded type of the passed value
1296
- * @param value The value to determine the type
1295
+ * @param value - The value to determine the type
1297
1296
  */
1298
1297
  function getFieldValueType(value: any): FieldValueSanitizerType;
1299
1298
 
@@ -1573,7 +1572,6 @@ declare namespace oneDS {
1573
1572
  unload(isAsync?: boolean, unloadComplete?: (unloadState: ITelemetryUnloadState) => void, cbTimeout?: number): void | IPromise<ITelemetryUnloadState>;
1574
1573
  /**
1575
1574
  * Find and return the (first) plugin with the specified identifier if present
1576
- * @param pluginIdentifier
1577
1575
  */
1578
1576
  getPlugin<T extends IPlugin = IPlugin>(pluginIdentifier: string): ILoadedPlugin<T>;
1579
1577
  /**
@@ -1628,7 +1626,6 @@ declare namespace oneDS {
1628
1626
  /**
1629
1627
  * Watches and tracks changes for accesses to the current config, and if the accessed config changes the
1630
1628
  * handler will be recalled.
1631
- * @param handler
1632
1629
  * @returns A watcher handler instance that can be used to remove itself when being unloaded
1633
1630
  */
1634
1631
  onCfgChange(handler: WatcherFunction<CfgType>): IUnloadHook;
@@ -1883,8 +1880,8 @@ declare namespace oneDS {
1883
1880
  * be logged to console if their severity meets the configured loggingConsoleLevel
1884
1881
  *
1885
1882
  * 0: ALL console logging off
1886
- * 1: logs to console: severity >= CRITICAL
1887
- * 2: logs to console: severity >= WARNING
1883
+ * 1: logs to console: severity \>= CRITICAL
1884
+ * 2: logs to console: severity \>= WARNING
1888
1885
  */
1889
1886
  loggingLevelConsole?: number;
1890
1887
  /**
@@ -1893,8 +1890,8 @@ declare namespace oneDS {
1893
1890
  * the configured instrumentation key.
1894
1891
  *
1895
1892
  * 0: ALL iKey logging off
1896
- * 1: logs to iKey: severity >= CRITICAL
1897
- * 2: logs to iKey: severity >= WARNING
1893
+ * 1: logs to iKey: severity \>= CRITICAL
1894
+ * 2: logs to iKey: severity \>= WARNING
1898
1895
  */
1899
1896
  loggingLevelTelemetry?: number;
1900
1897
  /**
@@ -1921,7 +1918,6 @@ declare namespace oneDS {
1921
1918
  */
1922
1919
  readonly channels?: IChannelControls[][];
1923
1920
  /**
1924
- * @type {boolean}
1925
1921
  * Flag that disables the Instrumentation Key validation.
1926
1922
  */
1927
1923
  disableInstrumentationKeyValidation?: boolean;
@@ -1952,14 +1948,12 @@ declare namespace oneDS {
1952
1948
  /**
1953
1949
  * @description Custom cookie domain. This is helpful if you want to share Application Insights cookies across subdomains. It
1954
1950
  * can be set here or as part of the cookieCfg.domain, the cookieCfg takes precedence if both are specified.
1955
- * @type {string}
1956
1951
  * @defaultValue ""
1957
1952
  */
1958
1953
  cookieDomain?: string;
1959
1954
  /**
1960
1955
  * @description Custom cookie path. This is helpful if you want to share Application Insights cookies behind an application
1961
1956
  * gateway. It can be set here or as part of the cookieCfg.domain, the cookieCfg takes precedence if both are specified.
1962
- * @type {string}
1963
1957
  * @defaultValue ""
1964
1958
  */
1965
1959
  cookiePath?: string;
@@ -2071,7 +2065,7 @@ declare namespace oneDS {
2071
2065
  /**
2072
2066
  * Optional Callback hook to allow the cookie manager to update it's configuration, not generally implemented now that
2073
2067
  * dynamic configuration is supported
2074
- * @param updateState
2068
+ * @param updateState - The new configuration state to apply to the cookie manager
2075
2069
  */
2076
2070
  update?(updateState: ITelemetryUpdateState): void;
2077
2071
  /**
@@ -2185,7 +2179,7 @@ declare namespace oneDS {
2185
2179
  logInternalMessage?(severity: LoggingSeverity, message: _InternalLogMessage): void;
2186
2180
  /**
2187
2181
  * Optional Callback hook to allow the diagnostic logger to update it's configuration
2188
- * @param updateState
2182
+ * @param updateState - The new configuration state to apply to the diagnostic logger
2189
2183
  */
2190
2184
  update?(updateState: ITelemetryUpdateState): void;
2191
2185
  /**
@@ -2206,7 +2200,7 @@ declare namespace oneDS {
2206
2200
  getName(): string;
2207
2201
  /**
2208
2202
  * Sets the current name of the page
2209
- * @param pageName
2203
+ * @param pageName - The name of the page
2210
2204
  */
2211
2205
  setName(pageName: string): void;
2212
2206
  /**
@@ -2238,7 +2232,7 @@ declare namespace oneDS {
2238
2232
  getTraceFlags(): number | undefined;
2239
2233
  /**
2240
2234
  * https://www.w3.org/TR/trace-context/#trace-flags
2241
- * @param newValue
2235
+ * @param newValue - An integer representation of the W3C TraceContext trace-flags.
2242
2236
  */
2243
2237
  setTraceFlags(newValue?: number): void;
2244
2238
  }
@@ -2433,10 +2427,10 @@ declare namespace oneDS {
2433
2427
  *
2434
2428
  * This callback is called before telemetry data is sent, allowing for dynamic customization of the logs.
2435
2429
  *
2436
- * @returns {Object} An object with the following property:
2430
+ * @returns An object with the following property:
2437
2431
  * - logs: An array of strings, where each string represents a log entry to be included in the telemetry.
2438
2432
  *
2439
- * @property {number} maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
2433
+ * @property maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
2440
2434
  */
2441
2435
  expLog?: () => {
2442
2436
  logs: string[];
@@ -2623,32 +2617,31 @@ declare namespace oneDS {
2623
2617
  getUrl: () => string;
2624
2618
  /**
2625
2619
  * Create payload data
2626
- * @param data data
2627
2620
  * @returns IPayloadData
2628
2621
  */
2629
2622
  createPayload: (data: string | Uint8Array) => IPayloadData;
2630
2623
  /**
2631
2624
  * Serialize an item into a string
2632
- * @param input telemetry item
2633
- * @param convertUndefined convert undefined to a custom-defined object
2625
+ * @param input - telemetry item
2626
+ * @param convertUndefined - convert undefined to a custom-defined object
2634
2627
  * @returns Serialized string
2635
2628
  */
2636
2629
  serialize?: (input: ITelemetryItem, convertUndefined?: any) => string;
2637
2630
  /**
2638
2631
  * Batch an array of strings into one string
2639
- * @param arr array of strings
2632
+ * @param arr - array of strings
2640
2633
  * @returns a string represent all items in the given array
2641
2634
  */
2642
2635
  batch?: (arr: string[]) => string;
2643
2636
  /**
2644
2637
  * If the item should be processed by offline channel
2645
- * @param evt telemetry item
2638
+ * @param evt - telemetry item
2646
2639
  * @returns should process or not
2647
2640
  */
2648
2641
  shouldProcess?: (evt: ITelemetryItem) => boolean;
2649
2642
  /**
2650
2643
  * Create 1ds payload data
2651
- * @param evts ITelemetryItems
2644
+ * @param evts - ITelemetryItems
2652
2645
  * @returns IPayloadData
2653
2646
  */
2654
2647
  createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
@@ -2719,7 +2712,7 @@ declare namespace oneDS {
2719
2712
  /**
2720
2713
  * [Optional] This event is sent if you have enabled perf events, they are primarily used to track internal performance testing and debugging
2721
2714
  * the event can be displayed via the debug plugin extension.
2722
- * @param perfEvent
2715
+ * @param perfEvent - The performance event object
2723
2716
  */
2724
2717
  perfEvent?: (perfEvent: IPerfEvent) => void;
2725
2718
  /**
@@ -3505,31 +3498,31 @@ declare namespace oneDS {
3505
3498
  interface _ISenderOnComplete {
3506
3499
  /**
3507
3500
  * defined xdr onload function to handle response
3508
- * @param dxr xdr request object
3509
- * @param oncomplete oncomplete function
3501
+ * @param dxr - xdr request object
3502
+ * @param oncomplete - oncomplete function
3510
3503
  * @since version after 3.1.0
3511
3504
  */
3512
3505
  xdrOnComplete?(xdr: IXDomainRequest, onComplete: OnCompleteCallback, payload?: IPayloadData): void;
3513
3506
  /**
3514
3507
  * defined fetch on complete function to handle response
3515
- * @param response response object
3516
- * @param onComplete oncomplete function
3517
- * @param resValue response.text().value
3508
+ * @param response - response object
3509
+ * @param onComplete - oncomplete function
3510
+ * @param resValue - response.text().value
3518
3511
  * @since version after 3.1.0
3519
3512
  */
3520
3513
  fetchOnComplete?(response: Response, onComplete: OnCompleteCallback, resValue?: string, payload?: IPayloadData): void;
3521
3514
  /**
3522
3515
  * defined xhr onreadystatechange function to handle response
3523
- * @param request request object
3524
- * @param oncomplete oncomplete function
3516
+ * @param request - request object
3517
+ * @param oncomplete - oncomplete function
3525
3518
  * @since version after 3.1.0
3526
3519
  */
3527
3520
  xhrOnComplete?(request: XMLHttpRequest, onComplete: OnCompleteCallback, payload?: IPayloadData): void;
3528
3521
  /**
3529
3522
  * Define functions during beacon can not send payload after first attempt. If not defined, will be apyload will be retried with fallback sender.
3530
- * @param data payload data
3531
- * @param onComplete oncomplete function
3532
- * @param canSend can the current data sent by beacon sender
3523
+ * @param data - payload data
3524
+ * @param onComplete - oncomplete function
3525
+ * @param canSend - can the current data sent by beacon sender
3533
3526
  * @since version after 3.1.0
3534
3527
  */
3535
3528
  beaconOnRetry?(data: IPayloadData, onComplete: OnCompleteCallback, canSend: (payload: IPayloadData, oncomplete: OnCompleteCallback, sync?: boolean) => boolean): void;
@@ -3861,7 +3854,7 @@ declare namespace oneDS {
3861
3854
 
3862
3855
  /**
3863
3856
  * Validates that the provided ITraceParent instance conforms to the currently supported specifications
3864
- * @param value
3857
+ * @param value - The parsed traceParent value
3865
3858
  * @returns
3866
3859
  */
3867
3860
  function isValidTraceParent(value: ITraceParent): boolean;
@@ -4560,8 +4553,6 @@ declare namespace oneDS {
4560
4553
  /**
4561
4554
  * Watch and track changes for accesses to the current config, the provided config MUST already be
4562
4555
  * a dynamic config or a child accessed via the dynamic config
4563
- * @param config
4564
- * @param configHandler
4565
4556
  * @param logger - The logger instance to use if there is no existing handler
4566
4557
  * @returns A watcher handler instance that can be used to remove itself when being unloaded
4567
4558
  * @throws TypeError if the provided config is not a dynamic config instance
@@ -4811,7 +4802,7 @@ declare namespace oneDS {
4811
4802
  /**
4812
4803
  * Generate a random value between 0 and maxValue, max value should be limited to a 32-bit maximum.
4813
4804
  * So maxValue(16) will produce a number from 0..16 (range of 17)
4814
- * @param maxValue
4805
+ * @param maxValue - The max value for the range
4815
4806
  */
4816
4807
  function randomValue(maxValue: number): number;
4817
4808
 
@@ -4878,8 +4869,8 @@ declare namespace oneDS {
4878
4869
  /**
4879
4870
  * Helper to return the ICookieMgr from the core (if not null/undefined) or a default implementation
4880
4871
  * associated with the configuration or a legacy default.
4881
- * @param core
4882
- * @param config
4872
+ * @param core - The AppInsightsCore instance to get the cookie manager from
4873
+ * @param config - The config to use if the core is not available
4883
4874
  * @returns
4884
4875
  */
4885
4876
  function safeGetCookieMgr(core: IAppInsightsCore, config?: IConfiguration): ICookieMgr;
@@ -4981,7 +4972,7 @@ declare namespace oneDS {
4981
4972
 
4982
4973
  /**
4983
4974
  * Enable the lookup of test mock objects if requested
4984
- * @param enabled
4975
+ * @param enabled - A flag to enable or disable the mock
4985
4976
  */
4986
4977
  function setEnableEnvMocks(enabled: boolean): void;
4987
4978
 
@@ -5222,7 +5213,7 @@ declare namespace oneDS {
5222
5213
  constructor(fieldSanitizerProvider?: IFieldValueSanitizerProvider);
5223
5214
  }
5224
5215
 
5225
- const Version = "4.3.5-nightly3.2411-14";
5216
+ const Version = "4.3.5-nightly3.2412-01";
5226
5217
 
5227
5218
  /**
5228
5219
  * This is a helper method which will call warnToConsole on the passed logger with the provided message.
@@ -1,46 +0,0 @@
1
- {
2
- "name": "ms.core",
3
- "version": "4.3.5-nightly3.2411-14",
4
- "ext": {
5
- "@gbl.js": {
6
- "file": "ms.core-4.3.5-nightly3.2411-14.gbl.js",
7
- "type": "text/javascript; charset=utf-8",
8
- "integrity": "sha256-W1W21n96fC4FOKEos+TOdDBrrJsjPzXRsiaaIfiVdqE= sha384-YbMmSe30D+qbIIJsn3UYPrteoZWwCvfGU0X0hbfa6x84aPnmz253R3y8GCg7m1r1 sha512-BRwbwhBTQY9Qdl5qSf927k87D7fv5tU9saBlB591ljfmrwVuksc8QHWDKHboEVj2P4nWy/k43r7HNOz0zVxmug==",
9
- "hashes": {
10
- "sha256": "W1W21n96fC4FOKEos+TOdDBrrJsjPzXRsiaaIfiVdqE=",
11
- "sha384": "YbMmSe30D+qbIIJsn3UYPrteoZWwCvfGU0X0hbfa6x84aPnmz253R3y8GCg7m1r1",
12
- "sha512": "BRwbwhBTQY9Qdl5qSf927k87D7fv5tU9saBlB591ljfmrwVuksc8QHWDKHboEVj2P4nWy/k43r7HNOz0zVxmug=="
13
- }
14
- },
15
- "@gbl.min.js": {
16
- "file": "ms.core-4.3.5-nightly3.2411-14.gbl.min.js",
17
- "type": "text/javascript; charset=utf-8",
18
- "integrity": "sha256-K/pX/wnbBMqsQ2g9kLqFL+zpGEh5DLmcy+J8bdDlF9Y= sha384-gg7TwXwJB6E8fag74hy/magagFA5usnEBHHfXQOBJNiihnaPDFjSSF+BXv2Y8dNZ sha512-5Zvu6in2Di1nCg6Td2KnTXcksOj/rmvi6Z6NjjlALFDfhXBMWeNZNJsqZYUVx2UOXv52/NrTnxAkRx8XrIY5sA==",
19
- "hashes": {
20
- "sha256": "K/pX/wnbBMqsQ2g9kLqFL+zpGEh5DLmcy+J8bdDlF9Y=",
21
- "sha384": "gg7TwXwJB6E8fag74hy/magagFA5usnEBHHfXQOBJNiihnaPDFjSSF+BXv2Y8dNZ",
22
- "sha512": "5Zvu6in2Di1nCg6Td2KnTXcksOj/rmvi6Z6NjjlALFDfhXBMWeNZNJsqZYUVx2UOXv52/NrTnxAkRx8XrIY5sA=="
23
- }
24
- },
25
- "@js": {
26
- "file": "ms.core-4.3.5-nightly3.2411-14.js",
27
- "type": "text/javascript; charset=utf-8",
28
- "integrity": "sha256-fYIlVKSWcqj/xiMHycSUlNE5fL04tzjLUguwI0gS81I= sha384-urTkJ/nWYLGS7p9JQv71mdjbzf+aETbzcAwB7nIZ9X6wAMI5sr7IgZUP19w9vCSl sha512-z2YxHb0OI20XXAL4INDgo+z6oldgpO3jBIMWs1VPe9CLjZHyuaboI7GbD+MdLzaQGFqzzS+2NUZDXwstGha7rw==",
29
- "hashes": {
30
- "sha256": "fYIlVKSWcqj/xiMHycSUlNE5fL04tzjLUguwI0gS81I=",
31
- "sha384": "urTkJ/nWYLGS7p9JQv71mdjbzf+aETbzcAwB7nIZ9X6wAMI5sr7IgZUP19w9vCSl",
32
- "sha512": "z2YxHb0OI20XXAL4INDgo+z6oldgpO3jBIMWs1VPe9CLjZHyuaboI7GbD+MdLzaQGFqzzS+2NUZDXwstGha7rw=="
33
- }
34
- },
35
- "@min.js": {
36
- "file": "ms.core-4.3.5-nightly3.2411-14.min.js",
37
- "type": "text/javascript; charset=utf-8",
38
- "integrity": "sha256-d06P+HTWxXwc1r6Ri/xZOCCpTxOPNKE/F9DsDoIf4xE= sha384-3xhWfcmlyBMTf5tikpJVrjygqG2Ci35nIdR1jHkb4eL1iUFidHPCAKRcksEiIbFL sha512-X574y3Zr31GKN0NLFuQN+ozr7h7slcu9fwxC63RKvtEOvgnbzESBUnzPUjB4/KFkr7hlguK+9rqn/w9ohAUDwg==",
39
- "hashes": {
40
- "sha256": "d06P+HTWxXwc1r6Ri/xZOCCpTxOPNKE/F9DsDoIf4xE=",
41
- "sha384": "3xhWfcmlyBMTf5tikpJVrjygqG2Ci35nIdR1jHkb4eL1iUFidHPCAKRcksEiIbFL",
42
- "sha512": "X574y3Zr31GKN0NLFuQN+ozr7h7slcu9fwxC63RKvtEOvgnbzESBUnzPUjB4/KFkr7hlguK+9rqn/w9ohAUDwg=="
43
- }
44
- }
45
- }
46
- }