Skip to content

Commit a9b8bad

Browse files
committed
package.json: add exports field
1 parent 428dc2c commit a9b8bad

File tree

1 file changed

+132
-0
lines changed

1 file changed

+132
-0
lines changed

package.json

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,138 @@
3030
"@scure/bip32": "1.3.0",
3131
"@scure/bip39": "1.2.1"
3232
},
33+
"exports": {
34+
".": {
35+
"types": "./index.d.ts",
36+
"import": "./esm/index.js",
37+
"default": "./index.js"
38+
},
39+
"./aes.js": {
40+
"types": "./aes.d.ts",
41+
"import": "./esm/aes.js",
42+
"default": "./aes.js"
43+
},
44+
"./bip39.js": {
45+
"types": "./bip39.d.ts",
46+
"import": "./esm/bip39.js",
47+
"default": "./bip39.js"
48+
},
49+
"./blake2b.js": {
50+
"types": "./blake2b.d.ts",
51+
"import": "./esm/blake2b.js",
52+
"default": "./blake2b.js"
53+
},
54+
"./hdkey.js": {
55+
"types": "./hdkey.d.ts",
56+
"import": "./esm/hdkey.js",
57+
"default": "./hdkey.js"
58+
},
59+
"./index.js": {
60+
"types": "./index.d.ts",
61+
"import": "./esm/index.js",
62+
"default": "./index.js"
63+
},
64+
"./keccak.js": {
65+
"types": "./keccak.d.ts",
66+
"import": "./esm/keccak.js",
67+
"default": "./keccak.js"
68+
},
69+
"./pbkdf2.js": {
70+
"types": "./pbkdf2.d.ts",
71+
"import": "./esm/pbkdf2.js",
72+
"default": "./pbkdf2.js"
73+
},
74+
"./random.js": {
75+
"types": "./random.d.ts",
76+
"import": "./esm/random.js",
77+
"default": "./random.js"
78+
},
79+
"./ripemd160.js": {
80+
"types": "./ripemd160.d.ts",
81+
"import": "./esm/ripemd160.js",
82+
"default": "./ripemd160.js"
83+
},
84+
"./scrypt.js": {
85+
"types": "./scrypt.d.ts",
86+
"import": "./esm/scrypt.js",
87+
"default": "./scrypt.js"
88+
},
89+
"./secp256k1-compat.js": {
90+
"types": "./secp256k1-compat.d.ts",
91+
"import": "./esm/secp256k1-compat.js",
92+
"default": "./secp256k1-compat.js"
93+
},
94+
"./secp256k1.js": {
95+
"types": "./secp256k1.d.ts",
96+
"import": "./esm/secp256k1.js",
97+
"default": "./secp256k1.js"
98+
},
99+
"./sha256.js": {
100+
"types": "./sha256.d.ts",
101+
"import": "./esm/sha256.js",
102+
"default": "./sha256.js"
103+
},
104+
"./sha512.js": {
105+
"types": "./sha512.d.ts",
106+
"import": "./esm/sha512.js",
107+
"default": "./sha512.js"
108+
},
109+
"./utils.js": {
110+
"types": "./utils.d.ts",
111+
"import": "./esm/utils.js",
112+
"default": "./utils.js"
113+
},
114+
"./bip39/index.js": {
115+
"types": "./bip39/index.d.ts",
116+
"import": "./esm/bip39/index.js",
117+
"default": "./bip39/index.js"
118+
},
119+
"./bip39/wordlists/czech.js": {
120+
"types": "./bip39/wordlists/czech.d.ts",
121+
"import": "./esm/bip39/wordlists/czech.js",
122+
"default": "./bip39/wordlists/czech.js"
123+
},
124+
"./bip39/wordlists/english.js": {
125+
"types": "./bip39/wordlists/english.d.ts",
126+
"import": "./esm/bip39/wordlists/english.js",
127+
"default": "./bip39/wordlists/english.js"
128+
},
129+
"./bip39/wordlists/french.js": {
130+
"types": "./bip39/wordlists/french.d.ts",
131+
"import": "./esm/bip39/wordlists/french.js",
132+
"default": "./bip39/wordlists/french.js"
133+
},
134+
"./bip39/wordlists/italian.js": {
135+
"types": "./bip39/wordlists/italian.d.ts",
136+
"import": "./esm/bip39/wordlists/italian.js",
137+
"default": "./bip39/wordlists/italian.js"
138+
},
139+
"./bip39/wordlists/japanese.js": {
140+
"types": "./bip39/wordlists/japanese.d.ts",
141+
"import": "./esm/bip39/wordlists/japanese.js",
142+
"default": "./bip39/wordlists/japanese.js"
143+
},
144+
"./bip39/wordlists/korean.js": {
145+
"types": "./bip39/wordlists/korean.d.ts",
146+
"import": "./esm/bip39/wordlists/korean.js",
147+
"default": "./bip39/wordlists/korean.js"
148+
},
149+
"./bip39/wordlists/simplified-chinese.js": {
150+
"types": "./bip39/wordlists/simplified-chinese.d.ts",
151+
"import": "./esm/bip39/wordlists/simplified-chinese.js",
152+
"default": "./bip39/wordlists/simplified-chinese.js"
153+
},
154+
"./bip39/wordlists/spanish.js": {
155+
"types": "./bip39/wordlists/spanish.d.ts",
156+
"import": "./esm/bip39/wordlists/spanish.js",
157+
"default": "./bip39/wordlists/spanish.js"
158+
},
159+
"./bip39/wordlists/traditional-chinese.js": {
160+
"types": "./bip39/wordlists/traditional-chinese.d.ts",
161+
"import": "./esm/bip39/wordlists/traditional-chinese.js",
162+
"default": "./bip39/wordlists/traditional-chinese.js"
163+
}
164+
},
33165
"browser": {
34166
"crypto": false
35167
},

0 commit comments

Comments
 (0)