react_hsbc_teller 1.9.31 → 1.9.32

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.31",
3
+ "version": "1.9.32",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -45,6 +45,8 @@ import SignMy from '../sign/signMy.jsx'
45
45
  import Step from '../components/step/step.jsx'
46
46
  import axios from 'axios';
47
47
  import CryptoJS from "crypto-js";
48
+
49
+ const SDK_VERISON = '1.9.32'
48
50
  const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
49
51
  const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
50
52
  const { Option } = Select;
@@ -296,7 +298,7 @@ class Video extends Component {
296
298
  saveLog = (val) => {
297
299
  axios({
298
300
  method: 'get',
299
- baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.31&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
301
+ baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller='+ SDK_VERISON +'&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
300
302
 
301
303
  }).then(res => {
302
304
 
@@ -2928,34 +2930,35 @@ class Video extends Component {
2928
2930
 
2929
2931
  }
2930
2932
  addToScriptClick = () => {
2933
+ let params = `?v=${SDK_VERISON}`
2931
2934
  const _dependScripts = [
2932
- this.props.resourcePath + "/beauty/beauty_frame_pkg.js",
2933
- this.props.resourcePath + "/adapter.js",
2934
- this.props.resourcePath + "/getMediaInfo.js",
2935
- this.props.resourcePath + "/EBML.js",
2936
- this.props.resourcePath + "/mcu.js",
2937
- this.props.resourcePath + "/meeting_desk_stream.js",
2938
- this.props.resourcePath + "/meeting_html_stream.js",
2939
- this.props.resourcePath + "/meeting_file_stream.js",
2940
- this.props.resourcePath + "/meeting_im.js",
2941
- this.props.resourcePath + "/meeting_vod.js",
2942
- this.props.resourcePath + "/meeting_invite.js",
2943
- this.props.resourcePath + "/client_record.js",
2944
- this.props.resourcePath + "/remote_record.js",
2945
- this.props.resourcePath + "/meeting_camera_stream.js",
2946
- this.props.resourcePath + "/meeting_api.js",
2947
-
2948
- this.props.resourcePath + "/eruda.js",
2949
- this.props.resourcePath + "/iconfont.js",
2950
- this.props.resourcePath + "/html2canvas.js",
2951
- this.props.resourcePath + "/dom-to-image.js",
2952
-
2953
- this.props.resourcePath + "/hs/hs_human_segmentation_wrapper.js",
2954
- this.props.resourcePath + "/hs/hs_human_segmentation.js",
2955
- this.props.resourcePath + "/hs/hs_human_segmentation.wasm",
2956
-
2957
- this.props.resourcePath + "/mix/mix_frame.js",
2958
- this.props.resourcePath + "/mix/pageBoard.js"
2935
+ this.props.resourcePath + "/beauty/beauty_frame_pkg.js" + params,
2936
+ this.props.resourcePath + "/adapter.js" + params,
2937
+ this.props.resourcePath + "/getMediaInfo.js" + params,
2938
+ this.props.resourcePath + "/EBML.js" + params,
2939
+ this.props.resourcePath + "/mcu.js" + params,
2940
+ this.props.resourcePath + "/meeting_desk_stream.js" + params,
2941
+ this.props.resourcePath + "/meeting_html_stream.js" + params,
2942
+ this.props.resourcePath + "/meeting_file_stream.js" + params,
2943
+ this.props.resourcePath + "/meeting_im.js" + params,
2944
+ this.props.resourcePath + "/meeting_vod.js" + params,
2945
+ this.props.resourcePath + "/meeting_invite.js" + params,
2946
+ this.props.resourcePath + "/client_record.js" + params,
2947
+ this.props.resourcePath + "/remote_record.js" + params,
2948
+ this.props.resourcePath + "/meeting_camera_stream.js" + params,
2949
+ this.props.resourcePath + "/meeting_api.js" + params,
2950
+
2951
+ this.props.resourcePath + "/eruda.js" + params,
2952
+ this.props.resourcePath + "/iconfont.js" + params,
2953
+ this.props.resourcePath + "/html2canvas.js" + params,
2954
+ this.props.resourcePath + "/dom-to-image.js" + params,
2955
+
2956
+ this.props.resourcePath + "/hs/hs_human_segmentation_wrapper.js" + params,
2957
+ this.props.resourcePath + "/hs/hs_human_segmentation.js" + params,
2958
+ this.props.resourcePath + "/hs/hs_human_segmentation.wasm" + params,
2959
+
2960
+ this.props.resourcePath + "/mix/mix_frame.js" + params,
2961
+ this.props.resourcePath + "/mix/pageBoard.js" + params,
2959
2962
 
2960
2963
  ]
2961
2964
  const that = this
@@ -3001,7 +3004,7 @@ class Video extends Component {
3001
3004
  }
3002
3005
  }
3003
3006
  componentWillMount() {
3004
- console.log('hsbc_teller_sdk', '1.9.31')
3007
+ console.log('hsbc_teller_sdk', SDK_VERISON)
3005
3008
  let arr = []
3006
3009
  for(let i=1;i<=12;i++){
3007
3010
  arr.push({
package/dist wpb.zip DELETED
Binary file