- Breaking change Polyfills are not injected by these libraries anymore to avoid clobbering external globals, the user should provide them if their environment is missing base functionality.
Changes:
- Remove built-in utility polyfills for
Array.fill,String.padStart,String.padEndas well asObject.setPrototypeOf. These should be provided by the actual user of the libraries if so required. - Update
@polkadot/wasm-cryptolibrary (under-the-hood cleanups) - Remove explicit crypto polyfill injection (aligning with updated
@polkadot/wasm-crypto) - Add cross-environment
@polkadot/x-randomvalues(for use in@polkadot/wasm-crypto)