evernode-js-client 0.6.21-definition-1.9 → 0.6.21-definition-1.10
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -54407,7 +54407,7 @@ module.exports = {
|
|
54407
54407
|
/***/ 8262:
|
54408
54408
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
54409
54409
|
|
54410
|
-
const
|
54410
|
+
const DefinitionsPath = './resources/definitions.json';
|
54411
54411
|
|
54412
54412
|
const DefaultValues = {
|
54413
54413
|
xrplApi: null,
|
@@ -54431,6 +54431,8 @@ class Defaults {
|
|
54431
54431
|
* @param {string} network Network to choose the info.
|
54432
54432
|
*/
|
54433
54433
|
static useNetwork(network) {
|
54434
|
+
const definitions = __nccwpck_require__(4626);
|
54435
|
+
|
54434
54436
|
if (!definitions[network])
|
54435
54437
|
throw `Invalid network: ${network}`;
|
54436
54438
|
|
package/package.json
CHANGED