@lidia.poet/sdk 0.2.0 → 0.2.1

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.
package/dist/index.esm.js CHANGED
@@ -749,7 +749,7 @@ var DocumentService = class {
749
749
  }
750
750
  /** Bulk delete documents and/or folders */
751
751
  async bulkDelete(ids) {
752
- return this.client.delete("/documents", { ids });
752
+ return this.client.delete("/documents", { documentIds: ids });
753
753
  }
754
754
  /** Download a document (returns download URL) */
755
755
  async download(id) {
package/dist/index.js CHANGED
@@ -809,7 +809,7 @@ var DocumentService = class {
809
809
  }
810
810
  /** Bulk delete documents and/or folders */
811
811
  async bulkDelete(ids) {
812
- return this.client.delete("/documents", { ids });
812
+ return this.client.delete("/documents", { documentIds: ids });
813
813
  }
814
814
  /** Download a document (returns download URL) */
815
815
  async download(id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lidia.poet/sdk",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "TypeScript SDK for Lidia API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",