From 54d466fb27738e085e20413032c31d7a80aac47f Mon Sep 17 00:00:00 2001 From: chatenium Date: Wed, 8 Apr 2026 16:37:32 +0200 Subject: [PATCH] Quick-fix --- package.json | 19 ++++++++++++++++++- tsconfig.json | 1 + 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e18d8d6..4988a25 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,25 @@ { "name": "@chatenium/chatenium-sdk", - "version": "1.0.1", + "version": "1.0.2", "description": "A library for interacting with the Chatenium API", + "type": "module", "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js", + "default": "./dist/index.js" + }, + "./core/*": "./dist/core/*.js", + "./services/*": "./dist/services/*.js" + }, + "files": [ + "dist", + "README.md", + "LICENSE" + ], "scripts": { "build": "tsc", "test": "vitest run", diff --git a/tsconfig.json b/tsconfig.json index 1efdceb..00194d0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "module": "commonjs", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, + "declaration": true, "strict": true, "skipLibCheck": true, "outDir": "dist"