@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 +12 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -8746,6 +8746,7 @@ var MAILER_TRANSPORT_PORT = Number(process.env.MAILER_TRANSPORT_PORT) ?? 465;
|
|
|
8746
8746
|
var MAILER_TRANSPORT_SECURE = process.env.MAILER_TRANSPORT_SECURE === "true";
|
|
8747
8747
|
var MAILER_EMAIL = process.env.MAILER_EMAIL ?? "default@gmail.com";
|
|
8748
8748
|
var MAILER_PASSWORD = process.env.MAILER_PASSWORD ?? "password";
|
|
8749
|
+
var MAILER_FROM_EMAIL = process.env.MAILER_FROM_EMAIL || void 0;
|
|
8749
8750
|
var ACCESS_TOKEN_SECRET = process.env.ACCESS_TOKEN_SECRET ?? "access_token_secret";
|
|
8750
8751
|
var REFRESH_TOKEN_SECRET = process.env.REFRESH_TOKEN_SECRET ?? "refresh_token_secret";
|
|
8751
8752
|
var ACCESS_TOKEN_EXPIRY = process.env.ACCESS_TOKEN_EXPIRY ?? "15s";
|
|
@@ -11959,6 +11960,7 @@ function useVerificationService() {
|
|
|
11959
11960
|
port: MAILER_TRANSPORT_PORT,
|
|
11960
11961
|
secure: MAILER_TRANSPORT_SECURE,
|
|
11961
11962
|
email: MAILER_EMAIL,
|
|
11963
|
+
from: MAILER_FROM_EMAIL,
|
|
11962
11964
|
password: MAILER_PASSWORD
|
|
11963
11965
|
};
|
|
11964
11966
|
const mailer = new useMailer(MailerConfig);
|
|
@@ -34702,6 +34704,7 @@ function useVisitorTransactionService() {
|
|
|
34702
34704
|
port: MAILER_TRANSPORT_PORT,
|
|
34703
34705
|
secure: MAILER_TRANSPORT_SECURE,
|
|
34704
34706
|
email: MAILER_EMAIL,
|
|
34707
|
+
from: MAILER_FROM_EMAIL,
|
|
34705
34708
|
password: MAILER_PASSWORD
|
|
34706
34709
|
};
|
|
34707
34710
|
const mailer = new useMailer2(MailerConfig);
|
|
@@ -36207,6 +36210,7 @@ function usePersonService() {
|
|
|
36207
36210
|
port: MAILER_TRANSPORT_PORT,
|
|
36208
36211
|
secure: MAILER_TRANSPORT_SECURE,
|
|
36209
36212
|
email: MAILER_EMAIL,
|
|
36213
|
+
from: MAILER_FROM_EMAIL,
|
|
36210
36214
|
password: MAILER_PASSWORD
|
|
36211
36215
|
};
|
|
36212
36216
|
const mailer = new useMailer3(MailerConfig);
|
|
@@ -64262,6 +64266,7 @@ function sendEmailWithAttachmentsTo({
|
|
|
64262
64266
|
port: MAILER_TRANSPORT_PORT,
|
|
64263
64267
|
secure: MAILER_TRANSPORT_SECURE,
|
|
64264
64268
|
email: MAILER_EMAIL,
|
|
64269
|
+
from: MAILER_FROM_EMAIL,
|
|
64265
64270
|
password: MAILER_PASSWORD
|
|
64266
64271
|
};
|
|
64267
64272
|
const mailer = new useMailer4(MailerConfig);
|
|
@@ -65031,6 +65036,7 @@ function useVerificationServiceV2() {
|
|
|
65031
65036
|
port: MAILER_TRANSPORT_PORT,
|
|
65032
65037
|
secure: MAILER_TRANSPORT_SECURE,
|
|
65033
65038
|
email: MAILER_EMAIL,
|
|
65039
|
+
from: MAILER_FROM_EMAIL,
|
|
65034
65040
|
password: MAILER_PASSWORD
|
|
65035
65041
|
};
|
|
65036
65042
|
const mailer = new useMailer5(MailerConfig);
|