@package-broker/adapter-node 0.16.4 → 0.17.1

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/package.json +1 -1
  2. package/src/index.ts +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@package-broker/adapter-node",
3
- "version": "0.16.4",
3
+ "version": "0.17.1",
4
4
  "type": "module",
5
5
  "keywords": [],
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -108,6 +108,12 @@ async function start() {
108
108
  (c.env as any) = {
109
109
  ...(c.env || {}),
110
110
  ENCRYPTION_KEY: encryptionKey,
111
+ // Pass SMTP configuration from process.env
112
+ SMTP_HOST: process.env.SMTP_HOST,
113
+ SMTP_PORT: process.env.SMTP_PORT,
114
+ SMTP_USER: process.env.SMTP_USER,
115
+ SMTP_PASS: process.env.SMTP_PASS,
116
+ SMTP_FROM: process.env.SMTP_FROM,
111
117
  };
112
118
  await next();
113
119
  });