From c52a316ba7e0d3f77962a6cd09dcefbbc099d787 Mon Sep 17 00:00:00 2001 From: nashaofu Date: Sun, 11 Aug 2024 13:57:39 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E5=8D=87=E7=BA=A7=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=EF=BC=8C=E4=BC=98=E5=8C=96=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 3 +-- index.d.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3bfcdd4..72e5a98 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,10 +8,9 @@ crate-type = ["cdylib"] [dependencies] # Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix -# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix napi = { version = "2.13", default-features = false, features = ["napi4"] } napi-derive = "2.13" -xcap = "0.0.9" +xcap = "0.0.11" [build-dependencies] napi-build = "2.1.3" diff --git a/index.d.ts b/index.d.ts index a630344..c68beb0 100644 --- a/index.d.ts +++ b/index.d.ts @@ -24,7 +24,7 @@ export class Monitor { readonly name: string /** The screen x coordinate. */ readonly x: number - /** The screen x coordinate. */ + /** The screen y coordinate. */ readonly y: number /** The screen pixel width. */ readonly width: number From 449d02d914b46e0160cadb825fa82226b6affc81 Mon Sep 17 00:00:00 2001 From: nashaofu Date: Sun, 11 Aug 2024 14:43:26 +0800 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 0.2.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5f26e82..38fd807 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-screenshots", - "version": "0.2.0", + "version": "0.2.1", "main": "index.js", "types": "index.d.ts", "files": [