@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
package/dist/sdk.esm.js
CHANGED
|
@@ -5964,7 +5964,7 @@ var constructDeltaTokenModule = function constructDeltaTokenModule(options) {
|
|
|
5964
5964
|
throw new Error("Delta is not available on chain " + options.chainId);
|
|
5965
5965
|
case 7:
|
|
5966
5966
|
orderWithSig = {
|
|
5967
|
-
order: order,
|
|
5967
|
+
order: sanitizeDeltaOrderData(order),
|
|
5968
5968
|
signature: signature,
|
|
5969
5969
|
// bridgeOverride and cosignature are not used by the contract,
|
|
5970
5970
|
// can always provide defaults
|
|
@@ -6135,7 +6135,7 @@ var constructDeltaTokenModule = function constructDeltaTokenModule(options) {
|
|
|
6135
6135
|
address: ParaswapDelta,
|
|
6136
6136
|
abi: DeltaTokenModuleAbi,
|
|
6137
6137
|
contractMethod: 'cancelTWAPAndWithdraw',
|
|
6138
|
-
args: [order],
|
|
6138
|
+
args: [sanitizeTWAPOrderData(order)],
|
|
6139
6139
|
overrides: overrides
|
|
6140
6140
|
});
|
|
6141
6141
|
case 8:
|
|
@@ -6175,7 +6175,7 @@ var constructDeltaTokenModule = function constructDeltaTokenModule(options) {
|
|
|
6175
6175
|
address: ParaswapDelta,
|
|
6176
6176
|
abi: DeltaTokenModuleAbi,
|
|
6177
6177
|
contractMethod: 'cancelTWAPBuyAndWithdraw',
|
|
6178
|
-
args: [order],
|
|
6178
|
+
args: [sanitizeTWAPOrderData(order)],
|
|
6179
6179
|
overrides: overrides
|
|
6180
6180
|
});
|
|
6181
6181
|
case 8:
|