Skip to content

Commit

Permalink
v12.16.4: fix solana pay tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNe0x1 committed Nov 6, 2024
1 parent 49daaab commit 2af701d
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 14 deletions.
2 changes: 1 addition & 1 deletion dist/esm/index.bundle.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29813,7 +29813,9 @@ var SolanaPayDialog = (function (props) {
to_token: selectedPaymentOption.token,
to_amount: selectedPaymentOption.toAmountBN.toString(),
to_decimals: selectedPaymentOption.decimals,
fee_amount: selectedPaymentOption.feeAmountBN.toString()
fee_amount: selectedPaymentOption.feeAmountBN.toString(),
deadline: Math.ceil(Date.now() / 1000) + 10 * 60 * 6000 // 1h

};
sendTrackingAsConfigured({
payment: payment,
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion dist/esm/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -37543,7 +37543,9 @@ var SolanaPayDialog = (function (props) {
to_token: selectedPaymentOption.token,
to_amount: selectedPaymentOption.toAmountBN.toString(),
to_decimals: selectedPaymentOption.decimals,
fee_amount: selectedPaymentOption.feeAmountBN.toString()
fee_amount: selectedPaymentOption.feeAmountBN.toString(),
deadline: Math.ceil(Date.now() / 1000) + 10 * 60 * 6000 // 1h

};
sendTrackingAsConfigured({
payment: payment,
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.solana.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/index.bundle.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion dist/umd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29809,7 +29809,9 @@
to_token: selectedPaymentOption.token,
to_amount: selectedPaymentOption.toAmountBN.toString(),
to_decimals: selectedPaymentOption.decimals,
fee_amount: selectedPaymentOption.feeAmountBN.toString()
fee_amount: selectedPaymentOption.feeAmountBN.toString(),
deadline: Math.ceil(Date.now() / 1000) + 10 * 60 * 6000 // 1h

};
sendTrackingAsConfigured({
payment: payment,
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion dist/umd/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -37541,7 +37541,9 @@
to_token: selectedPaymentOption.token,
to_amount: selectedPaymentOption.toAmountBN.toString(),
to_decimals: selectedPaymentOption.decimals,
fee_amount: selectedPaymentOption.feeAmountBN.toString()
fee_amount: selectedPaymentOption.feeAmountBN.toString(),
deadline: Math.ceil(Date.now() / 1000) + 10 * 60 * 6000 // 1h

};
sendTrackingAsConfigured({
payment: payment,
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.solana.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.evm.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/widgets-evm",
"moduleName": "DePayWidgets",
"version": "12.16.3",
"version": "12.16.4",
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/widgets",
"moduleName": "DePayWidgets",
"version": "12.16.3",
"version": "12.16.4",
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion package.solana.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/widgets-solana",
"moduleName": "DePayWidgets",
"version": "12.16.3",
"version": "12.16.4",
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand Down
3 changes: 2 additions & 1 deletion src/dialogs/SolanaPayDialog.solana.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ export default (props)=> {
to_token: selectedPaymentOption.token,
to_amount: selectedPaymentOption.toAmountBN.toString(),
to_decimals: selectedPaymentOption.decimals,
fee_amount: selectedPaymentOption.feeAmountBN.toString()
fee_amount: selectedPaymentOption.feeAmountBN.toString(),
deadline: Math.ceil(Date.now()/1000) + (10 * 60 * 6000) // 1h
}
sendTrackingAsConfigured({ payment, resolve, reject })
})
Expand Down

0 comments on commit 2af701d

Please sign in to comment.