@nestjs-modules/mailer 1.5.1 → 1.6.0

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.
Files changed (45) hide show
  1. package/.dockerignore +2 -2
  2. package/CHANGELOG.md +274 -231
  3. package/Dockerfile +10 -10
  4. package/LICENSE +20 -20
  5. package/README.md +66 -64
  6. package/dist/adapters/ejs.adapter.d.ts +9 -6
  7. package/dist/adapters/ejs.adapter.js +55 -43
  8. package/dist/adapters/handlebars.adapter.d.ts +10 -8
  9. package/dist/adapters/handlebars.adapter.js +70 -58
  10. package/dist/adapters/pug.adapter.d.ts +8 -5
  11. package/dist/adapters/pug.adapter.js +41 -27
  12. package/dist/constants/mailer.constant.d.ts +2 -0
  13. package/dist/constants/mailer.constant.js +5 -0
  14. package/dist/index.d.ts +8 -6
  15. package/dist/index.js +10 -6
  16. package/dist/interfaces/mailer-async-options.interface.d.ts +9 -9
  17. package/dist/interfaces/mailer-async-options.interface.js +2 -2
  18. package/dist/interfaces/mailer-options-factory.interface.d.ts +4 -4
  19. package/dist/interfaces/mailer-options-factory.interface.js +2 -2
  20. package/dist/interfaces/mailer-options.interface.d.ts +35 -35
  21. package/dist/interfaces/mailer-options.interface.js +2 -2
  22. package/dist/interfaces/mailer-send-mail-options.interface.d.ts +5 -5
  23. package/dist/interfaces/mailer-send-mail-options.interface.js +2 -2
  24. package/dist/interfaces/mailer-transport-factory.interface.d.ts +5 -0
  25. package/dist/{constants/mailer-options.constant.js → interfaces/mailer-transport-factory.interface.js} +2 -3
  26. package/dist/interfaces/send-mail-options.interface.d.ts +51 -49
  27. package/dist/interfaces/send-mail-options.interface.js +2 -2
  28. package/dist/interfaces/template-adapter-config.interface.d.ts +5 -0
  29. package/dist/interfaces/template-adapter-config.interface.js +2 -0
  30. package/dist/interfaces/template-adapter.interface.d.ts +4 -4
  31. package/dist/interfaces/template-adapter.interface.js +2 -2
  32. package/dist/mailer-core.module.d.ts +9 -9
  33. package/dist/mailer-core.module.js +73 -72
  34. package/dist/mailer-transport.factory.d.ts +8 -0
  35. package/dist/mailer-transport.factory.js +20 -0
  36. package/dist/mailer.module.d.ts +7 -7
  37. package/dist/mailer.module.js +29 -28
  38. package/dist/mailer.service.d.ts +13 -11
  39. package/dist/mailer.service.js +90 -83
  40. package/docker-compose.yml +18 -18
  41. package/index.d.ts +0 -0
  42. package/index.js +5 -5
  43. package/jest.config.js +17 -17
  44. package/package.json +100 -100
  45. package/dist/constants/mailer-options.constant.d.ts +0 -1
