From 04dfc9c666f2da411ec1e46ad2ff7fc98c7c76b1 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 1 Dec 2024 06:27:58 -0600 Subject: [PATCH] Fix client types resolution (#26) --- package.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1db0a7d..e349afe 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,13 @@ "main": "./dist/index.js", "module": "./dist/index.mjs", "exports": { - "require": "./dist/index.js", - "import": "./dist/index.mjs" + ".": { + "require": "./dist/index.js", + "import": "./dist/index.mjs" + }, + "./client": { + "types": "./client.d.ts" + } }, "types": "./dist/index.d.ts", "scripts": {