Skip to content

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade @polkadot/api from 1.16.1 to 1.22.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
  • The recommended version is 51 versions ahead of your current version.
  • The recommended version was released a month ago, on 2020-06-30.

The recommended version fixes:

Severity Issue Exploit Maturity
Cryptographic Issues
SNYK-JS-ELLIPTIC-571484
Proof of Concept
Release notes
Package name: @polkadot/api
  • 1.22.1 - 2020-06-30
    • Important Substrate changed the treasury tip structure, on older chains supply OpenTip: 'OpenTipTo225'
    • Allow for [u8; 33] in U8aFixed (Thanks to https://github.com/akru)
    • Improve derive accountId -> accountIndex lookups (optimize entries queries)
    • Vesting balance calculations via derive.balances.all has been updated for locks
    • Add derive for multi staking rewards with specified eras
    • @polkadot/util 2.16
  • 1.22.0-beta.5 - 2020-06-29
  • 1.22.0-beta.4 - 2020-06-28
  • 1.22.0-beta.3 - 2020-06-24
  • 1.22.0-beta.2 - 2020-06-24
  • 1.22.0-beta.1 - 2020-06-23
  • 1.22.0-beta.0 - 2020-06-23
  • 1.21.1 - 2020-06-23
    • Fix subscriptions never unsubscribing after the id swap in 1.18.1 (Thanks to https://github.com/dillu24 for testing iterations)
    • Add support for CheckMortality signed extension (old CheckEra is now an alias)
    • Promise API will default to using getStorage on non-subscription calls, reducing RPC overhead
    • Optimize derive BN allocations, using in-place operators as applicable
    • Add new substrate types for Babe EquivocationProof
    • Adjust Releases enum to use a shared instance
  • 1.21.0-beta.4 - 2020-06-23
  • 1.21.0-beta.3 - 2020-06-23
  • 1.21.0-beta.2 - 2020-06-23
  • 1.21.0-beta.1 - 2020-06-23
  • 1.21.0-beta.0 - 2020-06-23
  • 1.20.1 - 2020-06-22
    • Important RPC for account_nextIndex has been moved to system_accountNextIndex (Aligning with Substrate as a primary alias)
    • Cleanup map entries support with only Substrate 2.0-era RPCs (as introduced)
    • Add system_dryRun RPC
    • Optimize derive.staking.queryMulti retrievals with additional per-type batching
    • Add derive.staking.waitingInfo (same as electedInfo for waiting validators)
    • Adjust types & metadata for latest Substrate
    • @polkadot/util 2.15
  • 1.20.0-beta.9 - 2020-06-22
  • 1.20.0-beta.8 - 2020-06-22
  • 1.20.0-beta.7 - 2020-06-21
  • 1.20.0-beta.6 - 2020-06-21
  • 1.20.0-beta.5 - 2020-06-20
  • 1.20.0-beta.4 - 2020-06-20
  • 1.20.0-beta.3 - 2020-06-19
  • 1.20.0-beta.2 - 2020-06-18
  • 1.20.0-beta.1 - 2020-06-18
  • 1.20.0-beta.0 - 2020-06-17
  • 1.19.1 - 2020-06-16
    • Improve typing on .entries() queries (Thanks to https://github.com/monitz87)
    • Align metadata and types with latest Substrate
    • Update Polkadot types for current evolution of parachains
    • Allow for type aliasing on events (aligning with calls & queries)
  • 1.19.0-beta.3 - 2020-06-12
  • 1.19.0-beta.2 - 2020-06-12
  • 1.19.0-beta.1 - 2020-06-11
  • 1.19.0-beta.0 - 2020-06-10
  • 1.18.1 - 2020-06-08
    • Expand docs on node-template types (Thanks to https://github.com/g2udevelopment)
    • Update contract fees to current impl. (Thanks to https://github.com/djuanit0x)
    • Allow Option types in enum/Result type generation (Thanks to http://github.com/xlc)
    • Add .entriesPaged and .keysPaged methods for state maps (https://github.com/monitz87)
    • Support for latest Polkadot CC1, Kusama, Westend & Substrate types
    • Add types for new Substrate proxy module
    • Adjust types for new Substrate (renamed) npos-elections module
    • Call now exposes method & section fields (aligned with toHuman() representation)
    • Cater for new Substrate string subscription ids (with backwards compatibility)
    • @polkadot/util 2.13
  • 1.18.0-beta.10 - 2020-06-08
  • 1.18.0-beta.9 - 2020-06-08
  • 1.18.0-beta.8 - 2020-06-08
  • 1.18.0-beta.7 - 2020-06-07
  • 1.18.0-beta.6 - 2020-06-07
  • 1.18.0-beta.5 - 2020-06-06
  • 1.18.0-beta.4 - 2020-06-05
  • 1.18.0-beta.3 - 2020-06-03
  • 1.18.0-beta.2 - 2020-06-03
  • 1.18.0-beta.1 - 2020-06-03
  • 1.17.2 - 2020-06-02
    • Ensure subscription promise resolves before first result
  • 1.17.1 - 2020-06-02
    • Fix ElectionSize type (Thanks to https://github.com/arjanz)
    • Allow BTreeSet decoding from Array/JSON inputs
    • Adjust Call-only metadata output to trim documentation to first full line
    • Safeguard against divide-by-zero for total era points (expired reward eras)
    • Internal derive optimizations with combining calls
    • Support for latest Substrate types & metadata
    • @polkadot/util 2.12
  • 1.17.0-beta.8 - 2020-06-02
  • 1.17.0-beta.7 - 2020-06-02
  • 1.17.0-beta.6 - 2020-05-31
  • 1.17.0-beta.5 - 2020-05-28
  • 1.17.0-beta.4 - 2020-05-28
  • 1.17.0-beta.3 - 2020-05-28
  • 1.17.0-beta.2 - 2020-05-28
  • 1.17.0-beta.1 - 2020-05-28
  • 1.17.0-beta.0 - 2020-05-27
  • 1.16.1 - 2020-05-26
from @polkadot/api GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant