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

@polkadot/util-crypto

Package Overview
Dependencies
Maintainers
2
Versions
1357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/util-crypto - npm Package Versions

1
136

10.0.1

Diff

Changelog

Source

10.0.1 Jul 8, 2022

  • Breaking change In this major version version previously deprecated function signatures have been removed. If still using the old forms for either bnToHex, bnToU8a, formatBalance, hexToBn or u8aToBn, please update and only pass through an options object as the second parameter.

Contributed:

  • Ledger support for Stafi (Thanks to https://github.com/kaelnew)
  • Ledger support for Aleph Zero (Thanks to https://github.com/carlosala)
  • Add genesis for HydraDX parachain (Thanks to https://github.com/jak-pan)

Changes:

  • Remove deprecated signatures for bnToHex, bnToU8a, formatBalance, hexToBn, u8aToBn
  • Align option handling of n* (BigInt) functions with bn* (BN)
  • Allow for usage without @types/node installed
  • Adjust for available ESM-only dependencies
  • Upgrade dependencies to latest stable versions
  • Upgrade to @polkadot/wasm-crypto 6.2.3
polkadotjs
published 9.7.2 •

Changelog

Source

9.7.2 Jul 4, 2022

Changes:

  • Upgrade to @polkadot/wasm-crypto 6.2.2
polkadotjs
published 9.7.1 •

Changelog

Source

9.7.1 Jul 1, 2022

Changes:

  • Update signatures where readonly arrays are used
  • Upgrade dependencies to latest stable versions
  • Upgrade to @polkadot/wasm-crypto 6.2.1
polkadotjs
published 9.6.2 •

Changelog

Source

9.6.2 Jun 25, 2022

Changes:

  • Fix hexToU8a where 0x is not correctly converted
polkadotjs
published 9.6.1 •

Changelog

Source

9.6.1 Jun 23, 2022

Changes:

  • Add floatToU8a and u8aToFloat (both 32 & 64-bit, le & be)
  • Adjust isUndefined check (local variable available)
  • Adjust use of assert, isUndefined & isNull
polkadotjs
published 9.5.2-18 •

polkadotjs
published 9.5.2-17 •

polkadotjs
published 9.5.2-16 •

polkadotjs
published 9.5.2-15 •

polkadotjs
published 9.5.2-14 •

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