@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.
package/dist/esm/index.js CHANGED
@@ -28603,7 +28603,7 @@ var SolanaPayDialog = (function (props) {
28603
28603
  setForwardTo(item.message.forward_to);
28604
28604
  if (!!item.message.forward_to) {
28605
28605
  setTimeout(function () {
28606
- props.document.location.href = item.message.forward_to;
28606
+ (props.document || window.document).location.href = item.message.forward_to;
28607
28607
  }, 200);
28608
28608
  }
28609
28609
  } else if (success == false) {
@@ -28632,7 +28632,7 @@ var SolanaPayDialog = (function (props) {
28632
28632
  setClosable(true);
28633
28633
  setForwardTo(data.forward_to);
28634
28634
  setTimeout(function () {
28635
- props.document.location.href = data.forward_to;
28635
+ (props.document || window.document).location.href = data.forward_to;
28636
28636
  }, 200);
28637
28637
  } else {
28638
28638
  setClosable(true);