epub-codec 1.3.0 → 1.3.1

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.
@@ -2407,6 +2407,52 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2407
2407
  g: z.ZodNumber;
2408
2408
  b: z.ZodNumber;
2409
2409
  }, z.core.$strip>>;
2410
+ fillPattern: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2411
+ kind: z.ZodLiteral<"gradient">;
2412
+ style: z.ZodEnum<{
2413
+ linear: "linear";
2414
+ axial: "axial";
2415
+ radial: "radial";
2416
+ ellipsoid: "ellipsoid";
2417
+ square: "square";
2418
+ rectangular: "rectangular";
2419
+ }>;
2420
+ startColor: z.ZodObject<{
2421
+ r: z.ZodNumber;
2422
+ g: z.ZodNumber;
2423
+ b: z.ZodNumber;
2424
+ }, z.core.$strip>;
2425
+ endColor: z.ZodObject<{
2426
+ r: z.ZodNumber;
2427
+ g: z.ZodNumber;
2428
+ b: z.ZodNumber;
2429
+ }, z.core.$strip>;
2430
+ angleDeg: z.ZodOptional<z.ZodNumber>;
2431
+ }, z.core.$strip>, z.ZodObject<{
2432
+ kind: z.ZodLiteral<"hatch">;
2433
+ style: z.ZodEnum<{
2434
+ double: "double";
2435
+ single: "single";
2436
+ triple: "triple";
2437
+ }>;
2438
+ color: z.ZodObject<{
2439
+ r: z.ZodNumber;
2440
+ g: z.ZodNumber;
2441
+ b: z.ZodNumber;
2442
+ }, z.core.$strip>;
2443
+ distancePt: z.ZodNumber;
2444
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2445
+ }, z.core.$strip>, z.ZodObject<{
2446
+ kind: z.ZodLiteral<"bitmap">;
2447
+ format: z.ZodEnum<{
2448
+ png: "png";
2449
+ jpeg: "jpeg";
2450
+ svg: "svg";
2451
+ gif: "gif";
2452
+ }>;
2453
+ base64: z.ZodString;
2454
+ }, z.core.$strip>], "kind">>;
2455
+ fillOpacity: z.ZodOptional<z.ZodNumber>;
2410
2456
  stroke: z.ZodOptional<z.ZodObject<{
2411
2457
  color: z.ZodObject<{
2412
2458
  r: z.ZodNumber;
@@ -2420,6 +2466,14 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2420
2466
  dotted: "dotted";
2421
2467
  double: "double";
2422
2468
  }>>;
2469
+ opacity: z.ZodOptional<z.ZodNumber>;
2470
+ dashPattern: z.ZodOptional<z.ZodObject<{
2471
+ dots1: z.ZodNumber;
2472
+ dots1LengthPt: z.ZodNumber;
2473
+ dots2: z.ZodOptional<z.ZodNumber>;
2474
+ dots2LengthPt: z.ZodOptional<z.ZodNumber>;
2475
+ distancePt: z.ZodNumber;
2476
+ }, z.core.$strip>>;
2423
2477
  }, z.core.$strip>>;
2424
2478
  paintOrder: z.ZodOptional<z.ZodNumber>;
2425
2479
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -2463,6 +2517,52 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2463
2517
  g: z.ZodNumber;
2464
2518
  b: z.ZodNumber;
2465
2519
  }, z.core.$strip>>;
