seafile-js 0.2.195 → 0.2.196

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.
@@ -485,9 +485,9 @@ var SeafileAPI = /*#__PURE__*/function () {
485
485
  return this.req["delete"](url);
486
486
  }
487
487
  }, {
488
- key: "cleanOrphanShareLinks",
489
- value: function cleanOrphanShareLinks() {
490
- var url = this.server + '/api/v2.1/share-links/clean-orphan/';
488
+ key: "cleanInvalidShareLinks",
489
+ value: function cleanInvalidShareLinks() {
490
+ var url = this.server + '/api/v2.1/share-links/clean-invalid/';
491
491
  return this.req["delete"](url);
492
492
  }
493
493
  }, {
@@ -595,9 +595,9 @@ var SeafileAPI = /*#__PURE__*/function () {
595
595
  return this.req["delete"](url);
596
596
  }
597
597
  }, {
598
- key: "cleanOrphanUploadLinks",
599
- value: function cleanOrphanUploadLinks() {
600
- var url = this.server + '/api/v2.1/upload-links/clean-orphan/';
598
+ key: "cleanInvalidUploadLinks",
599
+ value: function cleanInvalidUploadLinks() {
600
+ var url = this.server + '/api/v2.1/upload-links/clean-invalid/';
601
601
  return this.req["delete"](url);
602
602
  }
603
603
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seafile-js",
3
- "version": "0.2.195",
3
+ "version": "0.2.196",
4
4
  "private": false,
5
5
  "main": "lib/seafile-api.js",
6
6
  "dependencies": {