diff --git a/.changeset/flat-foxes-punch.md b/.changeset/flat-foxes-punch.md new file mode 100644 index 0000000000..23c8727807 --- /dev/null +++ b/.changeset/flat-foxes-punch.md @@ -0,0 +1,3 @@ +--- +'@penumbra-zone/transport-chrome': minor +--- diff --git a/packages/transport-chrome/package.json b/packages/transport-chrome/package.json index a8d5aa8480..7d76901540 100644 --- a/packages/transport-chrome/package.json +++ b/packages/transport-chrome/package.json @@ -1,12 +1,23 @@ { "name": "@penumbra-zone/transport-chrome", "version": "2.0.0", - "private": true, "description": "Tools for adapting `@penumbra-zone/transport` to Chrome's extension runtime messaging API", "scripts": { "lint": "eslint \"**/*.ts*\"", "test": "vitest run" }, + "files": [ + "src/", + "*.md", + "!**/*.test.ts" + ], + "exports": { + "./channel-names": "./src/channel-names.ts", + "./message": "./src/message.ts", + "./session-client": "./src/session-client.ts", + "./session-manager": "./src/session-manager.ts", + "./stream": "./src/stream.ts" + }, "dependencies": { "@bufbuild/protobuf": "^1.8.0", "@connectrpc/connect": "^1.4.0", diff --git a/packages/transport-chrome/channel-names.test.ts b/packages/transport-chrome/src/channel-names.test.ts similarity index 100% rename from packages/transport-chrome/channel-names.test.ts rename to packages/transport-chrome/src/channel-names.test.ts diff --git a/packages/transport-chrome/channel-names.ts b/packages/transport-chrome/src/channel-names.ts similarity index 100% rename from packages/transport-chrome/channel-names.ts rename to packages/transport-chrome/src/channel-names.ts diff --git a/packages/transport-chrome/message.ts b/packages/transport-chrome/src/message.ts similarity index 100% rename from packages/transport-chrome/message.ts rename to packages/transport-chrome/src/message.ts diff --git a/packages/transport-chrome/session-client.ts b/packages/transport-chrome/src/session-client.ts similarity index 100% rename from packages/transport-chrome/session-client.ts rename to packages/transport-chrome/src/session-client.ts diff --git a/packages/transport-chrome/session-manager.ts b/packages/transport-chrome/src/session-manager.ts similarity index 100% rename from packages/transport-chrome/session-manager.ts rename to packages/transport-chrome/src/session-manager.ts diff --git a/packages/transport-chrome/stream.ts b/packages/transport-chrome/src/stream.ts similarity index 100% rename from packages/transport-chrome/stream.ts rename to packages/transport-chrome/src/stream.ts