react-native-wakeword-sid 1.1.57 → 1.1.61

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-sid",
3
- "version": "1.1.57",
3
+ "version": "1.1.61",
4
4
  "description": "Voice/Wake-word detection library for React Native",
5
5
  "main": "wakewords/index.js",
6
6
  "types": "wakewords/index.d.ts",
@@ -5,11 +5,11 @@ import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource'
5
5
  // Keep using the SAME native module (KeyWordRNBridge.m already exports these methods)
6
6
  const { KeyWordRNBridge } = NativeModules;
7
7
  const emitter = KeyWordRNBridge ? new NativeEventEmitter(KeyWordRNBridge) : null;
8
- +const VERBOSE = true;
9
- +const PFX = '[SVJS]';
10
- +const ts = () => new Date().toISOString();
11
- +function dbg(...args) { if (VERBOSE) console.log(ts(), PFX, ...args); }
12
- +function dbgErr(...args) { console.log(ts(), PFX, '❌', ...args); }
8
+ const VERBOSE = true;
9
+ const PFX = '[SVJS]';
10
+ const ts = () => new Date().toISOString();
11
+ function dbg(...args) { if (VERBOSE) console.log(ts(), PFX, ...args); }
12
+ function dbgErr(...args) { console.log(ts(), PFX, '❌', ...args); }
13
13
 
14
14
  function stripFileScheme(uri) {
15
15
  if (!uri) return uri;
@@ -17,3 +17,6 @@ import { onSpeakerVerificationVerifyResult } from './SpeakerVerificationRNBridge
17
17
  import { onSpeakerVerificationError } from './SpeakerVerificationRNBridge';
18
18
  import useModel from './useModel';
19
19
  export { enableDucking, disableDucking, initAudioSessAndDuckManage, restartListeningAfterDucking, removeAllRNBridgeListeners, createKeyWordRNBridgeInstance, KeyWordRNBridgeInstance, setWakewordAudioRoutingConfig, createSpeakerVerificationInstance, SpeakerVerificationRNBridgeInstance, createSpeakerVerificationMicController, SpeakerVerificationMicController, onSpeakerVerificationOnboardingProgress, onSpeakerVerificationOnboardingDone, onSpeakerVerificationVerifyResult, onSpeakerVerificationError, useModel };
20
+
21
+ // Re-export routing types for consumers:
22
+ export type { AudioRoutingConfig, RouteConfigEntry } from './audioRoutingConfig';