anchorbrowser 0.9.1 → 0.10.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/CHANGELOG.md +10 -0
- package/package.json +1 -1
- package/resources/sessions/mouse.d.mts +20 -7
- package/resources/sessions/mouse.d.mts.map +1 -1
- package/resources/sessions/mouse.d.ts +20 -7
- package/resources/sessions/mouse.d.ts.map +1 -1
- package/resources/sessions/mouse.js +0 -1
- package/resources/sessions/mouse.js.map +1 -1
- package/resources/sessions/mouse.mjs +0 -1
- package/resources/sessions/mouse.mjs.map +1 -1
- package/src/resources/sessions/mouse.ts +23 -7
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.10.0 (2025-12-14)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.9.1...v0.10.0](https://github.com/anchorbrowser/AnchorBrowser-SDK-Typescript/compare/v0.9.1...v0.10.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([1e21f65](https://github.com/anchorbrowser/AnchorBrowser-SDK-Typescript/commit/1e21f65299975a5e06c6ccf03af229abd180e417))
|
|
10
|
+
* Bro 949 mouse click api to support dom selector click ([5cdc35e](https://github.com/anchorbrowser/AnchorBrowser-SDK-Typescript/commit/5cdc35e7704383d62dd1cc516beffaa40e58da88))
|
|
11
|
+
* Bro 949 mouse click api to support dom selector click ([5b43d9a](https://github.com/anchorbrowser/AnchorBrowser-SDK-Typescript/commit/5b43d9ae6d83cbcf6d4914a916d7e15f82910941))
|
|
12
|
+
|
|
3
13
|
## 0.9.1 (2025-12-11)
|
|
4
14
|
|
|
5
15
|
Full Changelog: [v0.9.0...v0.9.1](https://github.com/anchorbrowser/AnchorBrowser-SDK-Typescript/compare/v0.9.0...v0.9.1)
|
package/package.json
CHANGED
|
@@ -9,7 +9,6 @@ export declare class Mouse extends APIResource {
|
|
|
9
9
|
* ```ts
|
|
10
10
|
* const response = await client.sessions.mouse.click(
|
|
11
11
|
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
12
|
-
* { x: 0, y: 0 },
|
|
13
12
|
* );
|
|
14
13
|
* ```
|
|
15
14
|
*/
|
|
@@ -50,17 +49,31 @@ export interface MouseMoveResponse {
|
|
|
50
49
|
}
|
|
51
50
|
export interface MouseClickParams {
|
|
52
51
|
/**
|
|
53
|
-
*
|
|
52
|
+
* Mouse button to use
|
|
54
53
|
*/
|
|
55
|
-
|
|
54
|
+
button?: 'left' | 'middle' | 'right';
|
|
56
55
|
/**
|
|
57
|
-
*
|
|
56
|
+
* If a selector was passed and multiple elements match the selector, the index of
|
|
57
|
+
* the element in the list (0-based). Defaults to 0.
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
index?: number;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* A valid CSS selector for the requested element
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
selector?: string;
|
|
64
|
+
/**
|
|
65
|
+
* If a selector was passed, timeout in ms for waiting for the DOM element to be
|
|
66
|
+
* selected. Defaults to 5000 (5 seconds).
|
|
67
|
+
*/
|
|
68
|
+
selectorTimeoutMs?: number;
|
|
69
|
+
/**
|
|
70
|
+
* X coordinate
|
|
71
|
+
*/
|
|
72
|
+
x?: number;
|
|
73
|
+
/**
|
|
74
|
+
* Y coordinate
|
|
75
|
+
*/
|
|
76
|
+
y?: number;
|
|
64
77
|
}
|
|
65
78
|
export interface MouseDoubleClickParams {
|
|
66
79
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mouse.d.mts","sourceRoot":"","sources":["../../src/resources/sessions/mouse.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC
|
|
1
|
+
{"version":3,"file":"mouse.d.mts","sourceRoot":"","sources":["../../src/resources/sessions/mouse.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;OASG;IACH,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI1G;;;;;;;;;;OAUG;IACH,WAAW,CACT,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAGxG;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IAErC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IAEV;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IAEV;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACtC;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IAEV;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
|
@@ -9,7 +9,6 @@ export declare class Mouse extends APIResource {
|
|
|
9
9
|
* ```ts
|
|
10
10
|
* const response = await client.sessions.mouse.click(
|
|
11
11
|
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
12
|
-
* { x: 0, y: 0 },
|
|
13
12
|
* );
|
|
14
13
|
* ```
|
|
15
14
|
*/
|
|
@@ -50,17 +49,31 @@ export interface MouseMoveResponse {
|
|
|
50
49
|
}
|
|
51
50
|
export interface MouseClickParams {
|
|
52
51
|
/**
|
|
53
|
-
*
|
|
52
|
+
* Mouse button to use
|
|
54
53
|
*/
|
|
55
|
-
|
|
54
|
+
button?: 'left' | 'middle' | 'right';
|
|
56
55
|
/**
|
|
57
|
-
*
|
|
56
|
+
* If a selector was passed and multiple elements match the selector, the index of
|
|
57
|
+
* the element in the list (0-based). Defaults to 0.
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
index?: number;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* A valid CSS selector for the requested element
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
selector?: string;
|
|
64
|
+
/**
|
|
65
|
+
* If a selector was passed, timeout in ms for waiting for the DOM element to be
|
|
66
|
+
* selected. Defaults to 5000 (5 seconds).
|
|
67
|
+
*/
|
|
68
|
+
selectorTimeoutMs?: number;
|
|
69
|
+
/**
|
|
70
|
+
* X coordinate
|
|
71
|
+
*/
|
|
72
|
+
x?: number;
|
|
73
|
+
/**
|
|
74
|
+
* Y coordinate
|
|
75
|
+
*/
|
|
76
|
+
y?: number;
|
|
64
77
|
}
|
|
65
78
|
export interface MouseDoubleClickParams {
|
|
66
79
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mouse.d.ts","sourceRoot":"","sources":["../../src/resources/sessions/mouse.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC
|
|
1
|
+
{"version":3,"file":"mouse.d.ts","sourceRoot":"","sources":["../../src/resources/sessions/mouse.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;OASG;IACH,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI1G;;;;;;;;;;OAUG;IACH,WAAW,CACT,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,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xC,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mouse.js","sourceRoot":"","sources":["../../src/resources/sessions/mouse.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,KAAM,SAAQ,sBAAW;IACpC
|
|
1
|
+
{"version":3,"file":"mouse.js","sourceRoot":"","sources":["../../src/resources/sessions/mouse.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;OASG;IACH,KAAK,CAAC,SAAiB,EAAE,IAAsB,EAAE,OAAwB;QACvE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,SAAS,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;;;;;;;;;OAUG;IACH,WAAW,CACT,SAAiB,EACjB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,SAAS,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,SAAiB,EAAE,IAAqB,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,SAAS,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;CACF;AAhDD,sBAgDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mouse.mjs","sourceRoot":"","sources":["../../src/resources/sessions/mouse.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC
|
|
1
|
+
{"version":3,"file":"mouse.mjs","sourceRoot":"","sources":["../../src/resources/sessions/mouse.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;OASG;IACH,KAAK,CAAC,SAAiB,EAAE,IAAsB,EAAE,OAAwB;QACvE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,SAAS,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;;;;;;;;;OAUG;IACH,WAAW,CACT,SAAiB,EACjB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,SAAS,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,SAAiB,EAAE,IAAqB,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,SAAS,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;CACF"}
|
|
@@ -13,7 +13,6 @@ export class Mouse extends APIResource {
|
|
|
13
13
|
* ```ts
|
|
14
14
|
* const response = await client.sessions.mouse.click(
|
|
15
15
|
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
16
|
-
* { x: 0, y: 0 },
|
|
17
16
|
* );
|
|
18
17
|
* ```
|
|
19
18
|
*/
|
|
@@ -70,19 +69,36 @@ export interface MouseMoveResponse {
|
|
|
70
69
|
|
|
71
70
|
export interface MouseClickParams {
|
|
72
71
|
/**
|
|
73
|
-
*
|
|
72
|
+
* Mouse button to use
|
|
74
73
|
*/
|
|
75
|
-
|
|
74
|
+
button?: 'left' | 'middle' | 'right';
|
|
76
75
|
|
|
77
76
|
/**
|
|
78
|
-
*
|
|
77
|
+
* If a selector was passed and multiple elements match the selector, the index of
|
|
78
|
+
* the element in the list (0-based). Defaults to 0.
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
index?: number;
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* A valid CSS selector for the requested element
|
|
84
84
|
*/
|
|
85
|
-
|
|
85
|
+
selector?: string;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* If a selector was passed, timeout in ms for waiting for the DOM element to be
|
|
89
|
+
* selected. Defaults to 5000 (5 seconds).
|
|
90
|
+
*/
|
|
91
|
+
selectorTimeoutMs?: number;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* X coordinate
|
|
95
|
+
*/
|
|
96
|
+
x?: number;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Y coordinate
|
|
100
|
+
*/
|
|
101
|
+
y?: number;
|
|
86
102
|
}
|
|
87
103
|
|
|
88
104
|
export interface MouseDoubleClickParams {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.10.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.10.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.10.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
package/version.js
CHANGED
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.10.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
|