Release package version 0..0.10
All checks were successful
Checks / build (push) Successful in 40s

Update image draw object interface
This commit is contained in:
Andrey Kernichniy 2026-03-14 18:13:29 +07:00
parent 5d22fefef2
commit 4e7f31e4a0
4 changed files with 8 additions and 8 deletions

View file

@ -47,7 +47,7 @@ export interface IEllipseDrawObject extends IBaseDrawObject {
export interface IImageDrawObject extends IBaseDrawObject {
readonly type: "image";
source: HTMLImageElement;
source: HTMLImageElement | ImageBitmap;
stroke: IStroke;
rectangle: IRectangle;
fill: Fill;

View file

@ -1,6 +1,6 @@
{
"name": "@gxc-solutions/renderer-base",
"version": "0.0.9",
"version": "0.0.10",
"main": "index.js",
"author": "GXC Solutions",
"publishConfig": {
@ -8,6 +8,6 @@
"registry": "https://npm.gxc-solutions.ru"
},
"peerDependencies": {
"@gxc-solutions/math": "^0.0.1"
"@gxc-solutions/math": "^0.0.2"
}
}

8
package-lock.json generated
View file

@ -9,7 +9,7 @@
"version": "0.0.0",
"license": "ISC",
"dependencies": {
"@gxc-solutions/math": "^0.0.1"
"@gxc-solutions/math": "^0.0.2"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.4",
@ -208,9 +208,9 @@
}
},
"node_modules/@gxc-solutions/math": {
"version": "0.0.1",
"resolved": "https://npm.gxc-solutions.ru/@gxc-solutions/math/-/math-0.0.1.tgz",
"integrity": "sha512-m6lxTkjXkyaUoI3+cJKpgt/AQlyApLSJ2p9D2EJ9+XzHCSjOWs29GzczPLgopYdLEWYN/YPr77V4CScGpR7qxw=="
"version": "0.0.2",
"resolved": "https://npm.gxc-solutions.ru/@gxc-solutions/math/-/math-0.0.2.tgz",
"integrity": "sha512-R6zYvbspis+XoHZ7lwyVLAUGZkJwivbeo94VtN7cSZzOA86AgVev+UQeHt9S1Ua4d1FwgxYVasck1/l5WXR7CQ=="
},
"node_modules/@humanfs/core": {
"version": "0.19.1",

View file

@ -16,7 +16,7 @@
"license": "ISC",
"description": "",
"dependencies": {
"@gxc-solutions/math": "^0.0.1"
"@gxc-solutions/math": "^0.0.2"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.4",