├── .changeset ├── README.md ├── config.json └── dirty-bikes-glow.md ├── .github ├── changeset-version.sh ├── version-script.ts └── workflows │ ├── cla.yml │ ├── pkg-pr-new.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE.txt ├── README.md ├── SECURITY.md ├── __tests__ ├── index.test.ts ├── test-server-workerd.js ├── test-server.ts ├── test-util.ts ├── tsconfig.json └── workerd.test.ts ├── examples ├── README.md ├── batch-pipelining │ ├── README.md │ ├── client.mjs │ └── server-node.mjs └── worker-react │ ├── README.md │ ├── src │ └── worker.ts │ ├── web │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── src │ │ ├── main.tsx │ │ └── main │ │ │ └── App.tsx │ ├── tsconfig.json │ └── vite.config.ts │ └── wrangler.toml ├── package.json ├── protocol.md ├── src ├── batch.ts ├── core.ts ├── index-workers.ts ├── index.ts ├── inject-workers-module.ts ├── map.ts ├── messageport.ts ├── rpc.ts ├── serialize.ts ├── symbols.ts ├── types.d.ts └── websocket.ts ├── tsconfig.json ├── tsup.config.ts ├── vitest.config.ts └── vitest.shims.d.ts /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.changeset/dirty-bikes-glow.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/.changeset/dirty-bikes-glow.md -------------------------------------------------------------------------------- /.github/changeset-version.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/.github/changeset-version.sh -------------------------------------------------------------------------------- /.github/version-script.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/.github/version-script.ts -------------------------------------------------------------------------------- /.github/workflows/cla.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/.github/workflows/cla.yml -------------------------------------------------------------------------------- /.github/workflows/pkg-pr-new.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/.github/workflows/pkg-pr-new.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/SECURITY.md -------------------------------------------------------------------------------- /__tests__/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/__tests__/index.test.ts -------------------------------------------------------------------------------- /__tests__/test-server-workerd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/__tests__/test-server-workerd.js -------------------------------------------------------------------------------- /__tests__/test-server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/__tests__/test-server.ts -------------------------------------------------------------------------------- /__tests__/test-util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/__tests__/test-util.ts -------------------------------------------------------------------------------- /__tests__/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/__tests__/tsconfig.json -------------------------------------------------------------------------------- /__tests__/workerd.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/__tests__/workerd.test.ts -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/batch-pipelining/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/batch-pipelining/README.md -------------------------------------------------------------------------------- /examples/batch-pipelining/client.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/batch-pipelining/client.mjs -------------------------------------------------------------------------------- /examples/batch-pipelining/server-node.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/batch-pipelining/server-node.mjs -------------------------------------------------------------------------------- /examples/worker-react/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/worker-react/README.md -------------------------------------------------------------------------------- /examples/worker-react/src/worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/worker-react/src/worker.ts -------------------------------------------------------------------------------- /examples/worker-react/web/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/worker-react/web/index.html -------------------------------------------------------------------------------- /examples/worker-react/web/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/worker-react/web/package-lock.json -------------------------------------------------------------------------------- /examples/worker-react/web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/worker-react/web/package.json -------------------------------------------------------------------------------- /examples/worker-react/web/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/worker-react/web/src/main.tsx -------------------------------------------------------------------------------- /examples/worker-react/web/src/main/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/worker-react/web/src/main/App.tsx -------------------------------------------------------------------------------- /examples/worker-react/web/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/worker-react/web/tsconfig.json -------------------------------------------------------------------------------- /examples/worker-react/web/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/worker-react/web/vite.config.ts -------------------------------------------------------------------------------- /examples/worker-react/wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/examples/worker-react/wrangler.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/package.json -------------------------------------------------------------------------------- /protocol.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/protocol.md -------------------------------------------------------------------------------- /src/batch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/src/batch.ts -------------------------------------------------------------------------------- /src/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/src/core.ts -------------------------------------------------------------------------------- /src/index-workers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/src/index-workers.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/inject-workers-module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/src/inject-workers-module.ts -------------------------------------------------------------------------------- /src/map.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/src/map.ts -------------------------------------------------------------------------------- /src/messageport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/src/messageport.ts -------------------------------------------------------------------------------- /src/rpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/src/rpc.ts -------------------------------------------------------------------------------- /src/serialize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/src/serialize.ts -------------------------------------------------------------------------------- /src/symbols.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/src/symbols.ts -------------------------------------------------------------------------------- /src/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/src/types.d.ts -------------------------------------------------------------------------------- /src/websocket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/src/websocket.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/tsup.config.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/vitest.config.ts -------------------------------------------------------------------------------- /vitest.shims.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/capnweb/HEAD/vitest.shims.d.ts --------------------------------------------------------------------------------