react-native-wakeword 1.0.47 → 1.0.48

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.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "Voice/Wake-word detection library for React Native",
5
5
  "main": "wakewords/index.js",
6
6
  "types": "wakewords/index.d.ts",
@@ -1,3 +1,6 @@
1
- export { useModel };
2
1
  export default useModel;
2
+ import { removeAllRNBridgeListeners } from "./KeyWordRNBridge";
3
+ import { createKeyWordRNBridgeInstance } from "./KeyWordRNBridge";
4
+ import { KeyWordRNBridgeInstance } from "./KeyWordRNBridge";
3
5
  import useModel from "./useModel";
6
+ export { removeAllRNBridgeListeners, createKeyWordRNBridgeInstance, KeyWordRNBridgeInstance, useModel };
@@ -1,4 +1,16 @@
1
1
  import useModel from './useModel';
2
+ import {
3
+ createKeyWordRNBridgeInstance,
4
+ removeAllRNBridgeListeners,
5
+ KeyWordRNBridgeInstance,
6
+ } from './KeyWordRNBridge';
2
7
 
8
+
9
+ export { removeAllRNBridgeListeners }
10
+ export { createKeyWordRNBridgeInstance }
11
+ export { KeyWordRNBridgeInstance }
3
12
  export { useModel }; // Export only useModel
4
13
  export default useModel; // Allow default import
14
+ export default KeyWordRNBridgeInstance; // Allow default import
15
+ export default removeAllRNBridgeListeners; // Allow default import
16
+ export default createKeyWordRNBridgeInstance; // Allow default import