Socket
Socket
Sign inDemoInstall

@polkadot/rpc-provider

Package Overview
Dependencies
52
Maintainers
2
Versions
2989
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
299Next

12.0.1

Diff

Changelog

Source

12.0.1 June 24, 2024

Important Changes:

  • Addition of an optional signedTransaction field to the SignerResult response for injected signers. This only applies to the signPayload method exposed in the Signer interface for polkadot-js. As the name suggests the field expects a signed transaction (extrinsic) when inputted. When its present, the api will not add the signature to the payload, but instead broadcast the inputted signed transaction. This means the signer may modify the payload it's given. The only part of the payload that may not be modified is the call data. This is verified on the api, and will throw an error if it does not match the initial payloads call data.
    • This is very useful for signers that want to adjust the mode and metadataHash field for the CheckMetadataHash signed extension.
    • Note that this is not your traditional breaking change since it more-so acts as an addition, but since this is a high magnitude change it is going to be considered a MAJOR bump.
    • For more info please review the following PR (#5914)

Changes:

  • Replace system_accountNextIndex with runtime api call accountNonceApi for api.derive.tx.signingInfo
  • Sanitize eras for api.derive.staking._stakerRewards
polkadotjs
published 11.3.1 •

Changelog

Source

11.3.1 June 17, 2024

Changes:

  • Fix period assumption on signingInfo (derive)
  • Bump dev to 0.79.3
  • Update {Polkadot, Kusama, Westend} types-known
  • Bump Substrate metadata to latest
    • NOTE: Moving forward when bumping the metadata for {Polkadot, Kusama, Substrate} the version will always be a minor bump since it can add, modify, remove augmented types.
polkadotjs
published 11.2.1 •

Changelog

Source

11.2.1 May 28, 2024

Contributed:

  • fix: Re-subscribe to chain updates on reconnection if not a clone (Thanks to https://github.com/F-OBrien)

Changes:

  • Add support for AuraUnincludedSegmentApi (Thanks to https://github.com/bee344)
  • Add support for ParachainHost v11 Api
  • Update Kusama and Westend block upgrades
  • Update Substrate metadata to latest
polkadotjs
published 11.1.1 •

Changelog

Source

11.1.1 May 21, 2024

Changes

  • Dedupe nextElected accountIds in api.derive.staking.nextElected
  • Bump @polkadot/dev to 0.79.1 w/ topo sort
  • Bump yarn to 4.2.2
  • fix: updated extrinsics' assetId toHuman (Thanks to https://github.com/bee344)
  • fix api.derive.accounts.{info && identity}
  • feat: Add support for CheckMetadataHash signedExtension (Thanks to https://github.com/bee344)
polkadotjs
published 11.0.3 •

Changelog

Source

11.0.3 May 8, 2024

Changes

  • Make api.derive.staking.* backwards compatible
  • Fix claimedRewards regression in api.derive.staking.queryMulti
  • Update Substrate to latest
polkadotjs
published 11.0.2 •

Changelog

Source

11.0.2 Apr 24, 2024

Changes

  • Fix type for TAssetConversion in Polkadot Asset hub
polkadotjs
published 11.0.1 •

Changelog

Source

11.0.1 Apr 23, 2024

Breaking Changes:

Note! The following breaking changes only refer to @polkadot/api-derive calls under api.derive.staking.* due to the most recent breaking changes in runtime version v1.2. Please refer to the link next to the bullet points for more information.

  • Update api.derive.staking calls with breaking changes (#5860)
  • Add claimedRewardsEra to api.derive.staking.query for compatibility with legacyClaimedRewards (#5862)

Contributed:

  • Bump @substrate/connect to 0.8.10 (Thanks to https://github.com/kratico)

Changes:

  • Update polkadot types-known for latest runtime upgrades
polkadotjs
published 10.13.1 •

Changelog

Source

10.13.1 Apr 16, 2024

Changes:

  • Update CI actions and setup_node to v4
  • Update substrate metadata to latest
  • Support ParachainHost runtime api v6, 7, 8, 9, 10
  • Resolve correct module for council derive
  • Update westend types-known for 1010000
  • Update kusama types-known for 1001003
polkadotjs
published 10.12.6 •

Changelog

Source

10.12.6 Apr 2, 2024

NOTE: Because of a broken CI build for 10.12.5 -> 10.12.6 is a replacement

Contributed:

  • chore: fix typos in error (Thanks to https://github.com/xiaoxianBoy)

Changes:

  • Upgrade westend types-known for 1009000
  • Add disableAscii option for toHuman, and toPrimitive
  • V14 Update substrate latest metadata
  • V15 Update substrate latest metadata
  • Bump yarn to 4.1.1
  • Add assetId getter field to to necessary ExtrinsicPayloads
  • Add Updated Runtime Defintions
    • ValidateStatement
    • MMRApi
      • mmr_root
      • mmr_leaf_count
    • Core v5
    • GenesisBuilder
    • MixnetApi
polkadotjs
published 10.12.4 •

Changelog

Source

10.12.4 Mar 19, 2024

Contributed:

  • Fix add muln(2) to signingInfo Derive (Thanks to https://github.com/pepoviola)
2345
299Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc