@microsoft/applicationinsights-core-js 2.8.15-nightly.2307-23 → 2.8.15-nightly.2307-26

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 (72) hide show
  1. package/browser/applicationinsights-core-js.integrity.json +9 -9
  2. package/browser/applicationinsights-core-js.js +40 -2
  3. package/browser/applicationinsights-core-js.js.map +1 -1
  4. package/browser/applicationinsights-core-js.min.js +2 -2
  5. package/browser/applicationinsights-core-js.min.js.map +1 -1
  6. package/dist/applicationinsights-core-js.api.json +257 -1
  7. package/dist/applicationinsights-core-js.api.md +13 -0
  8. package/dist/applicationinsights-core-js.d.ts +14 -1
  9. package/dist/applicationinsights-core-js.js +40 -2
  10. package/dist/applicationinsights-core-js.js.map +1 -1
  11. package/dist/applicationinsights-core-js.min.js +2 -2
  12. package/dist/applicationinsights-core-js.min.js.map +1 -1
  13. package/dist/applicationinsights-core-js.rollup.d.ts +14 -1
  14. package/dist-esm/JavaScriptSDK/AppInsightsCore.js +1 -1
  15. package/dist-esm/JavaScriptSDK/BaseCore.js +1 -1
  16. package/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
  17. package/dist-esm/JavaScriptSDK/ChannelController.js +1 -1
  18. package/dist-esm/JavaScriptSDK/CookieMgr.js +1 -1
  19. package/dist-esm/JavaScriptSDK/CoreUtils.js +1 -1
  20. package/dist-esm/JavaScriptSDK/DataCacheHelper.js +2 -2
  21. package/dist-esm/JavaScriptSDK/DataCacheHelper.js.map +1 -1
  22. package/dist-esm/JavaScriptSDK/DbgExtensionUtils.js +1 -1
  23. package/dist-esm/JavaScriptSDK/DiagnosticLogger.js +1 -1
  24. package/dist-esm/JavaScriptSDK/EnvUtils.js +38 -2
  25. package/dist-esm/JavaScriptSDK/EnvUtils.js.map +1 -1
  26. package/dist-esm/JavaScriptSDK/EventHelpers.js +1 -1
  27. package/dist-esm/JavaScriptSDK/HelperFuncs.js +1 -1
  28. package/dist-esm/JavaScriptSDK/InstrumentHooks.js +1 -1
  29. package/dist-esm/JavaScriptSDK/InternalConstants.js +1 -1
  30. package/dist-esm/JavaScriptSDK/NotificationManager.js +1 -1
  31. package/dist-esm/JavaScriptSDK/PerfManager.js +1 -1
  32. package/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js +1 -1
  33. package/dist-esm/JavaScriptSDK/RandomHelper.js +1 -1
  34. package/dist-esm/JavaScriptSDK/TelemetryHelpers.js +1 -1
  35. package/dist-esm/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
  36. package/dist-esm/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
  37. package/dist-esm/JavaScriptSDK/W3cTraceParent.js +1 -1
  38. package/dist-esm/JavaScriptSDK.Enums/EnumHelperFuncs.js +1 -1
  39. package/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
  40. package/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
  41. package/dist-esm/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
  42. package/dist-esm/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
  43. package/dist-esm/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
  44. package/dist-esm/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
  45. package/dist-esm/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
  46. package/dist-esm/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
  47. package/dist-esm/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
  48. package/dist-esm/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
  49. package/dist-esm/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
  50. package/dist-esm/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +1 -1
  51. package/dist-esm/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
  52. package/dist-esm/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
  53. package/dist-esm/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
  54. package/dist-esm/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
  55. package/dist-esm/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
  56. package/dist-esm/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
  57. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
  58. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
  59. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
  60. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
  61. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
  62. package/dist-esm/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
  63. package/dist-esm/JavaScriptSDK.Interfaces/ITraceParent.js +1 -1
  64. package/dist-esm/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
  65. package/dist-esm/__DynamicConstants.js +1 -1
  66. package/dist-esm/applicationinsights-core-js.js +3 -3
  67. package/dist-esm/applicationinsights-core-js.js.map +1 -1
  68. package/package.json +1 -1
  69. package/src/JavaScriptSDK/EnvUtils.ts +42 -1
  70. package/types/JavaScriptSDK/EnvUtils.d.ts +3 -0
  71. package/types/applicationinsights-core-js.d.ts +2 -2
  72. package/types/tsdoc-metadata.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.35.0",
4
+ "toolVersion": "7.36.3",
5
5
  "schemaVersion": 1011,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -6486,6 +6486,68 @@
6486
6486
  ],
6487
6487
  "name": "createCookieMgr"
6488
6488
  },
6489
+ {
6490
+ "kind": "Function",
6491
+ "canonicalReference": "@microsoft/applicationinsights-core-js!createCustomDomEvent:function(1)",
6492
+ "docComment": "",
6493
+ "excerptTokens": [
6494
+ {
6495
+ "kind": "Content",
6496
+ "text": "export declare function createCustomDomEvent(eventName: "
6497
+ },
6498
+ {
6499
+ "kind": "Content",
6500
+ "text": "string"
6501
+ },
6502
+ {
6503
+ "kind": "Content",
6504
+ "text": ", details?: "
6505
+ },
6506
+ {
6507
+ "kind": "Content",
6508
+ "text": "any"
6509
+ },
6510
+ {
6511
+ "kind": "Content",
6512
+ "text": "): "
6513
+ },
6514
+ {
6515
+ "kind": "Reference",
6516
+ "text": "CustomEvent",
6517
+ "canonicalReference": "!CustomEvent:interface"
6518
+ },
6519
+ {
6520
+ "kind": "Content",
6521
+ "text": ";"
6522
+ }
6523
+ ],
6524
+ "fileUrlPath": "types/JavaScriptSDK/EnvUtils.d.ts",
6525
+ "returnTypeTokenRange": {
6526
+ "startIndex": 5,
6527
+ "endIndex": 6
6528
+ },
6529
+ "releaseTag": "Public",
6530
+ "overloadIndex": 1,
6531
+ "parameters": [
6532
+ {
6533
+ "parameterName": "eventName",
6534
+ "parameterTypeTokenRange": {
6535
+ "startIndex": 1,
6536
+ "endIndex": 2
6537
+ },
6538
+ "isOptional": false
6539
+ },
6540
+ {
6541
+ "parameterName": "details",
6542
+ "parameterTypeTokenRange": {
6543
+ "startIndex": 3,
6544
+ "endIndex": 4
6545
+ },
6546
+ "isOptional": true
6547
+ }
6548
+ ],
6549
+ "name": "createCustomDomEvent"
6550
+ },
6489
6551
  {
6490
6552
  "kind": "Function",
6491
6553
  "canonicalReference": "@microsoft/applicationinsights-core-js!createEnumMap:function(1)",
@@ -7852,6 +7914,78 @@
7852
7914
  "parameters": [],
7853
7915
  "name": "disableCookies"
7854
7916
  },
7917
+ {
7918
+ "kind": "Function",
7919
+ "canonicalReference": "@microsoft/applicationinsights-core-js!dispatchEvent_2:function(1)",
7920
+ "docComment": "",
7921
+ "excerptTokens": [
7922
+ {
7923
+ "kind": "Content",
7924
+ "text": "export declare function dispatchEvent(target: "
7925
+ },
7926
+ {
7927
+ "kind": "Reference",
7928
+ "text": "EventTarget",
7929
+ "canonicalReference": "!EventTarget:interface"
7930
+ },
7931
+ {
7932
+ "kind": "Content",
7933
+ "text": ", evnt: "
7934
+ },
7935
+ {
7936
+ "kind": "Reference",
7937
+ "text": "Event",
7938
+ "canonicalReference": "!Event:interface"
7939
+ },
7940
+ {
7941
+ "kind": "Content",
7942
+ "text": " | "
7943
+ },
7944
+ {
7945
+ "kind": "Reference",
7946
+ "text": "CustomEvent",
7947
+ "canonicalReference": "!CustomEvent:interface"
7948
+ },
7949
+ {
7950
+ "kind": "Content",
7951
+ "text": "): "
7952
+ },
7953
+ {
7954
+ "kind": "Content",
7955
+ "text": "boolean"
7956
+ },
7957
+ {
7958
+ "kind": "Content",
7959
+ "text": ";"
7960
+ }
7961
+ ],
7962
+ "fileUrlPath": "types/JavaScriptSDK/EnvUtils.d.ts",
7963
+ "returnTypeTokenRange": {
7964
+ "startIndex": 7,
7965
+ "endIndex": 8
7966
+ },
7967
+ "releaseTag": "Public",
7968
+ "overloadIndex": 1,
7969
+ "parameters": [
7970
+ {
7971
+ "parameterName": "target",
7972
+ "parameterTypeTokenRange": {
7973
+ "startIndex": 1,
7974
+ "endIndex": 2
7975
+ },
7976
+ "isOptional": false
7977
+ },
7978
+ {
7979
+ "parameterName": "evnt",
7980
+ "parameterTypeTokenRange": {
7981
+ "startIndex": 3,
7982
+ "endIndex": 6
7983
+ },
7984
+ "isOptional": false
7985
+ }
7986
+ ],
7987
+ "name": "dispatchEvent_2"
7988
+ },
7855
7989
  {
7856
7990
  "kind": "Function",
7857
7991
  "canonicalReference": "@microsoft/applicationinsights-core-js!doPerf:function(1)",
@@ -19141,6 +19275,51 @@
19141
19275
  ],
