Skip to content

Commit 6aa1ab7

Browse files
paulmillralcuadrado
authored andcommitted
Switch from micro- to @Scure deps.
1 parent 02bdc32 commit 6aa1ab7

14 files changed

+23
-28
lines changed

package.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereum-cryptography",
3-
"version": "0.2.5",
3+
"version": "1.0.0-rc1",
44
"description": "All the cryptographic primitives used in Ethereum",
55
"contributors": [
66
{
@@ -16,19 +16,18 @@
1616
"license": "MIT",
1717
"main": "./index.js",
1818
"files": [
19-
"src",
20-
"bip39",
19+
"bip39/*.js",
20+
"bip39/*.d.ts",
21+
"bip39/wordlists/*.js",
22+
"bip39/wordlists/*.d.ts",
2123
"*.js",
22-
"*.js.map",
23-
"*.d.ts",
24-
"*.d.ts.map"
24+
"*.d.ts"
2525
],
2626
"dependencies": {
27-
"@noble/hashes": "^0.5.9",
28-
"@noble/secp256k1": "^1.4.0",
29-
"micro-base": "^0.10.1",
30-
"micro-bip32": "^0.1.0",
31-
"micro-bip39": "^0.1.3"
27+
"@noble/hashes": "~1.0.0",
28+
"@noble/secp256k1": "~1.5.0",
29+
"@scure/bip32": "^1.0.0-rc1",
30+
"@scure/bip39": "^1.0.0-rc1"
3231
},
3332
"browser": {
3433
"crypto": false

src/bip39/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ export {
55
validateMnemonic,
66
mnemonicToSeed,
77
mnemonicToSeedSync
8-
} from "micro-bip39";
8+
} from "@scure/bip39";

src/bip39/wordlists/czech.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { wordlist } from "micro-bip39/wordlists/czech";
1+
export { wordlist } from "@scure/bip39/wordlists/czech";

src/bip39/wordlists/english.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { wordlist } from "micro-bip39/wordlists/english";
1+
export { wordlist } from "@scure/bip39/wordlists/english";

src/bip39/wordlists/french.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { wordlist } from "micro-bip39/wordlists/french";
1+
export { wordlist } from "@scure/bip39/wordlists/french";

src/bip39/wordlists/italian.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { wordlist } from "micro-bip39/wordlists/italian";
1+
export { wordlist } from "@scure/bip39/wordlists/italian";

src/bip39/wordlists/japanese.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { wordlist } from "micro-bip39/wordlists/japanese";
1+
export { wordlist } from "@scure/bip39/wordlists/japanese";

src/bip39/wordlists/korean.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { wordlist } from "micro-bip39/wordlists/korean";
1+
export { wordlist } from "@scure/bip39/wordlists/korean";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { wordlist } from "micro-bip39/wordlists/simplified-chinese";
1+
export { wordlist } from "@scure/bip39/wordlists/simplified-chinese";

src/bip39/wordlists/spanish.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { wordlist } from "micro-bip39/wordlists/spanish";
1+
export { wordlist } from "@scure/bip39/wordlists/spanish";

0 commit comments

Comments
 (0)