Bump deps (w/ @noble/hashes 0.5.x) (#1332)

This commit is contained in:
Jaco
2021-12-22 08:36:05 +02:00
committed by GitHub
parent 9f6a0eb7e9
commit d9d7200941
9 changed files with 88 additions and 88 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
import type { HexString } from '@polkadot/util/types';
import { blake2b as blake2bJs } from '@noble/hashes/lib/blake2b';
import { blake2b as blake2bJs } from '@noble/hashes/blake2b';
import { hasBigInt, u8aToU8a } from '@polkadot/util';
import { blake2b, isReady } from '@polkadot/wasm-crypto';
+3 -3
View File
@@ -1,9 +1,9 @@
// Copyright 2017-2021 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { hmac } from '@noble/hashes/lib/hmac';
import { sha256 } from '@noble/hashes/lib/sha256';
import { sha512 } from '@noble/hashes/lib/sha512';
import { hmac } from '@noble/hashes/hmac';
import { sha256 } from '@noble/hashes/sha256';
import { sha512 } from '@noble/hashes/sha512';
import { hasBigInt, u8aToU8a } from '@polkadot/util';
import { hmacSha256, hmacSha512, isReady } from '@polkadot/wasm-crypto';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2021 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { keccak_256 as keccak256Js, keccak_512 as keccak512Js } from '@noble/hashes/lib/sha3';
import { keccak_256 as keccak256Js, keccak_512 as keccak512Js } from '@noble/hashes/sha3';
import { keccak256, keccak512 } from '@polkadot/wasm-crypto';
+2 -2
View File
@@ -3,8 +3,8 @@
import type { HexString } from '@polkadot/util/types';
import { pbkdf2 as pbkdf2Js } from '@noble/hashes/lib/pbkdf2';
import { sha512 } from '@noble/hashes/lib/sha512';
import { pbkdf2 as pbkdf2Js } from '@noble/hashes/pbkdf2';
import { sha512 } from '@noble/hashes/sha512';
import { hasBigInt, u8aToU8a } from '@polkadot/util';
import { isReady, pbkdf2 } from '@polkadot/wasm-crypto';
+1 -1
View File
@@ -4,7 +4,7 @@
import type { HexString } from '@polkadot/util/types';
import type { Params } from './types';
import { scrypt as scryptJs } from '@noble/hashes/lib/scrypt';
import { scrypt as scryptJs } from '@noble/hashes/scrypt';
import { hasBigInt, objectSpread, u8aToU8a } from '@polkadot/util';
import { isReady, scrypt } from '@polkadot/wasm-crypto';
+2 -2
View File
@@ -1,8 +1,8 @@
// Copyright 2017-2021 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { sha256 as sha256Js } from '@noble/hashes/lib/sha256';
import { sha512 as sha512Js } from '@noble/hashes/lib/sha512';
import { sha256 as sha256Js } from '@noble/hashes/sha256';
import { sha512 as sha512Js } from '@noble/hashes/sha512';
import { sha256, sha512 } from '@polkadot/wasm-crypto';