react-native-wakeword 1.0.40 → 1.0.41

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.
@@ -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.41",
4
4
  "description": "Voice/Wake-word detection library for React Native",
5
5
  "main": "wakewords/index.js",
6
6
  "types": "wakewords/index.d.ts",