@maily-to/render 0.0.17 → 0.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maily-to/render",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "private": false,
5
5
  "description": "A transformer that converts Maily content into HTML email templates.",
6
6
  "sideEffects": false,
package/readme.md CHANGED
@@ -82,7 +82,7 @@ const html = await maily.render();
82
82
 
83
83
  ### Payloads
84
84
 
85
- Payload values are used for the `For Loop` and `Show If` blocks.
85
+ Payload values are used for the `Repeat` and `Show If` blocks.
86
86
 
87
87
  ```ts
88
88
  // (Omitted repeated imports)
@@ -91,7 +91,7 @@ const maily = new Maily({
91
91
  type: 'doc',
92
92
  content: [
93
93
  {
94
- type: 'for',
94
+ type: 'repeat',
95
95
  attrs: { each: 'items', showIfKey: null },
96
96
  content: [
97
97
  {