@embedpdf/engine-runtime 3.0.0-next.14 → 3.0.0-next.16
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/build-id.cjs +3 -3
- package/dist/build-id.cjs.map +1 -1
- package/dist/build-id.d.cts +1 -1
- package/dist/build-id.d.ts +1 -1
- package/dist/build-id.js +3 -3
- package/dist/build-id.js.map +1 -1
- package/dist/core/pdf-functions.generated.d.ts +8696 -4131
- package/dist/core/pdf-runtime-module.d.ts +1 -1
- package/dist/core/platform.d.ts +1 -1
- package/dist/index.browser.d.ts +2 -2
- package/dist/index.browser.js +148 -38
- package/dist/index.browser.js.map +1 -1
- package/dist/index.d.cts +132 -31
- package/dist/index.d.ts +132 -31
- package/dist/index.node.cjs +148 -38
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.d.ts +1 -1
- package/dist/index.node.js +148 -38
- package/dist/index.node.js.map +1 -1
- package/dist/shared.d.ts +1 -1
- package/package.json +14 -10
|
@@ -5,7 +5,7 @@ export type Ptr = bigint & {
|
|
|
5
5
|
export type Callback = bigint & {
|
|
6
6
|
readonly __brand: 'PdfRuntimeCallback';
|
|
7
7
|
};
|
|
8
|
-
/** The null pointer; useful when the underlying API accepts a
|
|
8
|
+
/** The null pointer; useful when the underlying API accepts a null value. */
|
|
9
9
|
export declare const NULL_PTR: Ptr;
|
|
10
10
|
export type MemoryValueKind = 'i8' | 'i16' | 'i32' | 'i64' | 'f32' | 'f64' | 'ptr';
|
|
11
11
|
export type CallbackKind = string;
|
package/dist/core/platform.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Environment-
|
|
2
|
+
* Environment-neutral platform vocabulary. This module must stay importable
|
|
3
3
|
* from every graph (browser, worker, node) — so it carries no Node imports.
|
|
4
4
|
* The node-only target detection (detect-libc) lives in `platform.node.ts`;
|
|
5
5
|
* the browser graph pins `wasm32` in `index.browser.ts`.
|
package/dist/index.browser.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Browser entry (the exports map's `default` condition). WASM only, zero Node
|
|
3
3
|
* imports anywhere in its graph — no `detect-libc`, no `native/`, no builtins.
|
|
4
4
|
* Browsers always resolve to `wasm32`; `prefer` is accepted and ignored so the
|
|
5
5
|
* API matches the node entry exactly.
|
|
6
6
|
*
|
|
7
7
|
* Do not rely on dead-code elimination to keep this pure: bundlers must
|
|
8
|
-
*
|
|
8
|
+
* resolve an import before they can prove its branch unreachable, so a Node
|
|
9
9
|
* import anywhere in this graph breaks strict builders (Angular/esbuild) even
|
|
10
10
|
* if it never executes. Purity is enforced by `verify:browser-purity`.
|
|
11
11
|
*/
|