@uniformdev/files 19.96.1-alpha.0 → 19.99.0
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 +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +2 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
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.
|
|
3
|
+
"version": "19.99.0",
|
|
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.
|
|
39
|
+
"@uniformdev/context": "19.99.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "f867c1229e8dc020c099534be72396792748c300"
|
|
42
42
|
}
|