@cosmicdrift/kumiko-renderer-mail-html 0.403.0 → 0.404.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 (2) hide show
  1. package/README.md +9 -4
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -33,9 +33,9 @@ import { createTemplateResolverFeature } from "@cosmicdrift/kumiko-bundled-featu
33
33
  import { createRendererFoundationFeature } from "@cosmicdrift/kumiko-bundled-features/renderer-foundation";
34
34
 
35
35
  const features = [
36
- createTemplateResolverFeature(), // Vorausgesetzt
37
- createRendererFoundationFeature(), // Vorausgesetzt
38
- createRendererMailHtmlFeature(), // Dieses Plugin
36
+ createTemplateResolverFeature(), // Vorausgesetzt
37
+ createRendererFoundationFeature(), // Vorausgesetzt
38
+ createRendererMailHtmlFeature(), // Dieses Plugin
39
39
  ];
40
40
  ```
41
41
 
@@ -59,7 +59,12 @@ const result = await renderer.render(
59
59
  { db: ctx.db, registry: ctx.registry, tenantId, config: ctx.config },
60
60
  );
61
61
 
62
- await ctx.mailTransport.send({ to: user.email, subject: result.subject, html: result.html, text: result.text });
62
+ await ctx.mailTransport.send({
63
+ to: user.email,
64
+ subject: result.subject,
65
+ html: result.html,
66
+ text: result.text,
67
+ });
63
68
  ```
64
69
 
65
70
  ## Tenant-Branding
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-renderer-mail-html",
3
- "version": "0.403.0",
3
+ "version": "0.404.1",
4
4
  "description": "Renderer-Foundation plugin for branded HTML emails: mail-kind templates (document HTML + subject meta) rendered with isolated Handlebars into an MJML layout, plus plain text via html-to-text. Templates resolved from template-resolver.",
5
5
  "license": "MIT",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -19,19 +19,19 @@
19
19
  }
20
20
  },
21
21
  "dependencies": {
22
- "@cosmicdrift/kumiko-bundled-features": "0.403.0",
23
- "@cosmicdrift/kumiko-framework": "0.403.0",
24
- "@cosmicdrift/kumiko-renderer": "0.403.0",
25
- "@cosmicdrift/kumiko-types": "0.403.0",
22
+ "@cosmicdrift/kumiko-bundled-features": "0.404.1",
23
+ "@cosmicdrift/kumiko-framework": "0.404.1",
24
+ "@cosmicdrift/kumiko-renderer": "0.404.1",
25
+ "@cosmicdrift/kumiko-types": "0.404.1",
26
26
  "handlebars": "^4.7.10",
27
27
  "html-to-text": "^9.0.5",
28
- "mjml": "^5.2.2"
28
+ "mjml": "^5.4.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@cosmicdrift/kumiko-locale-de": "0.403.0",
32
- "@cosmicdrift/kumiko-testing": "0.403.0",
31
+ "@cosmicdrift/kumiko-locale-de": "0.404.1",
32
+ "@cosmicdrift/kumiko-testing": "0.404.1",
33
33
  "@types/html-to-text": "^9.0.4",
34
- "@types/mjml": "5.0.0"
34
+ "@types/mjml": "5.4.2"
35
35
  },
36
36
  "repository": {
37
37
  "type": "git",