@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 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;
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.218",
3
+ "version": "1.0.219",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",