@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/dist/index.d.mts +52 -1
- package/dist/index.d.ts +52 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/readme.md +2 -2
package/package.json
CHANGED
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 `
|
|
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: '
|
|
94
|
+
type: 'repeat',
|
|
95
95
|
attrs: { each: 'items', showIfKey: null },
|
|
96
96
|
content: [
|
|
97
97
|
{
|