@7365admin1/core 3.33.0 → 3.34.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @iservice365/core
2
2
 
3
+ ## 3.34.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 8986923: Fix `@7365admin1/node-server-utils` dependency to point at the real published `^1.6.0` instead of a leftover staging prerelease pin (`1.5.1-staging.1`). The stale prerelease caused a duplicate nested copy of node-server-utils to be installed alongside the real one, triggering "Unable to connect to server" errors at startup in consuming apps.
8
+
9
+ ## 3.34.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 36c0873: Add `MAILER_FROM_EMAIL` config so the mailer's SMTP auth login and display sender can differ, needed for relaying through Brevo (or any provider whose SMTP login differs from the desired sender address). Falls back to the existing behavior when unset.
14
+
3
15
  ## 3.33.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.js CHANGED
@@ -9207,6 +9207,7 @@ var MAILER_TRANSPORT_PORT = Number(process.env.MAILER_TRANSPORT_PORT) ?? 465;
9207
9207
  var MAILER_TRANSPORT_SECURE = process.env.MAILER_TRANSPORT_SECURE === "true";
9208
9208
  var MAILER_EMAIL = process.env.MAILER_EMAIL ?? "default@gmail.com";
9209
9209
  var MAILER_PASSWORD = process.env.MAILER_PASSWORD ?? "password";
9210
+ var MAILER_FROM_EMAIL = process.env.MAILER_FROM_EMAIL || void 0;
9210
9211
  var ACCESS_TOKEN_SECRET = process.env.ACCESS_TOKEN_SECRET ?? "access_token_secret";
9211
9212
  var REFRESH_TOKEN_SECRET = process.env.REFRESH_TOKEN_SECRET ?? "refresh_token_secret";
9212
9213
  var ACCESS_TOKEN_EXPIRY = process.env.ACCESS_TOKEN_EXPIRY ?? "15s";
@@ -12360,6 +12361,7 @@ function useVerificationService() {
12360
12361
  port: MAILER_TRANSPORT_PORT,
12361
12362
  secure: MAILER_TRANSPORT_SECURE,
12362
12363
  email: MAILER_EMAIL,
12364
+ from: MAILER_FROM_EMAIL,
12363
12365
  password: MAILER_PASSWORD
12364
12366
  };
12365
12367
  const mailer = new import_node_server_utils21.useMailer(MailerConfig);
@@ -34860,6 +34862,7 @@ function useVisitorTransactionService() {
34860
34862
  port: MAILER_TRANSPORT_PORT,
34861
34863
  secure: MAILER_TRANSPORT_SECURE,
34862
34864
  email: MAILER_EMAIL,
34865
+ from: MAILER_FROM_EMAIL,
34863
34866
  password: MAILER_PASSWORD
34864
34867
  };
34865
34868
  const mailer = new import_node_server_utils107.useMailer(MailerConfig);
@@ -36348,6 +36351,7 @@ function usePersonService() {
36348
36351
  port: MAILER_TRANSPORT_PORT,
36349
36352
  secure: MAILER_TRANSPORT_SECURE,
36350
36353
  email: MAILER_EMAIL,
36354
+ from: MAILER_FROM_EMAIL,
36351
36355
  password: MAILER_PASSWORD
36352
36356
  };
36353
36357
  const mailer = new import_node_server_utils112.useMailer(MailerConfig);
@@ -64074,6 +64078,7 @@ function sendEmailWithAttachmentsTo({
64074
64078
  port: MAILER_TRANSPORT_PORT,
64075
64079
  secure: MAILER_TRANSPORT_SECURE,
64076
64080
  email: MAILER_EMAIL,
64081
+ from: MAILER_FROM_EMAIL,
64077
64082
  password: MAILER_PASSWORD
64078
64083
  };
64079
64084
  const mailer = new import_node_server_utils221.useMailer(MailerConfig);
@@ -64827,6 +64832,7 @@ function useVerificationServiceV2() {
64827
64832
  port: MAILER_TRANSPORT_PORT,
64828
64833
  secure: MAILER_TRANSPORT_SECURE,
64829
64834
  email: MAILER_EMAIL,
64835
+ from: MAILER_FROM_EMAIL,
64830
64836
  password: MAILER_PASSWORD
64831
64837
  };
64832
64838
  const mailer = new import_node_server_utils227.useMailer(MailerConfig);