package/.dockerignore CHANGED
@@ -1,2 +1,2 @@
1
- */node_modules
2
- *.log
1
+ */node_modules
2
+ *.log
package/CHANGELOG.md CHANGED
@@ -2,6 +2,49 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.6.0](https://github.com/nest-modules/mailer/compare/v1.5.1...v1.6.0) (2021-04-14)
6
+
7
+
8
+ ### Features
9
+
10
+ * **adapters:** expose inline-css options in adapter config ([6467336](https://github.com/nest-modules/mailer/commit/6467336709b9dfeb8248eb48904a513ab8aecc2f))
11
+ * Allow integration with nodemailer-mock ([9a6ecc5](https://github.com/nest-modules/mailer/commit/9a6ecc5e20566353f2326c24d21af715f7bd12e3)), closes [#341](https://github.com/nest-modules/mailer/issues/341)
12
+ * **dkim:** add dkim optional parameter to send mail options ([aab5810](https://github.com/nest-modules/mailer/commit/aab58107adcbdb3582813915373e6c90354adab6))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **deps:** update dependency inline-css to v3 ([de5e08e](https://github.com/nest-modules/mailer/commit/de5e08eee8fb027a3f0fc1ed7cfc839cda62ea34))
18
+ * **deps:** update dependency nodemailer to v6.4.10 ([284ce78](https://github.com/nest-modules/mailer/commit/284ce78dc70e78a2a3f398af6eb8c589b9cc1bf9))
19
+ * **deps:** update dependency nodemailer to v6.4.11 ([f9e8fe9](https://github.com/nest-modules/mailer/commit/f9e8fe9b37f236b8a50e19ecadabd6a2ea5a3076))
20
+ * **deps:** update dependency nodemailer to v6.4.12 ([68ec318](https://github.com/nest-modules/mailer/commit/68ec318589127728e62c9d148e964c045b041822))
21
+ * **deps:** update dependency nodemailer to v6.4.13 ([b047714](https://github.com/nest-modules/mailer/commit/b04771486bd4a2df099507cacf8fdeb473e04a8f))
22
+ * **deps:** update dependency nodemailer to v6.4.14 ([54a8a03](https://github.com/nest-modules/mailer/commit/54a8a03738e210bb4bb97b8e3b01cc59e27162d1))
23
+ * **deps:** update dependency nodemailer to v6.4.15 ([5bd97b2](https://github.com/nest-modules/mailer/commit/5bd97b2bb09f58acdc91603d4e4f84f5b4f146e7))
24
+ * **deps:** update dependency nodemailer to v6.4.16 ([4d45852](https://github.com/nest-modules/mailer/commit/4d45852ce965c4e678a1efd3ce7b854d10619080))
25
+ * **deps:** update dependency nodemailer to v6.4.17 ([3e4fc35](https://github.com/nest-modules/mailer/commit/3e4fc3513924912109d8d8c0a09193df4b987a05))
26
+ * **deps:** update dependency nodemailer to v6.4.18 ([36d1968](https://github.com/nest-modules/mailer/commit/36d1968b6d9eb530a3092ae6e505457e7a915d86))
27
+ * **deps:** update dependency nodemailer to v6.5.0 ([99fd1c0](https://github.com/nest-modules/mailer/commit/99fd1c0e385d97066f107bb0fb98f2b3ce0b3c25))
28
+ * **deps:** update dependency preview-email to v3 ([15edc5e](https://github.com/nest-modules/mailer/commit/15edc5e57cbe7729979384f6e1583da95916df45))
29
+ * **deps:** update dependency preview-email to v3.0.3 ([46cf350](https://github.com/nest-modules/mailer/commit/46cf350f13711a33ac3f8c15501d9c2918e5e846))
30
+ * **deps:** update dependency preview-email to v3.0.4 ([9d6ab3e](https://github.com/nest-modules/mailer/commit/9d6ab3ed34a30af1aba6232b9de00857a98a6ab4))
31
+ * **deps:** update dependency rxjs to v6.6.0 ([6a1a27a](https://github.com/nest-modules/mailer/commit/6a1a27ab2d55de8f647977d7043615c8cf94d7ea))
32
+ * **deps:** update dependency rxjs to v6.6.2 ([93aadc9](https://github.com/nest-modules/mailer/commit/93aadc93d2c70e7594e1090263b7bdb43a5d148f))
33
+ * **deps:** update dependency rxjs to v6.6.3 ([3e4f19a](https://github.com/nest-modules/mailer/commit/3e4f19afb353ea84af8f7e8de8195e88185153fb))
34
+ * **deps:** update dependency rxjs to v6.6.6 ([196e4d7](https://github.com/nest-modules/mailer/commit/196e4d7f435be1799a11b301376126545ba3f188))
35
+ * **deps:** update dependency rxjs to v6.6.7 ([cbffd3e](https://github.com/nest-modules/mailer/commit/cbffd3e04ddaef8c76331eff8147240b00c6054f))
36
+ * **deps:** update dependency twing to v5.0.2 ([7b5ece1](https://github.com/nest-modules/mailer/commit/7b5ece1581f197f7264b8532c7ec4c764c34610f))
37
+ * **deps:** update nest monorepo to v7.1.2 ([ec73bba](https://github.com/nest-modules/mailer/commit/ec73bbaedc7a2589cff10e4f1401a2dac1e6420a))
38
+ * **deps:** update nest monorepo to v7.1.3 ([242ea94](https://github.com/nest-modules/mailer/commit/242ea94c25d9da5b00b43ab6e4f518ff61b5559b))
39
+ * **deps:** update nest monorepo to v7.3.1 ([2b0d27c](https://github.com/nest-modules/mailer/commit/2b0d27c9e4d0e7de1036c367d0b969a2e2e9c9b2))
40
+ * **deps:** update nest monorepo to v7.3.2 ([fc21757](https://github.com/nest-modules/mailer/commit/fc21757fe446b955d10fe106d2d7a430cd4896ec))
41
+ * **deps:** update nest monorepo to v7.4.2 ([040420c](https://github.com/nest-modules/mailer/commit/040420cfd6b72b275aca7a714113896e74f34f98))
42
+ * **deps:** update nest monorepo to v7.4.4 ([8a957ff](https://github.com/nest-modules/mailer/commit/8a957ffdd8e248d28a34205153e7e0295fae4708))
43
+ * **deps:** update nest monorepo to v7.5.5 ([18b95f3](https://github.com/nest-modules/mailer/commit/18b95f37dded7f755f077bed103495c8ca27676b))
44
+ * **deps:** update nest monorepo to v7.6.11 ([d9e0d56](https://github.com/nest-modules/mailer/commit/d9e0d566c6199984c6df9a04c17765f4d0878a24))
45
+ * **deps:** update nest monorepo to v7.6.12 ([549a9a3](https://github.com/nest-modules/mailer/commit/549a9a3fce41859672790e59602702baf0c79b5c))
46
+ * **deps:** update nest monorepo to v7.6.5 ([370b2b0](https://github.com/nest-modules/mailer/commit/370b2b0ce0a6100b5e6681217dfdd4777e88ff40))
47
+
5
48
  ### [1.5.1](https://github.com/nest-modules/mailer/compare/v1.5.0...v1.5.1) (2020-06-02)
6
49
 
7
50
 
@@ -16,234 +59,234 @@ All notable changes to this project will be documented in this file. See [standa
16
59
  * **deps:** update nest monorepo to v7.1.1 ([4331cce](https://github.com/nest-modules/mailer/commit/4331cce8eea0a8f233d4725361c5773eb2ce9018))
17
60
  * **send-mail-options:** change contents to content ([ecfbd5b](https://github.com/nest-modules/mailer/commit/ecfbd5b71208f17ff5fe2d5ea4f624614c72a9cf))
18
61
 
19
- ## [1.5.0](https://github.com/nest-modules/mailer/compare/v1.4.2...v1.5.0) (2020-05-09)
20
-
21
- ### Features
22
-
23
- * added bcc to mailer service ([887b216](https://github.com/nest-modules/mailer/commit/f2b1bfd560bfda36a6b75127abff2424248b6e02))
24
-
25
-
26
- ### Bug Fixes
27
-
28
- * **adapters:** Make pug, handlebars and ejs truly optional dependencies ([981c6cf](https://github.com/nest-modules/mailer/commit/981c6cff9105b636bf60b4139681df557d2cf21c))
29
- * **deps:** update dependency twing to v4.0.6 ([090ee3f](https://github.com/nest-modules/mailer/commit/090ee3fc916a1d846fe72c0834ec121dd7041cb7))
30
- * **deps:** update nest monorepo to v7.0.8 ([04268b1](https://github.com/nest-modules/mailer/commit/04268b119ce03aa5587c948135fbcd14bd5f336d))
31
- * **deps:** update nest monorepo to v7.0.9 ([3daf8d2](https://github.com/nest-modules/mailer/commit/3daf8d2565a0669ba8cf0243fb01e0e5a34af7aa))
32
-
33
- ### [1.4.3](https://github.com/nest-modules/mailer/compare/v1.4.2...v1.4.3) (2020-05-08)
34
-
35
-
36
- ### Bug Fixes
37
-
38
- * **adapters:** Make pug, handlebars and ejs truly optional dependencies ([981c6cf](https://github.com/nest-modules/mailer/commit/981c6cff9105b636bf60b4139681df557d2cf21c))
39
- * **deps:** update dependency twing to v4.0.6 ([090ee3f](https://github.com/nest-modules/mailer/commit/090ee3fc916a1d846fe72c0834ec121dd7041cb7))
40
- * **deps:** update nest monorepo to v7.0.8 ([04268b1](https://github.com/nest-modules/mailer/commit/04268b119ce03aa5587c948135fbcd14bd5f336d))
41
- * **deps:** update nest monorepo to v7.0.9 ([3daf8d2](https://github.com/nest-modules/mailer/commit/3daf8d2565a0669ba8cf0243fb01e0e5a34af7aa))
42
-
43
- ### [1.4.2](https://github.com/nest-modules/mailer/compare/v1.4.1...v1.4.2) (2020-04-07)
44
-
45
- * fix handlebars adapter type
46
-
47
- ### [1.4.1](https://github.com/nest-modules/mailer/compare/v1.4.0...v1.4.1) (2020-04-07)
48
-
49
-
50
- ### Bug Fixes
51
-
52
- * fixed handlebars helpers ([bba3be6](https://github.com/nest-modules/mailer/commit/bba3be6f9712753557662024a6215bdf1139a3f5))
53
-
54
- ## [1.4.0](https://github.com/nest-modules/mailer/compare/v1.3.22...v1.4.0) (2020-04-07)
55
-
56
-
57
- ### Features
58
-
59
- * **preview:** Pass options to preview-email ([d0009ce](https://github.com/nest-modules/mailer/commit/d0009ce1f57af0a48f74145ee63ba0761fb45b91))
60
- * **preview:** Show preview of emails in browser ([4a2c0d5](https://github.com/nest-modules/mailer/commit/4a2c0d5d6797bcf64a380f09ee836641fca8fe88))
61
- * add ejs adapter
62
-
63
-
64
- ### Bug Fixes
65
-
66
- * **deps:** pin dependency preview-email to 2.0.1 ([e1206d6](https://github.com/nest-modules/mailer/commit/e1206d6fe0af42ac4edeb18186d2dfe4e46c5d49))
67
-
68
- ### [1.3.22](https://github.com/nest-modules/mailer/compare/v1.3.21...v1.3.22) (2020-04-07)
69
-
70
-
71
- ### Bug Fixes
72
-
73
- * optional dependencies ([8bd3fb8](https://github.com/nest-modules/mailer/commit/8bd3fb87e8d17121d0cdc1f8d947900f282eda3e))
74
-
75
- ### [1.3.21](https://github.com/nest-modules/mailer/compare/v1.3.20...v1.3.21) (2020-04-04)
76
-
77
-
78
- ### Bug Fixes
79
-
80
- * fixed inconsistencies in build ([6d041f0](https://github.com/nest-modules/mailer/commit/6d041f071494d282d35722c360fdc111544f1abc))
81
-
82
- ### [1.3.20](https://github.com/nest-modules/mailer/compare/v1.3.19...v1.3.20) (2020-04-04)
83
- * Clean build
84
-
85
- ### Bug Fixes
86
-
87
- * **deps:** pin dependencies ([a91e6f3](https://github.com/nest-modules/mailer/commit/a91e6f398d214a76316b1b24e75cd9670a6604ea))
88
-
89
- ### [1.3.19](https://github.com/nest-modules/mailer/compare/v1.3.18...v1.3.19) (2020-04-04)
90
-
91
-
92
- ### Bug Fixes
93
-
94
- * build ([24d0598](https://github.com/nest-modules/mailer/commit/24d0598c2447887caad9573d78bad58d65b0f8da))
95
-
96
- ### [1.3.18](https://github.com/nest-modules/mailer/compare/v1.3.17...v1.3.18) (2020-04-04)
97
-
98
-
99
- ### Bug Fixes
100
-
101
- * now pug and handlebars are optional dependencies and nodemailer a peer dependency ([49b60a3](https://github.com/nest-modules/mailer/commit/49b60a3dee86f964746e2ede5da56007301f23b6))
102
- * **deps:** update dependency rxjs to v6.5.5 ([2ffd823](https://github.com/nest-modules/mailer/commit/2ffd82360817063552ec98edc6b104e7b102456c))
103
-
104
- ### [1.3.17](https://github.com/nest-modules/mailer/compare/v1.3.16...v1.3.17) (2020-04-01)
105
-
106
-
107
- ### Bug Fixes
108
-
109
- * optional key in atachments interface [#110](https://github.com/nest-modules/mailer/issues/110) ([0d951ae](https://github.com/nest-modules/mailer/commit/0d951aeb25c8fb25dec78789638f77ddeecd6a67))
110
-
111
- ### [1.3.16](https://github.com/nest-modules/mailer/compare/v1.3.15...v1.3.16) (2020-03-31)
112
-
113
-
114
- ### Bug Fixes
115
-
116
- * [#108](https://github.com/nest-modules/mailer/issues/108) ([69072b6](https://github.com/nest-modules/mailer/commit/69072b68c801472ef1fb482366966b60c1f307b5))
117
-
118
- ### [1.3.15](https://github.com/nest-modules/mailer/compare/v1.3.14...v1.3.15) (2020-03-31)
119
-
120
- ### Bug Fixes
121
-
122
- * fix dist not found
123
-
124
-
125
- ### [1.3.14](https://github.com/nest-modules/mailer/compare/v1.3.13...v1.3.14) (2020-03-31)
126
-
127
-
128
- ### Bug Fixes
129
-
130
- * types not recognized ([8584ea8](https://github.com/nest-modules/mailer/commit/8584ea81914d481cdc7b2a77544f4f93ae3e886a)), closes [#99](https://github.com/nest-modules/mailer/issues/99)
131
-
132
- ### [1.3.13](https://github.com/nest-modules/mailer/compare/v1.3.12...v1.3.13) (2020-03-30)
133
-
134
-
135
- ### Bug Fixes
136
-
137
- * add interface 'attachment like object' [#104](https://github.com/nest-modules/mailer/issues/104) ([30de1f6](https://github.com/nest-modules/mailer/commit/30de1f64b1635237cd374237376497a5b0089253))
138
- * **deps:** update dependency nodemailer to v6.4.6 ([2230ca2](https://github.com/nest-modules/mailer/commit/2230ca24ad337a72c1d77babb7cc28e0d81d47e5))
139
- * **deps:** update nest monorepo to v7.0.5 ([b3b3ec9](https://github.com/nest-modules/mailer/commit/b3b3ec9a653766bdc12e6cd93dfd0263a2d32ea5))
140
- * **deps:** update nest monorepo to v7.0.6 ([3e8c04f](https://github.com/nest-modules/mailer/commit/3e8c04ff617afb94a5ce11c54f0b55b108408714))
141
- * **deps:** update nest monorepo to v7.0.7 ([3b9bc9a](https://github.com/nest-modules/mailer/commit/3b9bc9af1ab8866ba66de3d8f6b81f1412e828ef))
142
-
143
- ### [1.3.12](https://github.com/nest-modules/mailer/compare/v1.3.11...v1.3.12) (2020-03-19)
144
-
145
-
146
- ### Bug Fixes
147
-
148
- * sendMail options errors [#85](https://github.com/nest-modules/mailer/issues/85) ([02e5950](https://github.com/nest-modules/mailer/commit/02e5950e01ac11ff6ee00a7fec0b9dd2b41b3da3))
149
- * **deps:** update nest monorepo to v7.0.2 ([6cb96b8](https://github.com/nest-modules/mailer/commit/6cb96b8000e67284f3158b80ffcd5e4625843667))
150
- * **deps:** update nest monorepo to v7.0.3 ([ae6eee9](https://github.com/nest-modules/mailer/commit/ae6eee9e9348e2f0b6ea670532b205a9d40e4ab8))
151
-
152
- ### [1.3.11](https://github.com/nest-modules/mailer/compare/v1.3.10...v1.3.11) (2020-03-15)
153
-
154
- ### Bug Fixes
155
- * fixes build fail with no implicit any [#79](https://github.com/nest-modules/mailer/issues/79)
156
-
157
- ### [1.3.10](https://github.com/nest-modules/mailer/compare/v1.3.9...v1.3.10) (2020-03-14)
158
-
159
-
160
- ### Bug Fixes
161
-
162
- * fixes template in the email interface ([eb1f4b6](https://github.com/nest-modules/mailer/commit/eb1f4b673251bd8ef8f97a012b23cd928f7c3727))
163
- * **deps:** update nest monorepo to v7 ([7deaa3e](https://github.com/nest-modules/mailer/commit/7deaa3e0956e2ed2a04d4ab6f88960bc01c57f6b))
164
-
165
- ### [1.3.9](https://github.com/nest-modules/mailer/compare/v1.3.8...v1.3.9) (2020-03-12)
166
-
167
-
168
- ### Bug Fixes
169
-
170
- * inherits from nodemailer interface [#34](https://github.com/nest-modules/mailer/issues/34) ([923ba0f](https://github.com/nest-modules/mailer/commit/923ba0f270bc8c0dffe4256b98b91f403a0acd45))
171
- * **deps:** pin dependencies ([5545762](https://github.com/nest-modules/mailer/commit/5545762c113b80e22b45edfa76a7252dfdbde239))
172
- * **deps:** update dependency nodemailer to v6.4.5 ([b5ace5d](https://github.com/nest-modules/mailer/commit/b5ace5d774df18017e8d4923d733b5b1e17e0061))
173
-
174
- ### [1.3.8](https://github.com/nest-modules/mailer/compare/v1.3.7...v1.3.8) (2020-03-06)
175
-
176
-
177
- ### Bug Fixes
178
-
179
- * remove unused key ([cadc62a](https://github.com/nest-modules/mailer/commit/cadc62a26fa9013da9e734248514e17cf0615e9d))
180
-
181
- ### [1.3.7](https://github.com/nest-modules/mailer/compare/v1.3.6...v1.3.7) (2020-03-06)
182
-
183
-
184
- ### Bug Fixes
185
-
186
- * fixed build script ([1b5c186](https://github.com/nest-modules/mailer/commit/1b5c186f6277de309529bb10e15bc0a15312771a))
187
- * update lock file ([fd0e603](https://github.com/nest-modules/mailer/commit/fd0e603fc1e48aba7fc085f112c040bec7163281))
188
-
189
- ### [1.3.6](https://github.com/nest-modules/mailer/compare/v1.3.5...v1.3.6) (2020-02-26)
190
-
191
-
192
- ### Bug Fixes
193
-
194
- * fixed deploy script ([87cc825](https://github.com/nest-modules/mailer/commit/87cc82577bd26ef24cdb698aac915c9e723034a0))
195
-
196
- ### [1.3.5](https://github.com/nest-modules/mailer/compare/v1.3.4...v1.3.5) (2020-02-26)
197
-
198
-
199
- ### Bug Fixes
200
-
201
- * dependencies ([eaf1979](https://github.com/nest-modules/mailer/commit/eaf197976039257cefcf358bf6d588cf22761968))
202
- * fixed incorrect module call in documentation ([5d37026](https://github.com/nest-modules/mailer/commit/5d370266217c211de5dfd5eaeed00833b39506d1))
203
- * fixes deploy script ([2daf360](https://github.com/nest-modules/mailer/commit/2daf3603aa7ba1b1773fcb071e180ceda474e776))
204
-
205
- ### [1.3.4](https://github.com/nest-modules/mailer/compare/v1.2.0...v1.3.4) (2020-02-25)
206
-
207
-
208
- ### Features
209
-
210
- * enable handlebars partials ([da4eb86](https://github.com/nest-modules/mailer/commit/da4eb86e7fc2546fd2ef2aff5b7824f97380a928))
211
-
212
-
213
- ### Bug Fixes
214
-
215
- * badges now have a correct url ([a3d336a](https://github.com/nest-modules/mailer/commit/a3d336a54f3d0a447713fc7525de156e38635158))
216
- * load partials and set global variables ([ee62f27](https://github.com/nest-modules/mailer/commit/ee62f27aaf2323e29fe56c7701c4878c21dc5719))
217
-
218
- ### 1.3.3
219
-
220
- * The module is in a new organization at npm.
221
-
222
- ### [1.3.2](https://github.com/nest-modules/mailer/compare/v1.3.0...v1.3.2) (2020-02-05)
223
-
224
-
225
- ### Bug Fixes
226
-
227
- * load partials and set global variables ([ee62f27](https://github.com/nest-modules/mailer/commit/ee62f27aaf2323e29fe56c7701c4878c21dc5719))
228
-
229
- ## [1.3.0](https://github.com/nest-modules/mailer/compare/v1.2.0...v1.3.0) (2020-02-05)
230
-
231
-
232
- ### Features
233
-
234
- * enable handlebars partials ([da4eb86](https://github.com/nest-modules/mailer/commit/da4eb86e7fc2546fd2ef2aff5b7824f97380a928))
235
-
236
- ## [1.2.0](https://github.com/nest-modules/mailer/compare/v1.1.4...v1.2.0) (2019-12-12)
237
-
238
-
239
- ### Features
240
-
241
- * inline css ([4dfdc31](https://github.com/nest-modules/mailer/commit/4dfdc31bbebc37533ade65d39cef8e49396f6c5a))
242
-
243
-
244
- ### Bug Fixes
245
-
246
- * **dependencies:** fixed dependencies and scripts ([c34b1eb](https://github.com/nest-modules/mailer/commit/c34b1ebbacc35f0a8f559716e7c63eca91b158e0))
247
- * **unit test:** fix unit tests ([c3bc61e](https://github.com/nest-modules/mailer/commit/c3bc61e6b5df1abbf0bd4fc86fe6b4575de1ba8c))
248
-
249
- ### [1.1.4](https://github.com/nest-modules/mailer/compare/v1.0.4...v1.1.4) (2019-12-12)
62
+ ## [1.5.0](https://github.com/nest-modules/mailer/compare/v1.4.2...v1.5.0) (2020-05-09)
63
+
64
+ ### Features
65
+
66
+ * added bcc to mailer service ([887b216](https://github.com/nest-modules/mailer/commit/f2b1bfd560bfda36a6b75127abff2424248b6e02))
67
+
68
+
69
+ ### Bug Fixes
70
+
71
+ * **adapters:** Make pug, handlebars and ejs truly optional dependencies ([981c6cf](https://github.com/nest-modules/mailer/commit/981c6cff9105b636bf60b4139681df557d2cf21c))
72
+ * **deps:** update dependency twing to v4.0.6 ([090ee3f](https://github.com/nest-modules/mailer/commit/090ee3fc916a1d846fe72c0834ec121dd7041cb7))
73
+ * **deps:** update nest monorepo to v7.0.8 ([04268b1](https://github.com/nest-modules/mailer/commit/04268b119ce03aa5587c948135fbcd14bd5f336d))
74
+ * **deps:** update nest monorepo to v7.0.9 ([3daf8d2](https://github.com/nest-modules/mailer/commit/3daf8d2565a0669ba8cf0243fb01e0e5a34af7aa))
75
+
76
+ ### [1.4.3](https://github.com/nest-modules/mailer/compare/v1.4.2...v1.4.3) (2020-05-08)
77
+
78
+
79
+ ### Bug Fixes
80
+
81
+ * **adapters:** Make pug, handlebars and ejs truly optional dependencies ([981c6cf](https://github.com/nest-modules/mailer/commit/981c6cff9105b636bf60b4139681df557d2cf21c))
82
+ * **deps:** update dependency twing to v4.0.6 ([090ee3f](https://github.com/nest-modules/mailer/commit/090ee3fc916a1d846fe72c0834ec121dd7041cb7))
83
+ * **deps:** update nest monorepo to v7.0.8 ([04268b1](https://github.com/nest-modules/mailer/commit/04268b119ce03aa5587c948135fbcd14bd5f336d))
84
+ * **deps:** update nest monorepo to v7.0.9 ([3daf8d2](https://github.com/nest-modules/mailer/commit/3daf8d2565a0669ba8cf0243fb01e0e5a34af7aa))
85
+
86
+ ### [1.4.2](https://github.com/nest-modules/mailer/compare/v1.4.1...v1.4.2) (2020-04-07)
87
+
88
+ * fix handlebars adapter type
89
+
90
+ ### [1.4.1](https://github.com/nest-modules/mailer/compare/v1.4.0...v1.4.1) (2020-04-07)
91
+
92
+
93
+ ### Bug Fixes
94
+
95
+ * fixed handlebars helpers ([bba3be6](https://github.com/nest-modules/mailer/commit/bba3be6f9712753557662024a6215bdf1139a3f5))
96
+
97
+ ## [1.4.0](https://github.com/nest-modules/mailer/compare/v1.3.22...v1.4.0) (2020-04-07)
98
+
99
+
100
+ ### Features
101
+
102
+ * **preview:** Pass options to preview-email ([d0009ce](https://github.com/nest-modules/mailer/commit/d0009ce1f57af0a48f74145ee63ba0761fb45b91))
103
+ * **preview:** Show preview of emails in browser ([4a2c0d5](https://github.com/nest-modules/mailer/commit/4a2c0d5d6797bcf64a380f09ee836641fca8fe88))
104
+ * add ejs adapter
105
+
106
+
107
+ ### Bug Fixes
108
+
109
+ * **deps:** pin dependency preview-email to 2.0.1 ([e1206d6](https://github.com/nest-modules/mailer/commit/e1206d6fe0af42ac4edeb18186d2dfe4e46c5d49))
110
+
111
+ ### [1.3.22](https://github.com/nest-modules/mailer/compare/v1.3.21...v1.3.22) (2020-04-07)
112
+
113
+
114
+ ### Bug Fixes
115
+
116
+ * optional dependencies ([8bd3fb8](https://github.com/nest-modules/mailer/commit/8bd3fb87e8d17121d0cdc1f8d947900f282eda3e))
117
+
118
+ ### [1.3.21](https://github.com/nest-modules/mailer/compare/v1.3.20...v1.3.21) (2020-04-04)
119
+
120
+
121
+ ### Bug Fixes
122
+
123
+ * fixed inconsistencies in build ([6d041f0](https://github.com/nest-modules/mailer/commit/6d041f071494d282d35722c360fdc111544f1abc))
124
+
125
+ ### [1.3.20](https://github.com/nest-modules/mailer/compare/v1.3.19...v1.3.20) (2020-04-04)
126
+ * Clean build
127
+
128
+ ### Bug Fixes
129
+
130
+ * **deps:** pin dependencies ([a91e6f3](https://github.com/nest-modules/mailer/commit/a91e6f398d214a76316b1b24e75cd9670a6604ea))
131
+
132
+ ### [1.3.19](https://github.com/nest-modules/mailer/compare/v1.3.18...v1.3.19) (2020-04-04)
133
+
134
+
135
+ ### Bug Fixes
136
+
137
+ * build ([24d0598](https://github.com/nest-modules/mailer/commit/24d0598c2447887caad9573d78bad58d65b0f8da))
138
+
139
+ ### [1.3.18](https://github.com/nest-modules/mailer/compare/v1.3.17...v1.3.18) (2020-04-04)
140
+
141
+
142
+ ### Bug Fixes
143
+
144
+ * now pug and handlebars are optional dependencies and nodemailer a peer dependency ([49b60a3](https://github.com/nest-modules/mailer/commit/49b60a3dee86f964746e2ede5da56007301f23b6))
145
+ * **deps:** update dependency rxjs to v6.5.5 ([2ffd823](https://github.com/nest-modules/mailer/commit/2ffd82360817063552ec98edc6b104e7b102456c))
146
+
147
+ ### [1.3.17](https://github.com/nest-modules/mailer/compare/v1.3.16...v1.3.17) (2020-04-01)
148
+
149
+
150
+ ### Bug Fixes
151
+
152
+ * optional key in atachments interface [#110](https://github.com/nest-modules/mailer/issues/110) ([0d951ae](https://github.com/nest-modules/mailer/commit/0d951aeb25c8fb25dec78789638f77ddeecd6a67))
153
+
154
+ ### [1.3.16](https://github.com/nest-modules/mailer/compare/v1.3.15...v1.3.16) (2020-03-31)
155
+
156
+
157
+ ### Bug Fixes
158
+
159
+ * [#108](https://github.com/nest-modules/mailer/issues/108) ([69072b6](https://github.com/nest-modules/mailer/commit/69072b68c801472ef1fb482366966b60c1f307b5))
160
+
161
+ ### [1.3.15](https://github.com/nest-modules/mailer/compare/v1.3.14...v1.3.15) (2020-03-31)
162
+
163
+ ### Bug Fixes
164
+
165
+ * fix dist not found
166
+
167
+
168
+ ### [1.3.14](https://github.com/nest-modules/mailer/compare/v1.3.13...v1.3.14) (2020-03-31)
169
+
170
+
171
+ ### Bug Fixes
172
+
173
+ * types not recognized ([8584ea8](https://github.com/nest-modules/mailer/commit/8584ea81914d481cdc7b2a77544f4f93ae3e886a)), closes [#99](https://github.com/nest-modules/mailer/issues/99)
174
+
175
+ ### [1.3.13](https://github.com/nest-modules/mailer/compare/v1.3.12...v1.3.13) (2020-03-30)
176
+
177
+
178
+ ### Bug Fixes
179
+
180
+ * add interface 'attachment like object' [#104](https://github.com/nest-modules/mailer/issues/104) ([30de1f6](https://github.com/nest-modules/mailer/commit/30de1f64b1635237cd374237376497a5b0089253))
181
+ * **deps:** update dependency nodemailer to v6.4.6 ([2230ca2](https://github.com/nest-modules/mailer/commit/2230ca24ad337a72c1d77babb7cc28e0d81d47e5))
182
+ * **deps:** update nest monorepo to v7.0.5 ([b3b3ec9](https://github.com/nest-modules/mailer/commit/b3b3ec9a653766bdc12e6cd93dfd0263a2d32ea5))
183
+ * **deps:** update nest monorepo to v7.0.6 ([3e8c04f](https://github.com/nest-modules/mailer/commit/3e8c04ff617afb94a5ce11c54f0b55b108408714))
184
+ * **deps:** update nest monorepo to v7.0.7 ([3b9bc9a](https://github.com/nest-modules/mailer/commit/3b9bc9af1ab8866ba66de3d8f6b81f1412e828ef))
185
+
186
+ ### [1.3.12](https://github.com/nest-modules/mailer/compare/v1.3.11...v1.3.12) (2020-03-19)
187
+
188
+
189
+ ### Bug Fixes
190
+
191
+ * sendMail options errors [#85](https://github.com/nest-modules/mailer/issues/85) ([02e5950](https://github.com/nest-modules/mailer/commit/02e5950e01ac11ff6ee00a7fec0b9dd2b41b3da3))
192
+ * **deps:** update nest monorepo to v7.0.2 ([6cb96b8](https://github.com/nest-modules/mailer/commit/6cb96b8000e67284f3158b80ffcd5e4625843667))
193
+ * **deps:** update nest monorepo to v7.0.3 ([ae6eee9](https://github.com/nest-modules/mailer/commit/ae6eee9e9348e2f0b6ea670532b205a9d40e4ab8))
194
+
195
+ ### [1.3.11](https://github.com/nest-modules/mailer/compare/v1.3.10...v1.3.11) (2020-03-15)
196
+
197
+ ### Bug Fixes
198
+ * fixes build fail with no implicit any [#79](https://github.com/nest-modules/mailer/issues/79)
199
+
200
+ ### [1.3.10](https://github.com/nest-modules/mailer/compare/v1.3.9...v1.3.10) (2020-03-14)
201
+
202
+
203
+ ### Bug Fixes
204
+
205
+ * fixes template in the email interface ([eb1f4b6](https://github.com/nest-modules/mailer/commit/eb1f4b673251bd8ef8f97a012b23cd928f7c3727))
206
+ * **deps:** update nest monorepo to v7 ([7deaa3e](https://github.com/nest-modules/mailer/commit/7deaa3e0956e2ed2a04d4ab6f88960bc01c57f6b))
207
+
208
+ ### [1.3.9](https://github.com/nest-modules/mailer/compare/v1.3.8...v1.3.9) (2020-03-12)
209
+
210
+
211
+ ### Bug Fixes
212
+
213
+ * inherits from nodemailer interface [#34](https://github.com/nest-modules/mailer/issues/34) ([923ba0f](https://github.com/nest-modules/mailer/commit/923ba0f270bc8c0dffe4256b98b91f403a0acd45))
214
+ * **deps:** pin dependencies ([5545762](https://github.com/nest-modules/mailer/commit/5545762c113b80e22b45edfa76a7252dfdbde239))
215
+ * **deps:** update dependency nodemailer to v6.4.5 ([b5ace5d](https://github.com/nest-modules/mailer/commit/b5ace5d774df18017e8d4923d733b5b1e17e0061))
216
+
217
+ ### [1.3.8](https://github.com/nest-modules/mailer/compare/v1.3.7...v1.3.8) (2020-03-06)
218
+
219
+
220
+ ### Bug Fixes
221
+
222
+ * remove unused key ([cadc62a](https://github.com/nest-modules/mailer/commit/cadc62a26fa9013da9e734248514e17cf0615e9d))
223
+
224
+ ### [1.3.7](https://github.com/nest-modules/mailer/compare/v1.3.6...v1.3.7) (2020-03-06)
225
+
226
+
227
+ ### Bug Fixes
228
+
229
+ * fixed build script ([1b5c186](https://github.com/nest-modules/mailer/commit/1b5c186f6277de309529bb10e15bc0a15312771a))
230
+ * update lock file ([fd0e603](https://github.com/nest-modules/mailer/commit/fd0e603fc1e48aba7fc085f112c040bec7163281))
231
+
232
+ ### [1.3.6](https://github.com/nest-modules/mailer/compare/v1.3.5...v1.3.6) (2020-02-26)
233
+
234
+
235
+ ### Bug Fixes
236
+
237
+ * fixed deploy script ([87cc825](https://github.com/nest-modules/mailer/commit/87cc82577bd26ef24cdb698aac915c9e723034a0))
238
+
239
+ ### [1.3.5](https://github.com/nest-modules/mailer/compare/v1.3.4...v1.3.5) (2020-02-26)
240
+
241
+
242
+ ### Bug Fixes
243
+
244
+ * dependencies ([eaf1979](https://github.com/nest-modules/mailer/commit/eaf197976039257cefcf358bf6d588cf22761968))
245
+ * fixed incorrect module call in documentation ([5d37026](https://github.com/nest-modules/mailer/commit/5d370266217c211de5dfd5eaeed00833b39506d1))
246
+ * fixes deploy script ([2daf360](https://github.com/nest-modules/mailer/commit/2daf3603aa7ba1b1773fcb071e180ceda474e776))
247
+
248
+ ### [1.3.4](https://github.com/nest-modules/mailer/compare/v1.2.0...v1.3.4) (2020-02-25)
249
+
250
+
251
+ ### Features
252
+
253
+ * enable handlebars partials ([da4eb86](https://github.com/nest-modules/mailer/commit/da4eb86e7fc2546fd2ef2aff5b7824f97380a928))
254
+
255
+
256
+ ### Bug Fixes
257
+
258
+ * badges now have a correct url ([a3d336a](https://github.com/nest-modules/mailer/commit/a3d336a54f3d0a447713fc7525de156e38635158))
259
+ * load partials and set global variables ([ee62f27](https://github.com/nest-modules/mailer/commit/ee62f27aaf2323e29fe56c7701c4878c21dc5719))
260
+
261
+ ### 1.3.3
262
+
263
+ * The module is in a new organization at npm.
264
+
265
+ ### [1.3.2](https://github.com/nest-modules/mailer/compare/v1.3.0...v1.3.2) (2020-02-05)
266
+
267
+
268
+ ### Bug Fixes
269
+
270
+ * load partials and set global variables ([ee62f27](https://github.com/nest-modules/mailer/commit/ee62f27aaf2323e29fe56c7701c4878c21dc5719))
271
+
272
+ ## [1.3.0](https://github.com/nest-modules/mailer/compare/v1.2.0...v1.3.0) (2020-02-05)
273
+
274
+
275
+ ### Features
276
+
277
+ * enable handlebars partials ([da4eb86](https://github.com/nest-modules/mailer/commit/da4eb86e7fc2546fd2ef2aff5b7824f97380a928))
278
+
279
+ ## [1.2.0](https://github.com/nest-modules/mailer/compare/v1.1.4...v1.2.0) (2019-12-12)
280
+
281
+
282
+ ### Features
283
+
284
+ * inline css ([4dfdc31](https://github.com/nest-modules/mailer/commit/4dfdc31bbebc37533ade65d39cef8e49396f6c5a))
285
+
286
+
287
+ ### Bug Fixes
288
+
289
+ * **dependencies:** fixed dependencies and scripts ([c34b1eb](https://github.com/nest-modules/mailer/commit/c34b1ebbacc35f0a8f559716e7c63eca91b158e0))
290
+ * **unit test:** fix unit tests ([c3bc61e](https://github.com/nest-modules/mailer/commit/c3bc61e6b5df1abbf0bd4fc86fe6b4575de1ba8c))
291
+
292
+ ### [1.1.4](https://github.com/nest-modules/mailer/compare/v1.0.4...v1.1.4) (2019-12-12)
package/Dockerfile CHANGED
@@ -1,10 +1,10 @@
1
- FROM node:lts
2
-
3
- WORKDIR /app/website
4
-
5
- EXPOSE 3000 35729
6
- COPY ./docs /app/docs
7
- COPY ./website /app/website
8
- RUN yarn install
9
-
10
- CMD ["yarn", "start"]
1
+ FROM node:lts
2
+
3
+ WORKDIR /app/website
4
+
5
+ EXPOSE 3000 35729
6
+ COPY ./docs /app/docs
7
+ COPY ./website /app/website
8
+ RUN yarn install
9
+
10
+ CMD ["yarn", "start"]
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2020 Nest modules
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Nest modules
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  THE SOFTWARE.