@hedhog/mail 0.0.10 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mail.module.d.ts","sourceRoot":"","sources":["../src/mail.module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAA4B,MAAM,gBAAgB,CAAC;AACzE,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,4CAA4C,CAAC;AAIpD,qBAEa,UAAU;IACrB,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,iBAAiB,GAAG,aAAa;
|
1
|
+
{"version":3,"file":"mail.module.d.ts","sourceRoot":"","sources":["../src/mail.module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAA4B,MAAM,gBAAgB,CAAC;AACzE,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,4CAA4C,CAAC;AAIpD,qBAEa,UAAU;IACrB,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,iBAAiB,GAAG,aAAa;IAezD,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE,sBAAsB,GAAG,aAAa;IASnE,OAAO,CAAC,MAAM,CAAC,0BAA0B;CAS1C"}
|
package/dist/mail.module.js
CHANGED
@@ -14,7 +14,6 @@ const mail_consts_1 = require("./mail.consts");
|
|
14
14
|
const mail_service_1 = require("./mail.service");
|
15
15
|
let MailModule = MailModule_1 = class MailModule {
|
16
16
|
static forRoot(options) {
|
17
|
-
console.log('MailModule.register', { options });
|
18
17
|
return {
|
19
18
|
module: MailModule_1,
|
20
19
|
imports: [axios_1.HttpModule],
|
package/dist/mail.module.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mail.module.js","sourceRoot":"","sources":["../src/mail.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,yCAA2C;AAC3C,2CAAyE;AAKzE,+CAAoD;AACpD,iDAA6C;AAItC,IAAM,UAAU,kBAAhB,MAAM,UAAU;IACrB,MAAM,CAAC,OAAO,CAAC,OAA0B;QACvC,OAAO
|
1
|
+
{"version":3,"file":"mail.module.js","sourceRoot":"","sources":["../src/mail.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,yCAA2C;AAC3C,2CAAyE;AAKzE,+CAAoD;AACpD,iDAA6C;AAItC,IAAM,UAAU,kBAAhB,MAAM,UAAU;IACrB,MAAM,CAAC,OAAO,CAAC,OAA0B;QACvC,OAAO;YACL,MAAM,EAAE,YAAU;YAClB,OAAO,EAAE,CAAC,kBAAU,CAAC;YACrB,SAAS,EAAE;gBACT,0BAAW;gBACX;oBACE,OAAO,EAAE,iCAAmB;oBAC5B,QAAQ,EAAE,OAAO;iBAClB;aACF;YACD,OAAO,EAAE,CAAC,0BAAW,CAAC;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,OAA+B;QACjD,OAAO;YACL,MAAM,EAAE,YAAU;YAClB,OAAO,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC,EAAE,kBAAU,CAAC;YACjD,SAAS,EAAE,CAAC,0BAAW,EAAE,IAAI,CAAC,0BAA0B,CAAC,OAAO,CAAC,CAAC;YAClE,OAAO,EAAE,CAAC,0BAAW,CAAC;SACvB,CAAC;IACJ,CAAC;IAEO,MAAM,CAAC,0BAA0B,CACvC,OAA+B;QAE/B,OAAO;YACL,OAAO,EAAE,iCAAmB;YAC5B,UAAU,EAAE,OAAO,CAAC,UAAU;YAC9B,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,EAAE;SAC7B,CAAC;IACJ,CAAC;CACF,CAAA;AAlCY,gCAAU;qBAAV,UAAU;IAFtB,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,UAAU,CAkCtB"}
|
package/package.json
CHANGED
package/src/mail.template.ejs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
MailModule.
|
1
|
+
MailModule.forRoot({ global: true, type: 'SMTP', host: 'changeme', port: 465, secure: false, username: 'changeme', password: 'changeme' })
|