From 36327c922281e9e5e73ca62f27f220ef8fac579b Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Fri, 16 Dec 2022 12:10:14 +1100 Subject: [PATCH] fix: add `typesVersions` so import works with `moduleResolution: node` --- packages/message-encryption/package.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/message-encryption/package.json b/packages/message-encryption/package.json index 89a7c94317..916e3fdd81 100644 --- a/packages/message-encryption/package.json +++ b/packages/message-encryption/package.json @@ -18,6 +18,15 @@ "import": "./dist/symmetric.js" } }, + "typesVersions": { + "*": { + "*": [ + "*", + "dist/*", + "dist/*/index" + ] + } + }, "type": "module", "author": "Waku Team", "homepage": "https://github.com/waku-org/js-waku/tree/master/packages/message-encryption#readme",