Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polkadot/rpc-provider

Package Overview
Dependencies
Maintainers
2
Versions
3005
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
301

9.13.1

Diff

Changelog

Source

9.13.1 Jan 29, 2023

Contributed:

  • Add support for V3 of TransactionPaymentApi (Thanks to https://github.com/notlesh)

Changes:

  • Adjust Weight alias detection (moved from PortableRegistry -> Registry)
  • Move default (typegen) weight alias to WeightV2 (does not affect runtime detection)
  • Prepare metadata docs from chain generation for future cli arguments
  • Add base type object for (future) composite types
  • Apply additional JSDoc comments into PortableRegistry
  • Update to latest Polkadot, Kusama & Substrate metadata
polkadotjs
published 9.12.1 •

Changelog

Source

9.12.1 Jan 22, 2023

Changes:

  • Add isStorageFallback on the Codec interface. (true if entry was created from a metadata fallback value from an empty storage item)
  • Ensure api.queryMulti returns empty result when no keys are provided
  • Add explicit Array checks on Vec/Tuple inputs
  • Align Struct.{toU8a/toPrimitive/toHuman/toJSON} population of results
  • Apply memoization to batched API queries
  • Update to latest Polkadot, Kusama & Substrate metadata
polkadotjs
published 9.11.3 •

Changelog

Source

9.11.3 Jan 15, 2023

Changes:

  • Update to latest Polkadot, Kusama & Substrate metadata
polkadotjs
published 9.11.2 •

Changelog

Source

9.11.2 Jan 13, 2023

Changes:

  • Ensure derive.democracy.preimages retrieves correctly from (current-gen) preimage
polkadotjs
published 9.11.1 •

Changelog

Source

9.11.1 Jan 8, 2023

  • Breaking change For users of ScProvider you now need to explicitly pass @substrate/connect as a parameter. This means the code needs to be adjusted as follows -
import { ScProvider } from '@polkadot/api';
import * as Sc from '@substrate/connect';

const provider = new ScProvider(Sc, Sc.WellKnownChain.polkadot);

Contributed:

  • Fix for typegen with nested tuples (Thanks to https://github.com/sander2)
  • Expose blockNumber on submittable results (Thanks to https://github.com/ken-centrality)

Changes:

  • The ScProvider interface now needs receive an @substrate/connect instance
  • Along with the above ScProvider.WellKnownChains has been removed
  • Update to latest Polkadot, Kusama & Substrate metadata
polkadotjs
published 9.10.5 •

Changelog

Source

9.10.5 Dec 27, 2022

Changes:

  • Revert 9.10.4 paymentInfo changes (fallback only works on struct, not Weight)
polkadotjs
published 9.10.4 •

Changelog

Source

9.10.4 Dec 25, 2022

Changes:

  • Align runtime paymentInfo calls with Substrate (w/ decoding fallbacks)
polkadotjs
published 9.10.3 •

Changelog

Source

9.10.3 Dec 17, 2022

Changes:

  • Add override for Structs where registry appear as a field
  • Update to latest Polkadot, Kusama & Substrate metadata
  • Kusama 9320/9340/9350 & Westend 9330/9340/9350 upgrade blocks
polkadotjs
published 9.10.2 •

Changelog

Source

9.10.2 Dec 9, 2022

Changes:

  • Fix derive.balances.account detection for system vs balances
polkadotjs
published 9.10.1 •

Changelog

Source

9.10.1 Dec 4, 2022

  • Important Since 9.2.1 the recommended way of accessing WellKnownChain for light clients is via ScProvider.WellKnownChain. This release removes the explicit export from the ScProvider root.

Changes:

  • Adjust payloads to use BlockHash types (as applicable)
  • Adjust type-only imports in ScProvider
  • Update to latest Polkadot, Kusama & Substrate metadata
  • Update to @polkadot/util 10.2.1
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