@twin.org/image 0.0.1-next.47 → 0.0.1-next.48
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/docs/changelog.md
CHANGED
|
@@ -17,7 +17,7 @@ Based on https://github.com/photopea/UPNG.js.
|
|
|
17
17
|
|
|
18
18
|
### encode()
|
|
19
19
|
|
|
20
|
-
> **encode**(`buffers`, `w`, `h`): `Promise`\<`Uint8Array
|
|
20
|
+
> **encode**(`buffers`, `w`, `h`): `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
|
|
21
21
|
|
|
22
22
|
Encode the image frames to png.
|
|
23
23
|
|
|
@@ -43,6 +43,6 @@ The image height.
|
|
|
43
43
|
|
|
44
44
|
#### Returns
|
|
45
45
|
|
|
46
|
-
`Promise`\<`Uint8Array
|
|
46
|
+
`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
|
|
47
47
|
|
|
48
48
|
The data for the image.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/image",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.48",
|
|
4
4
|
"description": "Classes for image manipulation",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/core": "0.0.1-next.
|
|
17
|
+
"@twin.org/core": "0.0.1-next.48",
|
|
18
18
|
"@twin.org/nameof": "next"
|
|
19
19
|
},
|
|
20
20
|
"main": "./dist/cjs/index.cjs",
|