2520
+ fillPattern: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2521
+ kind: z.ZodLiteral<"gradient">;
2522
+ style: z.ZodEnum<{
2523
+ linear: "linear";
2524
+ axial: "axial";
2525
+ radial: "radial";
2526
+ ellipsoid: "ellipsoid";
2527
+ square: "square";
2528
+ rectangular: "rectangular";
2529
+ }>;
2530
+ startColor: z.ZodObject<{
2531
+ r: z.ZodNumber;
2532
+ g: z.ZodNumber;
2533
+ b: z.ZodNumber;
2534
+ }, z.core.$strip>;
2535
+ endColor: z.ZodObject<{
2536
+ r: z.ZodNumber;
2537
+ g: z.ZodNumber;
2538
+ b: z.ZodNumber;
2539
+ }, z.core.$strip>;
2540
+ angleDeg: z.ZodOptional<z.ZodNumber>;
2541
+ }, z.core.$strip>, z.ZodObject<{
2542
+ kind: z.ZodLiteral<"hatch">;
2543
+ style: z.ZodEnum<{
2544
+ double: "double";
2545
+ single: "single";
2546
+ triple: "triple";
2547
+ }>;
2548
+ color: z.ZodObject<{
2549
+ r: z.ZodNumber;
2550
+ g: z.ZodNumber;
2551
+ b: z.ZodNumber;
2552
+ }, z.core.$strip>;
2553
+ distancePt: z.ZodNumber;
2554
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2555
+ }, z.core.$strip>, z.ZodObject<{
2556
+ kind: z.ZodLiteral<"bitmap">;
2557
+ format: z.ZodEnum<{
2558
+ png: "png";
2559
+ jpeg: "jpeg";
2560
+ svg: "svg";
2561
+ gif: "gif";
2562
+ }>;
2563
+ base64: z.ZodString;
2564
+ }, z.core.$strip>], "kind">>;
2565
+ fillOpacity: z.ZodOptional<z.ZodNumber>;
2466
2566
  stroke: z.ZodOptional<z.ZodObject<{
2467
2567
  color: z.ZodObject<{
2468
2568
  r: z.ZodNumber;
@@ -2476,6 +2576,14 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2476
2576
  dotted: "dotted";
2477
2577
  double: "double";
2478
2578
  }>>;
2579
+ opacity: z.ZodOptional<z.ZodNumber>;
2580
+ dashPattern: z.ZodOptional<z.ZodObject<{
2581
+ dots1: z.ZodNumber;
2582
+ dots1LengthPt: z.ZodNumber;
2583
+ dots2: z.ZodOptional<z.ZodNumber>;
2584
+ dots2LengthPt: z.ZodOptional<z.ZodNumber>;
2585
+ distancePt: z.ZodNumber;
2586
+ }, z.core.$strip>>;
2479
2587
  }, z.core.$strip>>;
2480
2588
  paintOrder: z.ZodOptional<z.ZodNumber>;
2481
2589
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -2528,6 +2636,14 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2528
2636
  dotted: "dotted";
2529
2637
  double: "double";
2530
2638
  }>>;
2639
+ opacity: z.ZodOptional<z.ZodNumber>;
2640
+ dashPattern: z.ZodOptional<z.ZodObject<{
2641
+ dots1: z.ZodNumber;
2642
+ dots1LengthPt: z.ZodNumber;
2643
+ dots2: z.ZodOptional<z.ZodNumber>;
2644
+ dots2LengthPt: z.ZodOptional<z.ZodNumber>;
2645
+ distancePt: z.ZodNumber;
2646
+ }, z.core.$strip>>;
2531
2647
  }, z.core.$strip>;
2532
2648
  paintOrder: z.ZodOptional<z.ZodNumber>;
2533
2649
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -2599,6 +2715,52 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2599
2715
  g: z.ZodNumber;
2600
2716
  b: z.ZodNumber;
2601
2717
  }, z.core.$strip>>;
2718
+ fillPattern: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2719
+ kind: z.ZodLiteral<"gradient">;
2720
+ style: z.ZodEnum<{
2721
+ linear: "linear";
2722
+ axial: "axial";
2723
+ radial: "radial";
2724
+ ellipsoid: "ellipsoid";
2725
+ square: "square";
2726
+ rectangular: "rectangular";
2727
+ }>;
2728
+ startColor: z.ZodObject<{
2729
+ r: z.ZodNumber;
2730
+ g: z.ZodNumber;
2731
+ b: z.ZodNumber;
2732
+ }, z.core.$strip>;
2733
+ endColor: z.ZodObject<{
2734
+ r: z.ZodNumber;
2735
+ g: z.ZodNumber;
2736
+ b: z.ZodNumber;
2737
+ }, z.core.$strip>;
2738
+ angleDeg: z.ZodOptional<z.ZodNumber>;
2739
+ }, z.core.$strip>, z.ZodObject<{
2740
+ kind: z.ZodLiteral<"hatch">;
2741
+ style: z.ZodEnum<{
2742
+ double: "double";
2743
+ single: "single";
2744
+ triple: "triple";
2745
+ }>;
2746
+ color: z.ZodObject<{
2747
+ r: z.ZodNumber;
2748
+ g: z.ZodNumber;
2749
+ b: z.ZodNumber;
2750
+ }, z.core.$strip>;
2751
+ distancePt: z.ZodNumber;
2752
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2753
+ }, z.core.$strip>, z.ZodObject<{
2754
+ kind: z.ZodLiteral<"bitmap">;
2755
+ format: z.ZodEnum<{
2756
+ png: "png";
2757
+ jpeg: "jpeg";
2758
+ svg: "svg";
2759
+ gif: "gif";
2760
+ }>;
2761
+ base64: z.ZodString;
2762
+ }, z.core.$strip>], "kind">>;
2763
+ fillOpacity: z.ZodOptional<z.ZodNumber>;
2602
2764
  fillRule: z.ZodOptional<z.ZodEnum<{
2603
2765
  nonzero: "nonzero";
2604
2766
  evenodd: "evenodd";
@@ -2616,6 +2778,14 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2616
2778
  dotted: "dotted";
2617
2779
  double: "double";
2618
2780
  }>>;
