From bf1d8a977c8f1d5f1bcb5b892827b440f312d3d9 Mon Sep 17 00:00:00 2001 From: Colin Hemphill Date: Thu, 25 Jun 2026 08:35:56 -0500 Subject: [PATCH] Fix extensions for cjs and esm exports. --- package-lock.json | 4 ++-- package.json | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 91a255e..85c88f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@bitly/api-client", - "version": "0.0.3", + "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@bitly/api-client", - "version": "0.0.3", + "version": "0.1.0", "license": "MIT", "devDependencies": { "tsdown": "^0.22.3", diff --git a/package.json b/package.json index c2a8499..119f001 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bitly/api-client", - "version": "0.1.0", + "version": "0.1.1", "description": "Bitly API Client", "keywords": [ "Bitly", @@ -21,13 +21,13 @@ "author": "", "type": "module", "main": "./dist/index.cjs", - "module": "./dist/index.js", - "types": "./dist/index.d.ts", + "module": "./dist/index.mjs", + "types": "./dist/index.d.mts", "exports": { ".": { "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" + "types": "./dist/index.d.mts", + "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.cts",