@seafile/sdoc-editor 2.0.88-test-0.0.5 → 2.0.89

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/LICENSE.txt ADDED
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2025 Seafile Ltd.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
@@ -53,7 +53,6 @@ var SdocEditor = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
53
53
  }));
54
54
  var cursors = document.cursors;
55
55
  newEditor.cursors = cursors || {};
56
- console.log(1, newEditor.cursors, document);
57
56
  newEditor.width = _constants.PAGE_EDIT_AREA_WIDTH; // default width
58
57
  return newEditor;
59
58
 
@@ -305,7 +305,6 @@ var SocketManager = /*#__PURE__*/(0, _createClass2["default"])(function SocketMa
305
305
  });
306
306
  });
307
307
  (0, _defineProperty2["default"])(this, "sendCursorLocation", function (location) {
308
- console.log(1, location);
309
308
  _this.socketClient.sendCursorLocation(location);
310
309
  });
311
310
  (0, _defineProperty2["default"])(this, "receiveCursorLocation", function (params) {
@@ -313,7 +312,6 @@ var SocketManager = /*#__PURE__*/(0, _createClass2["default"])(function SocketMa
313
312
  var user = params.user,
314
313
  location = params.location,
315
314
  cursorData = params.cursor_data;
316
- console.log(3, user, location, cursorData);
317
315
  (0, _helpers.syncRemoteCursorLocation)(_this.editor, user, location, cursorData);
318
316
  return;
319
317
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "2.0.88-test-0.0.5",
3
+ "version": "2.0.89",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -69,5 +69,6 @@
69
69
  },
70
70
  "publishConfig": {
71
71
  "access": "public"
72
- }
72
+ },
73
+ "gitHead": "e9eb8bd2f2c9b1ba5219ae8f7a1af64907040f73"
73
74
  }