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 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": [