seafile-js 0.2.204 → 0.2.205

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.
@@ -3304,17 +3304,17 @@ var SeafileAPI = /*#__PURE__*/function () {
3304
3304
  return this.req.post(url, data);
3305
3305
  }
3306
3306
  }, {
3307
- key: "sdocMaskAsDraft",
3308
- value: function sdocMaskAsDraft(repoID, path) {
3309
- var url = this.server + '/api/v2.1/seadoc/mask-as-draft/' + repoID + '/';
3307
+ key: "sdocMarkAsDraft",
3308
+ value: function sdocMarkAsDraft(repoID, path) {
3309
+ var url = this.server + '/api/v2.1/seadoc/mark-as-draft/' + repoID + '/';
3310
3310
  var form = new _formData["default"]();
3311
3311
  form.append('p', path);
3312
3312
  return this._sendPostRequest(url, form);
3313
3313
  }
3314
3314
  }, {
3315
- key: "sdocUnmaskAsDraft",
3316
- value: function sdocUnmaskAsDraft(repoID, path) {
3317
- var url = this.server + '/api/v2.1/seadoc/mask-as-draft/' + repoID + '/';
3315
+ key: "sdocUnmarkAsDraft",
3316
+ value: function sdocUnmarkAsDraft(repoID, path) {
3317
+ var url = this.server + '/api/v2.1/seadoc/mark-as-draft/' + repoID + '/';
3318
3318
  var params = {
3319
3319
  'p': path
3320
3320
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seafile-js",
3
- "version": "0.2.204",
3
+ "version": "0.2.205",
4
4
  "private": false,
5
5
  "main": "lib/seafile-api.js",
6
6
  "dependencies": {