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

@polkadot/types-codec

Package Overview
Dependencies
Maintainers
2
Versions
498
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
50

7.0.1

Diff

Changelog

Source

7.0.1 Dec 20, 2021

Upgrade priority: Low. Recommended for TS users with their own non-Polkadot/Kusama chains.

  • Breaking changes For TS users the default API augmentation is now optional. This means that the API, for TypeScript, is not decorated by default with the Substrate types and encpoints. TS users should add a singular import '@polkadot/api-augment'; in their code to restore old behavior. A full writeup of the rationale and other options can be found in the FAQ

  • Breaking change To cater for the above, chain-specific interfaces generated with older versions may not be compatible with the current version of the API. Additionally, TS interfaces generated with this version of the API is not compatible with older API versions.

Contributed:

  • Add contracts storage deposit support (Thanks to https://github.com/statictype)
  • Do not throw error on socket closes (Thanks to https://github.com/xcaptain)

Changes:

  • Split @polkadot/types-{codec, create} packages from types
  • Extract @polkadot/{api, rpc, types}-augment (now optional, TS-user applied)
  • Rework build steps to use TS project references
  • Add Polkadot 9140 upgrade block
  • Update to latest Substrate, Kusama & Polkadot static metadata
polkadotjs
published 6.12.2-27 •

polkadotjs
published 6.12.2-26 •

polkadotjs
published 6.12.2-25 •

polkadotjs
published 6.12.2-24 •

polkadotjs
published 6.12.2-23 •

polkadotjs
published 6.12.2-22 •

polkadotjs
published 6.12.2-21 •

polkadotjs
published 6.12.2-20 •

polkadotjs
published 6.12.2-19 •

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