From 29e35adbbb0b6a322a595f09e4c219c0af5f53fb Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 24 Aug 2026 19:52:33 +0000 Subject: [PATCH] fix: Export the package root for require The root export only declared types and import conditions, so require('@seamapi/http') failed with ERR_PACKAGE_PATH_NOT_EXPORTED for CommonJS consumers, while require('@seamapi/http/connect') worked through its default condition. The declared Node engine supports require of ES modules, so the missing condition was the only blocker. Use the same default condition for the root export. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01B8xeJm2Hd923k8uo6eoFd2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 356e8130..56bb7619 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "exports": { ".": { "types": "./index.d.ts", - "import": "./index.js" + "default": "./index.js" }, "./connect": { "types": "./index.d.ts",