@seafile/sdoc-editor 1.0.42 → 1.0.44

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.
Files changed (2) hide show
  1. package/dist/context.js +1 -13
  2. package/package.json +4 -4
package/dist/context.js CHANGED
@@ -69,20 +69,8 @@ class Context {
69
69
  this.settings[key] = update[key];
70
70
  }
71
71
  }
72
- getViewConfig() {
73
- if (this.config) return this.config;
74
- const {
75
- rawPath,
76
- docName
77
- } = this.getSettings();
78
- this.config = {
79
- rawPath,
80
- docName
81
- };
82
- return this.config;
83
- }
84
72
  getEditorConfig() {
85
- if (this.config) return this.config;
73
+ // When you need to execute this function, make sure to get the latest configuration items
86
74
  const {
87
75
  docUuid,
88
76
  accessToken,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",
@@ -11,7 +11,7 @@
11
11
  "@seafile/slate-history": "0.86.2",
12
12
  "@seafile/slate-hyperscript": "0.81.7",
13
13
  "@seafile/slate-react": "0.92.6",
14
- "axios": "^1.6.0",
14
+ "axios": "^1.7.3",
15
15
  "classnames": "2.3.2",
16
16
  "copy-to-clipboard": "^3.3.3",
17
17
  "dayjs": "1.11.2",
@@ -100,7 +100,7 @@
100
100
  "css-minimizer-webpack-plugin": "5.0.1",
101
101
  "dotenv": "6.2.0",
102
102
  "dotenv-expand": "5.1.0",
103
- "dtable-sdk": "5.0.3",
103
+ "dtable-sdk": "5.0.4",
104
104
  "dtable-utils": "5.0.1",
105
105
  "ejs": "3.1.10",
106
106
  "eslint": "6.8.0",
@@ -150,7 +150,7 @@
150
150
  "resolve": "1.12.0",
151
151
  "resolve-url-loader": "5.0.0",
152
152
  "sass-loader": "13.3.2",
153
- "seafile-js": "0.2.216",
153
+ "seafile-js": "0.2.234",
154
154
  "style-loader": "^1.0.1",
155
155
  "terser-webpack-plugin": "4.2.3",
156
156
  "ts-pnp": "1.1.4",