@roomservice/browser
Advanced tools
Comparing version 0.4.0-6 to 0.4.0-7
@@ -53,3 +53,3 @@ "use strict"; | ||
expect(lodash_1.uniq(urls.sort())).toStrictEqual([ | ||
"https://api.roomservice.dev", | ||
"https://api.roomservice.dev/v1/doc", | ||
"https://api.roomservice.dev/v1/presence" | ||
@@ -56,0 +56,0 @@ ].sort()); |
@@ -13,2 +13,3 @@ "use strict"; | ||
const socket_1 = tslib_1.__importDefault(require("./socket")); | ||
const DOC_NAMESPACE = "/v1/doc"; | ||
function asRoomStr(room) { | ||
@@ -105,3 +106,3 @@ return safe_json_stringify_1.default(room); | ||
this._roomId = room.id; | ||
this._socket = socket_1.default.newSocket(this._socketURL, { | ||
this._socket = socket_1.default.newSocket(this._socketURL + DOC_NAMESPACE, { | ||
transportOptions: { | ||
@@ -108,0 +109,0 @@ polling: { |
@@ -20,2 +20,3 @@ "use strict"; | ||
catch (err) { | ||
console.error("Room Service can't access the auth endpoint. More details: https://err.sh/getroomservice/browser/cant-access-auth-endpoint"); | ||
console.warn(err); | ||
@@ -22,0 +23,0 @@ } |
{ | ||
"name": "@roomservice/browser", | ||
"version": "0.4.0-6", | ||
"version": "0.4.0-7", | ||
"main": "dist/index", | ||
@@ -5,0 +5,0 @@ "types": "dist/index", |
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
63597
986