@pendo/agent 2.337.3 → 2.338.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 +9 -2
- package/dist/pendo.debugger.min.js +13 -8
- package/dist/pendo.module.js +198 -34
- package/dist/pendo.module.min.js +9 -9
- package/dist/pendo.preview.min.js +5 -5
- package/dist/replay.worker.min.js +1 -1
- package/dist/servers.json +8 -8
- package/package.json +1 -1
package/dist/dom.esm.js
CHANGED
|
@@ -7302,7 +7302,14 @@ function isMobileUserAgent() {
|
|
|
7302
7302
|
}
|
|
7303
7303
|
function isSafari(userAgent) {
|
|
7304
7304
|
if (userAgent === void 0) { userAgent = getUA(); }
|
|
7305
|
-
return userAgent.indexOf('Safari') >= 0 && !userAgent
|
|
7305
|
+
return userAgent.indexOf('Safari') >= 0 && !isChromium(userAgent);
|
|
7306
|
+
}
|
|
7307
|
+
// Every Chromium UA carries a trailing Safari/ token, so Chrome, Edge, Opera,
|
|
7308
|
+
// Brave and Electron all have to be excluded from isSafari(). Chromium builds
|
|
7309
|
+
// report Chromium/ without a Chrome/ token, hence both checks.
|
|
7310
|
+
function isChromium(userAgent) {
|
|
7311
|
+
if (userAgent === void 0) { userAgent = getUA(); }
|
|
7312
|
+
return userAgent.indexOf('Chrome') >= 0 || userAgent.indexOf('Chromium') >= 0;
|
|
7306
7313
|
}
|
|
7307
7314
|
var sniffer = {
|
|
7308
7315
|
supportsHistoryApi: shouldWrapNativeHistory,
|
|
@@ -7531,7 +7538,7 @@ function applyMatrix2dRect(matrix2d, rect) {
|
|
|
7531
7538
|
return transformedRect;
|
|
7532
7539
|
}
|
|
7533
7540
|
|
|
7534
|
-
var VERSION = '2.
|
|
7541
|
+
var VERSION = '2.338.0_';
|
|
7535
7542
|
|
|
7536
7543
|
var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
|
|
7537
7544
|
|