@paged-media/sdk 0.40.0 → 0.42.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 -1
- package/paged_sdk.d.ts +1 -1
- package/paged_sdk.js +1 -1
- package/paged_sdk_bg.wasm +0 -0
package/package.json
CHANGED
package/paged_sdk.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ export interface PagesLayout {
|
|
|
68
68
|
/**
|
|
69
69
|
* One drawable in a [`SceneLayer`]. Coordinates are frame-content points.
|
|
70
70
|
*/
|
|
71
|
-
export type SceneItem = { kind: "fillPath"; path: ScenePathSeg[]; paint: ScenePaint } | { kind: "strokePath"; path: ScenePathSeg[]; paint: ScenePaint; width: number } | ({ kind: "text" } & SceneTextItem);
|
|
71
|
+
export type SceneItem = { kind: "fillPath"; path: ScenePathSeg[]; paint: ScenePaint } | { kind: "strokePath"; path: ScenePathSeg[]; paint: ScenePaint; width: number } | ({ kind: "text" } & SceneTextItem) | { kind: "image"; rgba: number[]; width: number; height: number; x: number; y: number; w: number; h: number };
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* Stable page identity, independent of position in the page vector.
|
package/paged_sdk.js
CHANGED
|
@@ -1348,7 +1348,7 @@ function __wbg_get_imports() {
|
|
|
1348
1348
|
arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
|
|
1349
1349
|
}, arguments); },
|
|
1350
1350
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1351
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1351
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1712, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1352
1352
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h0cde11723d429dba);
|
|
1353
1353
|
return ret;
|
|
1354
1354
|
},
|
package/paged_sdk_bg.wasm
CHANGED
|
Binary file
|