@roomservice/browser
Advanced tools
Comparing version 0.4.0-0 to 0.4.0-1
@@ -16,7 +16,3 @@ import { PresenceMeta } from "./presence-client"; | ||
private _init; | ||
init(): Promise<{ | ||
doc: string; | ||
} | { | ||
doc: Obj; | ||
}>; | ||
init(): Promise<Obj>; | ||
restore(): Promise<any>; | ||
@@ -27,3 +23,3 @@ onConnect(callback: () => void): void; | ||
setDoc<D extends Obj>(change: (prevDoc: D) => void): Readonly<D>; | ||
onSetDoc<D extends Obj>(callback: (newDoc: Readonly<D>) => void): void; | ||
onSetDoc<D extends Obj>(callback: (newDoc: D) => void): void; | ||
setPresence<P extends Obj>(key: string, value: P): void; | ||
@@ -30,0 +26,0 @@ onSetPresence<P extends Obj>(callback: (meta: PresenceMeta, value: P) => void): void; |
{ | ||
"name": "@roomservice/browser", | ||
"version": "0.4.0-0", | ||
"version": "0.4.0-1", | ||
"main": "dist/index", | ||
@@ -5,0 +5,0 @@ "types": "dist/index", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59972
946