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

@polkadot/wasm-crypto-asmjs

Package Overview
Dependencies
Maintainers
2
Versions
242
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/wasm-crypto-asmjs - npm Package Versions

1
25

5.0.2-5

Diff

polkadotjs
published 5.0.2-4 •

polkadotjs
published 5.0.2-3 •

polkadotjs
published 5.0.2-2 •

polkadotjs
published 5.0.2-1 •

polkadotjs
published 5.0.2-0 •

polkadotjs
published 5.0.1 •

Changelog

Source

5.0.1 Mar 19, 2022

  • Breaking change For users of React Native, you are now required to add import '@polkadot/wasm-crypto/initOnlyAsm' at your project top-level to ensure that asm.js is initialized. (Or alternatively import '@polkadot/wasm-crypto/initWasmAsm' to future-proof when WASM does become available)
  • Breaking change For users who used to map the data and empty of the internal wasm-crypto-{wasm, asmjs} packages in their bundlers, swap to one of the @polkadot/wasm-crypto/init* top-level imports to set the type of interfaces you would prefer. A full writeup of the rationale and other options can be found in the FAQ

Changes:

  • Add (optional) @polkadot/wasm-crypto/init{OnlyAsm, OnlyWasm, WasmAsm} to allow specific interface types
  • Add work-around for lazy secp256k1 init in asm.js environments
  • Optimize asm.js output size
  • Use latest wasm-bindgen, binaryen & wabt packages in build
  • Additional workaround for Vite bundling
polkadotjs
published 4.6.2-6 •

polkadotjs
published 4.6.2-5 •

polkadotjs
published 4.6.2-4 •

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