Important Update RPC status codes (latest Substrate 2), with the isInBlock (isFinalized now indicates finality)
Storage .entries(arg?: any) now has the correct argument type for DoubleMap (Thanks to https://github.com/monitz87)
Swap Kusama and Polkadot aliasses for Address to AccountId (future update)
Add LookupSource and LookupTarget types instead of mapping these directly for aliassing
Add BitVec type primitive
Add support for system.account for balance & nonce queries in derives as well as Submittables (Substrate composites)
Add rpc.author.hasKey and rpc.author.hasSessinKeys RPCs
Add derives for the parachains interfaces
Applied the latest types for Polkadot parachains
registry.findMetaError now can take in a DispatchErrorModule object for error lookups (from asModule in DispatchError)
Metadata now correctly serializes to the original input data via toHex() & toU8a()
Metadata documentation generation rework, including the output of errors from metadata
Update all examples and comments to use latest system.account queries (instead of system.accountNonce and balances.freeBalance/balances.reservedBalance)
Cleanup codec/Date tests to make it run properly on all timezones
Add explicit dependencies to all packages and move TypeScript @types/* to dev deps
1.1.1
Add support for balances.account in all applicable derives (incl. vesting module)
Inject and use SignedExtensions by name from V11 metadata (V4 extrinsics only)
Add typings for api.tx.*.* - the polkadot-types-from-chain now also generates these
Important Update RPC status codes (latest Substrate 2), with the isInBlock (isFinalized now indicates finality)
Storage .entries(arg?: any) now has the correct argument type for DoubleMap (Thanks to https://github.com/monitz87)
Swap Kusama and Polkadot aliasses for Address to AccountId (future update)
Add LookupSource and LookupTarget types instead of mapping these directly for aliassing
Add BitVec type primitive
Add support for system.account for balance & nonce queries in derives as well as Submittables (Substrate composites)
Add rpc.author.hasKey and rpc.author.hasSessinKeys RPCs
Add derives for the parachains interfaces
Applied the latest types for Polkadot parachains
registry.findMetaError now can take in a DispatchErrorModule object for error lookups (from asModule in DispatchError)
Metadata now correctly serializes to the original input data via toHex() & toU8a()
Metadata documentation generation rework, including the output of errors from metadata
Update all examples and comments to use latest system.account queries (instead of system.accountNonce and balances.freeBalance/balances.reservedBalance)
Cleanup codec/Date tests to make it run properly on all timezones
Add explicit dependencies to all packages and move TypeScript @types/* to dev deps
1.1.1 Feb 06, 2020
Important Chains without balances.account or system.account should supply "BalanceLock": "BalanceLockTo212" to their types to use the previous-generation BalanceLock (when querying locks)
Add support for balances.account in all applicable derives (incl. vesting module)
Inject and use SignedExtensions by name from V11 metadata (V4 extrinsics only)
Add typings for api.tx.*.* - the polkadot-types-from-chain now also generates these
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps @polkadot/api from 1.0.1 to 1.2.1.
Release notes
Sourced from @polkadot/api's releases.
Changelog
Sourced from @polkadot/api's changelog.
Commits
6c8dd4b
[CI Skip] 1.2.1a339491
1.2 (#1867)ea87472
[CI Skip] 1.2.0-beta.300ed156e
FAQ entry for system.account (#1866)5959054
[CI Skip] 1.2.0-beta.29c465252
Make Metadata <-> hex encoding work (#1862)0822d4d
[CI Skip] 1.2.0-beta.282c3eee4
fix: makeentries
accept args for double maps (#1864)b069710
[CI Skip] 1.2.0-beta.279a7e0bf
Bump deps (#1861)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)