react_hsbc_teller 2.0.92 → 2.0.93

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": "react_hsbc_teller",
3
- "version": "2.0.92",
3
+ "version": "2.0.93",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -7,13 +7,13 @@ class Demo extends Component {
7
7
  shareMask: false,
8
8
  mtoken
9
9
  :
10
- "62e146acaaf8",
10
+ "",
11
11
  roomId
12
12
  :
13
- "7601660126711209",
13
+ "",
14
14
  sessionId
15
15
  :
16
- "67657131",
16
+ "",
17
17
  // roomId: '',
18
18
  // mtoken: '',
19
19
  // imRoomId: '',
@@ -66,7 +66,7 @@ import axios from 'axios';
66
66
  import CryptoJS from "crypto-js";
67
67
 
68
68
 
69
- const SDK_VERISON = '2.0.92'
69
+ const SDK_VERISON = '2.0.93'
70
70
  const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
71
71
  const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
72
72
  const { Option } = Select;
@@ -2493,8 +2493,8 @@ class Video extends Component {
2493
2493
  })
2494
2494
  console.log(indexId, microId)
2495
2495
  this.setState({
2496
- cameraValue: objList[indexId].actionid,
2497
- microphoneValue: objList1[microId].actionid
2496
+ cameraValue: this.state.cameraValue || objList[indexId].actionid,
2497
+ microphoneValue: this.state.microphoneValue || objList1[microId].actionid
2498
2498
  })
2499
2499
  if (!this.state.appId && !this.state.sessionType) {
2500
2500
  console.log('cameraValue', this.state.cameraValue)