@depay/widgets 12.4.2 → 12.4.3

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.
@@ -36212,7 +36212,7 @@ var SolanaPayDialog = (function (props) {
36212
36212
  setForwardTo(item.message.forward_to);
36213
36213
  if (!!item.message.forward_to) {
36214
36214
  setTimeout(function () {
36215
- props.document.location.href = item.message.forward_to;
36215
+ (props.document || window.document).location.href = item.message.forward_to;
36216
36216
  }, 200);
36217
36217
  }
36218
36218
  } else if (success == false) {
@@ -36241,7 +36241,7 @@ var SolanaPayDialog = (function (props) {
36241
36241
  setClosable(true);
36242
36242
  setForwardTo(data.forward_to);
36243
36243
  setTimeout(function () {
36244
- props.document.location.href = data.forward_to;
36244
+ (props.document || window.document).location.href = data.forward_to;
36245
36245
  }, 200);
36246
36246
  } else {
36247
36247
  setClosable(true);