@stream-io/video-react-sdk 1.34.1 → 1.34.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-react-sdk",
3
- "version": "1.34.1",
3
+ "version": "1.34.2",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/index.d.ts",
@@ -45,9 +45,9 @@
45
45
  ],
46
46
  "dependencies": {
47
47
  "@floating-ui/react": "^0.27.6",
48
- "@stream-io/video-client": "1.44.5",
48
+ "@stream-io/video-client": "1.45.0",
49
49
  "@stream-io/video-filters-web": "0.7.3",
50
- "@stream-io/video-react-bindings": "1.13.14",
50
+ "@stream-io/video-react-bindings": "1.13.15",
51
51
  "chart.js": "^4.4.4",
52
52
  "clsx": "^2.0.0",
53
53
  "react-chartjs-2": "^5.3.0"
@@ -165,11 +165,10 @@ export const ParticipantDetails = ({
165
165
  className="str-video__participant-details__name--track-paused"
166
166
  />
167
167
  )}
168
- {indicatorsVisible && canUnpin && (
169
- // TODO: remove this monstrosity once we have a proper design
168
+ {indicatorsVisible && pin && (
170
169
  <span
171
- title={t('Unpin')}
172
- onClick={() => call?.unpin(sessionId)}
170
+ title={canUnpin ? t('Unpin') : t('Pinned')}
171
+ onClick={canUnpin ? () => call?.unpin(sessionId) : undefined}
173
172
  className="str-video__participant-details__name--pinned"
174
173
  />
175
174
  )}