react_hsbc_teller 0.7.8 → 0.7.9

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": "0.7.8",
3
+ "version": "0.7.9",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -72,10 +72,10 @@ class Video extends Component {
72
72
  workSpaceId: '',
73
73
  bizName: '',
74
74
  appId: '',
75
- channelId: this.props.roomId,
76
- rtoken: this.props.mtoken,
77
- sessionId: this.props.sessionId,
78
- imRoomId: this.props.imRoomId,
75
+ channelId: '',
76
+ rtoken: '',
77
+ sessionId: '',
78
+ imRoomId: '',
79
79
  isPictureInPicture: false,
80
80
  clickedFacial: false,
81
81
  clickedOcr: false,
@@ -2259,10 +2259,6 @@ class Video extends Component {
2259
2259
  if (result.code == 200 && result.data.roomStatus == 1) {
2260
2260
  this.addToScript()
2261
2261
  } else {
2262
- this.props.sessionId = ''
2263
- this.props.roomId = ''
2264
- this.props.mtoken = ''
2265
- this.props.imRoomId = ''
2266
2262
  this.setState({
2267
2263
  channelId: '',
2268
2264
  rtoken: '',
@@ -2280,10 +2276,6 @@ class Video extends Component {
2280
2276
  // })
2281
2277
  }
2282
2278
  } catch (err) {
2283
- this.props.sessionId = ''
2284
- this.props.roomId = ''
2285
- this.props.mtoken = ''
2286
- this.props.imRoomId = ''
2287
2279
  this.setState({
2288
2280
  channelId: '',
2289
2281
  rtoken: '',