@roomservice/browser
Advanced tools
Comparing version 0.3.1 to 0.3.2-0
@@ -14,2 +14,6 @@ "use strict"; | ||
}, | ||
// This only works on sites that have setup DNS, | ||
// or the debugger on roomservice.dev/app, which | ||
// uses this SDK. | ||
credentials: "include", | ||
throwHttpErrors: false | ||
@@ -16,0 +20,0 @@ }); |
/// <reference types="socket.io-client" /> | ||
declare const Sockets: { | ||
newSocket(url: string, opts: SocketIOClient.ConnectOpts): SocketIOClient.Socket; | ||
on(socket: SocketIOClient.Socket, event: "error" | "disconnect" | "connect" | "sync_room_state", fn: (...args: any[]) => void): void; | ||
on(socket: SocketIOClient.Socket, event: "error" | "connect" | "disconnect" | "sync_room_state", fn: (...args: any[]) => void): void; | ||
emit(socket: SocketIOClient.Socket, event: "sync_room_state", ...args: any[]): void; | ||
@@ -6,0 +6,0 @@ disconnect(socket: SocketIOClient.Socket): void; |
{ | ||
"name": "@roomservice/browser", | ||
"version": "0.3.1", | ||
"version": "0.3.2-0", | ||
"main": "dist/index", | ||
@@ -27,3 +27,4 @@ "types": "dist/index", | ||
"ts-jest": "^24.2.0", | ||
"typescript": "^3.7.3" | ||
"tslib": "^1.10.0", | ||
"typescript": "^3.7.5" | ||
}, | ||
@@ -30,0 +31,0 @@ "dependencies": { |
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
46291
697
12