@designcrowd/fe-shared-lib 1.8.6 → 1.8.7
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 +1 -1
- package/src/useVoiceToText.ts +1 -0
package/package.json
CHANGED
package/src/useVoiceToText.ts
CHANGED
|
@@ -35,6 +35,7 @@ const ERROR_MESSAGES: Record<string, string> = {
|
|
|
35
35
|
'language-not-supported': 'This language is not supported.',
|
|
36
36
|
network: 'A network error occurred. Please check your connection.',
|
|
37
37
|
'audio-capture': 'No microphone was found or microphone is not working.',
|
|
38
|
+
'service-not-allowed': 'Speech recognition is off. Turn it on in Settings to use this feature.',
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
const ERROR_CLEAR_DELAY = 5000;
|