@whereby.com/browser-sdk 2.5.0 → 2.6.1
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/dist/embed/index.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { ReactHTMLElement } from 'react';
|
|
2
2
|
|
|
3
3
|
interface WherebyEmbedElementAttributes extends ReactHTMLElement<HTMLElement> {
|
|
4
|
+
aec: string;
|
|
5
|
+
agc: string;
|
|
4
6
|
audio: string;
|
|
7
|
+
audioDenoiser: string;
|
|
8
|
+
autoHideSelfView: string;
|
|
5
9
|
autoSpotlight: string;
|
|
6
10
|
avatarUrl: string;
|
|
7
11
|
background: string;
|
package/dist/embed/index.esm.js
CHANGED
package/dist/react/index.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useState, useEffect, useCallback } from 'react';
|
|
3
3
|
import { debounce } from '@whereby.com/core/utils';
|
|
4
|
-
import { selectChatMessages, selectCloudRecordingRaw, selectLocalParticipantRaw, selectLocalMediaStream, selectRemoteParticipants, selectScreenshares, selectRoomConnectionStatus, selectStreamingRaw, selectWaitingParticipants, createServices, createStore, observeStore, doAppJoin,
|
|
4
|
+
import { selectChatMessages, selectCloudRecordingRaw, selectLocalParticipantRaw, selectLocalMediaStream, selectRemoteParticipants, selectScreenshares, selectRoomConnectionStatus, selectStreamingRaw, selectWaitingParticipants, createServices, createStore, observeStore, doAppJoin, appLeft, doRtcReportStreamResolution, doSendChatMessage, doKnockRoom, doSetDisplayName, toggleCameraEnabled, toggleMicrophoneEnabled, doAcceptWaitingParticipant, doRejectWaitingParticipant, doStartCloudRecording, doStartScreenshare, doStopCloudRecording, doStopScreenshare, selectCameraDeviceError, selectCameraDevices, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsLocalMediaStarting, selectMicrophoneDeviceError, selectMicrophoneDevices, selectSpeakerDevices, selectLocalMediaStartError, doStartLocalMedia, doStopLocalMedia, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId } from '@whereby.com/core';
|
|
5
5
|
import { createSelector } from '@reduxjs/toolkit';
|
|
6
6
|
|
|
7
7
|
/******************************************************************************
|
|
@@ -100,6 +100,8 @@ const selectRoomConnectionState = createSelector(selectChatMessages, selectCloud
|
|
|
100
100
|
return state;
|
|
101
101
|
});
|
|
102
102
|
|
|
103
|
+
const browserSdkVersion = "2.6.1";
|
|
104
|
+
|
|
103
105
|
const initialState$1 = {
|
|
104
106
|
chatMessages: [],
|
|
105
107
|
remoteParticipants: [],
|
|
@@ -135,7 +137,7 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
|
|
|
135
137
|
: roomConnectionOptions.localMediaOptions,
|
|
136
138
|
roomKey,
|
|
137
139
|
roomUrl,
|
|
138
|
-
|
|
140
|
+
userAgent: `browser-sdk:${browserSdkVersion}`,
|
|
139
141
|
externalId: roomConnectionOptions.externalId || null,
|
|
140
142
|
}));
|
|
141
143
|
return () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whereby.com/browser-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "Modules for integration Whereby video in web apps",
|
|
5
5
|
"author": "Whereby AS",
|
|
6
6
|
"license": "MIT",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@types/uuid": "^9.0.7",
|
|
70
70
|
"babel-loader": "^8.2.5",
|
|
71
71
|
"deep-object-diff": "^1.1.9",
|
|
72
|
-
"dotenv": "^16.
|
|
72
|
+
"dotenv": "^16.4.5",
|
|
73
73
|
"dotenv-run-script": "^0.4.1",
|
|
74
74
|
"lit-html": "^2.5.0",
|
|
75
75
|
"react": "^18.2.0",
|
|
@@ -80,14 +80,13 @@
|
|
|
80
80
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
81
81
|
"rollup-plugin-terser": "^7.0.2",
|
|
82
82
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
83
|
-
"storybook": "^
|
|
83
|
+
"storybook": "^8.0.5",
|
|
84
84
|
"tslib": "^2.4.1",
|
|
85
85
|
"uuid": "^9.0.1",
|
|
86
86
|
"yalc": "^1.0.0-pre.53"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@reduxjs/toolkit": "^2.
|
|
90
|
-
"@swc/helpers": "^0.3.13",
|
|
89
|
+
"@reduxjs/toolkit": "^2.2.3",
|
|
91
90
|
"@whereby.com/core": "*",
|
|
92
91
|
"heresy": "^1.0.4"
|
|
93
92
|
},
|