@pendo/agent 2.279.5 → 2.280.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dom.esm.js +25 -10
- package/dist/pendo.module.js +284 -161
- package/dist/pendo.module.min.js +19 -21
- package/package.json +1 -1
package/dist/dom.esm.js
CHANGED
|
@@ -4731,6 +4731,19 @@ var ZLibDeflate = /*@__PURE__*/getDefaultExportFromCjs(deflate_minExports);
|
|
|
4731
4731
|
'Deflate': ZLibDeflate.Zlib.Deflate
|
|
4732
4732
|
});
|
|
4733
4733
|
|
|
4734
|
+
function getZoneSafeMethod$1(_, method, target) {
|
|
4735
|
+
if (target === void 0) { target = window; }
|
|
4736
|
+
var zoneSymbol = '__symbol__';
|
|
4737
|
+
/* global Zone */
|
|
4738
|
+
if (typeof Zone !== 'undefined' && _.isFunction(Zone[zoneSymbol])) {
|
|
4739
|
+
var fn = target[Zone[zoneSymbol](method)];
|
|
4740
|
+
if (_.isFunction(fn)) {
|
|
4741
|
+
return fn;
|
|
4742
|
+
}
|
|
4743
|
+
}
|
|
4744
|
+
return target[method];
|
|
4745
|
+
}
|
|
4746
|
+
|
|
4734
4747
|
var crc32_min = {exports: {}};
|
|
4735
4748
|
|
|
4736
4749
|
/*
|
|
@@ -4773,15 +4786,7 @@ function getNow() {
|
|
|
4773
4786
|
}
|
|
4774
4787
|
function getZoneSafeMethod(method, target) {
|
|
4775
4788
|
if (target === void 0) { target = window; }
|
|
4776
|
-
|
|
4777
|
-
/* global Zone */
|
|
4778
|
-
if (typeof Zone !== 'undefined' && _.isFunction(Zone[zoneSymbol])) {
|
|
4779
|
-
var fn = target[Zone[zoneSymbol](method)];
|
|
4780
|
-
if (_.isFunction(fn)) {
|
|
4781
|
-
return fn;
|
|
4782
|
-
}
|
|
4783
|
-
}
|
|
4784
|
-
return target[method];
|
|
4789
|
+
return getZoneSafeMethod$1(_, method, target);
|
|
4785
4790
|
}
|
|
4786
4791
|
function getIsFiniteImpl(window) {
|
|
4787
4792
|
return _.isFunction(window.isFinite) ? window.isFinite
|
|
@@ -6421,6 +6426,16 @@ var ConfigReader = (function () {
|
|
|
6421
6426
|
* @type {string[]}
|
|
6422
6427
|
*/
|
|
6423
6428
|
addOption('analytics.excludeEvents', [SNIPPET_SRC, PENDO_CONFIG_SRC], []);
|
|
6429
|
+
/**
|
|
6430
|
+
* Write events to localStorage when the page is unloaded instead of sending them immediately.
|
|
6431
|
+
*
|
|
6432
|
+
* @access public
|
|
6433
|
+
* @category Config/Analytics
|
|
6434
|
+
* @name analytics.localStorageUnload
|
|
6435
|
+
* @default false
|
|
6436
|
+
* @type {boolean}
|
|
6437
|
+
*/
|
|
6438
|
+
addOption('analytics.localStorageUnload', [SNIPPET_SRC, PENDO_CONFIG_SRC], false);
|
|
6424
6439
|
/**
|
|
6425
6440
|
* If set to `true`, the Agent will log out when various events internal to the Agent occur.
|
|
6426
6441
|
*
|
|
@@ -7228,7 +7243,7 @@ function getScreenPosition(element) {
|
|
|
7228
7243
|
};
|
|
7229
7244
|
}
|
|
7230
7245
|
|
|
7231
|
-
var VERSION = '2.
|
|
7246
|
+
var VERSION = '2.280.0_';
|
|
7232
7247
|
function isExtensionAgent() {
|
|
7233
7248
|
var installType = getPendoConfigValue('installType') || getPendoConfigFromEnclosingScope().installType;
|
|
7234
7249
|
return installType === EXTENSION_INSTALL_TYPE;
|