@seafile/sdoc-editor 0.1.7 → 0.1.8

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 -1
  2. package/package.json +1 -1
package/dist/context.js CHANGED
@@ -101,7 +101,7 @@ var Context = /*#__PURE__*/function () {
101
101
  // visit by shared link
102
102
  var rawPath = this.getSetting('rawPath');
103
103
  if (rawPath) {
104
- this.api.getFileContent(rawPath);
104
+ return this.api.getFileContent(rawPath);
105
105
  }
106
106
  return this.getFileContent2();
107
107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",