@corti/dictation-web 0.1.23-rc.4 → 0.2.0
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/README.md +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,6 +94,8 @@ Alternatively, use a CDN to start quickly (not recommended).
|
|
|
94
94
|
| `transcript` | Fired when a new transcript is received. `detail.data.text` contains the transcribed text. |
|
|
95
95
|
| `command` | Fired whenever a new command is detected. |
|
|
96
96
|
| `audio-level-changed` | Fired when the input audio level changes. `detail.audioLevel` contains the new level. |
|
|
97
|
+
| `usage` | Fired when usage information is received from the server. `detail.credits` contains the usage data. |
|
|
98
|
+
| `stream-closed` | Fired when the WebSocket stream is closed. `detail` contains the close event data. |
|
|
97
99
|
| `error` | Fired on error. `detail` contains the full error. |
|
|
98
100
|
|
|
99
101
|
## Authentication
|