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.
Files changed (2) hide show
  1. package/index.js +3 -1
  2. 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 definitions = __nccwpck_require__(4626);
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
@@ -6,7 +6,7 @@
6
6
  ],
7
7
  "homepage": "https://github.com/HotPocketDev/evernode-js-client",
8
8
  "license": "MIT",
9
- "version": "0.6.21-definition-1.9",
9
+ "version": "0.6.21-definition-1.10",
10
10
  "dependencies": {
11
11
  "elliptic": "6.5.4",
12
12
  "libsodium-wrappers": "0.7.10",