@cms0/transactional 0.2.23 → 0.2.24

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/README.md CHANGED
@@ -20,6 +20,7 @@ CMS0_EMAIL_TRANSPORT=log
20
20
  CMS0_EMAIL_TRANSPORT=smtp
21
21
  # or:
22
22
  CMS0_EMAIL_TRANSPORT=plunk
23
+ CMS0_EMAIL_PLUNK_SECRET_KEY=sk_your_secret_key
23
24
  ```
24
25
 
25
26
  ## Usage
@@ -92,7 +92,7 @@ const createPlunkEmailTransport = (config) => ({
92
92
  const response = await fetch(`${config.baseUrl ?? DEFAULT_PLUNK_API_BASE_URL}/v1/send`, {
93
93
  method: "POST",
94
94
  headers: {
95
- Authorization: `Bearer ${config.apiKey}`,
95
+ Authorization: `Bearer ${config.secretKey}`,
96
96
  "Content-Type": "application/json",
97
97
  },
98
98
  body: JSON.stringify({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cms0/transactional",
3
- "version": "0.2.23",
3
+ "version": "0.2.24",
4
4
  "publishConfig": {
5
5
  "access": "restricted"
6
6
  },
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@react-email/components": "^0.5.7",
28
28
  "nodemailer": "^7.0.10",
29
- "@cms0/shared": "0.2.23"
29
+ "@cms0/shared": "0.2.24"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "^19.2.0",