feat: Export verify (#2073)

* Export verify as verifyKeypairSignature
This commit is contained in:
Jackson Mills
2022-09-01 13:57:54 -07:00
committed by GitHub
parent 02ed92807e
commit 5fc1c795bc
2 changed files with 6 additions and 0 deletions

View File

@@ -3,6 +3,10 @@
Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xrpl-announce) for release announcements. We recommend that xrpl.js (ripple-lib) users stay up-to-date with the latest stable release.
## Unreleased
### Added
- Export `verify` from ripple-keypairs as `verifyKeypairSignature` for use in web-apps.
### Fixed
* `Wallet.fromMnemonic` now allows lowercase for RFC1751 mnemonics (#2046)
* `Wallet.fromMnemonic` detects when an invalid encoding is provided, and throws an error

View File

@@ -15,6 +15,7 @@ import {
xAddressToClassicAddress,
} from 'ripple-address-codec'
import * as rbc from 'ripple-binary-codec'
import { verify as verifyKeypairSignature } from 'ripple-keypairs'
import { LedgerEntry } from '../models/ledger'
import { Response } from '../models/methods'
@@ -194,6 +195,7 @@ export {
deriveAddress,
deriveXAddress,
signPaymentChannelClaim,
verifyKeypairSignature,
verifyPaymentChannelClaim,
convertStringToHex,
convertHexToString,