@digipair/skill-s3 0.125.2 → 0.125.4

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.cjs.js CHANGED
@@ -37,7 +37,7 @@ let S3Service = class S3Service {
37
37
  const base64 = buffer.toString('base64');
38
38
  return `data:${response.ContentType};base64,${base64}`;
39
39
  }
40
- async delete(params, _pinsSettingsList, context) {
40
+ async remove(params, _pinsSettingsList, context) {
41
41
  const { bucket, key, config = context.privates.S3_CONFIG } = params;
42
42
  const client = this.getClient(config);
43
43
  const command = new clientS3.DeleteObjectCommand({
@@ -61,7 +61,7 @@ let S3Service = class S3Service {
61
61
  const service = new S3Service();
62
62
  const upload = (params, pinsSettingsList, context)=>service.upload(params, pinsSettingsList, context);
63
63
  const download = (params, pinsSettingsList, context)=>service.download(params, pinsSettingsList, context);
64
- const remove = (params, pinsSettingsList, context)=>service.delete(params, pinsSettingsList, context);
64
+ const remove = (params, pinsSettingsList, context)=>service.remove(params, pinsSettingsList, context);
65
65
  const list = (params, pinsSettingsList, context)=>service.list(params, pinsSettingsList, context);
66
66
 
67
67
  exports.download = download;
package/dist/index.esm.js CHANGED
@@ -58615,7 +58615,7 @@ let S3Service = class S3Service {
58615
58615
  const base64 = buffer.toString('base64');
58616
58616
  return `data:${response.ContentType};base64,${base64}`;
58617
58617
  }
58618
- async delete(params, _pinsSettingsList, context) {
58618
+ async remove(params, _pinsSettingsList, context) {
58619
58619
  const { bucket, key, config = context.privates.S3_CONFIG } = params;
58620
58620
  const client = this.getClient(config);
58621
58621
  const command = new DeleteObjectCommand({
@@ -58639,7 +58639,7 @@ let S3Service = class S3Service {
58639
58639
  const service = new S3Service();
58640
58640
  const upload = (params, pinsSettingsList, context)=>service.upload(params, pinsSettingsList, context);
58641
58641
  const download = (params, pinsSettingsList, context)=>service.download(params, pinsSettingsList, context);
58642
- const remove = (params, pinsSettingsList, context)=>service.delete(params, pinsSettingsList, context);
58642
+ const remove = (params, pinsSettingsList, context)=>service.remove(params, pinsSettingsList, context);
58643
58643
  const list = (params, pinsSettingsList, context)=>service.list(params, pinsSettingsList, context);
58644
58644
 
58645
58645
  export { download, list, remove, upload };
@@ -163,7 +163,7 @@
163
163
  "x-events": []
164
164
  }
165
165
  },
166
- "/delete": {
166
+ "/remove": {
167
167
  "post": {
168
168
  "tags": [
169
169
  "service"
package/dist/schema.json CHANGED
@@ -163,7 +163,7 @@
163
163
  "x-events": []
164
164
  }
165
165
  },
166
- "/delete": {
166
+ "/remove": {
167
167
  "post": {
168
168
  "tags": [
169
169
  "service"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-s3",
3
- "version": "0.125.2",
3
+ "version": "0.125.4",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",