@punks/backend-entity-manager 0.0.360 → 0.0.361

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/esm/index.js CHANGED
@@ -40516,7 +40516,7 @@ let SendgridEmailProvider = class SendgridEmailProvider {
40516
40516
  attachments: input.attachments?.map((attachment) => ({
40517
40517
  ...attachment,
40518
40518
  content: attachment.content instanceof Buffer
40519
- ? attachment.content.toString("utf-8")
40519
+ ? attachment.content.toString("base64")
40520
40520
  : attachment.content,
40521
40521
  })),
40522
40522
  });
@@ -40565,7 +40565,7 @@ let SendgridEmailProvider = class SendgridEmailProvider {
40565
40565
  attachments: input.attachments?.map((attachment) => ({
40566
40566
  ...attachment,
40567
40567
  content: attachment.content instanceof Buffer
40568
- ? attachment.content.toString("utf-8")
40568
+ ? attachment.content.toString("base64")
40569
40569
  : attachment.content,
40570
40570
  })),
40571
40571
  });