@ccci/micro-server 1.0.218 → 1.0.219
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.js +1 -1
- package/dist/utils/Uploader.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -303355,7 +303355,7 @@ class Uploader {
|
|
|
303355
303355
|
throw error;
|
|
303356
303356
|
}
|
|
303357
303357
|
}
|
|
303358
|
-
async delete(bucketName, objectName, removeOpts) {
|
|
303358
|
+
static async delete(bucketName, objectName, removeOpts) {
|
|
303359
303359
|
try {
|
|
303360
303360
|
const result = await Uploader.client.removeObject(bucketName, objectName, removeOpts);
|
|
303361
303361
|
return result;
|
package/dist/utils/Uploader.d.ts
CHANGED
|
@@ -28,6 +28,6 @@ export default class Uploader {
|
|
|
28
28
|
* @param file {string} file directory
|
|
29
29
|
*/
|
|
30
30
|
preview(bucket: string, file: string): Promise<void>;
|
|
31
|
-
delete(bucketName: string, objectName: string, removeOpts?: RemoveOptions): Promise<void>;
|
|
31
|
+
static delete(bucketName: string, objectName: string, removeOpts?: RemoveOptions): Promise<void>;
|
|
32
32
|
}
|
|
33
33
|
//# sourceMappingURL=Uploader.d.ts.map
|