Skip to content

Commit 7457c85

Browse files
committed
Update imports
1 parent 9bfe275 commit 7457c85

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

‎index.ts

+12-7
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,19 @@
1616
* ```
1717
*/
1818
/*! scure-bip32 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */
19-
import { hmac } from '@noble/hashes/hmac';
20-
import { ripemd160 } from '@noble/hashes/ripemd160';
21-
import { sha256 } from '@noble/hashes/sha256';
22-
import { sha512 } from '@noble/hashes/sha512';
23-
import { abytes } from '@noble/hashes/_assert';
24-
import { bytesToHex, concatBytes, createView, hexToBytes, utf8ToBytes } from '@noble/hashes/utils';
25-
import { secp256k1 as secp } from '@noble/curves/secp256k1';
2619
import { mod } from '@noble/curves/abstract/modular';
20+
import { secp256k1 as secp } from '@noble/curves/secp256k1';
21+
import { hmac } from '@noble/hashes/hmac';
22+
import { ripemd160 } from '@noble/hashes/legacy';
23+
import { sha256, sha512 } from '@noble/hashes/sha2';
24+
import {
25+
abytes,
26+
bytesToHex,
27+
concatBytes,
28+
createView,
29+
hexToBytes,
30+
utf8ToBytes,
31+
} from '@noble/hashes/utils';
2732
import { createBase58check } from '@scure/base';
2833

2934
const Point = secp.ProjectivePoint;

0 commit comments

Comments
 (0)