evernode-js-client 0.6.59 → 0.6.60
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.
- package/index.js +5 -4
- package/package.json +1 -1
package/index.js
CHANGED
@@ -60631,8 +60631,6 @@ class BaseEvernodeClient {
|
|
60631
60631
|
|
60632
60632
|
if (addrStateData) {
|
60633
60633
|
let addrStateDecoded = StateHelpers.decodeReputationHostAddressState(Buffer.from(addrStateKey, 'hex'), Buffer.from(addrStateData, 'hex'));
|
60634
|
-
const curMoment = await this.getMoment();
|
60635
|
-
addrStateDecoded.valid = !!(addrStateDecoded.lastScoredMoment && (curMoment - addrStateDecoded.lastScoredMoment) <= ReputationConstants.SCORE_EXPIRY_MOMENT_COUNT);
|
60636
60634
|
return addrStateDecoded;
|
60637
60635
|
}
|
60638
60636
|
}
|
@@ -65110,7 +65108,6 @@ class XrplAccount {
|
|
65110
65108
|
|
65111
65109
|
async getTrustLines(currency, issuer) {
|
65112
65110
|
const lines = await this.xrplApi.getTrustlines(this.address, {
|
65113
|
-
limit: 399,
|
65114
65111
|
peer: issuer
|
65115
65112
|
});
|
65116
65113
|
return currency ? lines.filter(l => l.currency === currency) : lines;
|
@@ -66195,7 +66192,11 @@ class XrplApi {
|
|
66195
66192
|
|
66196
66193
|
while ((!count || count > 0) && (!checked || resp?.result?.marker)) {
|
66197
66194
|
checked = true;
|
66198
|
-
requestObj.
|
66195
|
+
if (requestObj.command === 'account_lines') {
|
66196
|
+
requestObj.limit = 1000;
|
66197
|
+
} else {
|
66198
|
+
requestObj.limit = count ? Math.min(count, MAX_PAGE_LIMIT) : MAX_PAGE_LIMIT;
|
66199
|
+
}
|
66199
66200
|
if (resp?.result?.marker)
|
66200
66201
|
requestObj.marker = resp?.result?.marker;
|
66201
66202
|
else
|
package/package.json
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
],
|
7
7
|
"homepage": "https://github.com/HotPocketDev/evernode-js-client",
|
8
8
|
"license": "SEE LICENSE IN https://raw.githubusercontent.com/EvernodeXRPL/evernode-resources/main/license/evernode-license.pdf",
|
9
|
-
"version": "0.6.
|
9
|
+
"version": "0.6.60",
|
10
10
|
"dependencies": {
|
11
11
|
"elliptic": "6.5.4",
|
12
12
|
"libsodium-wrappers": "0.7.10",
|