cross-platform-pdf-generator
Advanced tools
Comparing version 1.1.6 to 1.1.7
{ | ||
"name": "cross-platform-pdf-generator", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "pulsation pdg generator for web and ios", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -60,3 +60,3 @@ import { PDFDocument, StandardFonts, rgb, PDFFont, PDFPage, PDFTextField } from 'pdf-lib'; | ||
//If PDF has custom draw offset use this | ||
const templateTextOffset = getTextContainer() | ||
const templateTextOffset = getTextContainer(fields) | ||
if (templateTextOffset) { | ||
@@ -123,3 +123,3 @@ const box = getBoxFor(templateTextOffset) | ||
let hit | ||
fields.forEach(field => { | ||
fields?.forEach(field => { | ||
const name = field.getName() | ||
@@ -126,0 +126,0 @@ if (field === "TEXT_START") { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67549