@gamention/pulse-shared
v0.2.0
Published
Shared types, constants, and WebSocket protocol for Pulse — a real-time collaboration SDK
Maintainers
Readme
@gamention/pulse-shared
Shared TypeScript types, constants, and WebSocket protocol definitions for Pulse — a real-time collaboration SDK.
Installation
npm install @gamention/pulse-sharedYou typically don't need to install this directly. It's included as a dependency of
@gamention/pulse-coreand@gamention/pulse-elements.
What's Inside
- Types —
Thread,Comment,PinPosition,Attachment,PresenceUser,Notification,Reaction, etc. - Protocol — Full WebSocket message definitions (
ClientMessage/ServerMessageunions) - Constants — Cursor throttle, presence heartbeat, reconnect delays, user colors
Usage
import type { Thread, Comment, PinPosition, Attachment } from '@gamention/pulse-shared';Documentation
Full docs at pulse.hire.rest/docs
License
MIT
