@curvefi/api 2.50.7 → 2.50.8

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 +3 -1
  2. package/package.json +1 -1
package/lib/utils.js CHANGED
@@ -894,5 +894,7 @@ export var getCountArgsOfMethodByContract = function (contract, methodName) {
894
894
  if (func) {
895
895
  return func.inputs.length;
896
896
  }
897
- throw Error("".concat(methodName, " method doesn't exist for contract"));
897
+ else {
898
+ return -1;
899
+ }
898
900
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.50.7",
3
+ "version": "2.50.8",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",