@lingk/sync 2.1.0 → 2.1.1

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.
@@ -6372,7 +6372,8 @@ module.exports =
6372
6372
  deleteFlatFile = _props2.deleteFlatFile,
6373
6373
  gencerts = _props2.gencerts,
6374
6374
  downloadcerts = _props2.downloadcerts,
6375
- getOauthCreds = _props2.getOauthCreds;
6375
+ getOauthCreds = _props2.getOauthCreds,
6376
+ getWebsocketAgentCerts = _props2.getWebsocketAgentCerts;
6376
6377
 
6377
6378
  var Button = inputs.Button;
6378
6379
  var Spinner = inputs.Spinner;
@@ -6507,7 +6508,8 @@ module.exports =
6507
6508
  onCheck: check,
6508
6509
  actualCreds: this.state.actualCreds,
6509
6510
  envCheckResult: envCheckResult,
6510
- downloadcerts: downloadcerts
6511
+ downloadcerts: downloadcerts,
6512
+ getWebsocketAgentCerts: getWebsocketAgentCerts
6511
6513
  }) : _react2.default.createElement(
6512
6514
  "div",
6513
6515
  null,
@@ -7306,6 +7308,11 @@ module.exports =
7306
7308
  }
7307
7309
 
7308
7310
  _createClass(WebSocket, [{
7311
+ key: "componentWillMount",
7312
+ value: function componentWillMount() {
7313
+ this.props.getWebsocketAgentCerts();
7314
+ }
7315
+ }, {
7309
7316
  key: "render",
7310
7317
  value: function render() {
7311
7318
  var _props = this.props,
@@ -7349,9 +7356,8 @@ module.exports =
7349
7356
  Button,
7350
7357
  {
7351
7358
  bsStyle: "default",
7352
- style: { margin: "10px 0", width: 130 }
7353
- // disabled={!hasDNnHOST}
7354
- , onClick: function onClick() {
7359
+ style: { margin: "10px 0", width: 130 },
7360
+ onClick: function onClick() {
7355
7361
  return gencerts(creds);
7356
7362
  }
7357
7363
  },