UNPKG

yjs-bundle

Version:

bundles several yjs packages in a single module in order to avoid "Yjs was already imported" problems

23 lines (20 loc) 808 B
export * from 'yjs' // @ts-ignore import { PREFERRED_TRIM_SIZE, fetchUpdates, storeState, clearDocument, IndexeddbPersistence } from 'y-indexeddb' // @ts-ignore import { WebsocketProvider, messageAuth, messageAwareness, messageQueryAwareness, messageSync } from 'y-websocket' // @ts-ignore import { WebrtcConn, Room, SignalingConn, WebrtcProvider } from 'y-webrtc' // @ts-ignore import { YKeyValue } from 'y-utility/y-keyvalue' // @ts-ignore import { LWWMap } from 'y-lwwmap' // @ts-ignore import { Observable } from 'lib0/observable' export { PREFERRED_TRIM_SIZE, fetchUpdates, storeState, clearDocument, IndexeddbPersistence, WebsocketProvider, messageAuth, messageAwareness, messageQueryAwareness, messageSync, WebrtcConn, Room, SignalingConn, WebrtcProvider, YKeyValue, LWWMap, Observable }