@brightnkhoma/credentials 1.0.2 → 1.0.4
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/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/dist/lib/mailer.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11777,12 +11777,13 @@ var Mailer = class {
|
|
|
11777
11777
|
const { companyEmail, companyMailPassword, companyName } = options;
|
|
11778
11778
|
if (!companyEmail || !companyMailPassword || !companyName) throw new Error("Company mail credentials missing");
|
|
11779
11779
|
const mailer = nodemailer_default.createTransport({
|
|
11780
|
+
service: "gmail",
|
|
11780
11781
|
auth: {
|
|
11781
11782
|
user: companyEmail,
|
|
11782
11783
|
pass: companyMailPassword
|
|
11783
11784
|
},
|
|
11784
11785
|
tls: {
|
|
11785
|
-
rejectUnauthorized:
|
|
11786
|
+
rejectUnauthorized: false
|
|
11786
11787
|
},
|
|
11787
11788
|
debug: false,
|
|
11788
11789
|
logger: false
|
package/dist/index.mjs
CHANGED
|
@@ -11744,12 +11744,13 @@ var Mailer = class {
|
|
|
11744
11744
|
const { companyEmail, companyMailPassword, companyName } = options;
|
|
11745
11745
|
if (!companyEmail || !companyMailPassword || !companyName) throw new Error("Company mail credentials missing");
|
|
11746
11746
|
const mailer = nodemailer_default.createTransport({
|
|
11747
|
+
service: "gmail",
|
|
11747
11748
|
auth: {
|
|
11748
11749
|
user: companyEmail,
|
|
11749
11750
|
pass: companyMailPassword
|
|
11750
11751
|
},
|
|
11751
11752
|
tls: {
|
|
11752
|
-
rejectUnauthorized:
|
|
11753
|
+
rejectUnauthorized: false
|
|
11753
11754
|
},
|
|
11754
11755
|
debug: false,
|
|
11755
11756
|
logger: false
|
package/dist/lib/mailer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mailer.d.ts","sourceRoot":"","sources":["../../src/lib/mailer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAmB,EAAE,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AACxF,qBAAa,MAAM;IAEH,OAAO,CAAC,QAAQ,CAAC,OAAO;IADpC,MAAM,EAAE,IAAI,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,CAAA;IACvD,YAA6B,OAAO,EAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"mailer.d.ts","sourceRoot":"","sources":["../../src/lib/mailer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAmB,EAAE,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AACxF,qBAAa,MAAM;IAEH,OAAO,CAAC,QAAQ,CAAC,OAAO;IADpC,MAAM,EAAE,IAAI,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,CAAA;IACvD,YAA6B,OAAO,EAAG,OAAO,EAkB7C;IAED,iBAAiB,CAAC,OAAO,EAAG,MAAM,EAAC,IAAI,EAAG,MAAM,UAe/C;IAEK,QAAQ,CAAC,OAAO,EAAG;QACrB,EAAE,EAAG,MAAM,CAAC;QACZ,OAAO,EAAG,MAAM,CAAC;QACjB,IAAI,EAAG,MAAM,CAAC;QACd,IAAK,CAAC,EAAG,MAAM,CAAC;KACnB,gCAKA;CACJ"}
|