react-native-wakeword 1.0.48 → 1.0.50
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
|
@@ -11,7 +11,7 @@ export class KeyWordRNBridgeInstance {
|
|
|
11
11
|
startKeywordDetection(threshold: any): Promise<any>;
|
|
12
12
|
stopKeywordDetection(): Promise<any>;
|
|
13
13
|
destroyInstance(): Promise<any>;
|
|
14
|
-
onKeywordDetectionEvent(callback: any):
|
|
14
|
+
onKeywordDetectionEvent(callback: any): import("react-native").EmitterSubscription;
|
|
15
15
|
removeListeners(): void;
|
|
16
16
|
}
|
|
17
17
|
export function removeAllRNBridgeListeners(): Promise<void>;
|
package/wakewords/index.js
CHANGED
|
@@ -11,6 +11,3 @@ export { createKeyWordRNBridgeInstance }
|
|
|
11
11
|
export { KeyWordRNBridgeInstance }
|
|
12
12
|
export { useModel }; // Export only useModel
|
|
13
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
|