react-native-wakeword 1.0.40 → 1.0.42

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.
@@ -1 +1 @@
1
- bb17585e6f4cf75bd791f9940e5fe10f keyworddetection-1.0.0.aar
1
+ 91857f2139b544f39326588c340c4650 keyworddetection-1.0.0.aar
@@ -1 +1 @@
1
- 7ac49c589641f454508a0bf43f001568402c1226 keyworddetection-1.0.0.aar
1
+ 64cfa225482b566dc06647130fbcccdd67b25e8e keyworddetection-1.0.0.aar
@@ -130,7 +130,7 @@ RCT_EXPORT_METHOD(startKeywordDetection:(NSString *)instanceId threshold:(float)
130
130
  KeyWordsDetectionWrapper *wrapper = self.instances[instanceId];
131
131
  KeyWordsDetection *instance = wrapper.keyWordsDetection;
132
132
  if (instance) {
133
- BOOL success = [keyWordsDetection startListening];
133
+ BOOL success = [instance startListening];
134
134
  if (success == false) {
135
135
  reject(@"StartError", [NSString stringWithFormat:@"Failed to start detection"], nil);
136
136
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-wakeword",
3
- "version": "1.0.40",
3
+ "version": "1.0.42",
4
4
  "description": "Voice/Wake-word detection library for React Native",
5
5
  "main": "wakewords/index.js",
6
6
  "types": "wakewords/index.d.ts",
@@ -7,7 +7,7 @@ import { Platform } from "react-native";
7
7
 
8
8
  type DetectionCallback = (event: any) => void;
9
9
 
10
- var license = "MTczMjkxNzYwMDAwMA==-DDwBWs914KpHbWBBSqi28vhiM4l5CYG+YgS2n9Z3DMI=";
10
+ var license = "MTczNDIxMzYwMDAwMA==-tNV5HJ3NTRQCs5IpOe0imza+2PgPCJLRdzBJmMoJvok=";
11
11
  interface keyWordRNBridgeInstanceConfig {
12
12
  id: string;
13
13
  instance: KeyWordRNBridgeInstance;