@gearbox-protocol/sdk 14.11.11 → 14.11.12

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.
@@ -498,10 +498,10 @@ class AccountOpener extends import_sdk.SDKConstruct {
498
498
  );
499
499
  txHash = await this.#anvil.writeContract({
500
500
  account: depositor,
501
- address: metadata.approveTarget,
501
+ address: underlying,
502
502
  abi: import_iERC20.ierc20Abi,
503
503
  functionName: "approve",
504
- args: [address, allowance],
504
+ args: [metadata.approveTarget, allowance],
505
505
  chain: this.#anvil.chain
506
506
  });
507
507
  let receipt = await this.#anvil.waitForTransactionReceipt({
@@ -490,10 +490,10 @@ class AccountOpener extends SDKConstruct {
490
490
  );
491
491
  txHash = await this.#anvil.writeContract({
492
492
  account: depositor,
493
- address: metadata.approveTarget,
493
+ address: underlying,
494
494
  abi: ierc20Abi,
495
495
  functionName: "approve",
496
- args: [address, allowance],
496
+ args: [metadata.approveTarget, allowance],
497
497
  chain: this.#anvil.chain
498
498
  });
499
499
  let receipt = await this.#anvil.waitForTransactionReceipt({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "14.11.11",
3
+ "version": "14.11.12",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "repository": {