fix: add typesVersions so import works with moduleResolution: node

This commit is contained in:
fryorcraken.eth 2022-12-16 12:10:14 +11:00
parent b1f2e6fbe1
commit 36327c9222
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -18,6 +18,15 @@
"import": "./dist/symmetric.js" "import": "./dist/symmetric.js"
} }
}, },
"typesVersions": {
"*": {
"*": [
"*",
"dist/*",
"dist/*/index"
]
}
},
"type": "module", "type": "module",
"author": "Waku Team", "author": "Waku Team",
"homepage": "https://github.com/waku-org/js-waku/tree/master/packages/message-encryption#readme", "homepage": "https://github.com/waku-org/js-waku/tree/master/packages/message-encryption#readme",