@idealyst/microphone 1.2.29 → 1.2.31
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 +2 -2
- package/src/microphone.web.ts +1 -1
- package/src/types.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idealyst/microphone",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.31",
|
|
4
4
|
"description": "Cross-platform microphone streaming for React and React Native",
|
|
5
5
|
"documentation": "https://github.com/IdealystIO/idealyst-framework/tree/main/packages/microphone#readme",
|
|
6
6
|
"readme": "README.md",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"publish:npm": "npm publish"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@idealyst/components": "^1.2.
|
|
40
|
+
"@idealyst/components": "^1.2.31",
|
|
41
41
|
"react": ">=16.8.0",
|
|
42
42
|
"react-native": ">=0.60.0",
|
|
43
43
|
"react-native-live-audio-stream": ">=1.1.0"
|
package/src/microphone.web.ts
CHANGED
package/src/types.ts
CHANGED
|
@@ -105,7 +105,7 @@ export type MicrophoneState =
|
|
|
105
105
|
| 'recording' // Actively capturing
|
|
106
106
|
| 'paused' // Paused (native only - web must stop/start)
|
|
107
107
|
| 'stopping' // Cleaning up
|
|
108
|
-
| '
|
|
108
|
+
| 'danger'; // Error state
|
|
109
109
|
|
|
110
110
|
export interface MicrophoneStatus {
|
|
111
111
|
state: MicrophoneState;
|