19142
19276
  "name": "isObject"
19143
19277
  },
19278
+ {
19279
+ "kind": "Function",
19280
+ "canonicalReference": "@microsoft/applicationinsights-core-js!isPlainObject:function(1)",
19281
+ "docComment": "/**\n * Checks if the type of the value is a normal plain object (not a null or data)\n *\n * @param value - \n */\n",
19282
+ "excerptTokens": [
19283
+ {
19284
+ "kind": "Content",
19285
+ "text": "export declare function isPlainObject(value: "
19286
+ },
19287
+ {
19288
+ "kind": "Content",
19289
+ "text": "any"
19290
+ },
19291
+ {
19292
+ "kind": "Content",
19293
+ "text": "): "
19294
+ },
19295
+ {
19296
+ "kind": "Content",
19297
+ "text": "boolean"
19298
+ },
19299
+ {
19300
+ "kind": "Content",
19301
+ "text": ";"
19302
+ }
19303
+ ],
19304
+ "fileUrlPath": "types/JavaScriptSDK/HelperFuncs.d.ts",
19305
+ "returnTypeTokenRange": {
19306
+ "startIndex": 3,
19307
+ "endIndex": 4
19308
+ },
19309
+ "releaseTag": "Public",
19310
+ "overloadIndex": 1,
19311
+ "parameters": [
19312
+ {
19313
+ "parameterName": "value",
19314
+ "parameterTypeTokenRange": {
19315
+ "startIndex": 1,
19316
+ "endIndex": 2
19317
+ },
19318
+ "isOptional": false
19319
+ }
19320
+ ],
19321
+ "name": "isPlainObject"
19322
+ },
19144
19323
  {
19145
19324
  "kind": "Function",
19146
19325
  "canonicalReference": "@microsoft/applicationinsights-core-js!isReactNative:function(1)",
@@ -24723,6 +24902,83 @@
24723
24902
  ],
24724
24903
  "name": "safeGetLogger"
24725
24904
  },
