Releases: polkadot-js/api
Releases · polkadot-js/api
v9.13.6
Contributed:
- Align
eth_getTransactionCount
with frontier (Thanks to https://github.com/alko89)
Changes:
- Additional override for
Compact<{ refTime: u64 }>
chains - Add script to retrieve local rpc, version & metadata for typegen
v9.13.5
Changes:
- Adjust
Weight
alias for 1.5 chains - Ensure correct registry is pass through for runtime TS generation
v9.13.4
Changes:
- None from 9.13.3 (The previous version had npm registry publishing issues)
v9.13.3
Changes:
- Adjust
Weight
alias detection to cater forWeightV0/u32
overrides (e.g. early Kusama blocks)
v9.13.2
Changes:
- Allow null as valid param to Int/UInt
v9.13.1
Contributed:
- Add support for V3 of
TransactionPaymentApi
(Thanks to https://github.com/notlesh)
Changes:
- Adjust
Weight
alias detection (moved fromPortableRegistry
->Registry
) - Move default (typegen) weight alias to
WeightV2
(does not affect runtime detection) - Prepare metadata docs from chain generation for future cli arguments
- Add base type object for (future) composite types
- Apply additional JSDoc comments into
PortableRegistry
- Update to latest Polkadot, Kusama & Substrate metadata
v9.12.1
Changes:
- Add
isStorageFallback
on theCodec
interface. (true
if entry was created from a metadata fallback value from an empty storage item) - Ensure
api.queryMulti
returns empty result when no keys are provided - Add explicit Array checks on
Vec/Tuple
inputs - Align
Struct.{toU8a/toPrimitive/toHuman/toJSON}
population of results - Apply memoization to batched API queries
- Update to latest Polkadot, Kusama & Substrate metadata
v9.11.3
Changes:
- Update to latest Polkadot, Kusama & Substrate metadata
v9.11.2
Changes:
- Ensure
derive.democracy.preimages
retrieves correctly from (current-gen)preimage
v9.11.1
- Breaking change For users of
ScProvider
you now need to explicitly pass@substrate/connect
as a parameter. This means the code needs to be adjusted as follows -
import { ScProvider } from '@polkadot/api';
import * as Sc from '@substrate/connect';
const provider = new ScProvider(Sc, Sc.WellKnownChain.polkadot);
Contributed:
- Fix for typegen with nested tuples (Thanks to https://github.com/sander2)
- Expose blockNumber on submittable results (Thanks to https://github.com/ken-centrality)
Changes:
- The
ScProvider
interface now needs receive an@substrate/connect
instance - Along with the above
ScProvider.WellKnownChains
has been removed - Update to latest Polkadot, Kusama & Substrate metadata