@polkadot/x-textencoder
Advanced tools
Changelog
5.0.1 Dec 13, 2020
Important While this package contains no external interface changes, it now compiles and ships both cjs and esm modules. This means that modern bundlers will have more information for tree-shaking available. Additionally when using Node with .mjs
extensions, the esm version imports will be used on recent Node versions. Adding an export map, as here, may have some impacts so a major semver bump is advised. There may be (small) dragons hiding in the dark corners...
Changes:
import type { ... }
form for all type importsNODE_ENV
, but rather DEBUG=<type,type,...>
(*
logs all)DEBUG_MAX=<number>
value, trimming when passedmemoize
util, allowing for function memoization (as used in the API)@polkadot/networks
with Substrate master@polkadot/wasm-crypto
3.0.1