@depay/widgets 12.16.3 → 12.16.5

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
@@ -384,6 +384,9 @@ var allWallets = [{
384
384
  "mobile": {
385
385
  "ios": {
386
386
  "native": "solflare:",
387
+ "open": function open() {
388
+ return "https://solflare.com/ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
389
+ },
387
390
  "universal": "https://solflare.com/ul",
388
391
  "solanaPay": true
389
392
  },
@@ -28605,8 +28608,10 @@ var SolanaPayDialog = (function (props) {
28605
28608
  to_token: selectedPaymentOption.token,
28606
28609
  to_amount: selectedPaymentOption.toAmountBN.toString(),
28607
28610
  to_decimals: selectedPaymentOption.decimals,
28608
- fee_amount: selectedPaymentOption.feeAmountBN.toString()
28611
+ fee_amount: selectedPaymentOption.feeAmountBN.toString(),
28612
+ deadline: Math.ceil(Date.now() / 1000) + 10 * 60 * 6000 // 1h
28609
28613
  };
28614
+
28610
28615
  sendTrackingAsConfigured({
28611
28616
  payment: payment,
28612
28617
  resolve: resolve,