@microsoft/applicationinsights-clickanalytics-js 2.8.9-nightly.2210-03 → 2.8.9-nightly.2210-05

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 (57) hide show
  1. package/browser/{ai.clck.2.8.9-nightly.2210-03.cjs.js → ai.clck.2.8.9-nightly.2210-05.cjs.js} +48 -24
  2. package/browser/ai.clck.2.8.9-nightly.2210-05.cjs.js.map +1 -0
  3. package/browser/ai.clck.2.8.9-nightly.2210-05.cjs.min.js +6 -0
  4. package/browser/ai.clck.2.8.9-nightly.2210-05.cjs.min.js.map +1 -0
  5. package/browser/{ai.clck.2.8.9-nightly.2210-03.gbl.js → ai.clck.2.8.9-nightly.2210-05.gbl.js} +48 -24
  6. package/browser/ai.clck.2.8.9-nightly.2210-05.gbl.js.map +1 -0
  7. package/browser/ai.clck.2.8.9-nightly.2210-05.gbl.min.js +6 -0
  8. package/browser/ai.clck.2.8.9-nightly.2210-05.gbl.min.js.map +1 -0
  9. package/browser/ai.clck.2.8.9-nightly.2210-05.integrity.json +66 -0
  10. package/browser/{ai.clck.2.8.9-nightly.2210-03.js → ai.clck.2.8.9-nightly.2210-05.js} +48 -24
  11. package/browser/ai.clck.2.8.9-nightly.2210-05.js.map +1 -0
  12. package/browser/ai.clck.2.8.9-nightly.2210-05.min.js +6 -0
  13. package/browser/ai.clck.2.8.9-nightly.2210-05.min.js.map +1 -0
  14. package/browser/ai.clck.2.cjs.js +47 -23
  15. package/browser/ai.clck.2.cjs.js.map +1 -1
  16. package/browser/ai.clck.2.cjs.min.js +2 -2
  17. package/browser/ai.clck.2.cjs.min.js.map +1 -1
  18. package/browser/ai.clck.2.gbl.js +47 -23
  19. package/browser/ai.clck.2.gbl.js.map +1 -1
  20. package/browser/ai.clck.2.gbl.min.js +2 -2
  21. package/browser/ai.clck.2.gbl.min.js.map +1 -1
  22. package/browser/ai.clck.2.js +47 -23
  23. package/browser/ai.clck.2.js.map +1 -1
  24. package/browser/ai.clck.2.min.js +2 -2
  25. package/browser/ai.clck.2.min.js.map +1 -1
  26. package/dist/applicationinsights-clickanalytics-js.api.json +6 -2
  27. package/dist/applicationinsights-clickanalytics-js.d.ts +1 -1
  28. package/dist/applicationinsights-clickanalytics-js.js +47 -23
  29. package/dist/applicationinsights-clickanalytics-js.js.map +1 -1
  30. package/dist/applicationinsights-clickanalytics-js.min.js +2 -2
  31. package/dist/applicationinsights-clickanalytics-js.min.js.map +1 -1
  32. package/dist/applicationinsights-clickanalytics-js.rollup.d.ts +1 -1
  33. package/dist-esm/Behaviours.js +1 -1
  34. package/dist-esm/ClickAnalyticsPlugin.js +2 -2
  35. package/dist-esm/ClickAnalyticsPlugin.js.map +1 -1
  36. package/dist-esm/DataCollector.js +1 -1
  37. package/dist-esm/Enums.js +1 -1
  38. package/dist-esm/Interfaces/Datamodel.js +1 -1
  39. package/dist-esm/__DynamicConstants.js +1 -1
  40. package/dist-esm/applicationinsights-clickanalytics-js.js +1 -1
  41. package/dist-esm/common/Utils.js +1 -1
  42. package/dist-esm/events/PageAction.js +1 -1
  43. package/dist-esm/events/WebEvent.js +1 -1
  44. package/dist-esm/handlers/AutoCaptureHandler.js +1 -1
  45. package/dist-esm/handlers/DomContentHandler.js +1 -1
  46. package/package.json +5 -5
  47. package/types/tsdoc-metadata.json +1 -1
  48. package/browser/ai.clck.2.8.9-nightly.2210-03.cjs.js.map +0 -1
  49. package/browser/ai.clck.2.8.9-nightly.2210-03.cjs.min.js +0 -6
  50. package/browser/ai.clck.2.8.9-nightly.2210-03.cjs.min.js.map +0 -1
  51. package/browser/ai.clck.2.8.9-nightly.2210-03.gbl.js.map +0 -1
  52. package/browser/ai.clck.2.8.9-nightly.2210-03.gbl.min.js +0 -6
  53. package/browser/ai.clck.2.8.9-nightly.2210-03.gbl.min.js.map +0 -1
  54. package/browser/ai.clck.2.8.9-nightly.2210-03.integrity.json +0 -66
  55. package/browser/ai.clck.2.8.9-nightly.2210-03.js.map +0 -1
  56. package/browser/ai.clck.2.8.9-nightly.2210-03.min.js +0 -6
  57. package/browser/ai.clck.2.8.9-nightly.2210-03.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Click Analytics, 2.8.9-nightly.2210-03
