You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add types & metadata for the latest Polkadot/Substrate runtime versions (master branches)
Type extraction will now allow the same sub-module name across packages, i.e. @polkadot/types/interfaces/runtime & @mine/interfaces/runtime will be valid
Add .range([from, to]: [Hash, Hash?], ...args: any[]): [Hash, Codec][] on all storage entries
Add .raw(...args: any[]): Promise<Uint8Array & Codec> to all RPC calls, returning the un-encoded result
Allow pre-module type aliasing with typesAlias: { <moduleName>: { <meta-type>: <alias-type> } } in API construction options
Allow BTreeMap to be initialized with a Record<string, any> object (in addition to Map)
Allow for HashMap<KeyType, ValueType> definitions
Bool will now correctly return isEmpty on false/default values
Refresh the NetworkState types as returned by the rpc.system.networkState() call to current
Expose registry.createClass(<typeName>) to allow for creating type classes. If you are using createClass or ClassOf in your code, it is recommended to swap to this instance.
Add additional derives to api.derive.staking to handle lazy-payout retrievals
Update @polkadot/{util, util-crypto, keyring} to 1.6.1 & @polkadot/wasm to 1.2.1