@gearbox-protocol/sdk 3.0.0-vfour.89 → 3.0.0-vfour.90

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.
@@ -23218,7 +23218,10 @@ var RouterV3Contract = class extends BaseContract {
23218
23218
  gas: GAS_PER_BLOCK
23219
23219
  }
23220
23220
  );
23221
- results.push(result2);
23221
+ results.push({
23222
+ ...result2,
23223
+ calls: [...result2.calls]
23224
+ });
23222
23225
  }
23223
23226
  const bestResult = results.reduce(compareRouterResults, {
23224
23227
  amount: 0n,
@@ -24903,7 +24903,7 @@ interface SwapTask {
24903
24903
  interface RouterResult {
24904
24904
  amount: bigint;
24905
24905
  minAmount: bigint;
24906
- calls: readonly MultiCall[];
24906
+ calls: MultiCall[];
24907
24907
  }
24908
24908
  interface OpenStrategyResult extends RouterResult {
24909
24909
  balances: Record<Address, bigint>;
@@ -24903,7 +24903,7 @@ interface SwapTask {
24903
24903
  interface RouterResult {
24904
24904
  amount: bigint;
24905
24905
  minAmount: bigint;
24906
- calls: readonly MultiCall[];
24906
+ calls: MultiCall[];
24907
24907
  }
24908
24908
  interface OpenStrategyResult extends RouterResult {
24909
24909
  balances: Record<Address, bigint>;
@@ -23216,7 +23216,10 @@ var RouterV3Contract = class extends BaseContract {
23216
23216
  gas: GAS_PER_BLOCK
23217
23217
  }
23218
23218
  );
23219
- results.push(result2);
23219
+ results.push({
23220
+ ...result2,
23221
+ calls: [...result2.calls]
23222
+ });
23220
23223
  }
23221
23224
  const bestResult = results.reduce(compareRouterResults, {
23222
23225
  amount: 0n,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "3.0.0-vfour.89",
3
+ "version": "3.0.0-vfour.90",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.cjs",