@miniben90/x-win 1.10.3 → 2.0.0
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/index.d.ts +5 -2
- package/package.json +4 -25
package/index.d.ts
CHANGED
|
@@ -329,8 +329,7 @@ export declare class WindowInfo {
|
|
|
329
329
|
position: WindowPosition
|
|
330
330
|
info: ProcessInfo
|
|
331
331
|
usage: UsageInfo
|
|
332
|
-
|
|
333
|
-
constructor(id: number, os: string, title: string, position: WindowPosition, info: ProcessInfo, usage: UsageInfo, url: string)
|
|
332
|
+
constructor(id: number, os: string, title: string, position: WindowPosition, info: ProcessInfo, usage: UsageInfo)
|
|
334
333
|
/**
|
|
335
334
|
* Funciton who help to recover icon of application and will return `IconInfo`.
|
|
336
335
|
*/
|
|
@@ -339,4 +338,8 @@ export declare class WindowInfo {
|
|
|
339
338
|
* Promise funciton who help to recover icon of application and will return `IconInfo`.
|
|
340
339
|
*/
|
|
341
340
|
getIconAsync(): Promise<IconInfo>
|
|
341
|
+
/**
|
|
342
|
+
* Getter to recover browser url
|
|
343
|
+
*/
|
|
344
|
+
get url(): string
|
|
342
345
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miniben90/x-win",
|
|
3
3
|
"description": "This package allows you to retrieve precise information about active and open windows on Windows, MacOS, and Linux. You can obtain the position, size, title, and other memory of windows.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"files": [
|
|
@@ -10,18 +10,6 @@
|
|
|
10
10
|
"README.md",
|
|
11
11
|
"LICENSE"
|
|
12
12
|
],
|
|
13
|
-
"napi": {
|
|
14
|
-
"name": "x-win",
|
|
15
|
-
"triples": {
|
|
16
|
-
"additional": [
|
|
17
|
-
"aarch64-apple-darwin",
|
|
18
|
-
"aarch64-pc-windows-msvc",
|
|
19
|
-
"i686-pc-windows-msvc",
|
|
20
|
-
"universal-apple-darwin",
|
|
21
|
-
"x86_64-unknown-linux-musl"
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
13
|
"author": {
|
|
26
14
|
"name": "BENKHADRA Hocine",
|
|
27
15
|
"email": "contact@benkhadra.com",
|
|
@@ -41,21 +29,12 @@
|
|
|
41
29
|
"list",
|
|
42
30
|
"open"
|
|
43
31
|
],
|
|
44
|
-
"devDependencies": {
|
|
45
|
-
"@napi-rs/cli": "^2.18.4"
|
|
46
|
-
},
|
|
47
32
|
"engines": {
|
|
48
33
|
"node": ">= 14"
|
|
49
34
|
},
|
|
50
|
-
"scripts": {},
|
|
51
35
|
"optionalDependencies": {
|
|
52
|
-
"@miniben90/x-win-win32-x64-msvc": "
|
|
53
|
-
"@miniben90/x-win-darwin-x64": "
|
|
54
|
-
"@miniben90/x-win-linux-x64-gnu": "
|
|
55
|
-
"@miniben90/x-win-darwin-arm64": "1.10.3",
|
|
56
|
-
"@miniben90/x-win-win32-arm64-msvc": "1.10.3",
|
|
57
|
-
"@miniben90/x-win-win32-ia32-msvc": "1.10.3",
|
|
58
|
-
"@miniben90/x-win-darwin-universal": "1.10.3",
|
|
59
|
-
"@miniben90/x-win-linux-x64-musl": "1.10.3"
|
|
36
|
+
"@miniben90/x-win-win32-x64-msvc": "2.0.0",
|
|
37
|
+
"@miniben90/x-win-darwin-x64": "2.0.0",
|
|
38
|
+
"@miniben90/x-win-linux-x64-gnu": "2.0.0"
|
|
60
39
|
}
|
|
61
40
|
}
|