2781
+ opacity: z.ZodOptional<z.ZodNumber>;
2782
+ dashPattern: z.ZodOptional<z.ZodObject<{
2783
+ dots1: z.ZodNumber;
2784
+ dots1LengthPt: z.ZodNumber;
2785
+ dots2: z.ZodOptional<z.ZodNumber>;
2786
+ dots2LengthPt: z.ZodOptional<z.ZodNumber>;
2787
+ distancePt: z.ZodNumber;
2788
+ }, z.core.$strip>>;
2619
2789
  }, z.core.$strip>>;
2620
2790
  paintOrder: z.ZodOptional<z.ZodNumber>;
2621
2791
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -2407,6 +2407,52 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2407
2407
  g: z.ZodNumber;
2408
2408
  b: z.ZodNumber;
2409
2409
  }, z.core.$strip>>;
2410
+ fillPattern: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2411
+ kind: z.ZodLiteral<"gradient">;
2412
+ style: z.ZodEnum<{
2413
+ linear: "linear";
2414
+ axial: "axial";
2415
+ radial: "radial";
2416
+ ellipsoid: "ellipsoid";
2417
+ square: "square";
2418
+ rectangular: "rectangular";
2419
+ }>;
2420
+ startColor: z.ZodObject<{
2421
+ r: z.ZodNumber;
2422
+ g: z.ZodNumber;
2423
+ b: z.ZodNumber;
2424
+ }, z.core.$strip>;
2425
+ endColor: z.ZodObject<{
2426
+ r: z.ZodNumber;
2427
+ g: z.ZodNumber;
2428
+ b: z.ZodNumber;
2429
+ }, z.core.$strip>;
2430
+ angleDeg: z.ZodOptional<z.ZodNumber>;
2431
+ }, z.core.$strip>, z.ZodObject<{
2432
+ kind: z.ZodLiteral<"hatch">;
2433
+ style: z.ZodEnum<{
2434
+ double: "double";
2435
+ single: "single";
2436
+ triple: "triple";
2437
+ }>;
2438
+ color: z.ZodObject<{
2439
+ r: z.ZodNumber;
2440
+ g: z.ZodNumber;
2441
+ b: z.ZodNumber;
2442
+ }, z.core.$strip>;
2443
+ distancePt: z.ZodNumber;
2444
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2445
+ }, z.core.$strip>, z.ZodObject<{
2446
+ kind: z.ZodLiteral<"bitmap">;
2447
+ format: z.ZodEnum<{
2448
+ png: "png";
2449
+ jpeg: "jpeg";
2450
+ svg: "svg";
2451
+ gif: "gif";
2452
+ }>;
2453
+ base64: z.ZodString;
2454
+ }, z.core.$strip>], "kind">>;
2455
+ fillOpacity: z.ZodOptional<z.ZodNumber>;
2410
2456
  stroke: z.ZodOptional<z.ZodObject<{
2411
2457
  color: z.ZodObject<{
2412
2458
  r: z.ZodNumber;
@@ -2420,6 +2466,14 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2420
2466
  dotted: "dotted";
2421
2467
  double: "double";
2422
2468
  }>>;
2469
+ opacity: z.ZodOptional<z.ZodNumber>;
2470
+ dashPattern: z.ZodOptional<z.ZodObject<{
2471
+ dots1: z.ZodNumber;
2472
+ dots1LengthPt: z.ZodNumber;
2473
+ dots2: z.ZodOptional<z.ZodNumber>;
2474
+ dots2LengthPt: z.ZodOptional<z.ZodNumber>;
2475
+ distancePt: z.ZodNumber;
2476
+ }, z.core.$strip>>;
2423
2477
  }, z.core.$strip>>;
