@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/cjs/index.js CHANGED
@@ -40531,7 +40531,7 @@ let SendgridEmailProvider = class SendgridEmailProvider {
40531
40531
  attachments: input.attachments?.map((attachment) => ({
40532
40532
  ...attachment,
40533
40533
  content: attachment.content instanceof Buffer
40534
- ? attachment.content.toString("utf-8")
40534
+ ? attachment.content.toString("base64")
40535
40535
  : attachment.content,
40536
40536
  })),
40537
40537
  });
@@ -40580,7 +40580,7 @@ let SendgridEmailProvider = class SendgridEmailProvider {
40580
40580
  attachments: input.attachments?.map((attachment) => ({
40581
40581
  ...attachment,
40582
40582
  content: attachment.content instanceof Buffer
40583
- ? attachment.content.toString("utf-8")
40583
+ ? attachment.content.toString("base64")
40584
40584
  : attachment.content,
40585
40585
  })),
40586
40586
  });