seafile-js 0.2.211 → 0.2.212

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.
@@ -1784,6 +1784,15 @@ var SeafileAPI = /*#__PURE__*/function () {
1784
1784
  form.append('color', color);
1785
1785
  return this._sendPostRequest(url, form);
1786
1786
  }
1787
+ }, {
1788
+ key: "createRepoTags",
1789
+ value: function createRepoTags(repoID, tags) {
1790
+ var url = this.server + '/api/v2.1/repos/' + repoID + '/repo-tags/';
1791
+ var params = {
1792
+ tags: tags
1793
+ };
1794
+ return this.req.put(url, params);
1795
+ }
1787
1796
  }, {
1788
1797
  key: "deleteRepoTag",
1789
1798
  value: function deleteRepoTag(repoID, repo_tag_id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seafile-js",
3
- "version": "0.2.211",
3
+ "version": "0.2.212",
4
4
  "private": false,
5
5
  "main": "lib/seafile-api.js",
6
6
  "dependencies": {