Upstream @noble packages (#1319)

This commit is contained in:
Jaco
2021-12-13 18:07:48 +02:00
committed by GitHub
parent 6154454c38
commit 17a9b653ac
12 changed files with 28 additions and 16 deletions
+2 -1
View File
@@ -4,9 +4,10 @@
import type { HexString } from '@polkadot/util/types';
import type { Params } from './types';
import { scrypt as scryptJs } from '@noble/hashes/lib/scrypt';
import { hasBigInt, objectSpread, u8aToU8a } from '@polkadot/util';
import { isReady, scrypt } from '@polkadot/wasm-crypto';
import { scrypt as scryptJs } from '@polkadot/x-noble-hashes/scrypt';
import { randomAsU8a } from '../random/asU8a';
import { DEFAULT_PARAMS } from './defaults';