5.5 KiB
5.5 KiB
2.0.1
- Update w3f/schnorrkel to 0.8.5 (Full Substrate 2.x support, no 1.x support)
- Remove Alice session (ed2551) account from testing keyring (not applicable to Substrate 2.x)
- Remove
chainspec,db,trie-codec,trie-dbandtrie-hashpackages (moved to client) - Renamed
assertSingletonPackagetodetectPackagewith inclusion of version listing - Swap to elliptic library for secp2561 recovery (No node bindings)
1.8.1
- Add cross-client encryption/decryption support (Thanks to https://github.com/hskang9)
1.7.1
formatBalancesignature now allows to force unit displays- Keypair now allows for derive on a pair, with
pair.derive(...) assertnow acts like a real asserts, with no return - signature adapted for new TS 3.7
1.6.1
pair.sign(message)now takes an optional secondoptions?: SignOptionsparameter, whereSignOptionsis currently defined as{ withType: boolean }. HerewithTypeinstructs the signing to prepend the type of signature (ed2551, sr25519 or ecdsa). This is used for the new Polkadot/Substrate MultiSignature format.
1.5.1
- Fix typings on the Keyring-exposed encode & decodeAddress
- Allow ss58Format = 0 as a valid value
- Loosen type definitions for allowed ss58format values (still checked against allowed array)
1.4.1
- Breaking change To set the
ss58Format, you should now usesetSS58Formatas opposed to the oldsetAddressPrefix - Renamed
keyring.setAddressPrefixtokeyring.setSS58Format - Deprecated
addressPrefixon the keyring options, added thess58Formatas a replacement (aligning with chain properties - the old version is still accepted) - Added
stringToHexandhexToStringconversion utilities to@polkadot/util - Swap to Babel 7.6.0 for all compilation, for latest improvements in code generation
1.3.1
- Remove the
ExtErrorclass, always prefer the standard JSErrorobject for errors. This would bre a breaking change for any applications usingExtError
1.2.1
- Keyring
addFromAddresscan now be used to store external accounts, for example those provided by external signers - Maintainability updates
1.1.1
assertSingletonPackagenow warns via console.warn, but does not throw. This does allow the info to come accross while still allowing the app developers using multiple libraries time to fix.
1.0.1
formatBalancenow allows forCompactinputsformaBalancenow allows correct formatting of very large decimals
0.94.1
- Add
checkAddress(address, prefix)to@polkadot/util-cryptothat validates an ss-58 address - Add support for the Kusama network (as a valid checked prefix)
- Add an
asm.jsfallback for the React Native environment (via@polkadot/wasm-crypto) - The ed25519 key for Alice (representing the session), now appears in the test keyrings
- Fix missing dependencies for keyring (after address moves in 0.93.1)
0.93.1
- Breaking: External pair interface for keyring has been changed. Instead of
getMetause themetagetter, i.e.console.log(pair.meta.name)addressuse theaddressgetter, i.e.console.log(pair.address)publicKeyuse thepublicKeygetter, i.e.console.log(pair.publicKey)
Move decodeAddress,encodeAddress&setAddressPrefixfunctions into@polkadot/util-cryptofrom@polkadot/keyring. External interfaces should not be affected at this point since it is also (still) exported and exposed on keyring
0.92.1
- Only allow integer input values into
formatBalance - Allow
formatBalance,formatDecimal&formatNumberto cater for negative numbers - Add 'Bob//stash' to testing keyring, joining the existing 'Alice//stash'
0.91.1
- ed25519/sr25519 sign & verify functions can now take the message input as Uint8Array/string/hex and verify allows for the signature/publicKey to be specified as Uint8Array/hex
- Update
@polkadot/wasmto include a maintenance bump for thew3f/schnorrkellibraries
0.90.1
- Moving towards 1.0
- Added bnMin & bnMax functions
0.76.1
- Fix
addFromMnemonicto generate using new-style derivation. - Pull in
formatBalance,formatDecimal,formatElapsed,formatNumber,calcSi,findSi&isTestChainutility functions from the originals in@polkadot/ui-util - Swap out
wasm-schnorrkel&wasm-ed25519for combined version withwasm-crypto - Swap DB interfaces to optional LRU, removing
transactionAsync(client-only changes)
0.75.1
- Start journey to 1.0
0.42.1
- Add
assertSingletonPackageto util - Ensure that only a single keyring instance is loaded (uses above)
0.41.1
- Extensions to the client-specific database interfaces (non-breaking for API and util users)
0.40.1
- Add additional derivation path extraction mechanisms to util-crypto
- Add createFromUri function to keypair (creates keypair, does not add it)
- Allow all crypto hashing & ed25519 to use WASM (as available, JS fallbacks)
0.39.1
- Pull in bip39 generation functions from
@poladkot/wasm-cryptowith a fallback to the pure JS versions
0.38.1
- Align with current substrate master for sr25519 keys and hard/soft derivation
- Swap default dev keys to derived (sr25519)
0.37.1
- Swap to publishing -beta.x on merge (non-breaking testing)
0.36.1
- Add
fromUrito keyring along with hard & soft key derivation.
0.35.1
- Remove NodeJs-only
syncifyfunction, not exported by the package (with binary dependency for Node)
0.34.1
- Keyring now allows for ed25519 and sr25519 instances. Upon creation, you need to pass the
ed25519orsr25519string to denote the type, i.e.new Keyring({ type: 'sr25519' })