2424
2478
  paintOrder: z.ZodOptional<z.ZodNumber>;
2425
2479
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -2463,6 +2517,52 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2463
2517
  g: z.ZodNumber;
2464
2518
  b: z.ZodNumber;
2465
2519
  }, z.core.$strip>>;
2520
+ fillPattern: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2521
+ kind: z.ZodLiteral<"gradient">;
2522
+ style: z.ZodEnum<{
2523
+ linear: "linear";
2524
+ axial: "axial";
2525
+ radial: "radial";
2526
+ ellipsoid: "ellipsoid";
2527
+ square: "square";
2528
+ rectangular: "rectangular";
2529
+ }>;
2530
+ startColor: z.ZodObject<{
2531
+ r: z.ZodNumber;
2532
+ g: z.ZodNumber;
2533
+ b: z.ZodNumber;
2534
+ }, z.core.$strip>;
2535
+ endColor: z.ZodObject<{
2536
+ r: z.ZodNumber;
2537
+ g: z.ZodNumber;
2538
+ b: z.ZodNumber;
2539
+ }, z.core.$strip>;
2540
+ angleDeg: z.ZodOptional<z.ZodNumber>;
2541
+ }, z.core.$strip>, z.ZodObject<{
2542
+ kind: z.ZodLiteral<"hatch">;
2543
+ style: z.ZodEnum<{
2544
+ double: "double";
2545
+ single: "single";
2546
+ triple: "triple";
2547
+ }>;
2548
+ color: z.ZodObject<{
2549
+ r: z.ZodNumber;
2550
+ g: z.ZodNumber;
2551
+ b: z.ZodNumber;
2552
+ }, z.core.$strip>;
2553
+ distancePt: z.ZodNumber;
2554
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2555
+ }, z.core.$strip>, z.ZodObject<{
2556
+ kind: z.ZodLiteral<"bitmap">;
2557
+ format: z.ZodEnum<{
2558
+ png: "png";
2559
+ jpeg: "jpeg";
2560
+ svg: "svg";
2561
+ gif: "gif";
2562
+ }>;
2563
+ base64: z.ZodString;
2564
+ }, z.core.$strip>], "kind">>;
2565
+ fillOpacity: z.ZodOptional<z.ZodNumber>;
2466
2566
  stroke: z.ZodOptional<z.ZodObject<{
2467
2567
  color: z.ZodObject<{
2468
2568
  r: z.ZodNumber;
@@ -2476,6 +2576,14 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2476
2576
  dotted: "dotted";
2477
2577
  double: "double";
2478
2578
  }>>;
2579
+ opacity: z.ZodOptional<z.ZodNumber>;
2580
+ dashPattern: z.ZodOptional<z.ZodObject<{
2581
+ dots1: z.ZodNumber;
2582
+ dots1LengthPt: z.ZodNumber;
2583
+ dots2: z.ZodOptional<z.ZodNumber>;
2584
+ dots2LengthPt: z.ZodOptional<z.ZodNumber>;
2585
+ distancePt: z.ZodNumber;
2586
+ }, z.core.$strip>>;
2479
2587
  }, z.core.$strip>>;
2480
2588
  paintOrder: z.ZodOptional<z.ZodNumber>;
2481
2589
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -2528,6 +2636,14 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2528
2636
  dotted: "dotted";
2529
2637
  double: "double";
2530
2638
  }>>;
2639
+ opacity: z.ZodOptional<z.ZodNumber>;
2640
+ dashPattern: z.ZodOptional<z.ZodObject<{
2641
+ dots1: z.ZodNumber;
2642
+ dots1LengthPt: z.ZodNumber;
2643
+ dots2: z.ZodOptional<z.ZodNumber>;
2644
+ dots2LengthPt: z.ZodOptional<z.ZodNumber>;
2645
+ distancePt: z.ZodNumber;
2646
+ }, z.core.$strip>>;
2531
2647
  }, z.core.$strip>;
2532
2648
  paintOrder: z.ZodOptional<z.ZodNumber>;
