Skip to content

Commit dc7e151

Browse files
Merge pull request #150 from anthropics/feat/restore-type-exports
Fix: Restore type exports
2 parents 5079fcf + d282664 commit dc7e151

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@anthropic-ai/mcpb",
33
"description": "Tools for building MCP Bundles",
4-
"version": "2.0.0",
4+
"version": "2.0.1",
55
"type": "module",
66
"main": "dist/index.js",
77
"module": "dist/index.js",

src/browser.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Browser-compatible exports
22
export * from "./schemas/index.js";
3+
export * from "./shared/common.js";
34
export * from "./shared/config.js";
45
export * from "./shared/constants.js";
6+
export * from "./types.js";

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ export * from "./node/files.js";
66
export * from "./node/sign.js";
77
export * from "./node/validate.js";
88
export * from "./schemas/index.js";
9+
export * from "./shared/common.js";
910
export * from "./shared/config.js";
1011
export * from "./shared/constants.js";
12+
export * from "./types.js";

src/shared/common.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ export const McpbSignatureInfoSchema = z.strictObject({
1313
valid_to: z.string().optional(),
1414
fingerprint: z.string().optional(),
1515
});
16+
17+
export type McpbSignatureInfo = z.infer<typeof McpbSignatureInfoSchema>;
18+
export type McpbUserConfigValues = z.infer<typeof McpbUserConfigValuesSchema>;

0 commit comments

Comments
 (0)