react-native-wakeword 1.1.84 → 1.1.88

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-wakeword",
3
- "version": "1.1.84",
3
+ "version": "1.1.88",
4
4
  "description": "Voice/Wake-word detection library for React Native",
5
5
  "main": "wakewords/index.js",
6
6
  "types": "wakewords/index.d.ts",
@@ -201,7 +201,9 @@ export class KeyWordRNBridgeInstance {
201
201
  }
202
202
 
203
203
  async pauseDetection(stopMic = false) {
204
- return await KeyWordRNBridge.pauseDetection(this.instanceId, stopMic);
204
+ // XXX - check if needs await
205
+ // return await KeyWordRNBridge.pauseDetection(this.instanceId, stopMic);
206
+ return KeyWordRNBridge.pauseDetection(this.instanceId, stopMic);
205
207
  }
206
208
 
207
209
  async unPauseDetection() {
@@ -210,7 +212,9 @@ export class KeyWordRNBridgeInstance {
210
212
  await KeyWordRNBridge.unPauseDetection(this.instanceId);
211
213
  await KeyWordRNBridge.pauseDetection(this.instanceId, true);
212
214
  }
213
- return await KeyWordRNBridge.unPauseDetection(this.instanceId);
215
+ // Check if needs await
216
+ // return await KeyWordRNBridge.unPauseDetection(this.instanceId);
217
+ return KeyWordRNBridge.unPauseDetection(this.instanceId);
214
218
  }
215
219
 
216
220
  async destroyInstance() {