react-native-wakeword 1.1.89 → 1.1.90
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/package.json
CHANGED
|
@@ -203,7 +203,7 @@ export class KeyWordRNBridgeInstance {
|
|
|
203
203
|
async pauseDetection(stopMic = false) {
|
|
204
204
|
// XXX - check if needs await
|
|
205
205
|
// return await KeyWordRNBridge.pauseDetection(this.instanceId, stopMic);
|
|
206
|
-
return KeyWordRNBridge.pauseDetection(this.instanceId, stopMic);
|
|
206
|
+
return await KeyWordRNBridge.pauseDetection(this.instanceId, stopMic);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
async unPauseDetection() {
|
|
@@ -214,7 +214,7 @@ export class KeyWordRNBridgeInstance {
|
|
|
214
214
|
}
|
|
215
215
|
// Check if needs await
|
|
216
216
|
// return await KeyWordRNBridge.unPauseDetection(this.instanceId);
|
|
217
|
-
return KeyWordRNBridge.unPauseDetection(this.instanceId);
|
|
217
|
+
return await KeyWordRNBridge.unPauseDetection(this.instanceId);
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
async destroyInstance() {
|