From 971d6f98c9fa76b64314147475a4e42d7890c97d Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 25 Sep 2025 11:17:07 +0300 Subject: [PATCH] fix: upate typesversions and typedoc Ensure that the new export can be used with older typescript versions and that it is included in the documentation. --- package.json | 16 ++++++++++++++++ typedoc.json | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 20b6837..6729032 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,22 @@ ], "type": "module", "types": "./dist/src/index.d.ts", + "typesVersions": { + "*": { + "*": [ + "*", + "dist/*", + "dist/src/*", + "dist/src/*/index" + ], + "src/*": [ + "*", + "dist/*", + "dist/src/*", + "dist/src/*/index" + ] + } + }, "files": [ "src", "dist", diff --git a/typedoc.json b/typedoc.json index db0b074..579a8a2 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,6 +1,7 @@ { "readme": "none", "entryPoints": [ - "./src/index.ts" + "./src/index.ts", + "./src/crypto/index.ts" ] }