evernode-js-client 0.6.12 → 0.6.13

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.
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",