@ape.swap/bonds-sdk 1.0.547 → 1.0.548

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.
@@ -95,14 +95,14 @@ var YourBonds = function (_a) {
95
95
  _a.label = 1;
96
96
  case 1:
97
97
  _a.trys.push([1, 3, , 4]);
98
+ uint256BillId = ethers.BigNumber.from(billId);
98
99
  console.log('claimClicked');
99
- console.log('billId:', billId);
100
+ console.log('billId:', uint256BillId);
100
101
  console.log('billAddress:', billAddress);
101
- uint256BillId = ethers.BigNumber.from(billId);
102
102
  return [4 /*yield*/, writeContract({
103
103
  address: billAddress,
104
104
  abi: BOND_ABI,
105
- functionName: 'claim',
105
+ functionName: 'redeem',
106
106
  args: [uint256BillId],
107
107
  })];
108
108
  case 2:
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Ape Bond SDK",
4
4
  "author": "Ape Bond",
5
5
  "license": "MIT",
6
- "version": "1.0.547",
6
+ "version": "1.0.548",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",