@bithomp/xrpl-api 3.3.10 → 3.4.1
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/account_tx.d.ts +8 -0
- package/lib/ledger/account_tx.js +56 -6
- package/lib/ledger/transaction.js +9 -0
- package/lib/models/transaction.d.ts +1 -0
- package/lib/models/transaction.js +24 -0
- package/lib/models/transactions/SetRemarks.d.ts +3 -0
- package/lib/models/transactions/SetRemarks.js +2 -0
- package/lib/parse/ledger/delegate.d.ts +2 -0
- package/lib/parse/ledger/delegate.js +11 -0
- package/lib/parse/ledger/index.d.ts +2 -1
- package/lib/parse/ledger/index.js +4 -1
- package/lib/parse/ledger/permissions.d.ts +2 -0
- package/lib/parse/ledger/permissions.js +9 -0
- package/lib/parse/ledger/remark-flags.d.ts +5 -0
- package/lib/parse/ledger/remark-flags.js +8 -0
- package/lib/parse/ledger/remarks.d.ts +3 -0
- package/lib/parse/ledger/remarks.js +47 -0
- package/lib/parse/outcome/delegate_changes.d.ts +12 -0
- package/lib/parse/outcome/delegate_changes.js +59 -0
- package/lib/parse/outcome/index.d.ts +2 -0
- package/lib/parse/outcome/index.js +5 -1
- package/lib/parse/outcome/oracle_changes.d.ts +3 -3
- package/lib/parse/outcome/remarks_changes.d.ts +14 -0
- package/lib/parse/outcome/remarks_changes.js +68 -0
- package/lib/parse/outcome.js +22 -0
- package/lib/parse/specification/account-delete.d.ts +2 -1
- package/lib/parse/specification/account-delete.js +2 -0
- package/lib/parse/specification/amm-bid.d.ts +2 -1
- package/lib/parse/specification/amm-bid.js +2 -0
- package/lib/parse/specification/amm-clawback.d.ts +2 -1
- package/lib/parse/specification/amm-clawback.js +2 -0
- package/lib/parse/specification/amm-create.d.ts +2 -1
- package/lib/parse/specification/amm-create.js +2 -0
- package/lib/parse/specification/amm-delete.d.ts +2 -1
- package/lib/parse/specification/amm-delete.js +2 -0
- package/lib/parse/specification/amm-deposit.d.ts +2 -1
- package/lib/parse/specification/amm-deposit.js +2 -0
- package/lib/parse/specification/amm-vote.d.ts +2 -1
- package/lib/parse/specification/amm-vote.js +2 -0
- package/lib/parse/specification/amm-withdraw.d.ts +2 -1
- package/lib/parse/specification/amm-withdraw.js +2 -0
- package/lib/parse/specification/check-cancel.d.ts +2 -1
- package/lib/parse/specification/check-cancel.js +2 -0
- package/lib/parse/specification/check-cash.d.ts +2 -1
- package/lib/parse/specification/check-cash.js +2 -0
- package/lib/parse/specification/check-create.d.ts +2 -1
- package/lib/parse/specification/check-create.js +2 -0
- package/lib/parse/specification/clawback.d.ts +2 -1
- package/lib/parse/specification/clawback.js +2 -0
- package/lib/parse/specification/delegate-set.d.ts +4 -0
- package/lib/parse/specification/delegate-set.js +58 -0
- package/lib/parse/specification/deposit-preauth.d.ts +2 -1
- package/lib/parse/specification/deposit-preauth.js +2 -0
- package/lib/parse/specification/did-delete.d.ts +2 -1
- package/lib/parse/specification/did-delete.js +2 -0
- package/lib/parse/specification/did-set.d.ts +2 -1
- package/lib/parse/specification/did-set.js +2 -0
- package/lib/parse/specification/escrow-cancel.d.ts +2 -1
- package/lib/parse/specification/escrow-cancel.js +2 -0
- package/lib/parse/specification/escrow-create.d.ts +2 -1
- package/lib/parse/specification/escrow-create.js +2 -0
- package/lib/parse/specification/escrow-finish.d.ts +2 -1
- package/lib/parse/specification/escrow-finish.js +2 -0
- package/lib/parse/specification/mptoken-authorize.d.ts +2 -1
- package/lib/parse/specification/mptoken-authorize.js +2 -0
- package/lib/parse/specification/mptoken-issuance-create.d.ts +2 -1
- package/lib/parse/specification/mptoken-issuance-create.js +2 -0
- package/lib/parse/specification/mptoken-issuance-destroy.d.ts +2 -1
- package/lib/parse/specification/mptoken-issuance-destroy.js +2 -0
- package/lib/parse/specification/mptoken-issuance-set.d.ts +2 -1
- package/lib/parse/specification/mptoken-issuance-set.js +2 -0
- package/lib/parse/specification/nftoken-accept-offer.d.ts +2 -1
- package/lib/parse/specification/nftoken-accept-offer.js +2 -0
- package/lib/parse/specification/nftoken-burn.d.ts +2 -1
- package/lib/parse/specification/nftoken-burn.js +2 -0
- package/lib/parse/specification/nftoken-cancel-offer.d.ts +2 -1
- package/lib/parse/specification/nftoken-cancel-offer.js +2 -0
- package/lib/parse/specification/nftoken-create-offer.d.ts +2 -1
- package/lib/parse/specification/nftoken-create-offer.js +2 -0
- package/lib/parse/specification/nftoken-mint.d.ts +2 -1
- package/lib/parse/specification/nftoken-mint.js +2 -0
- package/lib/parse/specification/nftoken-modify.d.ts +2 -1
- package/lib/parse/specification/nftoken-modify.js +2 -0
- package/lib/parse/specification/offer-cancel.d.ts +2 -1
- package/lib/parse/specification/offer-cancel.js +2 -0
- package/lib/parse/specification/offer-create.d.ts +3 -2
- package/lib/parse/specification/offer-create.js +2 -0
- package/lib/parse/specification/oracle-delete.d.ts +2 -1
- package/lib/parse/specification/oracle-delete.js +2 -0
- package/lib/parse/specification/oracle-set.d.ts +2 -1
- package/lib/parse/specification/oracle-set.js +2 -0
- package/lib/parse/specification/payment-channel-claim.d.ts +2 -1
- package/lib/parse/specification/payment-channel-claim.js +2 -2
- package/lib/parse/specification/payment-channel-create.d.ts +2 -1
- package/lib/parse/specification/payment-channel-create.js +2 -0
- package/lib/parse/specification/payment-channel-fund.d.ts +2 -1
- package/lib/parse/specification/payment-channel-fund.js +2 -0
- package/lib/parse/specification/payment.d.ts +2 -1
- package/lib/parse/specification/payment.js +2 -0
- package/lib/parse/specification/set-remarks.d.ts +3 -0
- package/lib/parse/specification/set-remarks.js +56 -0
- package/lib/parse/specification/settings.js +2 -0
- package/lib/parse/specification/ticket-create.d.ts +2 -1
- package/lib/parse/specification/ticket-create.js +2 -0
- package/lib/parse/specification/trust-set.d.ts +4 -0
- package/lib/parse/specification/trust-set.js +74 -0
- package/lib/parse/specification/trustline.js +2 -0
- package/lib/parse/specification/unrecognized.d.ts +2 -1
- package/lib/parse/specification/unrecognized.js +2 -0
- package/lib/parse/specification/uritoken-burn.d.ts +2 -2
- package/lib/parse/specification/uritoken-burn.js +2 -2
- package/lib/parse/specification/uritoken-buy.d.ts +2 -2
- package/lib/parse/specification/uritoken-buy.js +2 -2
- package/lib/parse/specification/uritoken-cancel-sell-offer.d.ts +2 -2
- package/lib/parse/specification/uritoken-cancel-sell-offer.js +2 -2
- package/lib/parse/specification/uritoken-create-sell-offer.d.ts +2 -2
- package/lib/parse/specification/uritoken-create-sell-offer.js +2 -2
- package/lib/parse/specification/uritoken-mint.d.ts +2 -2
- package/lib/parse/specification/uritoken-mint.js +2 -2
- package/lib/parse/transaction.d.ts +3 -1
- package/lib/parse/transaction.js +8 -2
- package/lib/types/checks.d.ts +4 -4
- package/lib/types/delegate.d.ts +5 -0
- package/lib/types/delegate.js +2 -0
- package/lib/types/deposits.d.ts +2 -2
- package/lib/types/did.d.ts +3 -3
- package/lib/types/escrows.d.ts +3 -3
- package/lib/types/index.d.ts +2 -1
- package/lib/types/index.js +2 -1
- package/lib/types/mptokens.d.ts +1 -1
- package/lib/types/nftokens.d.ts +3 -3
- package/lib/types/oracle.d.ts +4 -12
- package/lib/types/payment_channels.d.ts +2 -4
- package/lib/types/remarks.d.ts +24 -0
- package/lib/types/remarks.js +6 -0
- package/lib/types/specification.d.ts +1 -0
- package/package.json +12 -12
package/lib/parse/transaction.js
CHANGED
|
@@ -25,7 +25,7 @@ const payment_channel_claim_1 = __importDefault(require("./specification/payment
|
|
|
25
25
|
const payment_channel_create_1 = __importDefault(require("./specification/payment-channel-create"));
|
|
26
26
|
const payment_channel_fund_1 = __importDefault(require("./specification/payment-channel-fund"));
|
|
27
27
|
const ticket_create_1 = __importDefault(require("./specification/ticket-create"));
|
|
28
|
-
const
|
|
28
|
+
const trust_set_1 = __importDefault(require("./specification/trust-set"));
|
|
29
29
|
const nftoken_burn_1 = __importDefault(require("./specification/nftoken-burn"));
|
|
30
30
|
const nftoken_mint_1 = __importDefault(require("./specification/nftoken-mint"));
|
|
31
31
|
const nftoken_modify_1 = __importDefault(require("./specification/nftoken-modify"));
|
|
@@ -57,6 +57,8 @@ const mptoken_issuance_create_1 = __importDefault(require("./specification/mptok
|
|
|
57
57
|
const mptoken_authorize_1 = __importDefault(require("./specification/mptoken-authorize"));
|
|
58
58
|
const mptoken_issuance_set_1 = __importDefault(require("./specification/mptoken-issuance-set"));
|
|
59
59
|
const mptoken_issuance_destroy_1 = __importDefault(require("./specification/mptoken-issuance-destroy"));
|
|
60
|
+
const delegate_set_1 = __importDefault(require("./specification/delegate-set"));
|
|
61
|
+
const set_remarks_1 = __importDefault(require("./specification/set-remarks"));
|
|
60
62
|
const genesis_mint_1 = __importDefault(require("./specification/genesis-mint"));
|
|
61
63
|
const amendment_1 = __importDefault(require("./specification/amendment"));
|
|
62
64
|
const fee_update_1 = __importDefault(require("./specification/fee-update"));
|
|
@@ -111,6 +113,8 @@ const transactionTypeToType = {
|
|
|
111
113
|
MPTokenAuthorize: "MPTokenAuthorize",
|
|
112
114
|
MPTokenIssuanceSet: "MPTokenIssuanceSet",
|
|
113
115
|
MPTokenIssuanceDestroy: "MPTokenIssuanceDestroy",
|
|
116
|
+
DelegateSet: "DelegateSet",
|
|
117
|
+
SetRemarks: "SetRemarks",
|
|
114
118
|
GenesisMint: "genesisMint",
|
|
115
119
|
EnableAmendment: "amendment",
|
|
116
120
|
SetFee: "feeUpdate",
|
|
@@ -135,7 +139,7 @@ const parserTypeFunc = {
|
|
|
135
139
|
paymentChannelCreate: payment_channel_create_1.default,
|
|
136
140
|
paymentChannelFund: payment_channel_fund_1.default,
|
|
137
141
|
ticketCreate: ticket_create_1.default,
|
|
138
|
-
trustline:
|
|
142
|
+
trustline: trust_set_1.default,
|
|
139
143
|
nftokenBurn: nftoken_burn_1.default,
|
|
140
144
|
nftokenMint: nftoken_mint_1.default,
|
|
141
145
|
NFTokenModify: nftoken_modify_1.default,
|
|
@@ -167,6 +171,8 @@ const parserTypeFunc = {
|
|
|
167
171
|
MPTokenAuthorize: mptoken_authorize_1.default,
|
|
168
172
|
MPTokenIssuanceSet: mptoken_issuance_set_1.default,
|
|
169
173
|
MPTokenIssuanceDestroy: mptoken_issuance_destroy_1.default,
|
|
174
|
+
DelegateSet: delegate_set_1.default,
|
|
175
|
+
SetRemarks: set_remarks_1.default,
|
|
170
176
|
genesisMint: genesis_mint_1.default,
|
|
171
177
|
amendment: amendment_1.default,
|
|
172
178
|
feeUpdate: fee_update_1.default,
|
package/lib/types/checks.d.ts
CHANGED
|
@@ -6,12 +6,12 @@ export type FormattedCheckCancelSpecification = {
|
|
|
6
6
|
} & FormattedBaseSpecification;
|
|
7
7
|
export type FormattedCheckCashSpecification = {
|
|
8
8
|
checkID: string;
|
|
9
|
-
amount
|
|
10
|
-
deliverMin
|
|
9
|
+
amount?: IssuedCurrencyAmount | FormattedIssuedCurrencyAmount | FormattedIssuedMPTAmount | string;
|
|
10
|
+
deliverMin?: IssuedCurrencyAmount | FormattedIssuedCurrencyAmount | FormattedIssuedMPTAmount | string;
|
|
11
11
|
} & FormattedBaseSpecification;
|
|
12
12
|
export type FormattedCheckCreateSpecification = {
|
|
13
13
|
source?: FormattedSourceAddress;
|
|
14
14
|
destination?: FormattedDestinationAddress;
|
|
15
|
-
sendMax
|
|
16
|
-
expiration?: string;
|
|
15
|
+
sendMax?: IssuedCurrencyAmount | FormattedIssuedCurrencyAmount | FormattedIssuedMPTAmount | string;
|
|
16
|
+
expiration?: string | number;
|
|
17
17
|
} & FormattedBaseSpecification;
|
package/lib/types/deposits.d.ts
CHANGED
package/lib/types/did.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormattedBaseSpecification } from "./specification";
|
|
2
2
|
export type FormattedDIDSetSpecification = {
|
|
3
|
-
uri
|
|
4
|
-
data
|
|
5
|
-
didDocument
|
|
3
|
+
uri?: string;
|
|
4
|
+
data?: string;
|
|
5
|
+
didDocument?: string;
|
|
6
6
|
} & FormattedBaseSpecification;
|
|
7
7
|
export type FormattedDIDDeleteSpecification = {} & FormattedBaseSpecification;
|
package/lib/types/escrows.d.ts
CHANGED
|
@@ -2,17 +2,17 @@ import { FormattedBaseSpecification } from "./specification";
|
|
|
2
2
|
import { Amount } from "./amounts";
|
|
3
3
|
export type FormattedEscrowCancelSpecification = {
|
|
4
4
|
owner: string;
|
|
5
|
-
escrowSequence: number;
|
|
5
|
+
escrowSequence: string | number;
|
|
6
6
|
} & FormattedBaseSpecification;
|
|
7
7
|
export type FormattedEscrowCreateSpecification = {
|
|
8
8
|
amount?: Amount;
|
|
9
|
-
condition
|
|
9
|
+
condition?: string;
|
|
10
10
|
allowCancelAfter?: string;
|
|
11
11
|
allowExecuteAfter?: string;
|
|
12
12
|
} & FormattedBaseSpecification;
|
|
13
13
|
export type FormattedEscrowFinishSpecification = {
|
|
14
14
|
owner: string;
|
|
15
|
-
escrowSequence: number;
|
|
15
|
+
escrowSequence: string | number;
|
|
16
16
|
condition?: string;
|
|
17
17
|
fulfillment?: string;
|
|
18
18
|
} & FormattedBaseSpecification;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ export * from "./oracle";
|
|
|
18
18
|
export * from "./queue_data";
|
|
19
19
|
export * from "./settings";
|
|
20
20
|
export * from "./signers";
|
|
21
|
-
export * from "./transactions";
|
|
22
21
|
export * from "./trustlines";
|
|
23
22
|
export * from "./nftokens";
|
|
24
23
|
export * from "./uritokens";
|
|
@@ -27,3 +26,5 @@ export * from "./invoke";
|
|
|
27
26
|
export * from "./unl_reports";
|
|
28
27
|
export * from "./remits";
|
|
29
28
|
export * from "./hooks";
|
|
29
|
+
export * from "./delegate";
|
|
30
|
+
export * from "./remarks";
|
package/lib/types/index.js
CHANGED
|
@@ -34,7 +34,6 @@ __exportStar(require("./oracle"), exports);
|
|
|
34
34
|
__exportStar(require("./queue_data"), exports);
|
|
35
35
|
__exportStar(require("./settings"), exports);
|
|
36
36
|
__exportStar(require("./signers"), exports);
|
|
37
|
-
__exportStar(require("./transactions"), exports);
|
|
38
37
|
__exportStar(require("./trustlines"), exports);
|
|
39
38
|
__exportStar(require("./nftokens"), exports);
|
|
40
39
|
__exportStar(require("./uritokens"), exports);
|
|
@@ -43,3 +42,5 @@ __exportStar(require("./invoke"), exports);
|
|
|
43
42
|
__exportStar(require("./unl_reports"), exports);
|
|
44
43
|
__exportStar(require("./remits"), exports);
|
|
45
44
|
__exportStar(require("./hooks"), exports);
|
|
45
|
+
__exportStar(require("./delegate"), exports);
|
|
46
|
+
__exportStar(require("./remarks"), exports);
|
package/lib/types/mptokens.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export type FormattedMPTokenIssuanceCreateSpecification = {
|
|
|
40
40
|
sequence?: number;
|
|
41
41
|
scale?: number;
|
|
42
42
|
flags?: MPTokenIssuanceCreateFlagsKeysInterface;
|
|
43
|
-
metadata?: string;
|
|
43
|
+
metadata?: string | null;
|
|
44
44
|
maximumAmount?: string;
|
|
45
45
|
transferFee?: number;
|
|
46
46
|
} & FormattedBaseSpecification;
|
package/lib/types/nftokens.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export type FormattedNFTokenMintSpecification = {
|
|
|
30
30
|
nftokenTaxon: number;
|
|
31
31
|
issuer?: string;
|
|
32
32
|
transferFee?: number;
|
|
33
|
-
uri?: string;
|
|
33
|
+
uri?: string | null;
|
|
34
34
|
flags?: NFTokenFlagsKeysInterface;
|
|
35
35
|
amount?: Amount;
|
|
36
36
|
destination?: FormattedDestinationAddress;
|
|
@@ -39,7 +39,7 @@ export type FormattedNFTokenMintSpecification = {
|
|
|
39
39
|
export type FormattedNFTokenModifySpecification = {
|
|
40
40
|
nftokenID: string;
|
|
41
41
|
owner?: string;
|
|
42
|
-
uri?: string;
|
|
42
|
+
uri?: string | null;
|
|
43
43
|
} & FormattedBaseSpecification;
|
|
44
44
|
export type FormattedNFTokenCancelOfferSpecification = {
|
|
45
45
|
nftokenOffers: string[];
|
|
@@ -56,5 +56,5 @@ export type FormattedNFTokenCreateOfferSpecification = {
|
|
|
56
56
|
export type FormattedNFTokenAcceptOfferSpecification = {
|
|
57
57
|
nftokenSellOffer?: string;
|
|
58
58
|
nftokenBuyOffer?: string;
|
|
59
|
-
nftokenBrokerFee?:
|
|
59
|
+
nftokenBrokerFee?: Amount;
|
|
60
60
|
} & FormattedBaseSpecification;
|
package/lib/types/oracle.d.ts
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import { FormattedBaseSpecification } from "./specification";
|
|
2
|
-
export interface OraclePriceDataSeriesInterface {
|
|
3
|
-
PriceData: {
|
|
4
|
-
BaseAsset: string;
|
|
5
|
-
QuoteAsset: string;
|
|
6
|
-
AssetPrice?: string;
|
|
7
|
-
Scale?: number;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
2
|
export interface FormattedOraclePriceDataSeriesInterface {
|
|
11
3
|
baseAsset: string;
|
|
12
4
|
quoteAsset: string;
|
|
@@ -16,11 +8,11 @@ export interface FormattedOraclePriceDataSeriesInterface {
|
|
|
16
8
|
}
|
|
17
9
|
export type FormattedOracleSetSpecification = {
|
|
18
10
|
oracleDocumentID: number;
|
|
19
|
-
provider
|
|
20
|
-
uri?: string;
|
|
21
|
-
assetClass
|
|
11
|
+
provider?: string;
|
|
12
|
+
uri?: string | null;
|
|
13
|
+
assetClass?: string;
|
|
22
14
|
lastUpdateTime: number;
|
|
23
|
-
priceDataSeries
|
|
15
|
+
priceDataSeries?: FormattedOraclePriceDataSeriesInterface[];
|
|
24
16
|
} & FormattedBaseSpecification;
|
|
25
17
|
export type FormattedOracleDeleteSpecification = {
|
|
26
18
|
oracleDocumentID: number;
|
|
@@ -5,8 +5,6 @@ export type FormattedPaymentChannelClaimSpecification = {
|
|
|
5
5
|
channel: string;
|
|
6
6
|
balance?: FormattedAmount;
|
|
7
7
|
amount?: FormattedAmount;
|
|
8
|
-
signature: string;
|
|
9
|
-
publicKey: string;
|
|
10
8
|
renew?: boolean;
|
|
11
9
|
close?: boolean;
|
|
12
10
|
} & FormattedBaseSpecification;
|
|
@@ -16,10 +14,10 @@ export type FormattedPaymentChannelCreateSpecification = {
|
|
|
16
14
|
amount?: FormattedAmount;
|
|
17
15
|
settleDelay: number;
|
|
18
16
|
publicKey?: string;
|
|
19
|
-
cancelAfter?: string;
|
|
17
|
+
cancelAfter?: string | number;
|
|
20
18
|
} & FormattedBaseSpecification;
|
|
21
19
|
export type FormattedPaymentChannelFundSpecification = {
|
|
22
20
|
channel: string;
|
|
23
21
|
amount?: FormattedAmount;
|
|
24
|
-
expiration?: string;
|
|
22
|
+
expiration?: string | number;
|
|
25
23
|
} & FormattedBaseSpecification;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SetRemarksFlags } from "../models/transactions/SetRemarks";
|
|
2
|
+
import { FormattedBaseSpecification } from "./specification";
|
|
3
|
+
export declare const RemarksFlagsKeys: {
|
|
4
|
+
immutable: SetRemarksFlags;
|
|
5
|
+
};
|
|
6
|
+
export interface RemarksFlagsKeysInterface {
|
|
7
|
+
immutable?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export type Remark = {
|
|
10
|
+
Remark: {
|
|
11
|
+
RemarkName?: string;
|
|
12
|
+
RemarkValue?: string;
|
|
13
|
+
Flags?: number;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export type FormattedRemark = {
|
|
17
|
+
name?: string;
|
|
18
|
+
value?: string;
|
|
19
|
+
flags?: RemarksFlagsKeysInterface;
|
|
20
|
+
};
|
|
21
|
+
export type FormattedSetRemarksSpecification = {
|
|
22
|
+
ObjectID?: string;
|
|
23
|
+
Remarks?: FormattedRemark[];
|
|
24
|
+
} & FormattedBaseSpecification;
|
|
@@ -6,6 +6,7 @@ export type FormattedBaseSpecification = {
|
|
|
6
6
|
source?: FormattedSourceAddress;
|
|
7
7
|
signers?: FormattedTransactionSigner[];
|
|
8
8
|
signer?: FormattedSignerRegularKey;
|
|
9
|
+
delegate?: FormattedSignerRegularKey;
|
|
9
10
|
emittedDetails?: FormattedEmitDetails;
|
|
10
11
|
memos?: FormattedMemo[];
|
|
11
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bithomp/xrpl-api",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.1",
|
|
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",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
|
|
44
44
|
"lint": "eslint",
|
|
45
45
|
"prepare": "npm run build",
|
|
46
|
-
"
|
|
46
|
+
"prepublishOnly": "npm test && npm run lint",
|
|
47
47
|
"preversion": "npm run lint",
|
|
48
48
|
"version": "npm run format && git add -A src",
|
|
49
49
|
"postversion": "git push && git push --tags"
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"lib/**/*"
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"axios": "^1.
|
|
55
|
+
"axios": "^1.11.0",
|
|
56
56
|
"base-x": "^5.0.1",
|
|
57
|
-
"bignumber.js": "^9.3.
|
|
57
|
+
"bignumber.js": "^9.3.1",
|
|
58
58
|
"elliptic": "^6.6.1",
|
|
59
59
|
"lodash": "^4.17.21",
|
|
60
60
|
"ripple-address-codec": "5.0.0",
|
|
@@ -66,21 +66,21 @@
|
|
|
66
66
|
"@eslint/eslintrc": "^3.3.1",
|
|
67
67
|
"@types/chai": "^5.2.2",
|
|
68
68
|
"@types/chai-as-promised": "^8.0.2",
|
|
69
|
-
"@types/lodash": "^4.17.
|
|
69
|
+
"@types/lodash": "^4.17.20",
|
|
70
70
|
"@types/mocha": "^10.0.10",
|
|
71
71
|
"@types/nconf": "^0.10.7",
|
|
72
72
|
"@types/node": "^22.15.21",
|
|
73
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
74
|
-
"@typescript-eslint/parser": "^8.
|
|
73
|
+
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
|
74
|
+
"@typescript-eslint/parser": "^8.38.0",
|
|
75
75
|
"chai": "^4.5.0",
|
|
76
76
|
"chai-as-promised": "^7.1.2",
|
|
77
|
-
"eslint": "^9.
|
|
78
|
-
"eslint-config-prettier": "^10.1.
|
|
77
|
+
"eslint": "^9.31.0",
|
|
78
|
+
"eslint-config-prettier": "^10.1.8",
|
|
79
79
|
"eslint-plugin-chai-friendly": "^1.1.0",
|
|
80
|
-
"eslint-plugin-import": "^2.
|
|
81
|
-
"eslint-plugin-n": "^17.
|
|
80
|
+
"eslint-plugin-import": "^2.32.0",
|
|
81
|
+
"eslint-plugin-n": "^17.21.0",
|
|
82
82
|
"eslint-plugin-promise": "^7.2.1",
|
|
83
|
-
"mocha": "^11.
|
|
83
|
+
"mocha": "^11.7.1",
|
|
84
84
|
"nconf": "^0.13.0",
|
|
85
85
|
"ts-jest": "^29.4.0",
|
|
86
86
|
"ts-node": "^10.9.2",
|