@seafile/sdoc-editor 2.0.149 → 2.0.151

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.
@@ -57,14 +57,13 @@
57
57
  width: 1.5rem;
58
58
  line-height: 1.5rem !important;
59
59
  font-size: 12px !important;
60
- transform: scale(.8);
61
60
  text-align: center;
62
61
  position: absolute;
63
62
  left: 0;
64
63
  }
65
64
 
66
65
  .sdoc-files-tree .sdoc-file-info.expanded .sdoc-file-icon-toggle {
67
- transform: rotate(90deg) scale(.8);
66
+ transform: rotate(90deg);
68
67
  }
69
68
 
70
69
  .sdoc-files-tree .sdoc-file-info .sdoc-file-name {
@@ -26,6 +26,7 @@ var SocketClient = /*#__PURE__*/(0, _createClass2["default"])(function SocketCli
26
26
  }, params);
27
27
  });
28
28
  (0, _defineProperty2["default"])(this, "onConnected", function () {
29
+ (0, _debug.clientDebug)('socket is connected: %s', _this.socket.connected);
29
30
  // join room
30
31
  _this.socket.emit('join-room', function (result) {
31
32
  var socketManager = _socketManager["default"].getInstance();
@@ -72,7 +73,7 @@ var SocketClient = /*#__PURE__*/(0, _createClass2["default"])(function SocketCli
72
73
  socketManager.dispatchConnectState('disconnect');
73
74
  });
74
75
  (0, _defineProperty2["default"])(this, "onConnectError", function (e) {
75
- (0, _debug.clientDebug)('connect_error.');
76
+ (0, _debug.clientDebug)('connect_error. %o', e.message);
76
77
  var socketManager = _socketManager["default"].getInstance();
77
78
  socketManager.dispatchConnectState('connect_error');
78
79
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "2.0.149",
3
+ "version": "2.0.151",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -71,5 +71,5 @@
71
71
  "publishConfig": {
72
72
  "access": "public"
73
73
  },
74
- "gitHead": "7953cc897a50d55212b2d48715c0feba82963c1a"
74
+ "gitHead": "87f594c9c5b531c10f899ed48be72d498c835f11"
75
75
  }