24905
+ {
24906
+ "kind": "Function",
24907
+ "canonicalReference": "@microsoft/applicationinsights-core-js!sendCustomEvent:function(1)",
24908
+ "docComment": "",
24909
+ "excerptTokens": [
24910
+ {
24911
+ "kind": "Content",
24912
+ "text": "export declare function sendCustomEvent(evtName: "
24913
+ },
24914
+ {
24915
+ "kind": "Content",
24916
+ "text": "string"
24917
+ },
24918
+ {
24919
+ "kind": "Content",
24920
+ "text": ", cfg?: "
24921
+ },
24922
+ {
24923
+ "kind": "Content",
24924
+ "text": "any"
24925
+ },
24926
+ {
24927
+ "kind": "Content",
24928
+ "text": ", customDetails?: "
24929
+ },
24930
+ {
24931
+ "kind": "Content",
24932
+ "text": "any"
24933
+ },
24934
+ {
24935
+ "kind": "Content",
24936
+ "text": "): "
24937
+ },
24938
+ {
24939
+ "kind": "Content",
24940
+ "text": "boolean"
24941
+ },
24942
+ {
24943
+ "kind": "Content",
24944
+ "text": ";"
24945
+ }
24946
+ ],
24947
+ "fileUrlPath": "types/JavaScriptSDK/EnvUtils.d.ts",
24948
+ "returnTypeTokenRange": {
24949
+ "startIndex": 7,
24950
+ "endIndex": 8
24951
+ },
24952
+ "releaseTag": "Public",
24953
+ "overloadIndex": 1,
24954
+ "parameters": [
24955
+ {
24956
+ "parameterName": "evtName",
24957
+ "parameterTypeTokenRange": {
24958
+ "startIndex": 1,
24959
+ "endIndex": 2
24960
+ },
24961
+ "isOptional": false
24962
+ },
24963
+ {
24964
+ "parameterName": "cfg",
24965
+ "parameterTypeTokenRange": {
24966
+ "startIndex": 3,
24967
+ "endIndex": 4
24968
+ },
24969
+ "isOptional": true
24970
+ },
24971
+ {
24972
+ "parameterName": "customDetails",
24973
+ "parameterTypeTokenRange": {
24974
+ "startIndex": 5,
24975
+ "endIndex": 6
24976
+ },
24977
+ "isOptional": true
24978
+ }
24979
+ ],
24980
+ "name": "sendCustomEvent"
24981
+ },
24726
24982
  {
24727
24983
  "kind": "Enum",
24728
24984
  "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason:enum",
@@ -146,6 +146,9 @@ export function createClassFromInterface<T>(defaults?: T): new () => T;
146
146
  // @public (undocumented)
147
147
  export function createCookieMgr(rootConfig?: IConfiguration, logger?: IDiagnosticLogger): ICookieMgr;
148
148
 
149
+ // @public (undocumented)
150
+ export function createCustomDomEvent(eventName: string, details?: any): CustomEvent;
151
+
149
152
  // @public
150
153
  export function createEnumMap<E, I = keyof E>(values: {
151
154
  [key in keyof E]: E[keyof E];
@@ -208,6 +211,10 @@ export class DiagnosticLogger implements IDiagnosticLogger {
208
211
  // @public @deprecated (undocumented)
209
212
  export function disableCookies(): void;
210
213
 
214
+ // @public (undocumented)
215
+ function dispatchEvent_2(target: EventTarget, evnt: Event | CustomEvent): boolean;
216
+ export { dispatchEvent_2 as dispatchEvent }
217
+
211
218
  // @public
212
219
  export function doPerf<T>(mgrSource: IPerfManagerProvider | IPerfManager, getSource: () => string, func: (perfEvt?: IPerfEvent) => T, details?: () => any, isAsync?: boolean): T;
213
220
 
@@ -955,6 +962,9 @@ export function isNumber(value: any): value is number;
955
962
  // @public (undocumented)
956
963
  export function isObject<T>(value: T): value is T;
957
964
 
965
+ // @public
966
+ export function isPlainObject(value: any): boolean;
967
+
958
968
  // @public
959
969
  export function isReactNative(): boolean;
960
970
 
@@ -1239,6 +1249,9 @@ export function safeGetCookieMgr(core: IAppInsightsCore, config?: IConfiguration
1239
1249
  // @public (undocumented)
1240
1250
  export function safeGetLogger(core: IAppInsightsCore, config?: IConfiguration): IDiagnosticLogger;
1241
1251
 
1252
+ // @public (undocumented)
1253
+ export function sendCustomEvent(evtName: string, cfg?: any, customDetails?: any): boolean;
1254
+
1242
1255
  // @public
1243
1256
  export const enum SendRequestReason {
1244
1257
  ManualFlush = 1,
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights Core Javascript SDK, 2.8.15-nightly.2307-23
2
+ * Microsoft Application Insights Core Javascript SDK, 2.8.15-nightly.2307-26
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -368,6 +368,8 @@ declare namespace ApplicationInsights {
368
368
 
369
369
  function createCookieMgr(rootConfig?: IConfiguration, logger?: IDiagnosticLogger): ICookieMgr;
370
370
 
371
+ function createCustomDomEvent(eventName: string, details?: any): CustomEvent;
372
+
371
373
  /**
372
374
  * Create a 2 index map that maps an enum's key as both the key and value, X["key"] => "key" and X[0] => "keyof 0".
373
375
  * @param values - The values to populate on the new object
@@ -513,6 +515,9 @@ declare namespace ApplicationInsights {
513
515
  */
514
516
  function disableCookies(): void;
515
517
 
518
+ function dispatchEvent_2(target: EventTarget, evnt: Event | CustomEvent): boolean;
519
+ export { dispatchEvent_2 as dispatchEvent }
520
+
516
521
  /**
517
522
  * Helper function to wrap a function with a perf event
518
523
  * @param mgrSource - The Performance Manager or a Performance provider source (may be null)
@@ -2184,6 +2189,12 @@ declare namespace ApplicationInsights {
2184
2189
 
2185
2190
  function isObject<T>(value: T): value is T;
2186
2191
 
2192
+ /**
2193
+ * Checks if the type of the value is a normal plain object (not a null or data)
2194
+ * @param value
2195
+ */
2196
+ function isPlainObject(value: any): boolean;
2197
+
2187
2198
  /**
2188
2199
  * Returns whether the environment is reporting that we are running in a React Native Environment
2189
2200
  */
@@ -2867,6 +2878,8 @@ declare namespace ApplicationInsights {
2867
2878
 
2868
2879
  function safeGetLogger(core: IAppInsightsCore, config?: IConfiguration): IDiagnosticLogger;
2869
2880
 
2881
+ function sendCustomEvent(evtName: string, cfg?: any, customDetails?: any): boolean;
2882
+
2870
2883
  /**
2871
2884
  * The EventsDiscardedReason enumeration contains a set of values that specify the reason for discarding an event.
2872
2885
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Core, 2.8.15-nightly.2307-23
2
+ * Application Insights JavaScript SDK - Core, 2.8.15-nightly.2307-26
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -1258,6 +1258,40 @@
1258
1258
  }
1259
1259
  return value;
1260
1260
  }
1261
+ function dispatchEvent(target, evnt) {
1262
+ if (target && target.dispatchEvent && evnt) {
1263
+ target.dispatchEvent(evnt);
1264
+ return true;
1265
+ }
1266
+ return false;
1267
+ }
1268
+ function createCustomDomEvent(eventName, details) {
1269
+ var event = null;
1270
+ var detail = { detail: details || null };
1271
+ if (isFunction(CustomEvent)) {
1272
+ event = new CustomEvent(eventName, detail);
1273
+ }
1274
+ else {
1275
+ var doc = getDocument();
1276
+ if (doc && doc.createEvent) {
1277
+ event = doc.createEvent("CustomEvent");
1278
+ event.initCustomEvent(eventName, true, true, detail);
1279
+ }
1280
+ }
1281
+ return event;
1282
+ }
1283
+ function sendCustomEvent(evtName, cfg, customDetails) {
1284
+ var global = getGlobal();
1285
+ if (global && global.CustomEvent) {
1286
+ try {
1287
+ var details = { cfg: cfg || null, customDetails: customDetails || null };
1288
+ return dispatchEvent(global, createCustomDomEvent(evtName, details));
1289
+ }
1290
+ catch (e) {
1291
+ }
1292
+ }
1293
+ return false;
1294
+ }
1261
1295
 
1262
1296
  var listenerFuncs = ["eventsSent", "eventsDiscarded", "eventsSendRequest", "perfEvent"];
1263
1297
  var _aiNamespace = null;
@@ -1696,7 +1730,7 @@
1696
1730
  }
1697
1731
 
1698
1732
  var _objDefineProperty = ObjDefineProperty;
1699
- var version = "2.8.15-nightly.2307-23";
1733
+ var version = "2.8.15-nightly.2307-26";
1700
1734
  var instanceName = "." + newId(6);
1701
1735
  var _dataUid = 0;
1702
1736
  function _createAccessor(target, prop, value) {
@@ -4436,6 +4470,7 @@
4436
4470
  exports.canUseCookies = canUseCookies;
4437
4471
  exports.createClassFromInterface = createClassFromInterface;
4438
4472
  exports.createCookieMgr = createCookieMgr;
4473
+ exports.createCustomDomEvent = createCustomDomEvent;
4439
4474
  exports.createEnumMap = createEnumMap;
4440
4475
  exports.createEnumStyle = createEnumStyle;
4441
4476
  exports.createProcessTelemetryContext = createProcessTelemetryContext;
@@ -4448,6 +4483,7 @@
4448
4483
  exports.deleteCookie = deleteCookie;
4449
4484
  exports.detachEvent = detachEvent;
4450
4485
  exports.disableCookies = disableCookies;
4486
+ exports.dispatchEvent = dispatchEvent;
4451
4487
  exports.doPerf = doPerf;
4452
4488
  exports.dumpObj = dumpObj;
4453
4489
  exports.eventOff = eventOff;
@@ -4497,6 +4533,7 @@
4497
4533
  exports.isNullOrUndefined = isNullOrUndefined;
4498
4534
  exports.isNumber = isNumber;
4499
4535
  exports.isObject = isObject;
4536
+ exports.isPlainObject = isPlainObject;
4500
4537
  exports.isReactNative = isReactNative;
4501
4538
  exports.isSafari = isSafari;
4502
4539
  exports.isSampledFlag = isSampledFlag;
@@ -4538,6 +4575,7 @@
4538
4575
  exports.removePageUnloadEventListener = removePageUnloadEventListener;
4539
4576
  exports.safeGetCookieMgr = safeGetCookieMgr;
4540
4577
  exports.safeGetLogger = safeGetLogger;
4578
+ exports.sendCustomEvent = sendCustomEvent;
4541
4579
  exports.setCookie = setCookie;
4542
4580
  exports.setEnableEnvMocks = setEnableEnvMocks;
4543
4581
  exports.setGblPerfMgr = setGblPerfMgr;