@polkadot/rpc-core
Advanced tools
Changelog
9.1.1 Aug 6, 2022
Contributed:
@substrate/connect
to latest (Thanks to https://github.com/wirednkod)CodecMap
(Thanks to https://github.com/CertainLach)Changes:
noInitWarn: boolean
flag to API options, disabling runtime & RPC warningsapi.at(...)
instancesChangelog
9.0.1 Jul 30, 2022
Struct
were moved to the prototype class for performance reasons. While struct.<field>
access still behaves in the same way, with the same results, this does mean that the prototype getters are not visible when doing an Object.keys(struct)
or when doing an object spread.tx.sign(...)
(use signAsync
), Result.{is, as}Error
(use {is, as}Err
) as well as storage .range(...)
operations.api-contract
have been removed. Always ensure you pass an options object to construction and query methods.api-contract
will now detect the usage of storageDepositLimit
in params, if not available the contract interfaces will not be decorated.Changes:
Struct/Enum/Set
field getters on class prototypesapi-contract
usage of api.rpc.*
to api.call.*
storageDepositLimit
(runtime contractsApi
only has support for latest)api.rx.call.*
for internal usage (derive, contracts)api-contract
Changelog
8.14.1 Jul 23, 2022
Contributed:
@substrate/connect
with dual ESM/CJS support (Thanks to https://github.com/wirednkod)Changes:
{BTree|Hash}Map.toHuman()
now display Raw
keys as ascii (if detected)toPrimitive()
to all base Codec
interfaces (string/boolean/number)objectSpread
(where missing)TransactionPaymentCallApi
runtime interfaceregistry.getModuleInstances
against metadata paths (fallback)@polkadot/util
10.1.1Changelog
8.13.1 Jul 16, 2022
Changes:
derive.chain.subscribeFinalized{Heads, Blocks}
which returns all finalized, no skipsderive.chain.*
(w/ shared logic dedupe)BlockBuilder 2/3/4
& GrandpaApi 2
runtime interface definitionsNominationPoolsApi
runtime interfaceDebugRuntimeApi
runtime interface, Frontier-specificNimbusApi
runtime interface (& older AuthorFilterAPI
)DispatchError
enum variant for asset chainsChangelog
8.12.2 Jul 10, 2022
Changes:
@polkadot/util
10.0.2Changelog
8.12.1 Jul 9, 2022
Changes:
Opaque{Metadata, Multiaddr, PeerId}
decoding to Opaque<Bytes>
XcmV0
definitions for BuyExecution
Option<...>
types@polkadot/util
methodssystem.version
constant valuederive.staking.account
@polkadot/util
10.0.1Changelog
8.11.3 Jul 5, 2022
Changes:
DispatchError
is always the non-current variant@types/node
Changelog
8.11.2 Jul 4, 2022
Changes:
@polkadot/util-crypto
9.7.2 (w/ @polkadot/wasm-crypto
6.2.2)