Socket
Socket
Sign inDemoInstall

@polkadot/rpc-provider

Package Overview
Dependencies
Maintainers
2
Versions
3000
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/rpc-provider - npm Package Versions

1
300

9.8.1

Diff

Changelog

Source

9.8.1 Nov 13, 2022

Contributed:

  • Params encoding fix for api.rpc(...) (Thanks to https://github.com/xlc)
  • Support for WeightV2 contract interfaces (Thanks to https://github.com/jasl)

Changes:

  • Cater for TransactionPaymentApi/2 runtime calls
  • Add getters for has{DryRun, PaymentInfo} on submittables (feature detection)
  • Polkadot 9300, Kusama 9300 & Westend 9310/9320 upgrade blocks
  • Update to latest Polkadot, Kusama & Substrate metadata
polkadotjs
published 9.7.1 •

Changelog

Source

9.7.1 Nov 6, 2022

Contributed:

  • Update @substrate/connect to latest (Thanks to https://github.com/wirednkod)
  • Add api.rpc(method, ...params) support (Thanks to https://github.com/xlc)

Changes:

  • Align ScProvider code structure with other providers
  • Add isClonable getter on providers (some, e.g. sc doesn't support this)
  • Update to latest Substrate metadata
polkadotjs
published 9.6.2 •

Changelog

Source

9.6.2 Oct 30, 2022

Changes:

  • Adjust historic DispatchError type for statemint/statemine
polkadotjs
published 9.6.1 •

Changelog

Source

9.6.1 Oct 23, 2022

Contributed:

  • Update @substrate/connect to latest (Thanks to https://github.com/wirednkod)
  • Use .? operators in submittable class (Thanks to https://github.com/shunjizhan)

Changes:

  • Cater for latest Substrate DispatchError (additional preimage statuses)
  • Adjust api.derive.democracy.* to return imageHash as HexString (as applicable, supports current-gen preimages)
  • Adjust api.derive.preimages.* to retrieve via democracy or preimage pallets
  • Ensure apiAt.<section>.<method>.key(...) passes through the correct arguments
  • Apply fallback for Weight downgrades (V2 >> V1 detection)
  • Update to latest Substrate metadata
  • Polkadot 9291 & Westend 9300 upgrade blocks
polkadotjs
published 9.5.2 •

Changelog

Source

9.5.2 Oct 16, 2022

Changes:

  • Add ParachainHost version 3 runtime calls
polkadotjs
published 9.5.1 •

Changelog

Source

9.5.1 Oct 8, 2022

  • Important While the API witll detect and decorate the weight type based on V1 or V2, the default Weight type (used in runtime calls and RPCs) has not been swapped from the old u64 variant. This means that on new chains using WeightV2, the TS decorated type will still reflect the old version.

Changes:

  • Adjust handling of Weight type for V2 structures
  • Add alis definitions for Weight{V1, V2} (used for type overrides)
  • Cater for weight v2 (along with v1 pass-through) extrinsics in api-contract
  • Update to latest Substrate, Polkadot & Kusama metadata
polkadotjs
published 9.4.3 •

Changelog

Source

9.4.3 Oct 2, 2022

Contributed:

  • Allow for new ink_primitives types (Thanks to https://github.com/statictype)
  • Fix contracts runtime instantiate call params (Thanks to https://github.com/statictype)

Changes:

  • Align staking derive redeemableSum with Rust source (currentEra vs activeEra usage)
  • Add @deprecated flag to RPC interface generation (contracts_* & state_get{Pairs/Keys})
  • Polkadot 9280/9281, Kusama 9291 upgrade blocks
polkadotjs
published 9.4.2 •

Changelog

Source

9.4.2 Sep 24, 2022

Contributed:

  • Allow for re-subscriptions on ScProvider (Thanks to https://github.com/wirednkod)

Changes:

  • Align derives to cater for latest (& previous) Substrate interfaces
  • Update to latest Substrate, Polkadot & Kusama metadata
polkadotjs
published 9.4.1 •

Changelog

Source

9.4.1 Sep 17, 2022

Contributed:

  • Update @substrate/connect to latest (Thanks to https://github.com/wirednkod)

Changes:

  • Cater for v1.5 Weight JSON representation (via RPC)
  • Polkadot 9270, Kusama 9280 & Westend 9290 upgrade blocks
  • Update to latest Substrate, Polkadot & Kusama metadata
polkadotjs
published 9.3.3 •

Changelog

Source

9.3.3 Sep 6, 2022

Contributed:

  • Ensure JS reserved words are aliassed in types (Thanks to https://github.com/dqbd)

Changes:

  • Fix and adjust tests for AccountId{32, 33}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc