@stream-io/video-client 0.7.8 → 0.7.9
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 +7 -0
- package/dist/index.browser.es.js +11 -5
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +11 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +11 -5
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/store/CallState.ts +10 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
### [0.7.9](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.7.8...@stream-io/video-client-0.7.9) (2024-04-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* update call state with transcription events ([ab933ae](https://github.com/GetStream/stream-video-js/commit/ab933aee820fae199935380c7bab6edc7790f0ca))
|
|
11
|
+
|
|
5
12
|
### [0.7.8](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.7.7...@stream-io/video-client-0.7.8) (2024-04-25)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.browser.es.js
CHANGED
|
@@ -7279,13 +7279,11 @@ class CallState {
|
|
|
7279
7279
|
this.eventHandlers = {
|
|
7280
7280
|
// these events are not updating the call state:
|
|
7281
7281
|
'call.closed_caption': undefined,
|
|
7282
|
+
'call.deleted': undefined,
|
|
7282
7283
|
'call.permission_request': undefined,
|
|
7283
7284
|
'call.recording_failed': undefined,
|
|
7284
7285
|
'call.recording_ready': undefined,
|
|
7285
|
-
'call.transcription_started': undefined,
|
|
7286
|
-
'call.transcription_stopped': undefined,
|
|
7287
7286
|
'call.transcription_ready': undefined,
|
|
7288
|
-
'call.transcription_failed': undefined,
|
|
7289
7287
|
'call.user_muted': undefined,
|
|
7290
7288
|
'connection.error': undefined,
|
|
7291
7289
|
'connection.ok': undefined,
|
|
@@ -7321,9 +7319,17 @@ class CallState {
|
|
|
7321
7319
|
'call.session_participant_joined': this.updateFromSessionParticipantJoined,
|
|
7322
7320
|
'call.session_participant_left': this.updateFromSessionParticipantLeft,
|
|
7323
7321
|
'call.session_started': (e) => this.updateFromCallResponse(e.call),
|
|
7322
|
+
'call.transcription_started': () => {
|
|
7323
|
+
this.setCurrentValue(this.transcribingSubject, true);
|
|
7324
|
+
},
|
|
7325
|
+
'call.transcription_stopped': () => {
|
|
7326
|
+
this.setCurrentValue(this.transcribingSubject, false);
|
|
7327
|
+
},
|
|
7328
|
+
'call.transcription_failed': () => {
|
|
7329
|
+
this.setCurrentValue(this.transcribingSubject, false);
|
|
7330
|
+
},
|
|
7324
7331
|
'call.unblocked_user': this.unblockUser,
|
|
7325
7332
|
'call.updated': (e) => this.updateFromCallResponse(e.call),
|
|
7326
|
-
'call.deleted': undefined,
|
|
7327
7333
|
};
|
|
7328
7334
|
}
|
|
7329
7335
|
/**
|
|
@@ -14836,7 +14842,7 @@ class StreamClient {
|
|
|
14836
14842
|
});
|
|
14837
14843
|
};
|
|
14838
14844
|
this.getUserAgent = () => {
|
|
14839
|
-
const version = "0.7.
|
|
14845
|
+
const version = "0.7.9" ;
|
|
14840
14846
|
return (this.userAgent ||
|
|
14841
14847
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
14842
14848
|
};
|