Merge pull request #150 from anthropics/feat/restore-type-exports
Fix: Restore type exports
This commit is contained in:
commit
dc7e1514ce
4 changed files with 8 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue