@poolse/react 3.8.0 → 3.9.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/CHANGELOG.md +18 -0
- package/README.md +5 -1
- package/dist/index.cjs +573 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +187 -3
- package/dist/index.d.ts +187 -3
- package/dist/index.js +518 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,24 @@ All notable changes to `@poolse/react` are documented here. Format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow
|
|
5
5
|
[semver](https://semver.org).
|
|
6
6
|
|
|
7
|
+
## [3.9.0] - 2026-11-22
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `useRecording(callId, conversationId, initial?)` — recording and consent
|
|
12
|
+
state from the call snapshot (late joiners see it at once) kept live by
|
|
13
|
+
events: `available`, `active`, `capturing`, `consentRequired`, `myConsent`,
|
|
14
|
+
`needsConsent`, `notice`, `lastRecording`, `start(mode?)`, `stop()`,
|
|
15
|
+
`consent(decision)`, `pending`, `error`.
|
|
16
|
+
- `useLiveTranscript(callId, { enabled?, maxSegments? })` — the live
|
|
17
|
+
transcript topic: `segments` / `finals` / `interim`, `transcript`, `live`,
|
|
18
|
+
`joined`, `start()`, `stop()`.
|
|
19
|
+
- `useTranscript(callId)` (`transcript`, `missing`, `renameSpeakers`, live
|
|
20
|
+
`transcript:speakers`), `useTranscripts(conversationId)`,
|
|
21
|
+
`useRecordings(conversationId)`.
|
|
22
|
+
- `useLiveCall().call.recording` / `.transcription` follow the events.
|
|
23
|
+
- `useCallRoom`: `canPublish`, `republish()`, `republishOnPermission` option.
|
|
24
|
+
|
|
7
25
|
## [3.8.0] - 2026-11-21
|
|
8
26
|
|
|
9
27
|
### Added
|
package/README.md
CHANGED
|
@@ -107,7 +107,11 @@ of one with `client.destroy({ clearStorage: true })`.
|
|
|
107
107
|
| `useReadReceipts()` | `{ visible, mode, shared, canChange, setShared }` |
|
|
108
108
|
| `useLiveCall(conversationId \| null)` | `{ call, participantIds, refresh }` |
|
|
109
109
|
| `useRoom(conversationId \| null, { livekit })` | `{ live, presentIds, joined, joining, join, leave, media, error }` |
|
|
110
|
-
| `useCallRoom(conversationId \| null, { livekit, … })` | Call media: participants, mic, camera, devices
|
|
110
|
+
| `useCallRoom(conversationId \| null, { livekit, … })` | Call media: participants, mic, camera, devices, `canPublish`, `republish()` |
|
|
111
|
+
| `useRecording(callId, conversationId, initial?)` | `{ available, active, capturing, consentRequired, myConsent, needsConsent, notice, lastRecording, start(mode?), stop, consent(decision), pending, error }` |
|
|
112
|
+
| `useLiveTranscript(callId, { enabled? })` | `{ segments, finals, interim, transcript, live, joined, start, stop, error }` — the call's live transcript topic |
|
|
113
|
+
| `useTranscript(callId)` | `{ transcript, loading, missing, error, renameSpeakers(names), refresh }` |
|
|
114
|
+
| `useTranscripts(conversationId)` / `useRecordings(conversationId)` | `{ items, loading, error, refresh }`, newest first, re-read as they change |
|
|
111
115
|
|
|
112
116
|
Helpers: `canEditOwnMessage`, `EDIT_WINDOW_MS`, `receiptsOf`,
|
|
113
117
|
`computeGroupPosition`, `sameGroup`, `sameDay`, `formatDayLabel`, plus
|