react_hsbc_teller 1.9.36 → 1.9.37

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": "1.9.36",
3
+ "version": "1.9.37",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -47,7 +47,7 @@ import Step from '../components/step/step.jsx'
47
47
  import axios from 'axios';
48
48
  import CryptoJS from "crypto-js";
49
49
 
50
- const SDK_VERISON = '1.9.36'
50
+ const SDK_VERISON = '1.9.37'
51
51
  const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
52
52
  const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
53
53
  const { Option } = Select;
@@ -1686,8 +1686,10 @@ class Video extends Component {
1686
1686
  speakerList: objList2.length > 0 ? [objList2[0]] : []
1687
1687
  })
1688
1688
  let indexId = 0
1689
- objList.map((item, index) => {
1690
- if (item.actionname.indexOf('Integrated Camera') != -1) {
1689
+ objList.forEach((item, index) => {
1690
+ if (item.actionname.indexOf('HP Full-HD Camera') != -1) {
1691
+ indexId = index
1692
+ } else if (item.actionname.indexOf('Integrated Camera') != -1) {
1691
1693
  indexId = index
1692
1694
  }
1693
1695
  })