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.
Files changed (2) hide show
  1. package/index.js +2 -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
- async flush() {
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.local
109
+ const core = this._auto.bootstrap
110
110
  this._coupler = new CoreCoupler(core, this._wakeupPeerBound)
111
111
  }
112
112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autobee-wakeup",
3
- "version": "1.0.4",
3
+ "version": "1.1.0",
4
4
  "description": "autobee-wakeup",
5
5
  "main": "index.js",
6
6
  "exports": {