Skip to content

Commit 30a48e3

Browse files
authored
feat: add batch transaction exports to public API (#3064)
* feat: add batch transaction exports to public API * docs: add Batch transaction exports to HISTORY.md * refactor: remove unnecessary BatchInnerTransaction export * fix: lint error
1 parent 3e867b0 commit 30a48e3

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

packages/xrpl/HISTORY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr
44

55
## Unreleased
66

7+
### Added
8+
* Export `Batch` (XLS-56) transaction types and utilities
9+
710
### Fixed
811
* Fix incorrect type checking in `validateVaultCreate` that prevented vault creation with MPT as an asset.
912

packages/xrpl/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ export { walletFromSecretNumbers } from './Wallet/walletFromSecretNumbers'
1616
export { keyToRFC1751Mnemonic, rfc1751MnemonicToKey } from './Wallet/rfc1751'
1717

1818
export * from './Wallet/signer'
19+
20+
export * from './Wallet/batchSigner'

packages/xrpl/src/models/transactions/index.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
export { BaseTransaction, isMPTAmount, validateMPTokenMetadata } from './common'
1+
export {
2+
BaseTransaction,
3+
isMPTAmount,
4+
validateMPTokenMetadata,
5+
GlobalFlags,
6+
GlobalFlagsInterface,
7+
} from './common'
28
export {
39
validate,
410
PseudoTransaction,
@@ -33,7 +39,7 @@ export {
3339
AMMWithdrawFlagsInterface,
3440
AMMWithdraw,
3541
} from './AMMWithdraw'
36-
export { Batch } from './batch'
42+
export { Batch, BatchFlags, BatchFlagsInterface, BatchSigner } from './batch'
3743
export { CheckCancel } from './checkCancel'
3844
export { CheckCash } from './checkCash'
3945
export { CheckCreate } from './checkCreate'

0 commit comments

Comments
 (0)