@pendo/agent 2.328.0 → 2.328.2
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 +14 -6
- package/dist/pendo.module.js +305 -259
- package/dist/pendo.module.min.js +28 -8
- package/dist/servers.json +7 -7
- package/package.json +1 -1
package/dist/dom.esm.js
CHANGED
|
@@ -6303,7 +6303,15 @@ var ConfigReader = (function () {
|
|
|
6303
6303
|
addOption('disableAutoInitialize');
|
|
6304
6304
|
/**
|
|
6305
6305
|
* If set to `true` the web SDK will wait for the host application to be both loaded and visible before
|
|
6306
|
-
* starting the initialization process.
|
|
6306
|
+
* starting the initialization process. Only the first call to `initialize` is honored while waiting
|
|
6307
|
+
* for visibility; subsequent calls are rejected and logged. This setting takes precedence over
|
|
6308
|
+
* `initializeImmediately`.
|
|
6309
|
+
*
|
|
6310
|
+
* This is a server-delivered setting and cannot be provided through the options passed to
|
|
6311
|
+
* `pendo.initialize`: the visibility gate runs before those options are read.
|
|
6312
|
+
*
|
|
6313
|
+
* This relies on the Page Visibility API. In browsers that do not support `document.visibilityState`,
|
|
6314
|
+
* enabling this option will defer initialization indefinitely.
|
|
6307
6315
|
*
|
|
6308
6316
|
* @access public
|
|
6309
6317
|
* @category Config/Core
|
|
@@ -6311,7 +6319,7 @@ var ConfigReader = (function () {
|
|
|
6311
6319
|
* @default false
|
|
6312
6320
|
* @type {boolean}
|
|
6313
6321
|
*/
|
|
6314
|
-
addOption('initializeWhenVisible', [
|
|
6322
|
+
addOption('initializeWhenVisible', [PENDO_CONFIG_SRC], false);
|
|
6315
6323
|
/**
|
|
6316
6324
|
* Although the name refers to cookies, if set to `true` the web SDK will not persist any data in local
|
|
6317
6325
|
* storage or cookies and will rely only on memory.
|
|
@@ -7497,7 +7505,7 @@ function applyMatrix2dRect(matrix2d, rect) {
|
|
|
7497
7505
|
return transformedRect;
|
|
7498
7506
|
}
|
|
7499
7507
|
|
|
7500
|
-
var VERSION = '2.328.
|
|
7508
|
+
var VERSION = '2.328.2_';
|
|
7501
7509
|
|
|
7502
7510
|
var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
|
|
7503
7511
|
|
|
@@ -7755,7 +7763,7 @@ var agentStorage = (function () {
|
|
|
7755
7763
|
function read(name, isPlain, cookieSuffix) {
|
|
7756
7764
|
isPlain = registry.getKeyConfig(name, 'isPlain', isPlain);
|
|
7757
7765
|
cookieSuffix = registry.getKeyConfig(name, 'cookieSuffix', cookieSuffix);
|
|
7758
|
-
var keyLocalStorageOnly = registry.getKeyConfig(name, 'localStorageOnly'
|
|
7766
|
+
var keyLocalStorageOnly = registry.getKeyConfig(name, 'localStorageOnly');
|
|
7759
7767
|
var key = !isPlain ? getPendoCookieKey(name, cookieSuffix) : name;
|
|
7760
7768
|
var rawValue;
|
|
7761
7769
|
var deserialize = registry.getKeyDeserializer(name);
|
|
@@ -7825,7 +7833,7 @@ var agentStorage = (function () {
|
|
|
7825
7833
|
isPlain = registry.getKeyConfig(name, 'isPlain', isPlain);
|
|
7826
7834
|
isSecure = registry.getKeyConfig(name, 'isSecure', isSecure);
|
|
7827
7835
|
cookieSuffix = registry.getKeyConfig(name, 'cookieSuffix', cookieSuffix);
|
|
7828
|
-
var keyLocalStorageOnly = registry.getKeyConfig(name, 'localStorageOnly'
|
|
7836
|
+
var keyLocalStorageOnly = registry.getKeyConfig(name, 'localStorageOnly');
|
|
7829
7837
|
val = registry.getKeySerializer(name)(val);
|
|
7830
7838
|
var key = !isPlain ? getPendoCookieKey(name, cookieSuffix) : name;
|
|
7831
7839
|
resetCache(storageAvailable);
|
|
@@ -7866,7 +7874,7 @@ var agentStorage = (function () {
|
|
|
7866
7874
|
function clear(name, isPlain, cookieSuffix) {
|
|
7867
7875
|
isPlain = registry.getKeyConfig(name, 'isPlain', isPlain);
|
|
7868
7876
|
cookieSuffix = registry.getKeyConfig(name, 'cookieSuffix', cookieSuffix);
|
|
7869
|
-
var keyLocalStorageOnly = registry.getKeyConfig(name, 'localStorageOnly'
|
|
7877
|
+
var keyLocalStorageOnly = registry.getKeyConfig(name, 'localStorageOnly');
|
|
7870
7878
|
var key = !isPlain ? getPendoCookieKey(name, cookieSuffix) : name;
|
|
7871
7879
|
if (storageIsDisabled()) {
|
|
7872
7880
|
delete inMemoryStorage[key];
|