From 5e314dfd62fa9786170a575f7fb2818a466af7e9 Mon Sep 17 00:00:00 2001 From: Adriano Raiano Date: Fri, 10 Nov 2023 22:48:37 +0100 Subject: [PATCH] fix: separate cjs and mjs typings --- CHANGELOG.md | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c48834..c05a4b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -### 6.4.0 +### 6.4.1 - fix: separate cjs and mjs typings diff --git a/package.json b/package.json index 466062c..fc28173 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ ".": { "types": { "require": "./cjs/index.d.ts", - "import": "./esm/index.d.ts" + "import": "./esm/index.d.mts" }, "module": "./esm/index.js", "import": "./esm/index.js", @@ -32,7 +32,7 @@ "default": "./cjs/index.js" }, "./esm": { - "types": "./esm/index.d.ts", + "types": "./esm/index.d.mts", "default": "./esm/index.js" } }, @@ -40,7 +40,7 @@ "dependencies": { "cross-fetch": "4.0.0" }, - "types": "./index.d.ts", + "types": "./index.d.mts", "devDependencies": { "@babel/cli": "7.23.0", "@babel/core": "7.23.3",