@punks/backend-entity-manager 0.0.251 → 0.0.253

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/cjs/index.js CHANGED
@@ -23803,7 +23803,7 @@ exports.AwsS3BucketProvider = class AwsS3BucketProvider {
23803
23803
  Bucket: input.bucket,
23804
23804
  Key: input.filePath,
23805
23805
  }));
23806
- return result.Body;
23806
+ return Buffer.from(result.Body);
23807
23807
  }
23808
23808
  catch (e) {
23809
23809
  throw new AwsS3BucketError(`AWS BUCKET | downloadFile | ${input.bucket} | ${input.filePath} | Error -> ${e.message}`);
@@ -29385,7 +29385,7 @@ exports.AwsS3MediaProvider = class AwsS3MediaProvider {
29385
29385
  Bucket: parsedRef.bucket,
29386
29386
  Key: parsedRef.path,
29387
29387
  }));
29388
- return result.Body;
29388
+ return Buffer.from(result.Body);
29389
29389
  }
29390
29390
  catch (e) {
29391
29391
  throw new AwsS3MediaError(`AwsS3MediaProvider | mediaDownload | ${input.ref} | Error -> ${e.message}`);