New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@polkadot/types-codec

Package Overview
Dependencies
Maintainers
0
Versions
507
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/types-codec - npm Package Versions

1
51

9.3.3

Diff

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}
polkadotjs
published 9.3.2 •

Changelog

Source

9.3.2 Sep 4, 2022

Changes:

  • Cater for v1.5 Weight types (structure to inner value)
  • Westend 9280 & Kusama 9271 upgrade blocks
  • Update to latest Substrate, Polkadot & Kusama metadata
polkadotjs
published 9.3.1 •

Changelog

Source

9.3.1 Sep 3, 2022

Changes:

  • Support for ink! v4 metadata
  • Adjust pool runtime call pendingRewards return type
  • Support for AccountId33 (raw/compressed 33-byte ecdsa)
  • Update to latest Substrate, Polkadot & Kusama metadata
polkadotjs
published 9.2.4 •

Changelog

Source

9.2.4 Aug 27, 2022

Changes:

  • Remove extra error logging in internal rpc-core Observable
  • Allow for embebbed Enum in Struct typegen (no lookupName)
polkadotjs
published 9.2.3 •

Changelog

Source

9.2.3 Aug 21, 2022

Contributed:

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

Changes:

  • Adjust StakingLedger with fallback for Kusama 1050 (2 different structures on-chain)
  • Remove TryRuntime state call definitions (only off-chain usage)
  • Update to latest Substrate, Polkadot & Kusama metadata
polkadotjs
published 9.2.2 •

Changelog

Source

9.2.2 Aug 16, 2022

Changes:

  • Replace rpc.payment.queryInfo usage with call.transactionPaymentApi.queryInfo
  • Ensure that api.call.* is decorated on historic blocks
polkadotjs
published 9.2.1 •

Changelog

Source

9.2.1 Aug 13, 2022

  • Important If using import { WellKnownChain } from '@polkadot/rpc-provider' it is recommended that you rather use ScProvider.WellKnownChain (the import may be dropped in a future major version)

Changes:

  • Don't assume non-empty path specifiers on portable variant/composites
  • Explicit param length checks for all generic portable overrides
  • Re-export ScProvider in @polkadot/api, aligning with {Http, Ws}Provider
  • Expose WellKnownChain as static on ScProvider.WellKnownChain
  • Checks for non-available interface types & runtime/rpc definitions
  • Ensure .entries/.keys arguments is less than map-entry query
  • Add Polkadot 9260 upgrade block
  • Add Westend 9271 upgrade block
  • Update to latest Substrate metadata
polkadotjs
published 9.1.1 •

Changelog

Source

9.1.1 Aug 6, 2022

Contributed:

  • Update @substrate/connect to latest (Thanks to https://github.com/wirednkod)
  • Handle both string and object keys in CodecMap (Thanks to https://github.com/CertainLach)

Changes:

  • Add noInitWarn: boolean flag to API options, disabling runtime & RPC warnings
  • Only log missing runtime calls on new (detected) specVersion
  • Add shallow/one-blockHash cache for api.at(...) instances
  • Add Westend 9270 upgrade block
  • Update to latest Substrate, Polkadot & Kusama metadata
polkadotjs
published 9.0.1 •

Changelog

Source

9.0.1 Jul 30, 2022

  • Breaking change The decorated field getters on Struct were moved to the prototype class for performance reasons. While struct.<field> access still behaves in the same way, with the same results, this does mean that the prototype getters are not visible when doing an Object.keys(struct) or when doing an object spread.
  • Breaking change Deprecated interfaces have been removed including tx.sign(...) (use signAsync), Result.{is, as}Error (use {is, as}Err) as well as storage .range(...) operations.
  • Breaking change Deprecated interfaces on api-contract have been removed. Always ensure you pass an options object to construction and query methods.
  • Breaking change Contracts access via api-contract will now detect the usage of storageDepositLimit in params, if not available the contract interfaces will not be decorated.

Changes:

  • Decorate Struct/Enum/Set field getters on class prototypes
  • Convert api-contract usage of api.rpc.* to api.call.*
  • Drop support for contract runtimes without storageDepositLimit (runtime contractsApi only has support for latest)
  • Export api.rx.call.* for internal usage (derive, contracts)
  • Remove old-style param passing as opposed to options in api-contract
  • Support for alliance/motion collective derives
  • Add Kusama 9260 upgrade block
  • Add Polkadot 9230 & 9250 upgrade blocks
  • Add Westend 9251, 9260 & 9261 upgrade blocks
  • Update to latest Substrate, Polkadot & Kusama metadata
polkadotjs
published 8.14.2-12 •

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