@digipair/skill-docxtemplater 0.70.2 → 0.70.3
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/index.cjs.js +1 -2
- package/index.esm.js +1 -2
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -17565,8 +17565,7 @@ let DocxTemplaterService = class DocxTemplaterService {
|
|
|
17565
17565
|
const content = this.base64ToBuffer(template);
|
|
17566
17566
|
const zip = new PizZip(content);
|
|
17567
17567
|
const doc = new Docxtemplater(zip);
|
|
17568
|
-
doc.
|
|
17569
|
-
doc.render();
|
|
17568
|
+
doc.render(data);
|
|
17570
17569
|
const buffer = doc.getZip().generate({
|
|
17571
17570
|
type: 'base64'
|
|
17572
17571
|
});
|
package/index.esm.js
CHANGED
|
@@ -17561,8 +17561,7 @@ let DocxTemplaterService = class DocxTemplaterService {
|
|
|
17561
17561
|
const content = this.base64ToBuffer(template);
|
|
17562
17562
|
const zip = new PizZip(content);
|
|
17563
17563
|
const doc = new Docxtemplater(zip);
|
|
17564
|
-
doc.
|
|
17565
|
-
doc.render();
|
|
17564
|
+
doc.render(data);
|
|
17566
17565
|
const buffer = doc.getZip().generate({
|
|
17567
17566
|
type: 'base64'
|
|
17568
17567
|
});
|