buidl-labs / polkaviz

Visualization efforts on the Polkadot Network!
https://polkavizproject.surge.sh/
2 stars 3 forks source link

Bump @polkadot/api from 1.12.2 to 2.8.1 in /polkaviz-app #174

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps @polkadot/api from 1.12.2 to 2.8.1.

Release notes

Sourced from @polkadot/api's releases.

v2.7.1

Upgrade priority: Medium. Recommended for users of Polkadot/Kusama and api-contract users.

Changes:

  • Allow for ExtrinsicSignature overrides (defaults to MultiSignature)
  • Update api-contract Blueprint to allow for optional salt (auto if not provided)
  • Support for ink! .contract files (in addition to ABI .json)
  • Fix contract event decoding with pass-through of raw Bytes
  • Fix support for enum encoding in api-contract
  • Support new contract Schedule type as per Substrate
  • Update Kusama/Polkadot known upgrade blocks
  • Adjust typegen generated @polkadot/types imports
  • Adjust internal @polkadot/types imports/exports (overall bundle sizes)

v2.6.1

Upgrade priority: Low. Should be done alongside an update to @polkadot/util to 4.0

Changes:

  • Adjust auto-gas to contract RPC call to 5 * 10 ^ 12 (align with Rust)
  • Adjust derive AccountId check to take Ethereum-compatible chains into account
  • Fallback for chains with invalid council proposal data in derives
  • Bump static v12 Metadata (tests) to latest Substrate version
  • Bump @polkadot/{util,util-crypto} to 4.0 (optimized WASM layers)

v2.5.1

Upgrade priority: Low. Recommended for api-contract developers.

  • Breaking change Substrate changed the ContractExecResult from api.rpc.contracts.call. The API does have pass-through support for both old and new variants via the Contract interface, however it means the structure has changed to accommodate the new Substrate structure. Refer to the docs for the latest interface (including isSuccess/isError -> isOk/isErr, and the availability of the gasConsumed)

Contributed:

Changes:

  • Contract execution will now return contract events decoded in the result
  • Add .dryRun on extrinsics (alongside .paymentInfo usage)
  • Add system_syncState and syncstate_genSyncSpec RPCs
  • Enhance error reporting, Call indicates explicit call as found
  • Adjust internal metadata decoration and use as exposed from @types/metadata
  • Expand Rococo known types to cater for v1 (specVersion 10)
  • registry.hash now returns an H256 object (as opposed to raw Uint8Array)
  • Use utility logger in all relevant error messages (consistency in logging)
  • Add derive.council.proposal(<hash>) for retrieval of a single (expanded) proposal
  • Correctly and transparently format type generation types (allowing for nested variants)

v2.4.1

Upgrade priority: Low. No breaking changes, however it does move api-contract forward with additional features.

Changelog

Sourced from @polkadot/api's changelog.

2.8.1 Nov 23, 2020

Upgrade priority: Low. Recommended if using Substrate master with new MultiAddress.

Contributed:

Changes:

  • Expand MultiAddress construction with multi type detection
  • Rename GenericLookupSource to IndicesLookupSource (internal use)
  • Cleanup list retrievals with Raw data results for undecodable entries
  • Export actual version via RegistryMetadata
  • Dedupe bn.js (one version shared between dependencies)

2.7.1 Nov 16, 2020

Upgrade priority: Medium. Recommended for users of Polkadot/Kusama and api-contract users.

Changes:

  • Allow for ExtrinsicSignature overrides (defaults to MultiSignature)
  • Update api-contract Blueprint to allow for optional salt (auto if not provided)
  • Support for ink! .contract files (in addition to ABI .json)
  • Fix contract event decoding with pass-through of raw Bytes
  • Fix support for enum encoding in api-contract
  • Support new contract Schedule type as per Substrate
  • Update Kusama/Polkadot known upgrade blocks
  • Adjust typegen generated @polkadot/types imports
  • Adjust internal @polkadot/types imports/exports (overall bundle sizes)

2.6.1 Nov 9, 2020

Upgrade priority: Low. Should be done alongside an update to @polkadot/util to 4.0

Changes:

  • Adjust auto-gas to contract RPC call to 5 * 10 ^ 12 (align with Rust)
  • Adjust derive AccountId check to take Ethereum-compatible chains into account
  • Fallback for chains with invalid council proposal data in derives
  • Bump static v12 Metadata (tests) to latest Substrate version
  • Bump @polkadot/{util,util-crypto} to 4.0 (optimized WASM layers)

2.5.1 Nov 2, 2020

Upgrade priority: Low. Recommended for api-contract developers.

Commits
Maintainer changes

This version was pushed to npm by polkadotjs, a new releaser for @polkadot/api since your current version.


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 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)
dependabot-preview[bot] commented 3 years ago

Superseded by #176.