Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore:(deps): bump @polkadot/api from 3.5.1 to 3.6.4 #404

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 28, 2021

Bumps @polkadot/api from 3.5.1 to 3.6.4.

Release notes

Sourced from @polkadot/api's releases.

v3.6.1

Upgrade priority: Medium if not already on at least 3.3.1. The next upgrade of Kusama/Polkadot requires it.

  • Breaking change To support chains with multiple tokens, such as bridges, the ChainProperties type now returns an array of tokens and decimals (instead of singular values) in the token{Decimals, Symbol} getters. Additionally, this means that the registry interfaces has been changes, to registry.chainDecimals: number[] and registry.chainTokens: string[]. Where used the [0] index will return the first value if only interested in a single, for a straight conversion.

Changes:

  • Allow for the detection of on-chain capabilities as available (e.g. AccountData, ValidatorPrefs)
  • Cater for multiple tokens and decimals in the chain the chain system.properties (as per the chain specification)
  • Add a instances: { [key]: [module1, module2] } definition in teh bundle types, allowing for multiple instances (e.g. Balances)
  • Adjust the api-derive for balances to retrieve values via instances as well as across multiple modules
  • Ensure all types are registered for all metadata typegen steps
  • Add rpc.payment.queryFeeDetails RPC endpoint
  • Update types & metadata to latest Substrate
  • Move the @polkadot/x-rxjs package into the common repo
  • Allow doc generation for errors/events (markdown outputs)
Changelog

Sourced from @polkadot/api's changelog.

CHANGELOG

3.6.1 Jan 24, 2020

Upgrade priority: Medium if not already on at least 3.3.1. The next upgrade of Kusama/Polkadot requires it.

  • Breaking change To support chains with multiple tokens, such as bridges, the ChainProperties type now returns an array of tokens and decimals (instead of singular values) in the token{Decimals, Symbol} getters. Additionally, this means that the registry interfaces has been changes, to registry.chainDecimals: number[] and registry.chainTokens: string[]. Where used the [0] index will return the first value if only interested in a single, for a straight conversion.

Changes:

  • Allow for the detection of on-chain capabilities as available (e.g. AccountData, ValidatorPrefs)
  • Cater for multiple tokens and decimals in the chain the chain system.properties (as per the chain specification)
  • Add a instances: { [key]: [module1, module2] } definition in teh bundle types, allowing for multiple instances (e.g. Balances)
  • Adjust the api-derive for balances to retrieve values via instances as well as across multiple modules
  • Ensure all types are registered for all metadata typegen steps
  • Add rpc.payment.queryFeeDetails RPC endpoint
  • Update types & metadata to latest Substrate
  • Move the @polkadot/x-rxjs package into the common repo
  • Allow doc generation for errors/events (markdown outputs)
Commits

Dependabot compatibility score

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 dependabot bot added the D0 - Dependencies Pull requests that update a dependency file label Jan 28, 2021
@dependabot dependabot bot requested review from emostov and TarikGul January 28, 2021 17:14
@TarikGul
Copy link
Member

TarikGul commented Jan 28, 2021

Looks like the only error in the tests is the update in the Registry from chainToken to chainTokens. #402 Looks like this package is already updated in that PR.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 28, 2021

Looks like @polkadot/api is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jan 28, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/polkadot/api-3.6.4 branch January 28, 2021 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D0 - Dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants