@pendo/agent 2.323.1 → 2.325.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 +21 -2
- package/dist/pendo.module.js +497 -423
- package/dist/pendo.module.min.js +9 -59
- package/dist/servers.json +7 -7
- package/package.json +1 -1
package/dist/dom.esm.js
CHANGED
|
@@ -6776,6 +6776,18 @@ var ConfigReader = (function () {
|
|
|
6776
6776
|
* @type {boolean}
|
|
6777
6777
|
*/
|
|
6778
6778
|
addOption('disablePrefetch', [SNIPPET_SRC, PENDO_CONFIG_SRC]);
|
|
6779
|
+
/**
|
|
6780
|
+
* Visitors will be tracked under a single anonymized visitor id. Disables
|
|
6781
|
+
* cookies, localStorage, click tracking, and metadata. Only displays guides
|
|
6782
|
+
* that have been configured explicitly to show to this visitor.
|
|
6783
|
+
*
|
|
6784
|
+
* @access public
|
|
6785
|
+
* @category Config/Guides
|
|
6786
|
+
* @name doNotTrackGuides
|
|
6787
|
+
* @default false
|
|
6788
|
+
* @type {boolean}
|
|
6789
|
+
*/
|
|
6790
|
+
addOption('doNotTrackGuides', [SNIPPET_SRC, PENDO_CONFIG_SRC]);
|
|
6779
6791
|
/**
|
|
6780
6792
|
* If `true`, the web SDK will listen for `alt+shift+8` on the keyboard and try to launch the designer (). The
|
|
6781
6793
|
* keyboard shortcut requires the guide launch modal of Engage to be open in another tab showing the shortcut.
|
|
@@ -7484,7 +7496,7 @@ function applyMatrix2dRect(matrix2d, rect) {
|
|
|
7484
7496
|
return transformedRect;
|
|
7485
7497
|
}
|
|
7486
7498
|
|
|
7487
|
-
var VERSION = '2.
|
|
7499
|
+
var VERSION = '2.325.0_';
|
|
7488
7500
|
|
|
7489
7501
|
var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
|
|
7490
7502
|
|
|
@@ -7857,7 +7869,6 @@ var agentStorage = (function () {
|
|
|
7857
7869
|
var key = !isPlain ? getPendoCookieKey(name, cookieSuffix) : name;
|
|
7858
7870
|
if (storageIsDisabled()) {
|
|
7859
7871
|
delete inMemoryStorage[key];
|
|
7860
|
-
return;
|
|
7861
7872
|
}
|
|
7862
7873
|
if (shouldUseLocalStorage(keyLocalStorageOnly)) {
|
|
7863
7874
|
if (storageAvailable('localStorage')) {
|
|
@@ -7877,6 +7888,13 @@ var agentStorage = (function () {
|
|
|
7877
7888
|
}
|
|
7878
7889
|
delete inMemoryStorage[key];
|
|
7879
7890
|
}
|
|
7891
|
+
function clearAll() {
|
|
7892
|
+
_.each(registry.keys, function (config, name) {
|
|
7893
|
+
if (config.type === 'local') {
|
|
7894
|
+
clear(name);
|
|
7895
|
+
}
|
|
7896
|
+
});
|
|
7897
|
+
}
|
|
7880
7898
|
var wrappedPendoSessionStorage = _.extend({}, pendoSessionStorage$1);
|
|
7881
7899
|
wrappedPendoSessionStorage.setItem = wrapStorageWriteMethod(wrappedPendoSessionStorage.setItem, 'hasSession');
|
|
7882
7900
|
var wrappedPendoLocalStorage = _.extend({}, pendoLocalStorage);
|
|
@@ -7886,6 +7904,7 @@ var agentStorage = (function () {
|
|
|
7886
7904
|
read: read,
|
|
7887
7905
|
write: wrapStorageWriteMethod(write, 'hasLocal'),
|
|
7888
7906
|
clear: clear,
|
|
7907
|
+
clearAll: clearAll,
|
|
7889
7908
|
registry: registry,
|
|
7890
7909
|
getLocal: function () { return wrappedPendoLocalStorage; },
|
|
7891
7910
|
getSession: function () { return wrappedPendoSessionStorage; }
|