@placetime/corptime-conference 1.0.5 → 1.0.7

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/lang/main-ru.json CHANGED
@@ -734,6 +734,10 @@
734
734
  "me": "я",
735
735
  "notify": {
736
736
  "OldElectronAPPTitle": "Уязвимость в системе безопасности!",
737
+ "allowAll": "Разрешить всё",
738
+ "allowAudio": "Разрешить воспроизведение звука",
739
+ "allowDesktop": "Разрешить общий доступ к экрану",
740
+ "allowVideo": "Разрешить просмотр видео",
737
741
  "allowAction": "Разрешить",
738
742
  "allowedUnmute": "Вы можете включить микрофон, включить камеру или поделиться своим экраном.",
739
743
  "audioUnmuteBlockedDescription": "Операция включения микрофона была временно заблокирована из-за системных ограничений.",
@@ -838,6 +842,7 @@
838
842
  "admit": "Разрешить",
839
843
  "admitAll": "Разрешить всем",
840
844
  "allow": "Разрешить",
845
+ "allowDesktop": "Разрешить общий доступ к экрану",
841
846
  "allowVideo": "Разрешить видео",
842
847
  "askUnmute": "Попросить разрешение включить микрофон",
843
848
  "audioModeration": "Разрешить выключить микрофон",
@@ -845,6 +850,7 @@
845
850
  "breakoutRooms": "Сессионные залы",
846
851
  "desktopModeration": "Начать демонстрацию экрана",
847
852
  "invite": "Пригласить",
853
+ "lowerAllHands": "Опустите все руки",
848
854
  "moreModerationActions": "Дополнительные параметры модерации",
849
855
  "moreModerationControls": "Дополнительные элементы управления модерацией",
850
856
  "moreParticipantOptions": "Дополнительные параметры участников",
@@ -852,6 +858,7 @@
852
858
  "muteAll": "Выключить звук у всех",
853
859
  "muteEveryoneElse": "Выключить микрофон у остальных",
854
860
  "reject": "Отклонить",
861
+ "stopDesktop": "Остановить демонстрацию экрана",
855
862
  "stopEveryonesDesktop": "Остановить демонстрацию экрана у всех",
856
863
  "stopEveryonesVideo": "Выключить у всех камеру",
857
864
  "stopVideo": "Остановить видео",
@@ -1440,6 +1447,7 @@
1440
1447
  "connectionInfo": "Информация о соединении",
1441
1448
  "demote": "Переместить к посетителям",
1442
1449
  "domute": "Выключить звук",
1450
+ "domuteDesktop": "Остановить демонстрацию экрана",
1443
1451
  "domuteDesktopOfOthers": "Остановить демонстрацию экрана у всех, кроме",
1444
1452
  "domuteOthers": "Выключить звук остальным",
1445
1453
  "domuteVideo": "Выключить видео",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@placetime/corptime-conference",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "React Native SDK from Corptime-Conference",
5
5
  "main": "index.tsx",
6
6
  "license": "Apache-2.0",
@@ -112,7 +112,7 @@ export function setReducedUI(width: number, height: number) {
112
112
  const threshold = navigator.product === 'ReactNative'
113
113
  ? REDUCED_UI_THRESHOLD
114
114
  : WEB_REDUCED_UI_THRESHOLD;
115
- const reducedUI = Math.min(width, height) < threshold;
115
+ const reducedUI = Math.max(width, height) < threshold;
116
116
 
117
117
  if (reducedUI !== getState()['features/base/responsive-ui'].reducedUI) {
118
118
  return dispatch({
@@ -306,15 +306,7 @@ export default class AbstractLobbyScreen<P extends IProps = IProps> extends Pure
306
306
  this.setState({
307
307
  passwordJoinFailed: false
308
308
  });
309
-
310
- window.crypto.subtle.digest('SHA-256', new TextEncoder().encode(this.state.password))
311
- .then((hash)=>{
312
- const hashArray = Array.from(new Uint8Array(hash));
313
- const hashHex = hashArray
314
- .map(b => b.toString(16).padStart(2, '0'))
315
- .join('');
316
- this.props.dispatch(joinWithPassword(hashHex));
317
- })
309
+ this.props.dispatch(joinWithPassword(this.state.password));
318
310
  }
319
311
 
320
312
  /**
@@ -2,6 +2,7 @@ import { NavigationContainer } from '@react-navigation/native';
2
2
  import { createStackNavigator } from '@react-navigation/stack';
3
3
  import React from 'react';
4
4
  import { useSelector } from 'react-redux';
5
+ import i18next from 'i18next';
5
6
 
6
7
  import { IReduxState } from '../../../../../app/types';
7
8
  import LobbyChatScreen from '../../../../../lobby/components/native/LobbyChatScreen';
@@ -35,7 +36,7 @@ const LobbyNavigationContainer = () => {
35
36
  <LobbyStack.Screen
36
37
  component = { LobbyScreen }
37
38
  name = { screen.lobby.main }
38
- options = { lobbyScreenOptions } />
39
+ options = {{ ...lobbyScreenOptions, title: i18next.t('lobby.title') }} />
39
40
  {
40
41
  isLobbyChatActive
41
42
  && <LobbyStack.Screen
@@ -41,10 +41,11 @@ MiddlewareRegistry.register(store => next => action => {
41
41
  const currentLockedState = store.getState()['features/base/conference'].locked;
42
42
 
43
43
  if (currentLockedState === LOCKED_REMOTELY) {
44
- store.dispatch(
45
- showNotification({
46
- titleKey: 'notify.passwordSetRemotely'
47
- }, NOTIFICATION_TIMEOUT_TYPE.SHORT));
44
+ // does not show info about password
45
+ // store.dispatch(
46
+ // showNotification({
47
+ // titleKey: 'notify.passwordSetRemotely'
48
+ // }, NOTIFICATION_TIMEOUT_TYPE.SHORT));
48
49
  } else if (previousLockedState === LOCKED_REMOTELY && !currentLockedState) {
49
50
  store.dispatch(
50
51
  showNotification({