@seafile/sdoc-editor 0.1.143-beta3 → 0.1.143-beta4

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.
@@ -275,7 +275,7 @@ var SimpleEditor = function SimpleEditor(_ref) {
275
275
  // eslint-disable-next-line react-hooks/exhaustive-deps
276
276
  }, []);
277
277
  var deleteRevision = useCallback(function () {
278
- context.deleteRevision().then(function (res) {
278
+ context.deleteSdocRevision().then(function (res) {
279
279
  if (res.data.success) {
280
280
  var repoID = context.getSetting('repoID');
281
281
  var siteRoot = context.getSetting('siteRoot');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "0.1.143beta3",
3
+ "version": "0.1.143beta4",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",