evernode-js-client 0.5.17-beta-v3.5 → 0.5.17-beta-v3.7

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -11969,7 +11969,7 @@ class BaseEvernodeClient {
11969
11969
  let eventData;
11970
11970
  if (tx.HookParameters.length) {
11971
11971
  eventType = tx.HookParameters.find(p => p.name === HookParamKeys.PARAM_EVENT_TYPE_KEY)?.value;
11972
- eventData = tx.HookParameters.find(p => p.name === HookParamKeys.PARAM_EVENT_DATA1_KEY)?.value;
11972
+ eventData = tx.HookParameters.find(p => p.name === HookParamKeys.PARAM_EVENT_DATA1_KEY)?.value ?? '';
11973
11973
  eventData += tx.HookParameters.find(p => p.name === HookParamKeys.PARAM_EVENT_DATA2_KEY)?.value ?? '';
11974
11974
  }
11975
11975
  if (tx.TransactionType === 'URITokenBuy' && eventType === EventTypes.ACQUIRE_LEASE && tx.Memos.length &&
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.5.17-beta-v3.5",
9
+ "version": "0.5.17-beta-v3.7",
10
10
  "dependencies": {
11
11
  "elliptic": "6.5.4",
12
12
  "libsodium-wrappers": "0.7.10",
@@ -16,6 +16,6 @@
16
16
  "xrpl-binary-codec": "1.4.2"
17
17
  },
18
18
  "scripts": {
19
- "postinstall": "EXTERNAL=1 node postinstall.js"
19
+ "postinstall": "node postinstall.js external"
20
20
  }
21
21
  }