mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 13:05:49 +00:00
feat: expose LedgerEntry singletons (#2358)
Adds the new fields for `XRPFees` amendment and id for the `FeeSettings` singleton ledger entry. Closes #2219
This commit is contained in:
@@ -14,7 +14,7 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr
|
|||||||
* Add type for `account_info`'s `account_flags` property.
|
* Add type for `account_info`'s `account_flags` property.
|
||||||
* Add types for `EnableAmendment`, `SetFee`, and `UNLModify` transactions.
|
* Add types for `EnableAmendment`, `SetFee`, and `UNLModify` transactions.
|
||||||
* Add the new fields for `XRPFees` amendment and id for the `FeeSettings`
|
* Add the new fields for `XRPFees` amendment and id for the `FeeSettings`
|
||||||
* Add `FeeSettings` singleton ledger entry id.
|
* Add `FeeSettings`, `NegativeUNL`, and `Amendments` singleton ledger entry ids.
|
||||||
* Add `WalletLocator` to `SignerEntry` on `SignerList` (LedgerEntry).
|
* Add `WalletLocator` to `SignerEntry` on `SignerList` (LedgerEntry).
|
||||||
|
|
||||||
## 2.8.0 (2023-06-13)
|
## 2.8.0 (2023-06-13)
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
import BaseLedgerEntry from './BaseLedgerEntry'
|
import BaseLedgerEntry from './BaseLedgerEntry'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The unique id for the Amendments object https://xrpl.org/amendments-object.html#amendments-id-format
|
||||||
|
*/
|
||||||
|
export const AMENDMENTS_ID =
|
||||||
|
'7DB0788C020F02780A673DC74757F23823FA3014C1866E72CC4CD8B226CD6EF4'
|
||||||
|
|
||||||
interface Majority {
|
interface Majority {
|
||||||
Majority: {
|
Majority: {
|
||||||
/** The Amendment ID of the pending amendment. */
|
/** The Amendment ID of the pending amendment. */
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
import BaseLedgerEntry from './BaseLedgerEntry'
|
import BaseLedgerEntry from './BaseLedgerEntry'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The unique id for the FeeSettings object https://xrpl.org/feesettings.html#feesettings-id-format
|
||||||
|
*/
|
||||||
export const FEE_SETTINGS_ID =
|
export const FEE_SETTINGS_ID =
|
||||||
'4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A651'
|
'4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A651'
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
import BaseLedgerEntry from './BaseLedgerEntry'
|
import BaseLedgerEntry from './BaseLedgerEntry'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The unique id for the nUNL object https://xrpl.org/negativeunl.html#negativeunl-id-format
|
||||||
|
*/
|
||||||
|
export const NEGATIVE_UNL_ID =
|
||||||
|
'2E8A59AA9D3B5B186B0B9E0F62E6C02587CA74A4D778938E957B6357D364B244'
|
||||||
|
|
||||||
interface DisabledValidator {
|
interface DisabledValidator {
|
||||||
FirstLedgerSequence: number
|
FirstLedgerSequence: number
|
||||||
PublicKey: string
|
PublicKey: string
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import AccountRoot, {
|
|||||||
AccountRootFlags,
|
AccountRootFlags,
|
||||||
AccountRootFlagsInterface,
|
AccountRootFlagsInterface,
|
||||||
} from './AccountRoot'
|
} from './AccountRoot'
|
||||||
import Amendments from './Amendments'
|
import Amendments, { AMENDMENTS_ID } from './Amendments'
|
||||||
import Check from './Check'
|
import Check from './Check'
|
||||||
import DepositPreauth from './DepositPreauth'
|
import DepositPreauth from './DepositPreauth'
|
||||||
import DirectoryNode from './DirectoryNode'
|
import DirectoryNode from './DirectoryNode'
|
||||||
@@ -15,7 +15,7 @@ import FeeSettings, {
|
|||||||
import Ledger from './Ledger'
|
import Ledger from './Ledger'
|
||||||
import LedgerEntry from './LedgerEntry'
|
import LedgerEntry from './LedgerEntry'
|
||||||
import LedgerHashes from './LedgerHashes'
|
import LedgerHashes from './LedgerHashes'
|
||||||
import NegativeUNL from './NegativeUNL'
|
import NegativeUNL, { NEGATIVE_UNL_ID } from './NegativeUNL'
|
||||||
import { NFTokenOffer } from './NFTokenOffer'
|
import { NFTokenOffer } from './NFTokenOffer'
|
||||||
import { NFToken, NFTokenPage } from './NFTokenPage'
|
import { NFToken, NFTokenPage } from './NFTokenPage'
|
||||||
import Offer, { OfferFlags } from './Offer'
|
import Offer, { OfferFlags } from './Offer'
|
||||||
@@ -28,6 +28,7 @@ export {
|
|||||||
AccountRoot,
|
AccountRoot,
|
||||||
AccountRootFlags,
|
AccountRootFlags,
|
||||||
AccountRootFlagsInterface,
|
AccountRootFlagsInterface,
|
||||||
|
AMENDMENTS_ID,
|
||||||
Amendments,
|
Amendments,
|
||||||
Check,
|
Check,
|
||||||
DepositPreauth,
|
DepositPreauth,
|
||||||
@@ -40,6 +41,7 @@ export {
|
|||||||
Ledger,
|
Ledger,
|
||||||
LedgerEntry,
|
LedgerEntry,
|
||||||
LedgerHashes,
|
LedgerHashes,
|
||||||
|
NEGATIVE_UNL_ID,
|
||||||
NegativeUNL,
|
NegativeUNL,
|
||||||
NFTokenOffer,
|
NFTokenOffer,
|
||||||
NFTokenPage,
|
NFTokenPage,
|
||||||
|
|||||||
Reference in New Issue
Block a user