diff --git a/README.md b/README.md index b137cd7..dd95909 100644 --- a/README.md +++ b/README.md @@ -183,6 +183,8 @@ This method will check if speech recognition is listening. **Returns:** Promise<{ listening: boolean; }> +**Since:** 5.1.0 + -------------------- @@ -266,7 +268,7 @@ Called when listening state changed. **Returns:** Promise<PluginListenerHandle> & PluginListenerHandle -**Since:** 6.0.0 +**Since:** 5.1.0 -------------------- diff --git a/src/definitions.ts b/src/definitions.ts index 6c5f609..bde45ba 100644 --- a/src/definitions.ts +++ b/src/definitions.ts @@ -58,6 +58,8 @@ export interface SpeechRecognitionPlugin { * This method will check if speech recognition is listening. * @param none * @returns boolean true/false if speech recognition is currently listening + * + * @since 5.1.0 */ isListening(): Promise<{ listening: boolean }>; /** @@ -97,7 +99,7 @@ export interface SpeechRecognitionPlugin { /** * Called when listening state changed. * - * @since 6.0.0 + * @since 5.1.0 */ addListener( eventName: 'listeningState',