@polkadot/types-codec
Advanced tools
Changelog
9.3.3 Sep 6, 2022
Contributed:
Changes:
AccountId{32, 33}
Changelog
9.3.2 Sep 4, 2022
Changes:
Changelog
9.3.1 Sep 3, 2022
Changes:
pendingRewards
return typeAccountId33
(raw/compressed 33-byte ecdsa)Changelog
9.2.4 Aug 27, 2022
Changes:
Enum
in Struct
typegen (no lookupName
)Changelog
9.2.3 Aug 21, 2022
Contributed:
@substrate/connect
to latest (Thanks to https://github.com/wirednkod)Changes:
StakingLedger
with fallback for Kusama 1050 (2 different structures on-chain)TryRuntime
state call definitions (only off-chain usage)Changelog
9.2.2 Aug 16, 2022
Changes:
rpc.payment.queryInfo
usage with call.transactionPaymentApi.queryInfo
api.call.*
is decorated on historic blocksChangelog
9.2.1 Aug 13, 2022
import { WellKnownChain } from '@polkadot/rpc-provider'
it is recommended that you rather use ScProvider.WellKnownChain
(the import may be dropped in a future major version)Changes:
ScProvider
in @polkadot/api
, aligning with {Http, Ws}Provider
WellKnownChain
as static on ScProvider.WellKnownChain
.entries/.keys
arguments is less than map-entry queryChangelog
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