2533
2649
  sourcePath: z.ZodOptional<z.ZodString>;
@@ -2599,6 +2715,52 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2599
2715
  g: z.ZodNumber;
2600
2716
  b: z.ZodNumber;
2601
2717
  }, z.core.$strip>>;
2718
+ fillPattern: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2719
+ kind: z.ZodLiteral<"gradient">;
2720
+ style: z.ZodEnum<{
2721
+ linear: "linear";
2722
+ axial: "axial";
2723
+ radial: "radial";
2724
+ ellipsoid: "ellipsoid";
2725
+ square: "square";
2726
+ rectangular: "rectangular";
2727
+ }>;
2728
+ startColor: z.ZodObject<{
2729
+ r: z.ZodNumber;
2730
+ g: z.ZodNumber;
2731
+ b: z.ZodNumber;
2732
+ }, z.core.$strip>;
2733
+ endColor: z.ZodObject<{
2734
+ r: z.ZodNumber;
2735
+ g: z.ZodNumber;
2736
+ b: z.ZodNumber;
2737
+ }, z.core.$strip>;
2738
+ angleDeg: z.ZodOptional<z.ZodNumber>;
2739
+ }, z.core.$strip>, z.ZodObject<{
2740
+ kind: z.ZodLiteral<"hatch">;
2741
+ style: z.ZodEnum<{
2742
+ double: "double";
2743
+ single: "single";
2744
+ triple: "triple";
2745
+ }>;
2746
+ color: z.ZodObject<{
2747
+ r: z.ZodNumber;
2748
+ g: z.ZodNumber;
2749
+ b: z.ZodNumber;
2750
+ }, z.core.$strip>;
2751
+ distancePt: z.ZodNumber;
2752
+ rotationDeg: z.ZodOptional<z.ZodNumber>;
2753
+ }, z.core.$strip>, z.ZodObject<{
2754
+ kind: z.ZodLiteral<"bitmap">;
2755
+ format: z.ZodEnum<{
2756
+ png: "png";
2757
+ jpeg: "jpeg";
2758
+ svg: "svg";
2759
+ gif: "gif";
2760
+ }>;
2761
+ base64: z.ZodString;
2762
+ }, z.core.$strip>], "kind">>;
2763
+ fillOpacity: z.ZodOptional<z.ZodNumber>;
2602
2764
  fillRule: z.ZodOptional<z.ZodEnum<{
2603
2765
  nonzero: "nonzero";
2604
2766
  evenodd: "evenodd";
@@ -2616,6 +2778,14 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2616
2778
  dotted: "dotted";
2617
2779
  double: "double";
2618
2780
  }>>;
2781
+ opacity: z.ZodOptional<z.ZodNumber>;
2782
+ dashPattern: z.ZodOptional<z.ZodObject<{
2783
+ dots1: z.ZodNumber;
2784
+ dots1LengthPt: z.ZodNumber;
2785
+ dots2: z.ZodOptional<z.ZodNumber>;
2786
+ dots2LengthPt: z.ZodOptional<z.ZodNumber>;
2787
+ distancePt: z.ZodNumber;
2788
+ }, z.core.$strip>>;
2619
2789
  }, z.core.$strip>>;
2620
2790
  paintOrder: z.ZodOptional<z.ZodNumber>;
2621
2791
  sourcePath: z.ZodOptional<z.ZodString>;
package/dist/codec.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-qyKMOMt6.cjs";
1
+ import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-CLtyYaFH.cjs";
2
2
  export { EpubBytesSchema, decodePackage, encodePackage, epubCodec, epubContentCodec, packageCodec };
package/dist/codec.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-CX2Pa6Jq.js";
1
+ import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-DnYJkaC9.js";
2
2
  export { EpubBytesSchema, decodePackage, encodePackage, epubCodec, epubContentCodec, packageCodec };
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { n as OCF_CONTAINER_PATH, r as OCF_MIMETYPE_PATH, t as EPUB_MIME_TYPE } from "./format-DxUddUPj.cjs";
2
2
  import { n as unzipPackage, r as zipPackage, t as ZipEntry } from "./zip-ie17sOo5.cjs";
