Swap to upstream @noble/hashes (#1285)

* Swap to upstream `@noble/hashes`

* Lintin (import order)
This commit is contained in:
Jaco
2021-12-06 07:05:08 +02:00
committed by GitHub
parent 80785babb4
commit f2f25815c1
33 changed files with 35 additions and 3079 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';