@curvefi/api 2.57.0 → 2.57.1

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.
Files changed (2) hide show
  1. package/lib/utils.js +1 -1
  2. package/package.json +1 -1
package/lib/utils.js CHANGED
@@ -766,7 +766,7 @@ export var getGasInfoForL2 = function () { return __awaiter(void 0, void 0, void
766
766
  case 1:
767
767
  baseFee = _a.sent();
768
768
  return [2 /*return*/, {
769
- maxFeePerGas: (baseFee * 1.1) + 0.01,
769
+ maxFeePerGas: Number(((baseFee * 1.1) + 0.01).toFixed(2)),
770
770
  maxPriorityFeePerGas: 0.01,
771
771
  }];
772
772
  case 2: throw Error("This method exists only for L2 networks");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.57.0",
3
+ "version": "2.57.1",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",