automerge-sync
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -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 @@ }; |
{ | ||
"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
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
52177
665