@roomservice/browser
Advanced tools
Comparing version 0.4.0-1 to 0.4.0-2
@@ -43,4 +43,7 @@ "use strict"; | ||
this._socketURL = constants_1.ROOM_SERICE_SOCKET_URL; | ||
// Whenever possible, we try to use the actorId defined in storage | ||
this.readActorIdThenCreateDoc(parameters.defaultDoc); | ||
// Only read from actorid in the browser | ||
if (typeof window !== "undefined") { | ||
// Whenever possible, we try to use the actorId defined in storage | ||
this.readActorIdThenCreateDoc(parameters.defaultDoc); | ||
} | ||
// We define this here so we can debounce the save function | ||
@@ -47,0 +50,0 @@ // Otherwise we'll get quite the performance hit |
{ | ||
"name": "@roomservice/browser", | ||
"version": "0.4.0-1", | ||
"version": "0.4.0-2", | ||
"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
60138
949