@stableflow/bridges 3.1.6-rc-3ba84e51cd-20260803 → 3.1.6
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/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -204,6 +204,7 @@ var OneClickService = class {
|
|
|
204
204
|
swapType = OneClickSwapType.Input,
|
|
205
205
|
isProxy = true,
|
|
206
206
|
slippageTolerance,
|
|
207
|
+
quoteWaitingTimeMs = 3e3,
|
|
207
208
|
...restParams
|
|
208
209
|
} = params;
|
|
209
210
|
const _quoteType = `OneClickService ${fromToken?.chainName}->${toToken?.chainName}`;
|
|
@@ -215,7 +216,7 @@ var OneClickService = class {
|
|
|
215
216
|
sessionId: `session_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`,
|
|
216
217
|
recipientType: "DESTINATION_CHAIN",
|
|
217
218
|
deadline: new Date(Date.now() + this.offsetTime).toISOString(),
|
|
218
|
-
quoteWaitingTimeMs
|
|
219
|
+
quoteWaitingTimeMs,
|
|
219
220
|
appFees,
|
|
220
221
|
referral: "stableflow",
|
|
221
222
|
amount: amountWei,
|
|
@@ -6255,6 +6256,7 @@ var BridgeSFA = class _BridgeSFA {
|
|
|
6255
6256
|
_params.swapType = params.oneclickParams?.swapType;
|
|
6256
6257
|
_params.isProxy = params.oneclickParams?.isProxy;
|
|
6257
6258
|
_params.forceCalculateFee = params.oneclickParams?.forceCalculateFee;
|
|
6259
|
+
_params.quoteWaitingTimeMs = params.oneclickParams?.quoteWaitingTimeMs;
|
|
6258
6260
|
}
|
|
6259
6261
|
if ([
|
|
6260
6262
|
Service.Usdt0,
|