@ape.swap/bonds-sdk 1.0.287 → 1.0.289

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.
@@ -183,17 +183,12 @@ var BondModal = function (_a) {
183
183
  maxPrice2 = new BigNumber(bondData[0].trueBillPrice).times(102).div(100);
184
184
  amount = adjustDecimals(inputValue);
185
185
  amountWei = ethers.utils.parseUnits(amount.toString(), "ether");
186
- console.log('-------!');
187
- console.log(amount);
186
+ console.log('-------!!!');
188
187
  console.log(amountWei.toString());
189
- console.log('%%%%%');
190
188
  console.log(maxPrice.toString());
191
- console.log(maxPrice2.toString());
192
- console.log('%%%%%');
193
- console.log(maxPrice2.valueOf());
194
- console.log(bondData[0].trueBillPrice);
189
+ console.log(account);
195
190
  console.log('-------');
196
- return [4 /*yield*/, bondContract.deposit(amountWei.toString(), maxPrice2.valueOf(), account)];
191
+ return [4 /*yield*/, bondContract.deposit(amountWei.toString(), maxPrice.toString(), account)];
197
192
  case 2:
198
193
  tx = _a.sent();
199
194
  return [4 /*yield*/, tx.wait()];
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.287",
6
+ "version": "1.0.289",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",