@tozielinski/next-brevo-api-helper 1.0.2 → 1.0.4

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.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # next-brevo-api-helper
2
2
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
3
+ [![npm version](https://img.shields.io/npm/v/%40tozielinski%2Fnext-brevo-api-helper)](https://www.npmjs.com/package/@tozielinski/next-upstash-nonce)
3
4
 
4
5
  ## Using the Brevo API for create, update and delete contacts, folders and lists and send mails via the API
5
6
 
@@ -38,8 +39,8 @@ const mail: BrevoSendEmailRequest = {
38
39
  // } satisfies BrevoEmailRecipient,
39
40
  // subject: string,
40
41
  // htmlContent: string,
41
- // textContent: "this is a test content for a mail",
42
- // textContent: mailObject.email + "\n" + (fullName.toString() && "\n") + mailObject.phone + "\nVielen Dank für die Anfrage zum Thema '" + mailObject.topic + "'\n\nDeine Nachricht lautet:\n" + mailObject.message,
42
+ // textContent: string,
43
+ // textContent: string,
43
44
  // templateId?: number;
44
45
  // params?: Record<string, string | number | boolean>;
45
46
  // headers?: Record<string, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tozielinski/next-brevo-api-helper",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Lightweight helper to use Brevo to send mails via the Brevo API and maintain all",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",