@roomservice/browser
Advanced tools
Comparing version 3.0.2 to 3.0.3
import { SuperlumeSend } from './ws'; | ||
import { ObjectClient, DocumentCheckpoint } from './types'; | ||
import { LocalBus } from './localbus'; | ||
import { BootstrapState } from 'remote'; | ||
import { BootstrapState } from './remote'; | ||
export declare type ListObject = Array<any>; | ||
@@ -6,0 +6,0 @@ export declare class InnerListClient<T extends ListObject> implements ObjectClient { |
@@ -5,3 +5,4 @@ import { ObjectClient } from './types'; | ||
import { DocumentCheckpoint } from '@roomservice/core'; | ||
import { BootstrapState } from 'remote'; | ||
import { BootstrapState } from './remote'; | ||
import { MapClient } from 'RoomClient'; | ||
export declare type MapObject = { | ||
@@ -36,5 +37,5 @@ [key: string]: any; | ||
get<K extends keyof T>(key: K): T[K] | undefined; | ||
set<K extends keyof T>(key: K, value: T[K]): InnerMapClient<T>; | ||
set<K extends keyof T>(key: K, value: T[K]): MapClient<T>; | ||
toObject(): T; | ||
delete<K extends keyof T>(key: K): InnerMapClient<T>; | ||
} |
import { SuperlumeSend } from './ws'; | ||
import { Prop } from './types'; | ||
import { WebSocketPresenceFwdMessage, WebSocketLeaveMessage } from './wsMessages'; | ||
import { LocalBus } from 'localbus'; | ||
import { BootstrapState } from 'remote'; | ||
import { LocalBus } from './localbus'; | ||
import { BootstrapState } from './remote'; | ||
export declare type LocalPresenceUpdate = { | ||
@@ -7,0 +7,0 @@ key: string; |
import { DocumentCheckpoint } from './types'; | ||
import { AuthBundle, BootstrapState, LocalSession } from 'remote'; | ||
import { AuthBundle, BootstrapState, LocalSession } from './remote'; | ||
export declare function mockSession(): LocalSession; | ||
@@ -4,0 +4,0 @@ export declare function mockSessionFetch(_: { |
@@ -1,3 +0,3 @@ | ||
import { DocumentCheckpoint } from 'types'; | ||
import { DocumentCheckpoint } from './types'; | ||
export declare function unescapeID(checkpoint: DocumentCheckpoint, id: string): string; | ||
export declare function delay(ms: number): Promise<unknown>; |
import { WebSocketDocFwdMessage, WebSocketClientMessage, WebSocketDocCmdMessage, WebSocketPresenceCmdMessage, WebSocketPresenceFwdMessage, WebSocketLeaveMessage, WebSocketJoinMessage } from './wsMessages'; | ||
import { Prop } from 'types'; | ||
import { Prop } from './types'; | ||
import { AuthBundle, BootstrapState, LocalSession } from './remote'; | ||
@@ -4,0 +4,0 @@ declare type DocumentBody = Prop<WebSocketDocCmdMessage, 'body'>; |
{ | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
456938
3540