Installation
How to install @qubic.org/bob and configure your project.
bun add @qubic.org/bobnpm install @qubic.org/bobpnpm add @qubic.org/bobPeer dependencies
@qubic.org/bob requires @qubic.org/types as a peer dependency for branded identity types used in event log subscriptions.
bun add @qubic.org/typesnpm install @qubic.org/typespnpm add @qubic.org/typesRuntime requirements
@qubic.org/bob uses the WebSocket global. This is available natively in Bun, Node.js 22+, and all modern browsers. For older Node.js versions, polyfill with the ws package or upgrade your runtime.
The package is published as ESM only. CommonJS (require) is not supported. Use "type": "module" in your package.json or a bundler that handles ESM imports.