From 92ff3bd4dc75798bad9f1518bab0aab5d74ce4c5 Mon Sep 17 00:00:00 2001 From: Felicio Mununga Date: Fri, 15 Dec 2023 14:19:04 +0100 Subject: [PATCH] fix types export of multi entry point package (#514) * fix types export of multi entry point package * Create fifty-years-kiss.md --- .changeset/fifty-years-kiss.md | 5 +++++ packages/status-js/package.json | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 .changeset/fifty-years-kiss.md diff --git a/.changeset/fifty-years-kiss.md b/.changeset/fifty-years-kiss.md new file mode 100644 index 00000000..8442a36a --- /dev/null +++ b/.changeset/fifty-years-kiss.md @@ -0,0 +1,5 @@ +--- +"@status-im/js": patch +--- + +fix types export of multi entry point package diff --git a/packages/status-js/package.json b/packages/status-js/package.json index e941f982..422b973f 100644 --- a/packages/status-js/package.json +++ b/packages/status-js/package.json @@ -16,13 +16,15 @@ "browser": null, "import": "./dist/encode-url-data.js" }, - "./encode-url-hash": { - "types": "./dist/types/utils/encode-url-hash.d.ts", - "browser": null, - "import": "./dist/encode-url-hash.js" - }, "./package.json": "./package.json" }, + "typesVersions": { + "*": { + "encode-url-data": [ + "./dist/types/utils/encode-url-data.d.ts" + ] + } + }, "repository": { "url": "https://github.com/status-im/status-web.git", "directory": "packages/status-js",