@qrcommunication/gigapdf-lib 0.114.1 → 0.116.0
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/CHANGELOG.md +106 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js.map +1 -1
- package/gigapdf.wasm +0 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -792,8 +792,17 @@ interface GigaTable {
|
|
|
792
792
|
}
|
|
793
793
|
/** A reference to an image blob in the document's resource table (`model::ImageRef`). */
|
|
794
794
|
interface GigaImageRef {
|
|
795
|
-
/**
|
|
796
|
-
|
|
795
|
+
/**
|
|
796
|
+
* Content-hash key into `GigaDocument.resources.images`.
|
|
797
|
+
*
|
|
798
|
+
* A decimal string: the underlying id is a full 64-bit hash, which does not
|
|
799
|
+
* survive `JSON.parse` as a JavaScript number (precision is lost past 2^53,
|
|
800
|
+
* silently orphaning the reference from its resource — every image was
|
|
801
|
+
* dropped from `toModel()` → `modelTo*` round-trips). The engine emits it as
|
|
802
|
+
* a string and accepts either form (`string` canonically, legacy `number`
|
|
803
|
+
* for hand-built models with small ids).
|
|
804
|
+
*/
|
|
805
|
+
resource: string | number;
|
|
797
806
|
alt: string | null;
|
|
798
807
|
}
|
|
799
808
|
/** A single vector path segment (tagged; mirror of `content::vector::PathSeg`). */
|
package/dist/index.d.ts
CHANGED
|
@@ -792,8 +792,17 @@ interface GigaTable {
|
|
|
792
792
|
}
|
|
793
793
|
/** A reference to an image blob in the document's resource table (`model::ImageRef`). */
|
|
794
794
|
interface GigaImageRef {
|
|
795
|
-
/**
|
|
796
|
-
|
|
795
|
+
/**
|
|
796
|
+
* Content-hash key into `GigaDocument.resources.images`.
|
|
797
|
+
*
|
|
798
|
+
* A decimal string: the underlying id is a full 64-bit hash, which does not
|
|
799
|
+
* survive `JSON.parse` as a JavaScript number (precision is lost past 2^53,
|
|
800
|
+
* silently orphaning the reference from its resource — every image was
|
|
801
|
+
* dropped from `toModel()` → `modelTo*` round-trips). The engine emits it as
|
|
802
|
+
* a string and accepts either form (`string` canonically, legacy `number`
|
|
803
|
+
* for hand-built models with small ids).
|
|
804
|
+
*/
|
|
805
|
+
resource: string | number;
|
|
797
806
|
alt: string | null;
|
|
798
807
|
}
|
|
799
808
|
/** A single vector path segment (tagged; mirror of `content::vector::PathSeg`). */
|