@pendo/agent 2.343.0 → 2.343.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 CHANGED
@@ -7541,7 +7541,7 @@ function applyMatrix2dRect(matrix2d, rect) {
7541
7541
  return transformedRect;
7542
7542
  }
7543
7543
 
7544
- var VERSION = '2.343.0_';
7544
+ var VERSION = '2.343.1_';
7545
7545
 
7546
7546
  var decodeURIComponent = _.isFunction(globalScope.decodeURIComponent) ? globalScope.decodeURIComponent : _.identity;
7547
7547
 
@@ -4058,8 +4058,8 @@ let SERVER = '';
4058
4058
  let ASSET_HOST = '';
4059
4059
  let ASSET_PATH = '';
4060
4060
  let DESIGNER_SERVER = '';
4061
- let VERSION = '2.343.0_';
4062
- let PACKAGE_VERSION = '2.343.0';
4061
+ let VERSION = '2.343.1_';
4062
+ let PACKAGE_VERSION = '2.343.1';
4063
4063
  let LOADER = 'xhr';
4064
4064
  /* eslint-enable web-sdk-eslint-rules/no-gulp-env-references */
4065
4065
  /**
@@ -26113,10 +26113,14 @@ function isPortValid(port) {
26113
26113
  // (APP-168708). frames and its indexed children are readable across origins, so
26114
26114
  // this holds where an origin check can't: no ancestorOrigins needed, and sandboxed
26115
26115
  // frames (origin "null") are still found.
26116
+ //
26117
+ // frames skips iframes whose element lives in a shadow root, so a web-component
26118
+ // modal's frame never turns up in the walk. top is also readable across origins
26119
+ // and can't be spoofed by a popup, so it covers those frames (APP-171528).
26116
26120
  function isFrameBelowUs(source, window) {
26117
26121
  if (!source)
26118
26122
  return false;
26119
- if (source === window)
26123
+ if (source === window || source.top === window)
26120
26124
  return true;
26121
26125
  var pending = [window];
26122
26126
  while (pending.length) {