@punks/backend-entity-manager 0.0.358 → 0.0.359

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
@@ -40487,6 +40487,12 @@ let SendgridEmailProvider = class SendgridEmailProvider {
40487
40487
  cc: input.cc ?? templateData.cc,
40488
40488
  from: input.from ?? templateData.from,
40489
40489
  to: input.to ?? templateData.to,
40490
+ attachments: input.attachments?.map((attachment) => ({
40491
+ ...attachment,
40492
+ content: attachment.content instanceof Buffer
40493
+ ? attachment.content.toString("utf-8")
40494
+ : attachment.content,
40495
+ })),
40490
40496
  });
40491
40497
  return;
40492
40498
  }