@uniformdev/files 19.96.1-alpha.0 → 19.96.1-alpha.13

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.d.mts CHANGED
@@ -106,6 +106,8 @@ interface paths {
106
106
  content: {
107
107
  "application/json": {
108
108
  url: string;
109
+ /** Format: uuid */
110
+ projectId?: string;
109
111
  };
110
112
  };
111
113
  };
package/dist/index.d.ts CHANGED
@@ -106,6 +106,8 @@ interface paths {
106
106
  content: {
107
107
  "application/json": {
108
108
  url: string;
109
+ /** Format: uuid */
110
+ projectId?: string;
109
111
  };
110
112
  };
111
113
  };
package/dist/index.esm.js CHANGED
@@ -22,10 +22,11 @@ var FileClient = class extends ApiClient {
22
22
  });
23
23
  }
24
24
  async delete(options) {
25
+ const { projectId } = this.options;
25
26
  const fetchUri = this.createUrl(FILE_BASE_PATH);
26
27
  return this.apiClient(fetchUri, {
27
28
  method: "DELETE",
28
- body: JSON.stringify(options)
29
+ body: JSON.stringify({ ...options, projectId })
29
30
  });
30
31
  }
31
32
  };
package/dist/index.js CHANGED
@@ -54,10 +54,11 @@ var FileClient = class extends import_api.ApiClient {
54
54
  });
55
55
  }
56
56
  async delete(options) {
57
+ const { projectId } = this.options;
57
58
  const fetchUri = this.createUrl(FILE_BASE_PATH);
58
59
  return this.apiClient(fetchUri, {
59
60
  method: "DELETE",
60
- body: JSON.stringify(options)
61
+ body: JSON.stringify({ ...options, projectId })
61
62
  });
62
63
  }
63
64
  };
package/dist/index.mjs CHANGED
@@ -22,10 +22,11 @@ var FileClient = class extends ApiClient {
22
22
  });
23
23
  }
24
24
  async delete(options) {
25
+ const { projectId } = this.options;
25
26
  const fetchUri = this.createUrl(FILE_BASE_PATH);
26
27
  return this.apiClient(fetchUri, {
27
28
  method: "DELETE",
28
- body: JSON.stringify(options)
29
+ body: JSON.stringify({ ...options, projectId })
29
30
  });
30
31
  }
31
32
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/files",
3
- "version": "19.96.1-alpha.0+586d49116",
3
+ "version": "19.96.1-alpha.13+45a0734f3e",
4
4
  "description": "Uniform Files helpers",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -36,7 +36,7 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "@uniformdev/context": "19.96.1-alpha.0+586d49116"
39
+ "@uniformdev/context": "19.96.1-alpha.13+45a0734f3e"
40
40
  },
41
- "gitHead": "586d491167a1a906a2a18a36c27802126979d852"
41
+ "gitHead": "45a0734f3e9e54959a6e70c4bc7472657becc28b"
42
42
  }