@punks/backend-entity-manager 0.0.43 → 0.0.44

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
@@ -25069,11 +25069,17 @@ let SendgridEmailProvider = class SendgridEmailProvider {
25069
25069
  templateId: templateData.sendgridTemplateId,
25070
25070
  });
25071
25071
  if (sendgridSettings.value.loggingEnabled) {
25072
- this.logger.info("Sending templated email", request);
25072
+ this.logger.info("Sending templated email", {
25073
+ input,
25074
+ request,
25075
+ });
25073
25076
  }
25074
25077
  await this.client.send(request);
25075
25078
  if (sendgridSettings.value.loggingEnabled) {
25076
- this.logger.info("Templated email sent", request);
25079
+ this.logger.info("Templated email sent", {
25080
+ input,
25081
+ request,
25082
+ });
25077
25083
  }
25078
25084
  }
25079
25085
  async sendHtmlEmail(input) {
@@ -25095,11 +25101,17 @@ let SendgridEmailProvider = class SendgridEmailProvider {
25095
25101
  replyTo: sanitizeValue(input.replyTo ?? sendgridSettings.value.defaultReplyTo),
25096
25102
  });
25097
25103
  if (sendgridSettings.value.loggingEnabled) {
25098
- this.logger.info("Sending html email", request);
25104
+ this.logger.info("Sending html email", {
25105
+ input,
25106
+ request,
25107
+ });
25099
25108
  }
25100
25109
  await this.client.send(request);
25101
25110
  if (sendgridSettings.value.loggingEnabled) {
25102
- this.logger.info("Html email sent", request);
25111
+ this.logger.info("Html email sent", {
25112
+ input,
25113
+ request,
25114
+ });
25103
25115
  }
25104
25116
  }
25105
25117
  };