Summary
The "Browser support flag" section (README.md:463) states that isSupported "returns true when the browser supports the Web Speech API (along with the Permissions and MediaDevices APIs that @untemps/vocal relies on)." The actual check does not include the Permissions API.
Current state
isSupported is re-exported from @untemps/vocal (src/index.ts:12). In @untemps/vocal 2.2.0 it is defined as isSupported = () => !!SpeechRecognitionCtor() && isMediaDevicesSupported() — it only checks SpeechRecognition and MediaDevices. isPermissionsSupported exists in the library and is used elsewhere (the permission-watching path) but is not referenced in the isSupported definition. So a browser supporting SpeechRecognition + MediaDevices but lacking the Permissions API would still return true, contradicting the "along with the Permissions ... APIs" wording.
Proposed improvement
Reword README.md:463 to drop "Permissions" from the list of APIs gating the result (e.g. "returns true when the browser supports the Web Speech API and the MediaDevices API"), or clarify that the Permissions API is used at runtime but is not part of the support check. Documentation only; no behavior change, and low real-world impact since the Permissions API is broadly available wherever SpeechRecognition exists.
Summary
The "Browser support flag" section (
README.md:463) states thatisSupported"returnstruewhen the browser supports the Web Speech API (along with the Permissions and MediaDevices APIs that@untemps/vocalrelies on)." The actual check does not include the Permissions API.Current state
isSupportedis re-exported from@untemps/vocal(src/index.ts:12). In@untemps/vocal2.2.0 it is defined asisSupported = () => !!SpeechRecognitionCtor() && isMediaDevicesSupported()— it only checks SpeechRecognition and MediaDevices.isPermissionsSupportedexists in the library and is used elsewhere (the permission-watching path) but is not referenced in theisSupporteddefinition. So a browser supporting SpeechRecognition + MediaDevices but lacking the Permissions API would still returntrue, contradicting the "along with the Permissions ... APIs" wording.Proposed improvement
Reword
README.md:463to drop "Permissions" from the list of APIs gating the result (e.g. "returnstruewhen the browser supports the Web Speech API and the MediaDevices API"), or clarify that the Permissions API is used at runtime but is not part of the support check. Documentation only; no behavior change, and low real-world impact since the Permissions API is broadly available wherever SpeechRecognition exists.