@scipen/im-protocol
v0.1.0
Published
IM wire protocol definitions for Scipen IM
Readme
@scipen/im-protocol
Type definitions and adapter interfaces for the IM SDK.
Foundation package that every other @scipen/im-* package depends on. Zero runtime dependencies.
Install
pnpm add @scipen/im-protocolWhat's inside
- Connection state:
ConnectionState,IMClientConfig,IMClientEvents - WebSocket protocol:
WSClientMessage,WSServerMessage - Domain:
Conversation,Message,MessageWithQuote,ContentType - REST DTOs:
ConversationWithMeta,UploadResult - Metadata:
MessageMetadata,CollaborationMetadataDTO(structured extension fields)
import type { ConnectionState, MessageWithQuote } from '@scipen/im-protocol';Dependency graph
@scipen/im-protocol (this package)
↑
im-core, im-adapter-browser, im-adapter-electron-main, im-reactLicense
MIT © SciPen Team
