node-switchbot 1.7.1-beta.0 → 1.7.1-beta.1
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/lib/switchbot.js +4 -4
- package/package.json +1 -1
package/lib/switchbot.js
CHANGED
|
@@ -155,7 +155,7 @@ class Switchbot {
|
|
|
155
155
|
});
|
|
156
156
|
|
|
157
157
|
// Start scanning
|
|
158
|
-
this.noble.startScanningAsync(
|
|
158
|
+
this.noble.startScanningAsync(
|
|
159
159
|
this._PRIMARY_SERVICE_UUID_LIST,
|
|
160
160
|
false,
|
|
161
161
|
(error) => {
|
|
@@ -167,7 +167,7 @@ class Switchbot {
|
|
|
167
167
|
finishDiscovery();
|
|
168
168
|
}, p.duration);
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
, false);
|
|
171
171
|
})
|
|
172
172
|
.catch((error) => {
|
|
173
173
|
reject(error);
|
|
@@ -371,7 +371,7 @@ class Switchbot {
|
|
|
371
371
|
});
|
|
372
372
|
|
|
373
373
|
// Start scanning
|
|
374
|
-
this.noble.startScanningAsync(
|
|
374
|
+
this.noble.startScanningAsync(
|
|
375
375
|
this._PRIMARY_SERVICE_UUID_LIST,
|
|
376
376
|
true,
|
|
377
377
|
(error) => {
|
|
@@ -381,7 +381,7 @@ class Switchbot {
|
|
|
381
381
|
resolve();
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
|
|
384
|
+
, false);
|
|
385
385
|
})
|
|
386
386
|
.catch((error) => {
|
|
387
387
|
reject(error);
|
package/package.json
CHANGED