pdf-codec 4.0.10 → 4.0.11

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/codec.d.cts CHANGED
@@ -238,6 +238,7 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
238
238
  pdf: "pdf";
239
239
  epub: "epub";
240
240
  rtf: "rtf";
241
+ wpd: "wpd";
241
242
  }>;
242
243
  xml: z.ZodString;
243
244
  }, z.core.$strict>>;
@@ -303,6 +304,7 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
303
304
  pdf: "pdf";
304
305
  epub: "epub";
305
306
  rtf: "rtf";
307
+ wpd: "wpd";
306
308
  }>;
307
309
  xml: z.ZodString;
308
310
  }, z.core.$strict>>>;
package/dist/codec.d.ts CHANGED
@@ -238,6 +238,7 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
238
238
  pdf: "pdf";
239
239
  epub: "epub";
240
240
  rtf: "rtf";
241
+ wpd: "wpd";
241
242
  }>;
242
243
  xml: z.ZodString;
243
244
  }, z.core.$strict>>;
@@ -303,6 +304,7 @@ declare const pdfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
303
304
  pdf: "pdf";
304
305
  epub: "epub";
305
306
  rtf: "rtf";
307
+ wpd: "wpd";
306
308
  }>;
307
309
  xml: z.ZodString;
308
310
  }, z.core.$strict>>>;
package/dist/layout.d.cts CHANGED
@@ -442,6 +442,7 @@ declare const LayoutAnnotationSchema: z.ZodObject<{
442
442
  pdf: "pdf";
443
443
  epub: "epub";
444
444
  rtf: "rtf";
445
+ wpd: "wpd";
445
446
  }>;
446
447
  xml: z.ZodString;
447
448
  }, z.core.$strict>>;
@@ -658,6 +659,7 @@ declare const LayoutPageSchema: z.ZodObject<{
658
659
  pdf: "pdf";
659
660
  epub: "epub";
660
661
  rtf: "rtf";
662
+ wpd: "wpd";
661
663
  }>;
662
664
  xml: z.ZodString;
663
665
  }, z.core.$strict>>;
@@ -999,6 +1001,7 @@ declare const LayoutDocumentSchema: z.ZodObject<{
999
1001
  pdf: "pdf";
1000
1002
  epub: "epub";
1001
1003
  rtf: "rtf";
1004
+ wpd: "wpd";
1002
1005
  }>;
1003
1006
  xml: z.ZodString;
1004
1007
  }, z.core.$strict>>;
@@ -1064,6 +1067,7 @@ declare const LayoutDocumentSchema: z.ZodObject<{
1064
1067
  pdf: "pdf";
1065
1068
  epub: "epub";
1066
1069
  rtf: "rtf";
1070
+ wpd: "wpd";
1067
1071
  }>;
1068
1072
  xml: z.ZodString;
1069
1073
  }, z.core.$strict>>>;
package/dist/layout.d.ts CHANGED
@@ -442,6 +442,7 @@ declare const LayoutAnnotationSchema: z.ZodObject<{
442
442
  pdf: "pdf";
443
443
  epub: "epub";
444
444
  rtf: "rtf";
445
+ wpd: "wpd";
445
446
  }>;
446
447
  xml: z.ZodString;
447
448
  }, z.core.$strict>>;
@@ -658,6 +659,7 @@ declare const LayoutPageSchema: z.ZodObject<{
658
659
  pdf: "pdf";
659
660
  epub: "epub";
660
661
  rtf: "rtf";
662
+ wpd: "wpd";
661
663
  }>;
662
664
  xml: z.ZodString;
663
665
  }, z.core.$strict>>;
@@ -999,6 +1001,7 @@ declare const LayoutDocumentSchema: z.ZodObject<{
999
1001
  pdf: "pdf";
1000
1002
  epub: "epub";
1001
1003
  rtf: "rtf";
1004
+ wpd: "wpd";
1002
1005
  }>;
1003
1006
  xml: z.ZodString;
1004
1007
  }, z.core.$strict>>;
@@ -1064,6 +1067,7 @@ declare const LayoutDocumentSchema: z.ZodObject<{
1064
1067
  pdf: "pdf";
1065
1068
  epub: "epub";
1066
1069
  rtf: "rtf";
1070
+ wpd: "wpd";
1067
1071
  }>;
1068
1072
  xml: z.ZodString;
1069
1073
  }, z.core.$strict>>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdf-codec",
3
- "version": "4.0.10",
3
+ "version": "4.0.11",
4
4
  "description": "Hand-written, dependency-minimal PDF codec: parses arbitrary real-world PDFs and generates new ones, built on its own codec-owned LayoutDocument item model and Zod 4 codecs.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -100,7 +100,7 @@
100
100
  "packageManager": "pnpm@11.6.0",
101
101
  "dependencies": {
102
102
  "byte-codec": "1.4.1",
103
- "document-schema.js": "7.4.0",
103
+ "document-schema.js": "7.5.0",
104
104
  "fflate": "0.8.3",
105
105
  "zod": "4.4.3"
106
106
  },