Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@roomservice/browser

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@roomservice/browser - npm Package Compare versions

Comparing version 0.4.0-1 to 0.4.0-2

7

dist/doc-client.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc