From 1d095ce99b226f0fb144a7007bd4cc4f1e2cfbc5 Mon Sep 17 00:00:00 2001 From: CBK Date: Wed, 11 Mar 2026 20:45:05 +0100 Subject: [PATCH 1/2] fix(package.json): add types to exports and remove redundant entry point fields --- package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 237ad8e..8093e2c 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,9 @@ "version": "11.1.0", "description": "The JavaScript Content API Library a.k.a. Content API is an interface handling data coming from the FirstSpirit CaaS and the Navigation Service.", "keywords": [], - "main": "dist/fsxa-api.cjs.js", - "module": "dist/fsxa-api.es5.js", - "types": "dist/types", "exports": { ".": { + "types": "./dist/types/index.d.ts", "import": "./dist/fsxa-api.es5.js", "require": "./dist/fsxa-api.cjs.js" } From b1160f5341a7cd2b739a229607301dd4eb00dcf4 Mon Sep 17 00:00:00 2001 From: CBK Date: Wed, 11 Mar 2026 20:46:58 +0100 Subject: [PATCH 2/2] fix(package.json): add types to exports and remove redundant entry point fields --- proxy/package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/proxy/package.json b/proxy/package.json index 980a06a..7284f30 100644 --- a/proxy/package.json +++ b/proxy/package.json @@ -2,9 +2,6 @@ "name": "fsxa-proxy-api", "version": "11.1.0", "description": "This package represents the proxy version of the JavaScript Content API Library, running on the client side.", - "main": "dist/fsxa-proxy-api.cjs.js", - "module": "dist/fsxa-proxy-api.es5.js", - "types": "dist/types", "author": "Justin Wiegmann ", "contributors": [ "Nicolai McAlley " @@ -15,6 +12,7 @@ ], "exports": { ".": { + "types": "./dist/types/index.d.ts", "import": "./dist/fsxa-proxy-api.es5.js", "require": "./dist/fsxa-proxy-api.cjs.js" }