@curvefi/api 2.50.4 → 2.50.5

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.
@@ -407,7 +407,7 @@ export var depositPlainMixin = {
407
407
  if (estimateGas)
408
408
  return [2 /*return*/, smartNumber(gas)];
409
409
  gasLimit = mulBy1_3(DIGas(gas));
410
- return [4 /*yield*/, contract.add_liquidity(_amounts, _minMintAmount, __assign(__assign({}, curve.options), { gasLimit: gasLimit, value: value }))];
410
+ return [4 /*yield*/, contract.add_liquidity(_amounts, _minMintAmount, false, __assign(__assign({}, curve.options), { gasLimit: gasLimit, value: value }))];
411
411
  case 5: return [2 /*return*/, (_a.sent()).hash];
412
412
  }
413
413
  });
@@ -380,7 +380,7 @@ export var withdrawOneCoinPlainMixin = {
380
380
  if (estimateGas)
381
381
  return [2 /*return*/, smartNumber(gas)];
382
382
  gasLimit = mulBy1_3(DIGas(gas));
383
- return [4 /*yield*/, contract.remove_liquidity_one_coin(_lpTokenAmount, i, _minAmount, __assign(__assign({}, curve.options), { gasLimit: gasLimit }))];
383
+ return [4 /*yield*/, contract.remove_liquidity_one_coin(_lpTokenAmount, i, _minAmount, false, __assign(__assign({}, curve.options), { gasLimit: gasLimit }))];
384
384
  case 3: return [2 /*return*/, (_a.sent()).hash];
385
385
  }
386
386
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.50.4",
3
+ "version": "2.50.5",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",