2
+ * Application Insights JavaScript SDK - Click Analytics, 2.8.9-nightly.2210-05
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  this.Microsoft = this.Microsoft || {};
@@ -21,21 +21,23 @@ this.Microsoft = this.Microsoft || {};
21
21
  var _cachedGlobal = null;
22
22
  function getGlobal(useCached) {
23
23
  if (useCached === void 0) { useCached = true; }
24
- if (!_cachedGlobal || !useCached) {
25
- if (typeof globalThis !== strShimUndefined && globalThis) {
26
- _cachedGlobal = globalThis;
24
+ var result = useCached === false ? null : _cachedGlobal;
25
+ if (!result) {
26
+ if (typeof globalThis !== strShimUndefined) {
27
+ result = globalThis;
27
28
  }
28
- if (typeof self !== strShimUndefined && self) {
29
- _cachedGlobal = self;
29
+ if (!result && typeof self !== strShimUndefined) {
30
+ result = self;
30
31
  }
31
- if (typeof window !== strShimUndefined && window) {
32
- _cachedGlobal = window;
32
+ if (!result && typeof window !== strShimUndefined) {
33
+ result = window;
33
34
  }
34
- if (typeof global !== strShimUndefined && global) {
35
- _cachedGlobal = global;
35
+ if (!result && typeof global !== strShimUndefined) {
36
+ result = global;
36
37
  }
38
+ _cachedGlobal = result;
37
39
  }
38
- return _cachedGlobal;
40
+ return result;
39
41
  }
40
42
  function throwTypeError(message) {
41
43
  throw new TypeError(message);
@@ -97,9 +99,11 @@ this.Microsoft = this.Microsoft || {};
97
99
  }
98
100
 
99
101
  /*!
100
- * Microsoft Dynamic Proto Utility, 1.1.6
102
+ * Microsoft Dynamic Proto Utility, 1.1.7
101
103
  * Copyright (c) Microsoft and contributors. All rights reserved.
102
104
  */
105
+ var _a$1;
106
+ var UNDEFINED = "undefined";
103
107
  var Constructor = 'constructor';
104
108
  var Prototype = 'prototype';
105
109
  var strFunction = 'function';
@@ -113,13 +117,37 @@ this.Microsoft = this.Microsoft || {};
113
117
  var UnknownValue = '_unknown_';
114
118
  var str__Proto$1 = "__proto__";
115
119
  var DynProtoBaseProto = "_dyn" + str__Proto$1;
120
+ var DynProtoGlobalSettings = "__dynProto$Gbl";
116
121
  var DynProtoCurrent = "_dynInstProto";
117
122
  var strUseBaseInst = 'useBaseInst';
118
123
  var strSetInstFuncs = 'setInstFuncs';
119
124
  var Obj = Object;
120
125
  var _objGetPrototypeOf$1 = Obj["getPrototypeOf"];
121
126
  var _objGetOwnProps = Obj["getOwnPropertyNames"];
122
- var _dynamicNames = 0;
127
+ function _getGlobal() {
128
+ var result;
129
+ if (typeof globalThis !== UNDEFINED) {
130
+ result = globalThis;
131
+ }
132
+ if (!result && typeof self !== UNDEFINED) {
133
+ result = self;
134
+ }
135
+ if (!result && typeof window !== UNDEFINED) {
136
+ result = window;
137
+ }
138
+ if (!result && typeof global !== UNDEFINED) {
139
+ result = global;
140
+ }
141
+ return result || {};
142
+ }
143
+ var _gbl = _getGlobal();
144
+ var _gblInst = _gbl[DynProtoGlobalSettings] || (_gbl[DynProtoGlobalSettings] = {
145
+ o: (_a$1 = {},
146
+ _a$1[strSetInstFuncs] = true,
147
+ _a$1[strUseBaseInst] = true,
148
+ _a$1),
149
+ n: 1000
150
+ });
123
151
  function _hasOwnProperty(obj, prop) {
124
152
  return obj && Obj[Prototype].hasOwnProperty.call(obj, prop);
125
153
  }
@@ -313,15 +341,15 @@ this.Microsoft = this.Microsoft || {};
313
341
  }
314
342
  var classProto = theClass[Prototype];
315
343
  if (!_checkPrototype(classProto, target)) {
316
- _throwTypeError("[" + _getObjName(theClass) + "] is not in class hierarchy of [" + _getObjName(target) + "]");
344
+ _throwTypeError("[" + _getObjName(theClass) + "] not in hierarchy of [" + _getObjName(target) + "]");
317
345
  }
318
346
  var className = null;
319
347
  if (_hasOwnProperty(classProto, DynClassName)) {
320
348
  className = classProto[DynClassName];
321
349
  }
322
350
  else {
323
- className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" + _dynamicNames;
324
- _dynamicNames++;
351
+ className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" + _gblInst.n;
352
+ _gblInst.n++;
325
353
  classProto[DynClassName] = className;
326
354
  }
327
355
  var perfOptions = dynamicProto[DynProtoDefaultOptions];
@@ -338,11 +366,7 @@ this.Microsoft = this.Microsoft || {};
338
366
  }
339
367
  _populatePrototype(classProto, className, target, instFuncs, setInstanceFunc !== false);
340
368
  }
341
- var perfDefaults = {
342
- setInstFuncs: true,
343
- useBaseInst: true
344
- };
345
- dynamicProto[DynProtoDefaultOptions] = perfDefaults;
369
+ dynamicProto[DynProtoDefaultOptions] = _gblInst.o;
346
370
 
347
371
  var _DYN_INITIALIZE = "initialize";
348
372
  var _DYN_NAME$1 = "name";
@@ -1159,7 +1183,7 @@ this.Microsoft = this.Microsoft || {};
1159
1183
  }
1160
1184
 
1161
1185
  var _objDefineProperty = ObjDefineProperty;
1162
- var version = "2.8.9-nightly.2210-03";
1186
+ var version = "2.8.9-nightly.2210-05";
1163
1187
  var instanceName = "." + newId(6);
1164
1188
  var _dataUid = 0;
1165
1189
  function _createAccessor(target, prop, value) {
@@ -2996,7 +3020,7 @@ this.Microsoft = this.Microsoft || {};
2996
3020
  }
2997
3021
  return _this;
2998
3022
  }
2999
- ClickAnalyticsPlugin.Version = "2.8.9-nightly.2210-03";
3023
+ ClickAnalyticsPlugin.Version = "2.8.9-nightly.2210-05";
3000
3024
  return ClickAnalyticsPlugin;
3001
3025
  }(BaseTelemetryPlugin));
3002
3026
 
@@ -3008,4 +3032,4 @@ this.Microsoft = this.Microsoft || {};
3008
3032
  (function(obj, prop, descriptor) { /* ai_es3_polyfil defineProperty */ var func = Object["defineProperty"]; if (func) { try { return func(obj, prop, descriptor); } catch(e) { /* IE8 defines defineProperty, but will throw */ } } if (descriptor && typeof descriptor.value !== undefined) { obj[prop] = descriptor.value; } return obj; })(exports, '__esModule', { value: true });
3009
3033
 
3010
3034
  })(this.Microsoft.ApplicationInsights = this.Microsoft.ApplicationInsights || {});
3011
- //# sourceMappingURL=ai.clck.2.8.9-nightly.2210-03.gbl.js.map
3035
+ //# sourceMappingURL=ai.clck.2.8.9-nightly.2210-05.gbl.js.map