From ccb19277c462184906ae9619641738c7a4539f72 Mon Sep 17 00:00:00 2001 From: Joan Xie Date: Wed, 24 Sep 2025 14:03:03 -0700 Subject: [PATCH] feat: export constants from package entrypoints --- src/browser.ts | 1 + src/cli.ts | 1 + src/index.ts | 1 + src/node.ts | 1 + 4 files changed, 4 insertions(+) diff --git a/src/browser.ts b/src/browser.ts index df70301..ea4aaef 100644 --- a/src/browser.ts +++ b/src/browser.ts @@ -1,4 +1,5 @@ // Browser-compatible exports export * from "./schemas/0.2.js"; export * from "./shared/config.js"; +export * from "./shared/constants.js"; export * from "./types.js"; diff --git a/src/cli.ts b/src/cli.ts index 2562c75..4b5a9f0 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -5,6 +5,7 @@ export * from "./cli/pack.js"; // Include all shared exports export * from "./schemas/0.2.js"; export * from "./shared/config.js"; +export * from "./shared/constants.js"; export * from "./types.js"; // Include node exports since CLI needs them diff --git a/src/index.ts b/src/index.ts index 2250ba3..327a96c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,4 +7,5 @@ export * from "./node/sign.js"; export * from "./node/validate.js"; export * from "./schemas/0.2.js"; export * from "./shared/config.js"; +export * from "./shared/constants.js"; export * from "./types.js"; diff --git a/src/node.ts b/src/node.ts index 2598be8..62f4774 100644 --- a/src/node.ts +++ b/src/node.ts @@ -6,4 +6,5 @@ export * from "./node/validate.js"; // Include all shared exports export * from "./schemas/0.2.js"; export * from "./shared/config.js"; +export * from "./shared/constants.js"; export * from "./types.js";