Socket
Socket
Sign inDemoInstall

@polkadot/util-crypto

Package Overview
Dependencies
26
Maintainers
2
Versions
1351
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
46
136Next

10.1.3

Diff

Changelog

Source

10.1.3 Aug 5, 2022

Changes:

  • Optimization for empty arrayFlatten case
  • Coding cleanups for logger (no as casting)
  • Optiomizations in assertion checks
polkadotjs
published 10.1.2 •

Changelog

Source

10.1.2 Jul 29, 2022

Changes:

  • Upgrade dependencies to latest stable versions
polkadotjs
published 10.1.1 •

Changelog

Source

10.1.1 Jul 21, 2022

Changes:

  • Add arrayUnzip as reverse of arrayZip
  • Adjust objectSpread to natively handle Map entries spreads
  • Adjust isAscii check to disallow \t, \n, & \r characters
  • Adjust nobody zero-key pair with pre-computed address
  • Align objectProperty & lazyMethod call signatures (backwards compatible)
  • Various internal speed optimizations
  • Upgrade dependencies to latest stable versions
polkadotjs
published 10.0.2 •

Changelog

Source

10.0.2 Jul 10, 2022

Changes:

  • Adjust async import in x-fetch to be Jest-friendly
polkadotjs
published 10.0.1 •

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 •

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc