@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.
- package/dist/contract/index.js +3 -3
- package/package.json +1 -1
package/dist/contract/index.js
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
610
|
+
console.error(`Invalid arguments type`);
|
|
611
611
|
}
|
|
612
|
-
|
|
612
|
+
console.error((err === null || err === void 0 ? void 0 : err.message) || "getQuote failed.");
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
615
|
}
|