Skip to content

Commit 91679d5

Browse files
authored
fix: upate typesversions and typedoc (#628)
Ensure that the new export can be used with older typescript versions and that it is included in the documentation.
1 parent 3c628a2 commit 91679d5

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,22 @@
2323
],
2424
"type": "module",
2525
"types": "./dist/src/index.d.ts",
26+
"typesVersions": {
27+
"*": {
28+
"*": [
29+
"*",
30+
"dist/*",
31+
"dist/src/*",
32+
"dist/src/*/index"
33+
],
34+
"src/*": [
35+
"*",
36+
"dist/*",
37+
"dist/src/*",
38+
"dist/src/*/index"
39+
]
40+
}
41+
},
2642
"files": [
2743
"src",
2844
"dist",

typedoc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"readme": "none",
33
"entryPoints": [
4-
"./src/index.ts"
4+
"./src/index.ts",
5+
"./src/crypto/index.ts"
56
]
67
}

0 commit comments

Comments
 (0)