@hocuspocus/transformer
Advanced tools
Comparing version 2.10.0 to 2.11.0
@@ -48,3 +48,3 @@ import type { AbstractType, YArrayEvent } from 'yjs'; | ||
private getYThread; | ||
createThread(data: Omit<TCollabThread, '_id' | 'createdAt' | 'updatedAt' | 'comments'>): TCollabThread | null; | ||
createThread(data: Omit<TCollabThread, 'id' | 'createdAt' | 'updatedAt' | 'comments'>): TCollabThread | null; | ||
updateThread(id: TCollabThread['id'], data: Partial<Pick<TCollabThread, 'data' | 'resolvedAt'>>): TCollabThread | null; | ||
@@ -51,0 +51,0 @@ deleteThread(id: TCollabThread['id']): void; |
@@ -90,5 +90,5 @@ import WebSocket from 'ws'; | ||
*/ | ||
broadcastStateless(payload: string): void; | ||
broadcastStateless(payload: string, filter?: (conn: Connection) => boolean): void; | ||
destroy(): void; | ||
} | ||
export default Document; |
{ | ||
"name": "@hocuspocus/transformer", | ||
"version": "2.10.0", | ||
"version": "2.11.0", | ||
"description": "hocuspocus transformation utilities", | ||
@@ -5,0 +5,0 @@ "homepage": "https://hocuspocus.dev", |
696849