Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers.
Changes:
@polkadot/wasm-crypto
Contributed:
Changes:
process.env
isRiscV
helper to check for PVM\0
bytesContributed:
isRiskV
helper (Thanks to https://github.com/peetzweg)Changes:
Changes:
u8aTo{BigInt, Bn, Number}
for non-negative i{8, 16, 32...}
inputsu8aToBuffer
with hasBuffer
checkChanges:
signRaw
, as exposed by lower-level?.
shortcuts where appropriateu8aToBuffer
& isBuffer
typings to not require Buffer
stringify/import.meta.url
helpers in specsChanges:
SubstrateNetwork
typing with HexString
genesisHashConstructor<T>
type (deprecated, replaced with Class<T>
)Changes:
Changes:
for (...)
loops@types/*
dev dependenciesChanges:
u8aToBigInt
tests with u8aToBn
u8aToBigInt
module
to package.json
export map (ESM-only)Changes:
isChildClass
& Constructor
usage