@takumi-rs/wasm 2.2.2 → 2.3.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/README.md +1 -1
- package/dist/export.d.cts +2 -2
- package/dist/export.d.mts +2 -2
- package/package.json +3 -3
- package/pkg/takumi_wasm_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ Call `init()` once to load the WASM binary, then reuse the `Renderer`. Build nod
|
|
|
40
40
|
## Documentation
|
|
41
41
|
|
|
42
42
|
- Integration guide: <https://takumi.kane.tw/docs/integration>
|
|
43
|
-
- API reference: <https://takumi.kane.tw/docs/
|
|
43
|
+
- API reference: <https://takumi.kane.tw/docs/reference>
|
|
44
44
|
- Repository: <https://github.com/kane50613/takumi>
|
|
45
45
|
|
|
46
46
|
For Node.js, use the native [@takumi-rs/core](https://npmjs.com/package/@takumi-rs/core) bindings.
|
package/dist/export.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContainerNode, ImageNode, Node, Node as Node$1, NodeMetadata, TextNode } from "@takumi-rs/helpers";
|
|
1
|
+
import { ContainerNode, ImageNode, Node, Node as Node$1, NodeMetadata, RgbaImage, TextNode } from "@takumi-rs/helpers";
|
|
2
2
|
import { Properties } from "csstype";
|
|
3
3
|
import { AnimationOutputFormatOptions, BackendAnimationOptions, BackendRenderOptions, BackendSvgOptions, FontLoader, FontLoader as FontLoader$1, ImageLoader, ImagesInput, OutputFormatOptions } from "@takumi-rs/helpers/renderer";
|
|
4
4
|
//#region pkg/takumi_wasm.d.ts
|
|
@@ -254,4 +254,4 @@ declare class Renderer {
|
|
|
254
254
|
free(): void;
|
|
255
255
|
}
|
|
256
256
|
//#endregion
|
|
257
|
-
export { AnimationOutputFormat, type AnimationOutputFormatOptions, AnimationScene, ByteBuf, ContainerNode, DitheringAlgorithm, Font, FontDetails, type FontLoader, ImageCacheMode, type ImageLoader, ImageNode, ImageSource, type ImagesInput, InitInput, InitOutput, KeyframeRule, Keyframes, KeyframesMap, KeyframesRule, KeyframesRuleList, MeasuredNode, MeasuredTextRun, type Node, NodeMetadata, OutputFormat, type OutputFormatOptions, RegisteredFace, RegisteredFamily, RenderAnimationOptions, RenderOptions, Renderer, SvgRenderOptions, SyncInitInput, TextNode, __wbg_init as default, initSync };
|
|
257
|
+
export { AnimationOutputFormat, type AnimationOutputFormatOptions, AnimationScene, ByteBuf, ContainerNode, DitheringAlgorithm, Font, FontDetails, type FontLoader, ImageCacheMode, type ImageLoader, ImageNode, ImageSource, type ImagesInput, InitInput, InitOutput, KeyframeRule, Keyframes, KeyframesMap, KeyframesRule, KeyframesRuleList, MeasuredNode, MeasuredTextRun, type Node, NodeMetadata, OutputFormat, type OutputFormatOptions, RegisteredFace, RegisteredFamily, RenderAnimationOptions, RenderOptions, Renderer, RgbaImage, SvgRenderOptions, SyncInitInput, TextNode, __wbg_init as default, initSync };
|
package/dist/export.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnimationOutputFormatOptions, BackendAnimationOptions, BackendRenderOptions, BackendSvgOptions, FontLoader, FontLoader as FontLoader$1, ImageLoader, ImagesInput, OutputFormatOptions } from "@takumi-rs/helpers/renderer";
|
|
2
|
-
import { ContainerNode, ImageNode, Node, Node as Node$1, NodeMetadata, TextNode } from "@takumi-rs/helpers";
|
|
2
|
+
import { ContainerNode, ImageNode, Node, Node as Node$1, NodeMetadata, RgbaImage, TextNode } from "@takumi-rs/helpers";
|
|
3
3
|
import { Properties } from "csstype";
|
|
4
4
|
//#region pkg/takumi_wasm.d.ts
|
|
5
5
|
type ByteBuf = Uint8Array | ArrayBuffer | Buffer;
|
|
@@ -254,4 +254,4 @@ declare class Renderer {
|
|
|
254
254
|
free(): void;
|
|
255
255
|
}
|
|
256
256
|
//#endregion
|
|
257
|
-
export { AnimationOutputFormat, type AnimationOutputFormatOptions, AnimationScene, ByteBuf, ContainerNode, DitheringAlgorithm, Font, FontDetails, type FontLoader, ImageCacheMode, type ImageLoader, ImageNode, ImageSource, type ImagesInput, InitInput, InitOutput, KeyframeRule, Keyframes, KeyframesMap, KeyframesRule, KeyframesRuleList, MeasuredNode, MeasuredTextRun, type Node, NodeMetadata, OutputFormat, type OutputFormatOptions, RegisteredFace, RegisteredFamily, RenderAnimationOptions, RenderOptions, Renderer, SvgRenderOptions, SyncInitInput, TextNode, __wbg_init as default, initSync };
|
|
257
|
+
export { AnimationOutputFormat, type AnimationOutputFormatOptions, AnimationScene, ByteBuf, ContainerNode, DitheringAlgorithm, Font, FontDetails, type FontLoader, ImageCacheMode, type ImageLoader, ImageNode, ImageSource, type ImagesInput, InitInput, InitOutput, KeyframeRule, Keyframes, KeyframesMap, KeyframesRule, KeyframesRuleList, MeasuredNode, MeasuredTextRun, type Node, NodeMetadata, OutputFormat, type OutputFormatOptions, RegisteredFace, RegisteredFamily, RenderAnimationOptions, RenderOptions, Renderer, RgbaImage, SvgRenderOptions, SyncInitInput, TextNode, __wbg_init as default, initSync };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takumi-rs/wasm",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "WebAssembly bindings for Takumi, a Rust image rendering engine.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
"publish-lint": "attw --pack . && publint --strict ."
|
|
118
118
|
},
|
|
119
119
|
"dependencies": {
|
|
120
|
-
"@takumi-rs/helpers": "2.
|
|
120
|
+
"@takumi-rs/helpers": "2.3.0"
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
123
123
|
"@types/bun": "^1.3.14",
|
|
124
124
|
"csstype": "^3.2.3",
|
|
125
|
-
"tsdown": "
|
|
125
|
+
"tsdown": "0.22.5",
|
|
126
126
|
"unrun": "^0.3.1"
|
|
127
127
|
},
|
|
128
128
|
"peerDependencies": {
|
package/pkg/takumi_wasm_bg.wasm
CHANGED
|
Binary file
|