@curvefi/api 2.61.4 → 2.61.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.
package/lib/curve.d.ts CHANGED
@@ -30,7 +30,7 @@ declare class Curve implements ICurve {
30
30
  maxPriorityFeePerGas?: number;
31
31
  };
32
32
  constantOptions: {
33
- gasLimit: number;
33
+ gasLimit?: number;
34
34
  };
35
35
  options: {
36
36
  gasPrice?: number | bigint;
package/lib/curve.js CHANGED
@@ -1046,7 +1046,7 @@ var Curve = /** @class */ (function () {
1046
1046
  ], cTokens = _d[0], yTokens = _d[1], ycTokens = _d[2], aTokens = _d[3];
1047
1047
  customAbiTokens = __spreadArray(__spreadArray(__spreadArray(__spreadArray([], cTokens, true), yTokens, true), ycTokens, true), aTokens, true);
1048
1048
  if (this.chainId === 5000) {
1049
- this.constantOptions = { gasLimit: 9000000 };
1049
+ this.constantOptions = {};
1050
1050
  }
1051
1051
  this.multicallProvider = new MulticallProvider(this.chainId, this.provider);
1052
1052
  if (!this.signer) return [3 /*break*/, 15];
@@ -64,7 +64,7 @@ export interface ICurve {
64
64
  maxPriorityFeePerGas?: number;
65
65
  };
66
66
  constantOptions: {
67
- gasLimit: number;
67
+ gasLimit?: number;
68
68
  };
69
69
  options: {
70
70
  gasPrice?: number | bigint;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.61.4",
3
+ "version": "2.61.5",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",