3
- import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-qyKMOMt6.cjs";
3
+ import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-CLtyYaFH.cjs";
4
4
  import { a as EpubEmptySpineError, c as EpubInvalidOpfError, d as EpubUnbalancedConstructMarkersError, f as EpubUnsupportedDocumentKindError, i as EpubDiagnosticSink, l as EpubPackageFlattenError, m as NOOP_EPUB_DIAGNOSTIC_SINK, n as EpubDiagnosticCodes, o as EpubInvalidContainerError, p as EpubWriteError, r as EpubDiagnosticSeverity, s as EpubInvalidMimetypeError, t as EpubDiagnostic, u as EpubParseError } from "./diagnostics-C0CRdoda.cjs";
5
5
  import { t as resolveOpfPath } from "./container-B6cHHiY9.cjs";
6
6
  import { n as OpfPackage, r as OpfSpineItemRef, t as OpfManifestItem } from "./types-BxmkPT_F.cjs";
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { n as OCF_CONTAINER_PATH, r as OCF_MIMETYPE_PATH, t as EPUB_MIME_TYPE } from "./format-DxUddUPj.js";
2
2
  import { n as unzipPackage, r as zipPackage, t as ZipEntry } from "./zip-ie17sOo5.js";
3
- import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-CX2Pa6Jq.js";
3
+ import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-DnYJkaC9.js";
4
4
  import { a as EpubEmptySpineError, c as EpubInvalidOpfError, d as EpubUnbalancedConstructMarkersError, f as EpubUnsupportedDocumentKindError, i as EpubDiagnosticSink, l as EpubPackageFlattenError, m as NOOP_EPUB_DIAGNOSTIC_SINK, n as EpubDiagnosticCodes, o as EpubInvalidContainerError, p as EpubWriteError, r as EpubDiagnosticSeverity, s as EpubInvalidMimetypeError, t as EpubDiagnostic, u as EpubParseError } from "./diagnostics-C0CRdoda.js";
5
5
  import { t as resolveOpfPath } from "./container-B6cHHiY9.js";
6
6
  import { n as OpfPackage, r as OpfSpineItemRef, t as OpfManifestItem } from "./types-BxmkPT_F.js";
@@ -1,2 +1,2 @@
1
- import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-qyKMOMt6.cjs";
1
+ import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-CLtyYaFH.cjs";
2
2
  export { BinaryPart, BinaryPartSchema, EpubPackage, EpubPackageSchema, Part, PartSchema, XmlPart, XmlPartSchema };
@@ -1,2 +1,2 @@
1
- import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-CX2Pa6Jq.js";
1
+ import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-DnYJkaC9.js";
2
2
  export { BinaryPart, BinaryPartSchema, EpubPackage, EpubPackageSchema, Part, PartSchema, XmlPart, XmlPartSchema };
@@ -1,2 +1,2 @@
1
- import { l as packageFromEntries, u as parsePackage } from "../codec-qyKMOMt6.cjs";
1
+ import { l as packageFromEntries, u as parsePackage } from "../codec-CLtyYaFH.cjs";
2
2
  export { packageFromEntries, parsePackage };
@@ -1,2 +1,2 @@
1
- import { l as packageFromEntries, u as parsePackage } from "../codec-CX2Pa6Jq.js";
1
+ import { l as packageFromEntries, u as parsePackage } from "../codec-DnYJkaC9.js";
2
2
  export { packageFromEntries, parsePackage };
@@ -1,2 +1,2 @@
1
- import { c as serializePackage, s as packageToEntries } from "../codec-qyKMOMt6.cjs";
1
+ import { c as serializePackage, s as packageToEntries } from "../codec-CLtyYaFH.cjs";
2
2
  export { packageToEntries, serializePackage };
@@ -1,2 +1,2 @@
1
- import { c as serializePackage, s as packageToEntries } from "../codec-CX2Pa6Jq.js";
1
+ import { c as serializePackage, s as packageToEntries } from "../codec-DnYJkaC9.js";
2
2
  export { packageToEntries, serializePackage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epub-codec",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "EPUB 2/3 reading and deterministic EPUB 3 writing against the shared document-schema.js content pivot.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -78,7 +78,7 @@
78
78
  "license": "MIT",
79
79
  "packageManager": "pnpm@11.6.0",
80
80
  "dependencies": {
81
- "document-schema.js": "7.3.1",
81
+ "document-schema.js": "7.4.0",
82
82
  "entities": "8.0.0",
83
83
  "fast-xml-parser": "5.10.1",
84
84
  "fflate": "0.8.3",