@bithomp/xrpl-api 3.8.1 → 3.8.3
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/lib/ledger/ledger_entry.js +1 -0
- package/lib/ledger/transaction.js +2 -2
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.js +3 -1
- package/package.json +10 -10
|
@@ -258,7 +258,7 @@ async function getAccountPaymentParams(account, connection) {
|
|
|
258
258
|
fee = FEE_LIMIT;
|
|
259
259
|
}
|
|
260
260
|
if (!fee) {
|
|
261
|
-
throw new Error("
|
|
261
|
+
throw new Error("Cannot not resolve fee from network");
|
|
262
262
|
}
|
|
263
263
|
resolve((0, common_1.xrpToDrops)(fee.toString()));
|
|
264
264
|
});
|
|
@@ -326,7 +326,7 @@ async function getTxSubmitParams(account, tx, definitions, connection, skip) {
|
|
|
326
326
|
fee = FEE_LIMIT;
|
|
327
327
|
}
|
|
328
328
|
if (!fee) {
|
|
329
|
-
throw new Error("
|
|
329
|
+
throw new Error("Cannot not resolve fee from network");
|
|
330
330
|
}
|
|
331
331
|
resolve((0, common_1.xrpToDrops)(fee.toString()));
|
|
332
332
|
}
|
package/lib/models/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export { parseChannelChanges } from "../parse/outcome/channel_changes";
|
|
|
22
22
|
export { parseOrderbookChanges } from "../parse/outcome/orderbook_changes";
|
|
23
23
|
export { parseMPTokenIssuanceChanges } from "../parse/outcome/mptoken_issuance_changes";
|
|
24
24
|
export { parseMPTokenChanges } from "../parse/outcome/mptoken_changes";
|
|
25
|
+
export { parseRemarksChanges } from "../parse/outcome/remarks_changes";
|
|
25
26
|
import parseNFTokenBurn from "../parse/specification/nftoken-burn";
|
|
26
27
|
import parseNFTokenMint from "../parse/specification/nftoken-mint";
|
|
27
28
|
import parseNFTokenFlags from "../parse/ledger/nftoken-flags";
|
package/lib/models/index.js
CHANGED
|
@@ -17,7 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.parseMPTokenFlags = exports.parseMPTokenIssuanceFlags = exports.parseCredentialFlags = exports.parseOfferFlags = exports.parseTrustlineFlags = exports.parseURITokenFlags = exports.parseNFTokenCreateOffer = exports.parseNFTokenCancelOffer = exports.parseNFTokenAcceptOffer = exports.parseNFTOfferFlags = exports.parseNFTokenFlags = exports.parseNFTokenBurn = exports.parseNFTokenMint = exports.parseMPTokenChanges = exports.parseMPTokenIssuanceChanges = exports.parseOrderbookChanges = exports.parseChannelChanges = exports.parseLockedBalanceChanges = exports.parseFinalBalances = exports.parseBalanceChanges = exports.parseURITokenSellOfferChanges = exports.parseURITokenChanges = exports.parseNFTokenOfferChanges = exports.parseNFTokenChanges = exports.parseAffectedObjects = void 0;
|
|
20
|
+
exports.parseMPTokenFlags = exports.parseMPTokenIssuanceFlags = exports.parseCredentialFlags = exports.parseOfferFlags = exports.parseTrustlineFlags = exports.parseURITokenFlags = exports.parseNFTokenCreateOffer = exports.parseNFTokenCancelOffer = exports.parseNFTokenAcceptOffer = exports.parseNFTOfferFlags = exports.parseNFTokenFlags = exports.parseNFTokenBurn = exports.parseNFTokenMint = exports.parseRemarksChanges = exports.parseMPTokenChanges = exports.parseMPTokenIssuanceChanges = exports.parseOrderbookChanges = exports.parseChannelChanges = exports.parseLockedBalanceChanges = exports.parseFinalBalances = exports.parseBalanceChanges = exports.parseURITokenSellOfferChanges = exports.parseURITokenChanges = exports.parseNFTokenOfferChanges = exports.parseNFTokenChanges = exports.parseAffectedObjects = void 0;
|
|
21
21
|
__exportStar(require("./account_info"), exports);
|
|
22
22
|
__exportStar(require("./account_nfts"), exports);
|
|
23
23
|
__exportStar(require("./account_object"), exports);
|
|
@@ -54,6 +54,8 @@ var mptoken_issuance_changes_1 = require("../parse/outcome/mptoken_issuance_chan
|
|
|
54
54
|
Object.defineProperty(exports, "parseMPTokenIssuanceChanges", { enumerable: true, get: function () { return mptoken_issuance_changes_1.parseMPTokenIssuanceChanges; } });
|
|
55
55
|
var mptoken_changes_1 = require("../parse/outcome/mptoken_changes");
|
|
56
56
|
Object.defineProperty(exports, "parseMPTokenChanges", { enumerable: true, get: function () { return mptoken_changes_1.parseMPTokenChanges; } });
|
|
57
|
+
var remarks_changes_1 = require("../parse/outcome/remarks_changes");
|
|
58
|
+
Object.defineProperty(exports, "parseRemarksChanges", { enumerable: true, get: function () { return remarks_changes_1.parseRemarksChanges; } });
|
|
57
59
|
const nftoken_burn_1 = __importDefault(require("../parse/specification/nftoken-burn"));
|
|
58
60
|
exports.parseNFTokenBurn = nftoken_burn_1.default;
|
|
59
61
|
const nftoken_mint_1 = __importDefault(require("../parse/specification/nftoken-mint"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bithomp/xrpl-api",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.3",
|
|
4
4
|
"description": "A Bithomp JavaScript/TypeScript library for interacting with the XRP Ledger",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
|
|
43
43
|
"lint": "eslint",
|
|
44
44
|
"prepare": "npm run build",
|
|
45
|
-
"prepublishOnly": "npm test && npm run lint",
|
|
45
|
+
"-prepublishOnly": "npm test && npm run lint",
|
|
46
46
|
"preversion": "npm run lint",
|
|
47
47
|
"version": "npm run format && git add -A src",
|
|
48
48
|
"postversion": "git push && git push --tags"
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"@noble/ed25519": "^3.1.0",
|
|
55
55
|
"@noble/hashes": "^2.2.0",
|
|
56
56
|
"@noble/secp256k1": "^3.1.0",
|
|
57
|
-
"axios": "^1.18.
|
|
57
|
+
"axios": "^1.18.1",
|
|
58
58
|
"base-x": "^5.0.1",
|
|
59
|
-
"bignumber.js": "^11.1.
|
|
59
|
+
"bignumber.js": "^11.1.5",
|
|
60
60
|
"lodash": "^4.18.1",
|
|
61
61
|
"ripple-address-codec": "5.0.1",
|
|
62
62
|
"ripple-binary-codec": "2.8.0",
|
|
@@ -64,22 +64,22 @@
|
|
|
64
64
|
"xrpl": "5.0.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@eslint/eslintrc": "^3.3.
|
|
67
|
+
"@eslint/eslintrc": "^3.3.6",
|
|
68
68
|
"@types/chai": "^5.2.3",
|
|
69
69
|
"@types/chai-as-promised": "^8.0.2",
|
|
70
70
|
"@types/lodash": "^4.17.24",
|
|
71
71
|
"@types/mocha": "^10.0.10",
|
|
72
72
|
"@types/nconf": "^0.10.7",
|
|
73
|
-
"@types/node": "^25.9.
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
75
|
-
"@typescript-eslint/parser": "^8.
|
|
73
|
+
"@types/node": "^25.9.5",
|
|
74
|
+
"@typescript-eslint/eslint-plugin": "^8.64.0",
|
|
75
|
+
"@typescript-eslint/parser": "^8.64.0",
|
|
76
76
|
"chai": "^6.2.2",
|
|
77
77
|
"chai-as-promised": "^8.0.2",
|
|
78
|
-
"eslint": "^9.39.
|
|
78
|
+
"eslint": "^9.39.5",
|
|
79
79
|
"eslint-config-prettier": "^10.1.8",
|
|
80
80
|
"eslint-plugin-chai-friendly": "^1.2.1",
|
|
81
81
|
"eslint-plugin-import": "^2.32.0",
|
|
82
|
-
"eslint-plugin-n": "^18.
|
|
82
|
+
"eslint-plugin-n": "^18.2.2",
|
|
83
83
|
"eslint-plugin-promise": "^7.3.0",
|
|
84
84
|
"mocha": "^11.7.6",
|
|
85
85
|
"nconf": "^0.13.0",
|