@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/cjs/index.js +6 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -40502,6 +40502,12 @@ let SendgridEmailProvider = class SendgridEmailProvider {
|
|
|
40502
40502
|
cc: input.cc ?? templateData.cc,
|
|
40503
40503
|
from: input.from ?? templateData.from,
|
|
40504
40504
|
to: input.to ?? templateData.to,
|
|
40505
|
+
attachments: input.attachments?.map((attachment) => ({
|
|
40506
|
+
...attachment,
|
|
40507
|
+
content: attachment.content instanceof Buffer
|
|
40508
|
+
? attachment.content.toString("utf-8")
|
|
40509
|
+
: attachment.content,
|
|
40510
|
+
})),
|
|
40505
40511
|
});
|
|
40506
40512
|
return;
|
|
40507
40513
|
}
|