From a9a697d95f155dad2906e0890041beb7049cf86d Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Fri, 27 Oct 2023 13:57:11 -0700 Subject: [PATCH] fix(ses): fix types export for newer module resolutions Much like #1803, this adds `types` conditional exports where appropriate. --- packages/ses/package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/ses/package.json b/packages/ses/package.json index 182e1d2211..04797b758a 100644 --- a/packages/ses/package.json +++ b/packages/ses/package.json @@ -36,11 +36,13 @@ "exports": { ".": { "import": "./index.js", - "require": "./dist/ses.cjs" + "require": "./dist/ses.cjs", + "types": "./types.d.ts" }, "./lockdown": { "import": "./index.js", - "require": "./dist/ses.cjs" + "require": "./dist/ses.cjs", + "types": "./types.d.ts" }, "./tools.js": "./tools.js", "./package.json": "./package.json"