@embedpdf/engine-runtime-wasm32 3.0.0-next.11 → 3.0.0-next.12
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/lib/embedpdf.browser.js +9 -5
- package/lib/embedpdf.node.cjs +9 -5
- package/lib/embedpdf.node.js +9 -5
- package/lib/embedpdf.wasm +0 -0
- package/lib/wasm-inline.js +2 -0
- package/package.json +6 -1
- package/wasm-inline.d.ts +8 -0
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.0.0-next.
|
|
2
|
+
"version": "3.0.0-next.12",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
@@ -20,12 +20,17 @@
|
|
|
20
20
|
"./wasm-url": {
|
|
21
21
|
"types": "./wasm-url.d.ts",
|
|
22
22
|
"default": "./wasm-url.js"
|
|
23
|
+
},
|
|
24
|
+
"./wasm-inline": {
|
|
25
|
+
"types": "./wasm-inline.d.ts",
|
|
26
|
+
"default": "./lib/wasm-inline.js"
|
|
23
27
|
}
|
|
24
28
|
},
|
|
25
29
|
"files": [
|
|
26
30
|
"lib",
|
|
27
31
|
"wasm-url.js",
|
|
28
32
|
"wasm-url.d.ts",
|
|
33
|
+
"wasm-inline.d.ts",
|
|
29
34
|
"README.md",
|
|
30
35
|
"LICENSE"
|
|
31
36
|
],
|
package/wasm-inline.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `lib/embedpdf.wasm` as a gzipped, base64-encoded string — the PORTABLE
|
|
3
|
+
* delivery of the binary, through the module graph. Import it lazily
|
|
4
|
+
* (`@embedpdf/engine/portable` does) and inflate with `DecompressionStream`.
|
|
5
|
+
* Generated in the same build step as the binary; see build/generate-wasm-inline.mjs.
|
|
6
|
+
*/
|
|
7
|
+
declare const inline: string;
|
|
8
|
+
export default inline;
|