@verified-network/verified-sdk 2.2.2 → 2.2.3

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.
@@ -604,12 +604,12 @@ class VerifiedContract {
604
604
  }
605
605
  catch (err) {
606
606
  if ((_a = err === null || err === void 0 ? void 0 : err.message) === null || _a === void 0 ? void 0 : _a.includes("fn is not a function")) {
607
- throw new Error(`Function ${functionName} not found in contract's ABI`);
607
+ console.error(`Function ${functionName} not found in contract's ABI`);
608
608
  }
609
609
  else if ((_b = err === null || err === void 0 ? void 0 : err.message) === null || _b === void 0 ? void 0 : _b.includes("code=INVALID_ARGUMENT")) {
610
- throw new TypeError(`Invalid arguments type`);
610
+ console.error(`Invalid arguments type`);
611
611
  }
612
- throw new Error((err === null || err === void 0 ? void 0 : err.message) || "getQuote failed.");
612
+ console.error((err === null || err === void 0 ? void 0 : err.message) || "getQuote failed.");
613
613
  }
614
614
  }
615
615
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verified-network/verified-sdk",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "An SDK to develop applications on the Verified Network",
5
5
  "repository": {
6
6
  "type": "git",