@paged-media/sdk 0.1.0-canary.0 → 0.33.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 +1 -7
- package/paged_sdk.d.ts +3 -3
- package/paged_sdk.js +9 -9
- package/paged_sdk_bg.wasm +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paged-media/sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "WebGPU renderer-core ViewerSession (wasm) — the engine the @paged-media/idml-viewer wraps.",
|
|
3
|
+
"version": "0.33.0",
|
|
5
4
|
"type": "module",
|
|
6
5
|
"main": "paged_sdk.js",
|
|
7
6
|
"types": "paged_sdk.d.ts",
|
|
@@ -10,10 +9,5 @@
|
|
|
10
9
|
"paged_sdk_bg.wasm",
|
|
11
10
|
"paged_sdk.d.ts"
|
|
12
11
|
],
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "https://github.com/paged-media/core.git",
|
|
16
|
-
"directory": "crates/paged-sdk"
|
|
17
|
-
},
|
|
18
12
|
"license": "MPL-2.0 OR LicenseRef-PMEL"
|
|
19
13
|
}
|
package/paged_sdk.d.ts
CHANGED
|
@@ -199,9 +199,9 @@ export interface InitOutput {
|
|
|
199
199
|
readonly qcms_white_point_sRGB: (a: number) => void;
|
|
200
200
|
readonly lut_inverse_interp16: (a: number, b: number, c: number) => number;
|
|
201
201
|
readonly lut_interp_linear16: (a: number, b: number, c: number) => number;
|
|
202
|
-
readonly
|
|
203
|
-
readonly
|
|
204
|
-
readonly
|
|
202
|
+
readonly wasm_bindgen__convert__closures_____invoke__h0cde11723d429dba: (a: number, b: number, c: any) => [number, number];
|
|
203
|
+
readonly wasm_bindgen__convert__closures_____invoke__h59cb846e76c2acc2: (a: number, b: number, c: any, d: any) => void;
|
|
204
|
+
readonly wasm_bindgen__convert__closures_____invoke__h9534aa66f81a191a: (a: number, b: number, c: any) => void;
|
|
205
205
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
206
206
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
207
207
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/paged_sdk.js
CHANGED
|
@@ -666,7 +666,7 @@ function __wbg_get_imports() {
|
|
|
666
666
|
const a = state0.a;
|
|
667
667
|
state0.a = 0;
|
|
668
668
|
try {
|
|
669
|
-
return
|
|
669
|
+
return wasm_bindgen__convert__closures_____invoke__h59cb846e76c2acc2(a, state0.b, arg0, arg1);
|
|
670
670
|
} finally {
|
|
671
671
|
state0.a = a;
|
|
672
672
|
}
|
|
@@ -1349,12 +1349,12 @@ function __wbg_get_imports() {
|
|
|
1349
1349
|
}, arguments); },
|
|
1350
1350
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1351
1351
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1470, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1352
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1352
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h0cde11723d429dba);
|
|
1353
1353
|
return ret;
|
|
1354
1354
|
},
|
|
1355
1355
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1356
1356
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 235, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1357
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1357
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h9534aa66f81a191a);
|
|
1358
1358
|
return ret;
|
|
1359
1359
|
},
|
|
1360
1360
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -1388,19 +1388,19 @@ function __wbg_get_imports() {
|
|
|
1388
1388
|
};
|
|
1389
1389
|
}
|
|
1390
1390
|
|
|
1391
|
-
function
|
|
1392
|
-
wasm.
|
|
1391
|
+
function wasm_bindgen__convert__closures_____invoke__h9534aa66f81a191a(arg0, arg1, arg2) {
|
|
1392
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h9534aa66f81a191a(arg0, arg1, arg2);
|
|
1393
1393
|
}
|
|
1394
1394
|
|
|
1395
|
-
function
|
|
1396
|
-
const ret = wasm.
|
|
1395
|
+
function wasm_bindgen__convert__closures_____invoke__h0cde11723d429dba(arg0, arg1, arg2) {
|
|
1396
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h0cde11723d429dba(arg0, arg1, arg2);
|
|
1397
1397
|
if (ret[1]) {
|
|
1398
1398
|
throw takeFromExternrefTable0(ret[0]);
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
1401
1401
|
|
|
1402
|
-
function
|
|
1403
|
-
wasm.
|
|
1402
|
+
function wasm_bindgen__convert__closures_____invoke__h59cb846e76c2acc2(arg0, arg1, arg2, arg3) {
|
|
1403
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h59cb846e76c2acc2(arg0, arg1, arg2, arg3);
|
|
1404
1404
|
}
|
|
1405
1405
|
|
|
1406
1406
|
|
package/paged_sdk_bg.wasm
CHANGED
|
Binary file
|