@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/umd/index.js CHANGED
@@ -380,6 +380,9 @@
380
380
  "mobile": {
381
381
  "ios": {
382
382
  "native": "solflare:",
383
+ "open": function open() {
384
+ return "https://solflare.com/ul/v1/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
385
+ },
383
386
  "universal": "https://solflare.com/ul",
384
387
  "solanaPay": true
385
388
  },
@@ -28601,8 +28604,10 @@
28601
28604
  to_token: selectedPaymentOption.token,
28602
28605
  to_amount: selectedPaymentOption.toAmountBN.toString(),
28603
28606
  to_decimals: selectedPaymentOption.decimals,
28604
- fee_amount: selectedPaymentOption.feeAmountBN.toString()
28607
+ fee_amount: selectedPaymentOption.feeAmountBN.toString(),
28608
+ deadline: Math.ceil(Date.now() / 1000) + 10 * 60 * 6000 // 1h
28605
28609
  };
28610
+
28606
28611
  sendTrackingAsConfigured({
28607
28612
  payment: payment,
28608
28613
  resolve: resolve,