evernode-js-client 0.6.12 → 0.6.13

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -17494,7 +17494,7 @@ class XrplApi {
17494
17494
  if (txResult.code === "tesSUCCESS")
17495
17495
  return { ...txResult, ...(hookExecRes ? { hookExecutionResult: hookExecRes } : {}) };
17496
17496
  else
17497
- return { ...txResult, ...(hookExecRes ? { hookExecutionResult: hookExecRes } : {}) };
17497
+ throw { ...txResult, ...(hookExecRes ? { hookExecutionResult: hookExecRes } : {}) };
17498
17498
  }
17499
17499
  else
17500
17500
  throw resultCode ? `Transaction failed with error ${resultCode}` : 'Transaction failed';
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.12",
9
+ "version": "0.6.13",
10
10
  "dependencies": {
11
11
  "elliptic": "6.5.4",
12
12
  "libsodium-wrappers": "0.7.10",