odf.js 1.13.1 → 1.13.2

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.
@@ -278,7 +278,7 @@ function readPrintSettings(tableElement, pkg, repeatColumns, repeatRows, manualB
278
278
  pageOrder
279
279
  };
280
280
  if (printRange !== void 0) settings.printRange = printRange;
281
- if (scale !== void 0) settings.scale = scale;
281
+ if (scale !== void 0) settings.scalePercent = scale;
282
282
  if (fitToPages !== void 0) settings.fitToPages = fitToPages;
283
283
  if (repeatRows !== void 0) settings.repeatRows = repeatRows;
284
284
  if (repeatColumns !== void 0) settings.repeatColumns = repeatColumns;
@@ -277,7 +277,7 @@ function readPrintSettings(tableElement, pkg, repeatColumns, repeatRows, manualB
277
277
  pageOrder
278
278
  };
279
279
  if (printRange !== void 0) settings.printRange = printRange;
280
- if (scale !== void 0) settings.scale = scale;
280
+ if (scale !== void 0) settings.scalePercent = scale;
281
281
  if (fitToPages !== void 0) settings.fitToPages = fitToPages;
282
282
  if (repeatRows !== void 0) settings.repeatRows = repeatRows;
283
283
  if (repeatColumns !== void 0) settings.repeatColumns = repeatColumns;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "odf.js",
3
- "version": "1.13.1",
3
+ "version": "1.13.2",
4
4
  "description": "Type-safe, lossless round-trip conversion between OpenDocument Format packages (odt, ods, odp) and JSON, hand-written and dependency-minimal, built on Zod 4 codecs.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -69,7 +69,7 @@
69
69
  "license": "MIT",
70
70
  "packageManager": "pnpm@11.6.0",
71
71
  "dependencies": {
72
- "document-schema.js": "^1.5.2",
72
+ "document-schema.js": "^2.0.0",
73
73
  "fast-xml-parser": "^5.10.1",
74
74
  "fflate": "^0.8.3",
75
75
  "zod": "^4.4.3"