corestore 7.12.1 → 7.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -263,7 +263,7 @@ class Corestore extends ReadyResource {
263
263
  this.watchers = null
264
264
  this.watchIndex = -1
265
265
 
266
- this._groupNotifiers = new Map() // group notifications
266
+ this._groupNotifiers = this.root ? this.root._groupNotifiers : new Map() // group notifications
267
267
  this._findingPeers = null // here for legacy
268
268
  this._ongcBound = this._ongc.bind(this)
269
269
  this._onGroupActiveBound = this._onGroupActive.bind(this)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "corestore",
3
- "version": "7.12.1",
3
+ "version": "7.12.2",
4
4
  "description": "A Hypercore factory that simplifies managing collections of cores.",
5
5
  "main": "index.js",
6
6
  "files": [