@curvefi/api 2.61.11 → 2.61.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.
@@ -240,13 +240,13 @@ var GaugePool = /** @class */ (function () {
240
240
  _a.label = 2;
241
241
  case 2:
242
242
  contract = curve.contracts[this.address].contract;
243
- return [4 /*yield*/, contract.deposit_reward_token.estimateGas(rewardToken, amount, __assign({}, curve.constantOptions))];
243
+ return [4 /*yield*/, contract.deposit_reward_token.estimateGas(rewardToken, amount, epoch, __assign({}, curve.constantOptions))];
244
244
  case 3:
245
245
  gas = _a.sent();
246
246
  if (estimateGas)
247
247
  return [2 /*return*/, smartNumber(gas)];
248
248
  gasLimit = mulBy1_3(DIGas(gas));
249
- return [4 /*yield*/, contract.deposit_reward_token(rewardToken, amount, __assign(__assign({}, curve.options), { gasLimit: gasLimit }))];
249
+ return [4 /*yield*/, contract.deposit_reward_token(rewardToken, amount, epoch, __assign(__assign({}, curve.options), { gasLimit: gasLimit }))];
250
250
  case 4: return [2 /*return*/, (_a.sent()).hash];
251
251
  }
252
252
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.61.11",
3
+ "version": "2.61.12",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",