@untemps/vocal 2.0.0-beta.25 → 2.0.0-beta.26

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/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ # [2.0.0-beta.26](https://github.com/untemps/vocal/compare/v2.0.0-beta.25...v2.0.0-beta.26) (2026-05-22)
2
+
1
3
  # [2.0.0-beta.25](https://github.com/untemps/vocal/compare/v2.0.0-beta.24...v2.0.0-beta.25) (2026-05-22)
2
4
 
3
5
  # [2.0.0-beta.24](https://github.com/untemps/vocal/compare/v2.0.0-beta.23...v2.0.0-beta.24) (2026-05-22)
package/README.md CHANGED
@@ -6,6 +6,11 @@ Functional wrapper around the SpeechRecognition Web API
6
6
  ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/untemps/vocal/publish.yml?style=for-the-badge)
7
7
  ![Codecov](https://img.shields.io/codecov/c/github/untemps/vocal?style=for-the-badge)
8
8
 
9
+ ## Requirements
10
+
11
+ - A modern browser exposing the `SpeechRecognition` Web API (Chrome, Edge, Safari ≥ 14.1). The library is browser-only — it cannot run on the server.
12
+ - **TypeScript ≥ 6.0** for full type resolution. The published declarations rely on `SpeechRecognitionEvent` and `SpeechRecognitionErrorEvent` shipped by `lib.dom` starting with TypeScript 6.0. If you target an older TypeScript release, install [`@types/dom-speech-recognition`](https://www.npmjs.com/package/@types/dom-speech-recognition) to provide the missing ambient declarations.
13
+
9
14
  ## Installation
10
15
 
11
16
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@untemps/vocal",
3
- "version": "2.0.0-beta.25",
3
+ "version": "2.0.0-beta.26",
4
4
  "description": "Class wrapped around the SpeechRecognition Web API",
5
5
  "repository": "git@github.com:untemps/vocal.git",
6
6
  "keywords": [
@@ -21,10 +21,9 @@
21
21
  "node": ">=22"
22
22
  },
23
23
  "files": [
24
- "dist/index.cjs",
25
- "dist/index.es.js",
26
- "dist/index.d.ts",
27
- "dist/Vocal.d.ts",
24
+ "dist/*.cjs",
25
+ "dist/*.es.js",
26
+ "dist/*.d.ts",
28
27
  "CHANGELOG.md"
29
28
  ],
30
29
  "main": "dist/index.cjs",
@@ -63,6 +62,14 @@
63
62
  "dependencies": {
64
63
  "@untemps/user-permissions-utils": "^1.3.3"
65
64
  },
65
+ "peerDependencies": {
66
+ "typescript": ">=6.0.0"
67
+ },
68
+ "peerDependenciesMeta": {
69
+ "typescript": {
70
+ "optional": true
71
+ }
72
+ },
66
73
  "release": {
67
74
  "branches": [
68
75
  "main",