Skip to content

Commit

Permalink
Merge pull request #45 from nashaofu/dev
Browse files Browse the repository at this point in the history
feat: 升级依赖,优化性能
  • Loading branch information
nashaofu authored Aug 11, 2024
2 parents eb8ea04 + 449d02d commit 3ab22c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-screenshots",
"version": "0.2.0",
"version": "0.2.1",
"main": "index.js",
"types": "index.d.ts",
"files": [
Expand Down

0 comments on commit 3ab22c1

Please sign in to comment.