Merge pull request #150 from anthropics/feat/restore-type-exports

Fix: Restore type exports
This commit is contained in:
joan-anthropic 2025-11-04 13:11:11 -08:00 • committed by GitHub
commit dc7e1514ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{
"name": "@anthropic-ai/mcpb",
"description": "Tools for building MCP Bundles",
"version": "2.0.0",
"version": "2.0.1",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",

View file

@ -1,4 +1,6 @@
// Browser-compatible exports
export * from "./schemas/index.js";
export * from "./shared/common.js";
export * from "./shared/config.js";
export * from "./shared/constants.js";
export * from "./types.js";

View file

@ -6,5 +6,7 @@ export * from "./node/files.js";
export * from "./node/sign.js";
export * from "./node/validate.js";
export * from "./schemas/index.js";
export * from "./shared/common.js";
export * from "./shared/config.js";
export * from "./shared/constants.js";
export * from "./types.js";

View file

@ -13,3 +13,6 @@ export const McpbSignatureInfoSchema = z.strictObject({
valid_to: z.string().optional(),
fingerprint: z.string().optional(),
});
export type McpbSignatureInfo = z.infer<typeof McpbSignatureInfoSchema>;
export type McpbUserConfigValues = z.infer<typeof McpbUserConfigValuesSchema>;