@nestjs-modules/mailer 1.4.3 → 1.6.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.
Files changed (46) hide show
  1. package/.dockerignore +2 -2
  2. package/.github/workflows/codeql-analysis.yml +71 -0
  3. package/CHANGELOG.md +285 -196
  4. package/Dockerfile +10 -10
  5. package/LICENSE +20 -20
  6. package/README.md +66 -64
  7. package/dist/adapters/ejs.adapter.d.ts +9 -6
  8. package/dist/adapters/ejs.adapter.js +55 -43
  9. package/dist/adapters/handlebars.adapter.d.ts +10 -8
  10. package/dist/adapters/handlebars.adapter.js +73 -58
  11. package/dist/adapters/pug.adapter.d.ts +8 -5
  12. package/dist/adapters/pug.adapter.js +41 -27
  13. package/dist/constants/mailer.constant.d.ts +2 -0
  14. package/dist/constants/mailer.constant.js +5 -0
  15. package/dist/index.d.ts +8 -6
  16. package/dist/index.js +10 -6
  17. package/dist/interfaces/mailer-async-options.interface.d.ts +9 -9
  18. package/dist/interfaces/mailer-async-options.interface.js +2 -2
  19. package/dist/interfaces/mailer-options-factory.interface.d.ts +4 -4
  20. package/dist/interfaces/mailer-options-factory.interface.js +2 -2
  21. package/dist/interfaces/mailer-options.interface.d.ts +35 -35
  22. package/dist/interfaces/mailer-options.interface.js +2 -2
  23. package/dist/interfaces/mailer-send-mail-options.interface.d.ts +5 -5
  24. package/dist/interfaces/mailer-send-mail-options.interface.js +2 -2
  25. package/dist/interfaces/mailer-transport-factory.interface.d.ts +5 -0
  26. package/dist/{constants/mailer-options.constant.js → interfaces/mailer-transport-factory.interface.js} +2 -3
  27. package/dist/interfaces/send-mail-options.interface.d.ts +44 -48
  28. package/dist/interfaces/send-mail-options.interface.js +2 -2
  29. package/dist/interfaces/template-adapter-config.interface.d.ts +5 -0
  30. package/dist/interfaces/template-adapter-config.interface.js +2 -0
  31. package/dist/interfaces/template-adapter.interface.d.ts +4 -4
  32. package/dist/interfaces/template-adapter.interface.js +2 -2
  33. package/dist/mailer-core.module.d.ts +9 -9
  34. package/dist/mailer-core.module.js +73 -72
  35. package/dist/mailer-transport.factory.d.ts +8 -0
  36. package/dist/mailer-transport.factory.js +20 -0
  37. package/dist/mailer.module.d.ts +7 -7
  38. package/dist/mailer.module.js +29 -28
  39. package/dist/mailer.service.d.ts +13 -11
  40. package/dist/mailer.service.js +90 -83
  41. package/docker-compose.yml +18 -18
  42. package/index.d.ts +0 -0
  43. package/index.js +5 -5
  44. package/jest.config.js +17 -17
  45. package/package.json +101 -100
  46. 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
@@ -0,0 +1,71 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ master ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ master ]
20
+ schedule:
21
+ - cron: '36 11 * * 1'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'javascript' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37
+ # Learn more:
38
+ # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
39
+
40
+ steps:
41
+ - name: Checkout repository
42
+ uses: actions/checkout@v2
43
+
44
+ # Initializes the CodeQL tools for scanning.
45
+ - name: Initialize CodeQL
46
+ uses: github/codeql-action/init@v1
47
+ with:
48
+ languages: ${{ matrix.language }}
49
+ # If you wish to specify custom queries, you can do so here or in a config file.
50
+ # By default, queries listed here will override any specified in a config file.
51
+ # Prefix the list here with "+" to use these queries and those in the config file.
52
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
53
+
54
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55
+ # If this step fails, then you should remove it and run the build manually (see below)
56
+ - name: Autobuild
57
+ uses: github/codeql-action/autobuild@v1
58
+
59
+ # ℹ️ Command-line programs to run using the OS shell.
60
+ # 📚 https://git.io/JvXDl
61
+
62
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63
+ # and modify them (or add more) to build your code if your project
64
+ # uses a compiled language
65
+
66
+ #- run: |
67
+ # make bootstrap
68
+ # make release
69
+
70
+ - name: Perform CodeQL Analysis
71
+ uses: github/codeql-action/analyze@v1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,95 @@
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.1](https://github.com/nest-modules/mailer/compare/v1.6.0...v1.6.1) (2021-12-30)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * register partials in handlebars ([#715](https://github.com/nest-modules/mailer/issues/715)) ([7f2cbae](https://github.com/nest-modules/mailer/commit/7f2cbae49858f88e686534e43dd45ec63d2256ca))
11
+ * **adapters:** resolving correct templateDir ([9bee48b](https://github.com/nest-modules/mailer/commit/9bee48b0e630c71c3702b83747dc41152670947e))
12
+ * **deps:** update dependency dotenv to v10 ([8dcb4e0](https://github.com/nest-modules/mailer/commit/8dcb4e0b563461d0d1b8ab90419992e434197bd9))
13
+ * **deps:** update dependency dotenv to v8.6.0 ([8cd1094](https://github.com/nest-modules/mailer/commit/8cd10947722a4c74ec841814118dcc535024e042))
14
+ * **deps:** update dependency glob to v7.1.7 ([cba34c6](https://github.com/nest-modules/mailer/commit/cba34c682992331895c43224fdc3686daa29c05e))
15
+ * **deps:** update dependency nodemailer to v6.6.1 ([ec1eec9](https://github.com/nest-modules/mailer/commit/ec1eec95696c958eff8f02ad6a210f771ffdf624))
16
+ * **deps:** update dependency nodemailer to v6.6.2 ([fc92ddd](https://github.com/nest-modules/mailer/commit/fc92ddd9852876306a3a5c87649f3d27806b7853))
17
+ * **deps:** update dependency nodemailer to v6.6.5 ([d68d341](https://github.com/nest-modules/mailer/commit/d68d34120fd7028f260e8b914d455859e0469f88))
18
+ * **deps:** update dependency rxjs to v7 ([efcc64e](https://github.com/nest-modules/mailer/commit/efcc64e3eb8d8b110a2aa0fa4b352c34d9e6154f))
19
+ * **deps:** update dependency rxjs to v7.3.1 ([a5aa0ae](https://github.com/nest-modules/mailer/commit/a5aa0ae646395db2d87c74130bf25c9214624c43))
20
+ * **deps:** update dependency twing to v5.1.0 ([7d45c53](https://github.com/nest-modules/mailer/commit/7d45c53132c5d81e5042887db782fe0878973d1b))
21
+ * **deps:** update nest monorepo to v7.6.18 ([6f7bdf8](https://github.com/nest-modules/mailer/commit/6f7bdf8ce793821888e22ee12c73cd204619cbd8))
22
+
23
+ ## [1.6.0](https://github.com/nest-modules/mailer/compare/v1.5.1...v1.6.0) (2021-04-14)
24
+
25
+
26
+ ### Features
27
+
28
+ * **adapters:** expose inline-css options in adapter config ([6467336](https://github.com/nest-modules/mailer/commit/6467336709b9dfeb8248eb48904a513ab8aecc2f))
29
+ * Allow integration with nodemailer-mock ([9a6ecc5](https://github.com/nest-modules/mailer/commit/9a6ecc5e20566353f2326c24d21af715f7bd12e3)), closes [#341](https://github.com/nest-modules/mailer/issues/341)
30
+ * **dkim:** add dkim optional parameter to send mail options ([aab5810](https://github.com/nest-modules/mailer/commit/aab58107adcbdb3582813915373e6c90354adab6))
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * **deps:** update dependency inline-css to v3 ([de5e08e](https://github.com/nest-modules/mailer/commit/de5e08eee8fb027a3f0fc1ed7cfc839cda62ea34))
36
+ * **deps:** update dependency nodemailer to v6.4.10 ([284ce78](https://github.com/nest-modules/mailer/commit/284ce78dc70e78a2a3f398af6eb8c589b9cc1bf9))
37
+ * **deps:** update dependency nodemailer to v6.4.11 ([f9e8fe9](https://github.com/nest-modules/mailer/commit/f9e8fe9b37f236b8a50e19ecadabd6a2ea5a3076))
38
+ * **deps:** update dependency nodemailer to v6.4.12 ([68ec318](https://github.com/nest-modules/mailer/commit/68ec318589127728e62c9d148e964c045b041822))
39
+ * **deps:** update dependency nodemailer to v6.4.13 ([b047714](https://github.com/nest-modules/mailer/commit/b04771486bd4a2df099507cacf8fdeb473e04a8f))
40
+ * **deps:** update dependency nodemailer to v6.4.14 ([54a8a03](https://github.com/nest-modules/mailer/commit/54a8a03738e210bb4bb97b8e3b01cc59e27162d1))
41
+ * **deps:** update dependency nodemailer to v6.4.15 ([5bd97b2](https://github.com/nest-modules/mailer/commit/5bd97b2bb09f58acdc91603d4e4f84f5b4f146e7))
42
+ * **deps:** update dependency nodemailer to v6.4.16 ([4d45852](https://github.com/nest-modules/mailer/commit/4d45852ce965c4e678a1efd3ce7b854d10619080))
43
+ * **deps:** update dependency nodemailer to v6.4.17 ([3e4fc35](https://github.com/nest-modules/mailer/commit/3e4fc3513924912109d8d8c0a09193df4b987a05))
44
+ * **deps:** update dependency nodemailer to v6.4.18 ([36d1968](https://github.com/nest-modules/mailer/commit/36d1968b6d9eb530a3092ae6e505457e7a915d86))
45
+ * **deps:** update dependency nodemailer to v6.5.0 ([99fd1c0](https://github.com/nest-modules/mailer/commit/99fd1c0e385d97066f107bb0fb98f2b3ce0b3c25))
46
+ * **deps:** update dependency preview-email to v3 ([15edc5e](https://github.com/nest-modules/mailer/commit/15edc5e57cbe7729979384f6e1583da95916df45))
47
+ * **deps:** update dependency preview-email to v3.0.3 ([46cf350](https://github.com/nest-modules/mailer/commit/46cf350f13711a33ac3f8c15501d9c2918e5e846))
48
+ * **deps:** update dependency preview-email to v3.0.4 ([9d6ab3e](https://github.com/nest-modules/mailer/commit/9d6ab3ed34a30af1aba6232b9de00857a98a6ab4))
49
+ * **deps:** update dependency rxjs to v6.6.0 ([6a1a27a](https://github.com/nest-modules/mailer/commit/6a1a27ab2d55de8f647977d7043615c8cf94d7ea))
50
+ * **deps:** update dependency rxjs to v6.6.2 ([93aadc9](https://github.com/nest-modules/mailer/commit/93aadc93d2c70e7594e1090263b7bdb43a5d148f))
51
+ * **deps:** update dependency rxjs to v6.6.3 ([3e4f19a](https://github.com/nest-modules/mailer/commit/3e4f19afb353ea84af8f7e8de8195e88185153fb))
52
+ * **deps:** update dependency rxjs to v6.6.6 ([196e4d7](https://github.com/nest-modules/mailer/commit/196e4d7f435be1799a11b301376126545ba3f188))
53
+ * **deps:** update dependency rxjs to v6.6.7 ([cbffd3e](https://github.com/nest-modules/mailer/commit/cbffd3e04ddaef8c76331eff8147240b00c6054f))
54
+ * **deps:** update dependency twing to v5.0.2 ([7b5ece1](https://github.com/nest-modules/mailer/commit/7b5ece1581f197f7264b8532c7ec4c764c34610f))
55
+ * **deps:** update nest monorepo to v7.1.2 ([ec73bba](https://github.com/nest-modules/mailer/commit/ec73bbaedc7a2589cff10e4f1401a2dac1e6420a))
56
+ * **deps:** update nest monorepo to v7.1.3 ([242ea94](https://github.com/nest-modules/mailer/commit/242ea94c25d9da5b00b43ab6e4f518ff61b5559b))
57
+ * **deps:** update nest monorepo to v7.3.1 ([2b0d27c](https://github.com/nest-modules/mailer/commit/2b0d27c9e4d0e7de1036c367d0b969a2e2e9c9b2))
58
+ * **deps:** update nest monorepo to v7.3.2 ([fc21757](https://github.com/nest-modules/mailer/commit/fc21757fe446b955d10fe106d2d7a430cd4896ec))
59
+ * **deps:** update nest monorepo to v7.4.2 ([040420c](https://github.com/nest-modules/mailer/commit/040420cfd6b72b275aca7a714113896e74f34f98))
60
+ * **deps:** update nest monorepo to v7.4.4 ([8a957ff](https://github.com/nest-modules/mailer/commit/8a957ffdd8e248d28a34205153e7e0295fae4708))
61
+ * **deps:** update nest monorepo to v7.5.5 ([18b95f3](https://github.com/nest-modules/mailer/commit/18b95f37dded7f755f077bed103495c8ca27676b))
62
+ * **deps:** update nest monorepo to v7.6.11 ([d9e0d56](https://github.com/nest-modules/mailer/commit/d9e0d566c6199984c6df9a04c17765f4d0878a24))
63
+ * **deps:** update nest monorepo to v7.6.12 ([549a9a3](https://github.com/nest-modules/mailer/commit/549a9a3fce41859672790e59602702baf0c79b5c))
64
+ * **deps:** update nest monorepo to v7.6.5 ([370b2b0](https://github.com/nest-modules/mailer/commit/370b2b0ce0a6100b5e6681217dfdd4777e88ff40))
65
+
66
+ ### [1.5.1](https://github.com/nest-modules/mailer/compare/v1.5.0...v1.5.1) (2020-06-02)
67
+
68
+
69
+ ### Bug Fixes
70
+
71
+ * **deps:** update dependency nodemailer to v6.4.8 ([255056f](https://github.com/nest-modules/mailer/commit/255056f9b7730e82a8a94f3441e8651dee08ecab))
72
+ * **deps:** update dependency preview-email to v2.0.2 ([1f9ca0a](https://github.com/nest-modules/mailer/commit/1f9ca0a558e5cf35a8b80255dab703e8441d744f))
73
+ * **deps:** update dependency twing to v5 ([469b4c9](https://github.com/nest-modules/mailer/commit/469b4c954811ebacf4be66a7413ddd0923293d3c))
74
+ * **deps:** update nest monorepo to v7.0.11 ([5a6f911](https://github.com/nest-modules/mailer/commit/5a6f9117959f9ecdf857b3bc6afaada11bca98e7))
75
+ * **deps:** update nest monorepo to v7.0.13 ([4e5295b](https://github.com/nest-modules/mailer/commit/4e5295bda6ffe8e9b31c2d5de946cfc6deda01f3))
76
+ * **deps:** update nest monorepo to v7.1.0 ([f761b95](https://github.com/nest-modules/mailer/commit/f761b95a15fe54db6c72b4f50d78d6813633c24f))
77
+ * **deps:** update nest monorepo to v7.1.1 ([4331cce](https://github.com/nest-modules/mailer/commit/4331cce8eea0a8f233d4725361c5773eb2ce9018))
78
+ * **send-mail-options:** change contents to content ([ecfbd5b](https://github.com/nest-modules/mailer/commit/ecfbd5b71208f17ff5fe2d5ea4f624614c72a9cf))
79
+
80
+ ## [1.5.0](https://github.com/nest-modules/mailer/compare/v1.4.2...v1.5.0) (2020-05-09)
81
+
82
+ ### Features
83
+
84
+ * added bcc to mailer service ([887b216](https://github.com/nest-modules/mailer/commit/f2b1bfd560bfda36a6b75127abff2424248b6e02))
85
+
86
+
87
+ ### Bug Fixes
88
+
89
+ * **adapters:** Make pug, handlebars and ejs truly optional dependencies ([981c6cf](https://github.com/nest-modules/mailer/commit/981c6cff9105b636bf60b4139681df557d2cf21c))
90
+ * **deps:** update dependency twing to v4.0.6 ([090ee3f](https://github.com/nest-modules/mailer/commit/090ee3fc916a1d846fe72c0834ec121dd7041cb7))
91
+ * **deps:** update nest monorepo to v7.0.8 ([04268b1](https://github.com/nest-modules/mailer/commit/04268b119ce03aa5587c948135fbcd14bd5f336d))
92
+ * **deps:** update nest monorepo to v7.0.9 ([3daf8d2](https://github.com/nest-modules/mailer/commit/3daf8d2565a0669ba8cf0243fb01e0e5a34af7aa))
93
+
5
94
  ### [1.4.3](https://github.com/nest-modules/mailer/compare/v1.4.2...v1.4.3) (2020-05-08)
6
95
 
7
96
 
@@ -23,199 +112,199 @@ All notable changes to this project will be documented in this file. See [standa
23
112
 
24
113
  * fixed handlebars helpers ([bba3be6](https://github.com/nest-modules/mailer/commit/bba3be6f9712753557662024a6215bdf1139a3f5))
25
114
 
26
- ## [1.4.0](https://github.com/nest-modules/mailer/compare/v1.3.22...v1.4.0) (2020-04-07)
27
-
28
-
29
- ### Features
30
-
31
- * **preview:** Pass options to preview-email ([d0009ce](https://github.com/nest-modules/mailer/commit/d0009ce1f57af0a48f74145ee63ba0761fb45b91))
32
- * **preview:** Show preview of emails in browser ([4a2c0d5](https://github.com/nest-modules/mailer/commit/4a2c0d5d6797bcf64a380f09ee836641fca8fe88))
33
- * add ejs adapter
34
-
35
-
36
- ### Bug Fixes
37
-
38
- * **deps:** pin dependency preview-email to 2.0.1 ([e1206d6](https://github.com/nest-modules/mailer/commit/e1206d6fe0af42ac4edeb18186d2dfe4e46c5d49))
39
-
40
- ### [1.3.22](https://github.com/nest-modules/mailer/compare/v1.3.21...v1.3.22) (2020-04-07)
41
-
42
-
43
- ### Bug Fixes
44
-
45
- * optional dependencies ([8bd3fb8](https://github.com/nest-modules/mailer/commit/8bd3fb87e8d17121d0cdc1f8d947900f282eda3e))
46
-
47
- ### [1.3.21](https://github.com/nest-modules/mailer/compare/v1.3.20...v1.3.21) (2020-04-04)
48
-
49
-
50
- ### Bug Fixes
51
-
52
- * fixed inconsistencies in build ([6d041f0](https://github.com/nest-modules/mailer/commit/6d041f071494d282d35722c360fdc111544f1abc))
53
-
54
- ### [1.3.20](https://github.com/nest-modules/mailer/compare/v1.3.19...v1.3.20) (2020-04-04)
55
- * Clean build
56
-
57
- ### Bug Fixes
58
-
59
- * **deps:** pin dependencies ([a91e6f3](https://github.com/nest-modules/mailer/commit/a91e6f398d214a76316b1b24e75cd9670a6604ea))
60
-
61
- ### [1.3.19](https://github.com/nest-modules/mailer/compare/v1.3.18...v1.3.19) (2020-04-04)
62
-
63
-
64
- ### Bug Fixes
65
-
66
- * build ([24d0598](https://github.com/nest-modules/mailer/commit/24d0598c2447887caad9573d78bad58d65b0f8da))
67
-
68
- ### [1.3.18](https://github.com/nest-modules/mailer/compare/v1.3.17...v1.3.18) (2020-04-04)
69
-
70
-
71
- ### Bug Fixes
72
-
73
- * now pug and handlebars are optional dependencies and nodemailer a peer dependency ([49b60a3](https://github.com/nest-modules/mailer/commit/49b60a3dee86f964746e2ede5da56007301f23b6))
74
- * **deps:** update dependency rxjs to v6.5.5 ([2ffd823](https://github.com/nest-modules/mailer/commit/2ffd82360817063552ec98edc6b104e7b102456c))
75
-
76
- ### [1.3.17](https://github.com/nest-modules/mailer/compare/v1.3.16...v1.3.17) (2020-04-01)
77
-
78
-
79
- ### Bug Fixes
80
-
81
- * optional key in atachments interface [#110](https://github.com/nest-modules/mailer/issues/110) ([0d951ae](https://github.com/nest-modules/mailer/commit/0d951aeb25c8fb25dec78789638f77ddeecd6a67))
82
-
83
- ### [1.3.16](https://github.com/nest-modules/mailer/compare/v1.3.15...v1.3.16) (2020-03-31)
84
-
85
-
86
- ### Bug Fixes
87
-
88
- * [#108](https://github.com/nest-modules/mailer/issues/108) ([69072b6](https://github.com/nest-modules/mailer/commit/69072b68c801472ef1fb482366966b60c1f307b5))
89
-
90
- ### [1.3.15](https://github.com/nest-modules/mailer/compare/v1.3.14...v1.3.15) (2020-03-31)
91
-
92
- ### Bug Fixes
93
-
94
- * fix dist not found
95
-
96
-
97
- ### [1.3.14](https://github.com/nest-modules/mailer/compare/v1.3.13...v1.3.14) (2020-03-31)
98
-
99
-
100
- ### Bug Fixes
101
-
102
- * types not recognized ([8584ea8](https://github.com/nest-modules/mailer/commit/8584ea81914d481cdc7b2a77544f4f93ae3e886a)), closes [#99](https://github.com/nest-modules/mailer/issues/99)
103
-
104
- ### [1.3.13](https://github.com/nest-modules/mailer/compare/v1.3.12...v1.3.13) (2020-03-30)
105
-
106
-
107
- ### Bug Fixes
108
-
109
- * add interface 'attachment like object' [#104](https://github.com/nest-modules/mailer/issues/104) ([30de1f6](https://github.com/nest-modules/mailer/commit/30de1f64b1635237cd374237376497a5b0089253))
110
- * **deps:** update dependency nodemailer to v6.4.6 ([2230ca2](https://github.com/nest-modules/mailer/commit/2230ca24ad337a72c1d77babb7cc28e0d81d47e5))
111
- * **deps:** update nest monorepo to v7.0.5 ([b3b3ec9](https://github.com/nest-modules/mailer/commit/b3b3ec9a653766bdc12e6cd93dfd0263a2d32ea5))
112
- * **deps:** update nest monorepo to v7.0.6 ([3e8c04f](https://github.com/nest-modules/mailer/commit/3e8c04ff617afb94a5ce11c54f0b55b108408714))
113
- * **deps:** update nest monorepo to v7.0.7 ([3b9bc9a](https://github.com/nest-modules/mailer/commit/3b9bc9af1ab8866ba66de3d8f6b81f1412e828ef))
114
-
115
- ### [1.3.12](https://github.com/nest-modules/mailer/compare/v1.3.11...v1.3.12) (2020-03-19)
116
-
117
-
118
- ### Bug Fixes
119
-
120
- * sendMail options errors [#85](https://github.com/nest-modules/mailer/issues/85) ([02e5950](https://github.com/nest-modules/mailer/commit/02e5950e01ac11ff6ee00a7fec0b9dd2b41b3da3))
121
- * **deps:** update nest monorepo to v7.0.2 ([6cb96b8](https://github.com/nest-modules/mailer/commit/6cb96b8000e67284f3158b80ffcd5e4625843667))
122
- * **deps:** update nest monorepo to v7.0.3 ([ae6eee9](https://github.com/nest-modules/mailer/commit/ae6eee9e9348e2f0b6ea670532b205a9d40e4ab8))
123
-
124
- ### [1.3.11](https://github.com/nest-modules/mailer/compare/v1.3.10...v1.3.11) (2020-03-15)
125
-
126
- ### Bug Fixes
127
- * fixes build fail with no implicit any [#79](https://github.com/nest-modules/mailer/issues/79)
128
-
129
- ### [1.3.10](https://github.com/nest-modules/mailer/compare/v1.3.9...v1.3.10) (2020-03-14)
130
-
131
-
132
- ### Bug Fixes
133
-
134
- * fixes template in the email interface ([eb1f4b6](https://github.com/nest-modules/mailer/commit/eb1f4b673251bd8ef8f97a012b23cd928f7c3727))
135
- * **deps:** update nest monorepo to v7 ([7deaa3e](https://github.com/nest-modules/mailer/commit/7deaa3e0956e2ed2a04d4ab6f88960bc01c57f6b))
136
-
137
- ### [1.3.9](https://github.com/nest-modules/mailer/compare/v1.3.8...v1.3.9) (2020-03-12)
138
-
139
-
140
- ### Bug Fixes
141
-
142
- * inherits from nodemailer interface [#34](https://github.com/nest-modules/mailer/issues/34) ([923ba0f](https://github.com/nest-modules/mailer/commit/923ba0f270bc8c0dffe4256b98b91f403a0acd45))
143
- * **deps:** pin dependencies ([5545762](https://github.com/nest-modules/mailer/commit/5545762c113b80e22b45edfa76a7252dfdbde239))
144
- * **deps:** update dependency nodemailer to v6.4.5 ([b5ace5d](https://github.com/nest-modules/mailer/commit/b5ace5d774df18017e8d4923d733b5b1e17e0061))
145
-
146
- ### [1.3.8](https://github.com/nest-modules/mailer/compare/v1.3.7...v1.3.8) (2020-03-06)
147
-
148
-
149
- ### Bug Fixes
150
-
151
- * remove unused key ([cadc62a](https://github.com/nest-modules/mailer/commit/cadc62a26fa9013da9e734248514e17cf0615e9d))
152
-
153
- ### [1.3.7](https://github.com/nest-modules/mailer/compare/v1.3.6...v1.3.7) (2020-03-06)
154
-
155
-
156
- ### Bug Fixes
157
-
158
- * fixed build script ([1b5c186](https://github.com/nest-modules/mailer/commit/1b5c186f6277de309529bb10e15bc0a15312771a))
159
- * update lock file ([fd0e603](https://github.com/nest-modules/mailer/commit/fd0e603fc1e48aba7fc085f112c040bec7163281))
160
-
161
- ### [1.3.6](https://github.com/nest-modules/mailer/compare/v1.3.5...v1.3.6) (2020-02-26)
162
-
163
-
164
- ### Bug Fixes
165
-
166
- * fixed deploy script ([87cc825](https://github.com/nest-modules/mailer/commit/87cc82577bd26ef24cdb698aac915c9e723034a0))
167
-
168
- ### [1.3.5](https://github.com/nest-modules/mailer/compare/v1.3.4...v1.3.5) (2020-02-26)
169
-
170
-
171
- ### Bug Fixes
172
-
173
- * dependencies ([eaf1979](https://github.com/nest-modules/mailer/commit/eaf197976039257cefcf358bf6d588cf22761968))
174
- * fixed incorrect module call in documentation ([5d37026](https://github.com/nest-modules/mailer/commit/5d370266217c211de5dfd5eaeed00833b39506d1))
175
- * fixes deploy script ([2daf360](https://github.com/nest-modules/mailer/commit/2daf3603aa7ba1b1773fcb071e180ceda474e776))
176
-
177
- ### [1.3.4](https://github.com/nest-modules/mailer/compare/v1.2.0...v1.3.4) (2020-02-25)
178
-
179
-
180
- ### Features
181
-
182
- * enable handlebars partials ([da4eb86](https://github.com/nest-modules/mailer/commit/da4eb86e7fc2546fd2ef2aff5b7824f97380a928))
183
-
184
-
185
- ### Bug Fixes
186
-
187
- * badges now have a correct url ([a3d336a](https://github.com/nest-modules/mailer/commit/a3d336a54f3d0a447713fc7525de156e38635158))
188
- * load partials and set global variables ([ee62f27](https://github.com/nest-modules/mailer/commit/ee62f27aaf2323e29fe56c7701c4878c21dc5719))
189
-
190
- ### 1.3.3
191
-
192
- * The module is in a new organization at npm.
193
-
194
- ### [1.3.2](https://github.com/nest-modules/mailer/compare/v1.3.0...v1.3.2) (2020-02-05)
195
-
196
-
197
- ### Bug Fixes
198
-
199
- * load partials and set global variables ([ee62f27](https://github.com/nest-modules/mailer/commit/ee62f27aaf2323e29fe56c7701c4878c21dc5719))
200
-
201
- ## [1.3.0](https://github.com/nest-modules/mailer/compare/v1.2.0...v1.3.0) (2020-02-05)
202
-
203
-
204
- ### Features
205
-
206
- * enable handlebars partials ([da4eb86](https://github.com/nest-modules/mailer/commit/da4eb86e7fc2546fd2ef2aff5b7824f97380a928))
207
-
208
- ## [1.2.0](https://github.com/nest-modules/mailer/compare/v1.1.4...v1.2.0) (2019-12-12)
209
-
210
-
211
- ### Features
212
-
213
- * inline css ([4dfdc31](https://github.com/nest-modules/mailer/commit/4dfdc31bbebc37533ade65d39cef8e49396f6c5a))
214
-
215
-
216
- ### Bug Fixes
217
-
218
- * **dependencies:** fixed dependencies and scripts ([c34b1eb](https://github.com/nest-modules/mailer/commit/c34b1ebbacc35f0a8f559716e7c63eca91b158e0))
219
- * **unit test:** fix unit tests ([c3bc61e](https://github.com/nest-modules/mailer/commit/c3bc61e6b5df1abbf0bd4fc86fe6b4575de1ba8c))
220
-
221
- ### [1.1.4](https://github.com/nest-modules/mailer/compare/v1.0.4...v1.1.4) (2019-12-12)
115
+ ## [1.4.0](https://github.com/nest-modules/mailer/compare/v1.3.22...v1.4.0) (2020-04-07)
116
+
117
+
118
+ ### Features
119
+
120
+ * **preview:** Pass options to preview-email ([d0009ce](https://github.com/nest-modules/mailer/commit/d0009ce1f57af0a48f74145ee63ba0761fb45b91))
121
+ * **preview:** Show preview of emails in browser ([4a2c0d5](https://github.com/nest-modules/mailer/commit/4a2c0d5d6797bcf64a380f09ee836641fca8fe88))
122
+ * add ejs adapter
123
+
124
+
125
+ ### Bug Fixes
126
+
127
+ * **deps:** pin dependency preview-email to 2.0.1 ([e1206d6](https://github.com/nest-modules/mailer/commit/e1206d6fe0af42ac4edeb18186d2dfe4e46c5d49))
128
+
129
+ ### [1.3.22](https://github.com/nest-modules/mailer/compare/v1.3.21...v1.3.22) (2020-04-07)
130
+
131
+
132
+ ### Bug Fixes
133
+
134
+ * optional dependencies ([8bd3fb8](https://github.com/nest-modules/mailer/commit/8bd3fb87e8d17121d0cdc1f8d947900f282eda3e))
135
+
136
+ ### [1.3.21](https://github.com/nest-modules/mailer/compare/v1.3.20...v1.3.21) (2020-04-04)
137
+
138
+
139
+ ### Bug Fixes
140
+
141
+ * fixed inconsistencies in build ([6d041f0](https://github.com/nest-modules/mailer/commit/6d041f071494d282d35722c360fdc111544f1abc))
142
+
143
+ ### [1.3.20](https://github.com/nest-modules/mailer/compare/v1.3.19...v1.3.20) (2020-04-04)
144
+ * Clean build
145
+
146
+ ### Bug Fixes
147
+
148
+ * **deps:** pin dependencies ([a91e6f3](https://github.com/nest-modules/mailer/commit/a91e6f398d214a76316b1b24e75cd9670a6604ea))
149
+
150
+ ### [1.3.19](https://github.com/nest-modules/mailer/compare/v1.3.18...v1.3.19) (2020-04-04)
151
+
152
+
153
+ ### Bug Fixes
154
+
155
+ * build ([24d0598](https://github.com/nest-modules/mailer/commit/24d0598c2447887caad9573d78bad58d65b0f8da))
156
+
157
+ ### [1.3.18](https://github.com/nest-modules/mailer/compare/v1.3.17...v1.3.18) (2020-04-04)
158
+
159
+
160
+ ### Bug Fixes
161
+
162
+ * now pug and handlebars are optional dependencies and nodemailer a peer dependency ([49b60a3](https://github.com/nest-modules/mailer/commit/49b60a3dee86f964746e2ede5da56007301f23b6))
163
+ * **deps:** update dependency rxjs to v6.5.5 ([2ffd823](https://github.com/nest-modules/mailer/commit/2ffd82360817063552ec98edc6b104e7b102456c))
164
+
165
+ ### [1.3.17](https://github.com/nest-modules/mailer/compare/v1.3.16...v1.3.17) (2020-04-01)
166
+
167
+
168
+ ### Bug Fixes
169
+
170
+ * optional key in atachments interface [#110](https://github.com/nest-modules/mailer/issues/110) ([0d951ae](https://github.com/nest-modules/mailer/commit/0d951aeb25c8fb25dec78789638f77ddeecd6a67))
171
+
172
+ ### [1.3.16](https://github.com/nest-modules/mailer/compare/v1.3.15...v1.3.16) (2020-03-31)
173
+
174
+
175
+ ### Bug Fixes
176
+
177
+ * [#108](https://github.com/nest-modules/mailer/issues/108) ([69072b6](https://github.com/nest-modules/mailer/commit/69072b68c801472ef1fb482366966b60c1f307b5))
178
+
179
+ ### [1.3.15](https://github.com/nest-modules/mailer/compare/v1.3.14...v1.3.15) (2020-03-31)
180
+
181
+ ### Bug Fixes
182
+
183
+ * fix dist not found
184
+
185
+
186
+ ### [1.3.14](https://github.com/nest-modules/mailer/compare/v1.3.13...v1.3.14) (2020-03-31)
187
+
188
+
189
+ ### Bug Fixes
190
+
191
+ * types not recognized ([8584ea8](https://github.com/nest-modules/mailer/commit/8584ea81914d481cdc7b2a77544f4f93ae3e886a)), closes [#99](https://github.com/nest-modules/mailer/issues/99)
192
+
193
+ ### [1.3.13](https://github.com/nest-modules/mailer/compare/v1.3.12...v1.3.13) (2020-03-30)
194
+
195
+
196
+ ### Bug Fixes
197
+
198
+ * add interface 'attachment like object' [#104](https://github.com/nest-modules/mailer/issues/104) ([30de1f6](https://github.com/nest-modules/mailer/commit/30de1f64b1635237cd374237376497a5b0089253))
199
+ * **deps:** update dependency nodemailer to v6.4.6 ([2230ca2](https://github.com/nest-modules/mailer/commit/2230ca24ad337a72c1d77babb7cc28e0d81d47e5))
200
+ * **deps:** update nest monorepo to v7.0.5 ([b3b3ec9](https://github.com/nest-modules/mailer/commit/b3b3ec9a653766bdc12e6cd93dfd0263a2d32ea5))
201
+ * **deps:** update nest monorepo to v7.0.6 ([3e8c04f](https://github.com/nest-modules/mailer/commit/3e8c04ff617afb94a5ce11c54f0b55b108408714))
202
+ * **deps:** update nest monorepo to v7.0.7 ([3b9bc9a](https://github.com/nest-modules/mailer/commit/3b9bc9af1ab8866ba66de3d8f6b81f1412e828ef))
203
+
204
+ ### [1.3.12](https://github.com/nest-modules/mailer/compare/v1.3.11...v1.3.12) (2020-03-19)
205
+
206
+
207
+ ### Bug Fixes
208
+
209
+ * sendMail options errors [#85](https://github.com/nest-modules/mailer/issues/85) ([02e5950](https://github.com/nest-modules/mailer/commit/02e5950e01ac11ff6ee00a7fec0b9dd2b41b3da3))
210
+ * **deps:** update nest monorepo to v7.0.2 ([6cb96b8](https://github.com/nest-modules/mailer/commit/6cb96b8000e67284f3158b80ffcd5e4625843667))
211
+ * **deps:** update nest monorepo to v7.0.3 ([ae6eee9](https://github.com/nest-modules/mailer/commit/ae6eee9e9348e2f0b6ea670532b205a9d40e4ab8))
212
+
213
+ ### [1.3.11](https://github.com/nest-modules/mailer/compare/v1.3.10...v1.3.11) (2020-03-15)
214
+
215
+ ### Bug Fixes
216
+ * fixes build fail with no implicit any [#79](https://github.com/nest-modules/mailer/issues/79)
217
+
218
+ ### [1.3.10](https://github.com/nest-modules/mailer/compare/v1.3.9...v1.3.10) (2020-03-14)
219
+
220
+
221
+ ### Bug Fixes
222
+
223
+ * fixes template in the email interface ([eb1f4b6](https://github.com/nest-modules/mailer/commit/eb1f4b673251bd8ef8f97a012b23cd928f7c3727))
224
+ * **deps:** update nest monorepo to v7 ([7deaa3e](https://github.com/nest-modules/mailer/commit/7deaa3e0956e2ed2a04d4ab6f88960bc01c57f6b))
225
+
226
+ ### [1.3.9](https://github.com/nest-modules/mailer/compare/v1.3.8...v1.3.9) (2020-03-12)
227
+
228
+
229
+ ### Bug Fixes
230
+
231
+ * inherits from nodemailer interface [#34](https://github.com/nest-modules/mailer/issues/34) ([923ba0f](https://github.com/nest-modules/mailer/commit/923ba0f270bc8c0dffe4256b98b91f403a0acd45))
232
+ * **deps:** pin dependencies ([5545762](https://github.com/nest-modules/mailer/commit/5545762c113b80e22b45edfa76a7252dfdbde239))
233
+ * **deps:** update dependency nodemailer to v6.4.5 ([b5ace5d](https://github.com/nest-modules/mailer/commit/b5ace5d774df18017e8d4923d733b5b1e17e0061))
234
+
235
+ ### [1.3.8](https://github.com/nest-modules/mailer/compare/v1.3.7...v1.3.8) (2020-03-06)
236
+
237
+
238
+ ### Bug Fixes
239
+
240
+ * remove unused key ([cadc62a](https://github.com/nest-modules/mailer/commit/cadc62a26fa9013da9e734248514e17cf0615e9d))
241
+
242
+ ### [1.3.7](https://github.com/nest-modules/mailer/compare/v1.3.6...v1.3.7) (2020-03-06)
243
+
244
+
245
+ ### Bug Fixes
246
+
247
+ * fixed build script ([1b5c186](https://github.com/nest-modules/mailer/commit/1b5c186f6277de309529bb10e15bc0a15312771a))
248
+ * update lock file ([fd0e603](https://github.com/nest-modules/mailer/commit/fd0e603fc1e48aba7fc085f112c040bec7163281))
249
+
250
+ ### [1.3.6](https://github.com/nest-modules/mailer/compare/v1.3.5...v1.3.6) (2020-02-26)
251
+
252
+
253
+ ### Bug Fixes
254
+
255
+ * fixed deploy script ([87cc825](https://github.com/nest-modules/mailer/commit/87cc82577bd26ef24cdb698aac915c9e723034a0))
256
+
257
+ ### [1.3.5](https://github.com/nest-modules/mailer/compare/v1.3.4...v1.3.5) (2020-02-26)
258
+
259
+
260
+ ### Bug Fixes
261
+
262
+ * dependencies ([eaf1979](https://github.com/nest-modules/mailer/commit/eaf197976039257cefcf358bf6d588cf22761968))
263
+ * fixed incorrect module call in documentation ([5d37026](https://github.com/nest-modules/mailer/commit/5d370266217c211de5dfd5eaeed00833b39506d1))
264
+ * fixes deploy script ([2daf360](https://github.com/nest-modules/mailer/commit/2daf3603aa7ba1b1773fcb071e180ceda474e776))
265
+
266
+ ### [1.3.4](https://github.com/nest-modules/mailer/compare/v1.2.0...v1.3.4) (2020-02-25)
267
+
268
+
269
+ ### Features
270
+
271
+ * enable handlebars partials ([da4eb86](https://github.com/nest-modules/mailer/commit/da4eb86e7fc2546fd2ef2aff5b7824f97380a928))
272
+
273
+
274
+ ### Bug Fixes
275
+
276
+ * badges now have a correct url ([a3d336a](https://github.com/nest-modules/mailer/commit/a3d336a54f3d0a447713fc7525de156e38635158))
277
+ * load partials and set global variables ([ee62f27](https://github.com/nest-modules/mailer/commit/ee62f27aaf2323e29fe56c7701c4878c21dc5719))
278
+
279
+ ### 1.3.3
280
+
281
+ * The module is in a new organization at npm.
282
+
283
+ ### [1.3.2](https://github.com/nest-modules/mailer/compare/v1.3.0...v1.3.2) (2020-02-05)
284
+
285
+
286
+ ### Bug Fixes
287
+
288
+ * load partials and set global variables ([ee62f27](https://github.com/nest-modules/mailer/commit/ee62f27aaf2323e29fe56c7701c4878c21dc5719))
289
+
290
+ ## [1.3.0](https://github.com/nest-modules/mailer/compare/v1.2.0...v1.3.0) (2020-02-05)
291
+
292
+
293
+ ### Features
294
+
295
+ * enable handlebars partials ([da4eb86](https://github.com/nest-modules/mailer/commit/da4eb86e7fc2546fd2ef2aff5b7824f97380a928))
296
+
297
+ ## [1.2.0](https://github.com/nest-modules/mailer/compare/v1.1.4...v1.2.0) (2019-12-12)
298
+
299
+
300
+ ### Features
301
+
302
+ * inline css ([4dfdc31](https://github.com/nest-modules/mailer/commit/4dfdc31bbebc37533ade65d39cef8e49396f6c5a))
303
+
304
+
305
+ ### Bug Fixes
306
+
307
+ * **dependencies:** fixed dependencies and scripts ([c34b1eb](https://github.com/nest-modules/mailer/commit/c34b1ebbacc35f0a8f559716e7c63eca91b158e0))
308
+ * **unit test:** fix unit tests ([c3bc61e](https://github.com/nest-modules/mailer/commit/c3bc61e6b5df1abbf0bd4fc86fe6b4575de1ba8c))
309
+
310
+ ### [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.