@openinc/parse-server-opendash 3.33.1 → 3.33.2

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.
@@ -336,6 +336,14 @@ exports.customoptions = {
336
336
  default: "false",
337
337
  description: "E-Mail from/sender E-Mail",
338
338
  },
339
+ SMTP_REPLY_TO: {
340
+ env: "OPENINC_PARSE_SMTP_REPLY_TO",
341
+ type: "string",
342
+ required: false,
343
+ secret: false,
344
+ public: false,
345
+ description: "E-Mail reply-to address",
346
+ },
339
347
  WEB_PUSH_ENABLED: {
340
348
  env: "OPENINC_PARSE_WEB_PUSH_ENABLED",
341
349
  type: "boolean",
@@ -19,6 +19,7 @@ async function initEmailTransport() {
19
19
  port: config_1.ConfigInstance.getInstance().getNumber("SMTP_PORT"),
20
20
  secure: config_1.ConfigInstance.getInstance().getBoolean("SMTP_SECURE"),
21
21
  ignoreTLS: config_1.ConfigInstance.getInstance().getBoolean("SMTP_IGNORE_TLS"),
22
+ replyTo: config_1.ConfigInstance.getInstance().get("SMTP_REPLY_TO"),
22
23
  };
23
24
  if (config_1.ConfigInstance.getInstance().get("SMTP_USER") &&
24
25
  config_1.ConfigInstance.getInstance().get("SMTP_PASS")) {
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.init = init;
4
4
  async function init(name) {
5
5
  Parse.Cloud.define(name, async (request) => {
6
- console.log(request);
7
6
  if (!request.user) {
8
7
  return { message: "Unauthorized" };
9
8
  }
@@ -23,6 +22,7 @@ async function init(name) {
23
22
  pass: "*",
24
23
  },
25
24
  from: process.env.OPENINC_PARSE_SMTP_FROM,
25
+ replyTo: process.env.OPENINC_PARSE_SMTP_REPLY_TO,
26
26
  };
27
27
  }
28
28
  return { message: "Mail server not configured or disabled." };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openinc/parse-server-opendash",
3
- "version": "3.33.1",
3
+ "version": "3.33.2",
4
4
  "description": "Parse Server Cloud Code for open.INC Stack.",
5
5
  "packageManager": "pnpm@10.28.0",
6
6
  "keywords": [