@build-qube/papyra-native-wasm32-wasi 0.7.0 → 0.8.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/package.json +2 -2
- package/papyra.wasi.d.cts +1 -1
- package/papyra.wasm32-wasi.wasm +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@build-qube/papyra-native-wasm32-wasi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"main": "papyra.wasi.cjs",
|
|
5
5
|
"files": [
|
|
6
6
|
"papyra.wasm32-wasi.wasm",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"browser": "papyra.wasi-browser.js",
|
|
37
37
|
"type": "module",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@napi-rs/wasm-runtime": "~1.2.
|
|
39
|
+
"@napi-rs/wasm-runtime": "~1.2.6",
|
|
40
40
|
"@emnapi/core": "2.0.0-alpha.4",
|
|
41
41
|
"@emnapi/runtime": "2.0.0-alpha.4"
|
|
42
42
|
}
|
package/papyra.wasi.d.cts
CHANGED
|
@@ -42,7 +42,7 @@ export declare class PdfDocument {
|
|
|
42
42
|
renderPageAsync(index: number, dpi?: number | undefined | null, annotations?: boolean | undefined | null): Promise<RenderedPage>
|
|
43
43
|
/**
|
|
44
44
|
* Render the `width` x `height` window whose corner is (`x`, `y`) in output pixels
|
|
45
|
-
* of the page at `dpi`. Each side is at most
|
|
45
|
+
* of the page at `dpi`. Each side is at most 65280, vello_cpu's limit; the page is not.
|
|
46
46
|
*/
|
|
47
47
|
renderTileAsync(index: number, dpi: number, x: number, y: number, width: number, height: number, annotations?: boolean | undefined | null): Promise<RenderedPage>
|
|
48
48
|
/** Render one page and keep it in Rust, for encoding. The pixels never reach JS. */
|
package/papyra.wasm32-wasi.wasm
CHANGED
|
Binary file
|