autobee-wakeup 1.0.4 → 1.1.0
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.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -63,7 +63,7 @@ module.exports = class AutobeeWakeup extends ReadyResource {
|
|
|
63
63
|
this._auto.bumpSoon()
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
flush() {
|
|
67
67
|
const hints = new Map(this._hints)
|
|
68
68
|
this._hints.clear()
|
|
69
69
|
return hints
|
|
@@ -106,7 +106,7 @@ module.exports = class AutobeeWakeup extends ReadyResource {
|
|
|
106
106
|
|
|
107
107
|
recouple() {
|
|
108
108
|
if (this._coupler) this._coupler.destroy()
|
|
109
|
-
const core = this._auto.
|
|
109
|
+
const core = this._auto.bootstrap
|
|
110
110
|
this._coupler = new CoreCoupler(core, this._wakeupPeerBound)
|
|
111
111
|
}
|
|
112
112
|
|