@pendo/agent 2.292.0 → 2.292.1
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 +3 -14
- package/dist/pendo.module.js +11 -18
- package/dist/pendo.module.min.js +7 -7
- package/package.json +1 -1
package/dist/dom.esm.js
CHANGED
|
@@ -7312,7 +7312,7 @@ function getScreenPosition(element) {
|
|
|
7312
7312
|
};
|
|
7313
7313
|
}
|
|
7314
7314
|
|
|
7315
|
-
var VERSION = '2.292.
|
|
7315
|
+
var VERSION = '2.292.1_';
|
|
7316
7316
|
|
|
7317
7317
|
var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
|
|
7318
7318
|
|
|
@@ -8805,17 +8805,6 @@ var removeNode = function (domNode) {
|
|
|
8805
8805
|
domNode.parentNode.removeChild(domNode);
|
|
8806
8806
|
}
|
|
8807
8807
|
};
|
|
8808
|
-
var getElements = _.compose(function (arrLike) {
|
|
8809
|
-
return Array.prototype.slice.call(arrLike);
|
|
8810
|
-
}, function (tag, document) {
|
|
8811
|
-
try {
|
|
8812
|
-
return SizzleProxy(tag, document);
|
|
8813
|
-
}
|
|
8814
|
-
catch (e) {
|
|
8815
|
-
writeMessage('error using sizzle: ' + e);
|
|
8816
|
-
return document.getElementsByTagName(tag);
|
|
8817
|
-
}
|
|
8818
|
-
});
|
|
8819
8808
|
var pickBestBODY = function (b1, b2) {
|
|
8820
8809
|
try {
|
|
8821
8810
|
// check children.length, check Height, check Width?
|
|
@@ -8830,9 +8819,9 @@ var pickBestBODY = function (b1, b2) {
|
|
|
8830
8819
|
}
|
|
8831
8820
|
};
|
|
8832
8821
|
var getBody = function (_document) {
|
|
8833
|
-
_document
|
|
8822
|
+
if (_document === void 0) { _document = document; }
|
|
8834
8823
|
try {
|
|
8835
|
-
var bds =
|
|
8824
|
+
var bds = Array.prototype.slice.call(_document.getElementsByTagName('body'));
|
|
8836
8825
|
if (bds && bds.length > 1) {
|
|
8837
8826
|
bds.sort(pickBestBODY);
|
|
8838
8827
|
return bds[0] || _document.body;
|
package/dist/pendo.module.js
CHANGED
|
@@ -3911,8 +3911,8 @@ var SERVER = '';
|
|
|
3911
3911
|
var ASSET_HOST = '';
|
|
3912
3912
|
var ASSET_PATH = '';
|
|
3913
3913
|
var DESIGNER_SERVER = '';
|
|
3914
|
-
var VERSION = '2.292.
|
|
3915
|
-
var PACKAGE_VERSION = '2.292.
|
|
3914
|
+
var VERSION = '2.292.1_';
|
|
3915
|
+
var PACKAGE_VERSION = '2.292.1';
|
|
3916
3916
|
var LOADER = 'xhr';
|
|
3917
3917
|
/* eslint-enable agent-eslint-rules/no-gulp-env-references */
|
|
3918
3918
|
/**
|
|
@@ -10140,17 +10140,6 @@ var removeNode = function (domNode) {
|
|
|
10140
10140
|
domNode.parentNode.removeChild(domNode);
|
|
10141
10141
|
}
|
|
10142
10142
|
};
|
|
10143
|
-
var getElements = _.compose(function (arrLike) {
|
|
10144
|
-
return Array.prototype.slice.call(arrLike);
|
|
10145
|
-
}, function (tag, document) {
|
|
10146
|
-
try {
|
|
10147
|
-
return SizzleProxy(tag, document);
|
|
10148
|
-
}
|
|
10149
|
-
catch (e) {
|
|
10150
|
-
writeMessage('error using sizzle: ' + e);
|
|
10151
|
-
return document.getElementsByTagName(tag);
|
|
10152
|
-
}
|
|
10153
|
-
});
|
|
10154
10143
|
var pickBestBODY = function (b1, b2) {
|
|
10155
10144
|
try {
|
|
10156
10145
|
// check children.length, check Height, check Width?
|
|
@@ -10164,10 +10153,9 @@ var pickBestBODY = function (b1, b2) {
|
|
|
10164
10153
|
return 0;
|
|
10165
10154
|
}
|
|
10166
10155
|
};
|
|
10167
|
-
var getBody = function (_document) {
|
|
10168
|
-
_document = _document || document;
|
|
10156
|
+
var getBody = function (_document = document) {
|
|
10169
10157
|
try {
|
|
10170
|
-
var bds =
|
|
10158
|
+
var bds = Array.prototype.slice.call(_document.getElementsByTagName('body'));
|
|
10171
10159
|
if (bds && bds.length > 1) {
|
|
10172
10160
|
bds.sort(pickBestBODY);
|
|
10173
10161
|
return bds[0] || _document.body;
|
|
@@ -24004,8 +23992,13 @@ class GuideCache {
|
|
|
24004
23992
|
return;
|
|
24005
23993
|
cachedStep.seenState = lastGuideStepSeen.state;
|
|
24006
23994
|
cachedStep.seenReason = lastGuideStepSeen.seenReason;
|
|
24007
|
-
cachedStep.
|
|
24008
|
-
|
|
23995
|
+
cachedStep.lastSeenAt = lastGuideStepSeen.time;
|
|
23996
|
+
if (lastGuideStepSeen.dismissCount != null) {
|
|
23997
|
+
cachedStep.dismissCount = lastGuideStepSeen.dismissCount;
|
|
23998
|
+
}
|
|
23999
|
+
if (lastGuideStepSeen.snoozeEndTime != null) {
|
|
24000
|
+
cachedStep.snoozeEndTime = lastGuideStepSeen.snoozeEndTime;
|
|
24001
|
+
}
|
|
24009
24002
|
return this.save(cachedGuide);
|
|
24010
24003
|
}
|
|
24011
24004
|
list(visitorId, now = getNow()) {
|