Releases: polkadot-js/common
Releases · polkadot-js/common
v12.4.1
Changes:
- Add support for Ledger
signRaw
, as exposed by lower-level - Update code to use
?.
shortcuts where appropriate - Adjust
u8aToBuffer
&isBuffer
typings to not requireBuffer
- Use
stringify/import.meta.url
helpers in specs - Upgrade dependencies to latest stable versions
v12.3.2
Changes:
- Adjust
SubstrateNetwork
typing withHexString
genesisHash - Re-export
Constructor<T>
type (deprecated, replaced withClass<T>
)
v12.3.1
Changes:
- Only allow padding characters in base64 strings
- Expand typings for keyring meta with known keys
- Adjust object index access for stricter tsconfig settings
v12.2.2
Changes:
- Apply missing count assignment for
for (...)
loops - Remove unused
@types/*
dev dependencies - Upgrade dependencies to latest stable versions
v12.2.1
Changes:
- Align
u8aToBigInt
tests withu8aToBn
- Unroll loops on most-frequently used paths for
u8aToBigInt
- Add
module
topackage.json
export map (ESM-only) - Upgrade dependencies to latest stable versions
v12.1.2
Changes:
- Adjust typing for
isChildClass
&Constructor
usage
v12.1.1
Changes:
- Add shareable
identity
&noop
functions - Flatten
Buffer | Uint8Array
types (as used) to base-onlyUint8Array
- Apply
readonly
specifiers to private class fields where applicable - Adjust compilation output for
__internal__
class fields - Remove unused types from
util
- Upgrade dependencies to latest stable versions
v12.0.1
Contributed:
- Add Cere genesisHash (Thanks to https://github.com/shamilkhan)
Changes:
- Swap secp256k1 functionality to
@noble/curves
- Swap ed25519 functionality to
@noble/curves
- Replace
tweetnacl
secretbox usage with slimmer local version - Adjust
isCodec
helper with closer API alignment - Initial steps to multi-language bip39 support
- Use Node webcrypto for Node
getRandomValues
support - Upgrade dependencies to latest stable versions
- Drop support for Node 14 (EOL 30 Apr 2023)
v11.1.3
Contributed:
- Add Bittensor genesisHash (Thanks to https://github.com/camfairchild)
Changes:
- Allow empty string as valid base32/base58/base64 decoder input
- Add additional/missing
/*#__PURE__*/
annotations - Upgrade dependencies to latest stable versions
v11.1.2
Changes:
- Expand error details for invalid publicKeys in secp256k1 compress/expand operations
- Expand
@polkadot/hw-ledger
with specific per-method JSDoc - Upgrade dependencies to latest stable versions