@velora-dex/sdk 9.4.3-dev.1 → 9.5.0
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/sdk.cjs.development.js +3 -3
- package/dist/sdk.cjs.development.js.map +1 -1
- package/dist/sdk.cjs.production.min.js +1 -1
- package/dist/sdk.cjs.production.min.js.map +1 -1
- package/dist/sdk.esm.js +3 -3
- package/dist/sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/methods/delta/deltaTokenModule.ts +4 -4
- package/src/methods/delta/preSignTWAPDeltaOrder.ts +1 -1
|
@@ -5967,7 +5967,7 @@ var constructDeltaTokenModule = function constructDeltaTokenModule(options) {
|
|
|
5967
5967
|
throw new Error("Delta is not available on chain " + options.chainId);
|
|
5968
5968
|
case 7:
|
|
5969
5969
|
orderWithSig = {
|
|
5970
|
-
order: order,
|
|
5970
|
+
order: sanitizeDeltaOrderData(order),
|
|
5971
5971
|
signature: signature,
|
|
5972
5972
|
// bridgeOverride and cosignature are not used by the contract,
|
|
5973
5973
|
// can always provide defaults
|
|
@@ -6138,7 +6138,7 @@ var constructDeltaTokenModule = function constructDeltaTokenModule(options) {
|
|
|
6138
6138
|
address: ParaswapDelta,
|
|
6139
6139
|
abi: DeltaTokenModuleAbi,
|
|
6140
6140
|
contractMethod: 'cancelTWAPAndWithdraw',
|
|
6141
|
-
args: [order],
|
|
6141
|
+
args: [sanitizeTWAPOrderData(order)],
|
|
6142
6142
|
overrides: overrides
|
|
6143
6143
|
});
|
|
6144
6144
|
case 8:
|
|
@@ -6178,7 +6178,7 @@ var constructDeltaTokenModule = function constructDeltaTokenModule(options) {
|
|
|
6178
6178
|
address: ParaswapDelta,
|
|
6179
6179
|
abi: DeltaTokenModuleAbi,
|
|
6180
6180
|
contractMethod: 'cancelTWAPBuyAndWithdraw',
|
|
6181
|
-
args: [order],
|
|
6181
|
+
args: [sanitizeTWAPOrderData(order)],
|
|
6182
6182
|
overrides: overrides
|
|
6183
6183
|
});
|
|
6184
6184
|
case 8:
|