Browse Source

remove cobox-swarm

Kieran Gibb 2 years ago
parent
commit
8575e091e6
No known key found for this signature in database
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      index.js

+ 1
- 2
index.js View File

@@ -1,5 +1,4 @@
1 1
 const Base = require('cobox-group-base')
2
-const swarm = require('cobox-swarm')
3 2
 const assert = require('assert')
4 3
 const thunky = require('thunky')
5 4
 const debug = require('debug')('cobox-blind-replicator')
@@ -35,7 +34,7 @@ class BlindReplicator extends Base {
35 34
 
36 35
     swarm.join(this.discoveryKey, { lookup: true, announce: true })
37 36
 
38
-    this.connection = swarm
37
+    this._connection = swarm
39 38
     this._isSwarming = true
40 39
     return true
41 40
   }