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

automerge-sync

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

automerge-sync - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

dist/src/index.js

@@ -236,10 +236,7 @@ var __extends = (this && this.__extends) || (function () {

var doc = this._syncer(docId);
console.log('got doc', doc, this._syncers);
if (!doc)
return;
var peer = doc.getPeer(peerId);
console.log('got peer');
if (!peer)
return;
console.log('removing peer');
doc.removePeer(peerId);

@@ -246,0 +243,0 @@ };

4

package.json
{
"name": "automerge-sync",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -26,2 +26,2 @@ "main": "dist/src/index.js",

}
}
}

@@ -6,3 +6,3 @@ # automerge-sync

```
npm i automerge-peers
npm i automerge-sync
```

@@ -9,0 +9,0 @@

@@ -223,8 +223,5 @@ import {

let doc = this._syncer(docId);
console.log('got doc', doc, this._syncers)
if (!doc) return;
let peer = doc.getPeer(peerId);
console.log ('got peer')
if (!peer) return;
console.log('removing peer')
doc.removePeer(peerId);

@@ -231,0 +228,0 @@ }

Sorry, the diff of this file is not supported yet

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