@nestjs-modules/mailer 1.5.1 → 1.7.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.
- package/CHANGELOG.md +319 -231
- package/LICENSE +20 -20
- package/README.md +66 -64
- package/SECURITY.md +21 -0
- package/dist/adapters/ejs.adapter.d.ts +9 -6
- package/dist/adapters/ejs.adapter.js +58 -43
- package/dist/adapters/handlebars.adapter.d.ts +10 -8
- package/dist/adapters/handlebars.adapter.js +76 -58
- package/dist/adapters/mjml.adapter.d.ts +12 -0
- package/dist/adapters/mjml.adapter.js +34 -0
- package/dist/adapters/pug.adapter.d.ts +8 -5
- package/dist/adapters/pug.adapter.js +44 -27
- package/dist/constants/mailer.constant.d.ts +2 -0
- package/dist/constants/mailer.constant.js +5 -0
- package/dist/index.d.ts +8 -6
- package/dist/index.js +10 -6
- package/dist/interfaces/mailer-async-options.interface.d.ts +11 -9
- package/dist/interfaces/mailer-async-options.interface.js +2 -2
- package/dist/interfaces/mailer-options-factory.interface.d.ts +4 -4
- package/dist/interfaces/mailer-options-factory.interface.js +2 -2
- package/dist/interfaces/mailer-options.interface.d.ts +35 -35
- package/dist/interfaces/mailer-options.interface.js +2 -2
- package/dist/interfaces/mailer-send-mail-options.interface.d.ts +5 -5
- package/dist/interfaces/mailer-send-mail-options.interface.js +2 -2
- package/dist/interfaces/mailer-transport-factory.interface.d.ts +5 -0
- package/dist/{constants/mailer-options.constant.js → interfaces/mailer-transport-factory.interface.js} +2 -3
- package/dist/interfaces/send-mail-options.interface.d.ts +54 -49
- package/dist/interfaces/send-mail-options.interface.js +2 -2
- package/dist/interfaces/template-adapter-config.interface.d.ts +5 -0
- package/dist/interfaces/template-adapter-config.interface.js +2 -0
- package/dist/interfaces/template-adapter.interface.d.ts +4 -4
- package/dist/interfaces/template-adapter.interface.js +2 -2
- package/dist/mailer-core.module.d.ts +9 -9
- package/dist/mailer-core.module.js +74 -72
- package/dist/mailer-transport.factory.d.ts +8 -0
- package/dist/mailer-transport.factory.js +20 -0
- package/dist/mailer.module.d.ts +7 -7
- package/dist/mailer.module.js +29 -28
- package/dist/mailer.service.d.ts +13 -11
- package/dist/mailer.service.js +90 -83
- package/index.d.ts +0 -0
- package/index.js +5 -5
- package/package.json +102 -100
- package/yarn-error.log +6492 -0
- package/.dockerignore +0 -2
- package/Dockerfile +0 -10
- package/dist/constants/mailer-options.constant.d.ts +0 -1
- package/docker-compose.yml +0 -18
- package/jest.config.js +0 -17
package/.dockerignore
DELETED
package/Dockerfile
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const MAILER_OPTIONS = "MAILER_OPTIONS";
|
package/docker-compose.yml
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
version: "3"
|
|
2
|
-
|
|
3
|
-
services:
|
|
4
|
-
docusaurus:
|
|
5
|
-
build: .
|
|
6
|
-
ports:
|
|
7
|
-
- 3000:3000
|
|
8
|
-
- 35729:35729
|
|
9
|
-
volumes:
|
|
10
|
-
- ./docs:/app/docs
|
|
11
|
-
- ./website/blog:/app/website/blog
|
|
12
|
-
- ./website/core:/app/website/core
|
|
13
|
-
- ./website/i18n:/app/website/i18n
|
|
14
|
-
- ./website/pages:/app/website/pages
|
|
15
|
-
- ./website/static:/app/website/static
|
|
16
|
-
- ./website/sidebars.json:/app/website/sidebars.json
|
|
17
|
-
- ./website/siteConfig.js:/app/website/siteConfig.js
|
|
18
|
-
working_dir: /app/website
|
package/jest.config.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
require('ts-node/register');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
'moduleFileExtensions': [
|
|
5
|
-
'js',
|
|
6
|
-
'json',
|
|
7
|
-
'ts',
|
|
8
|
-
],
|
|
9
|
-
'rootDir': 'lib',
|
|
10
|
-
'testRegex': '/lib/.*\\.spec\\.(ts|js)$',
|
|
11
|
-
'globals': {
|
|
12
|
-
'ts-jest': {
|
|
13
|
-
'tsConfig': 'tsconfig.json'
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
'preset': 'ts-jest',
|
|
17
|
-
};
|