anchorbrowser 0.9.0 → 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 +14 -0
- package/package.json +1 -1
- package/resources/identities.d.mts +14 -14
- package/resources/identities.d.mts.map +1 -1
- package/resources/identities.d.ts +14 -14
- package/resources/identities.d.ts.map +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/identities.ts +14 -14
- 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,19 @@
|
|
|
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
|
+
|
|
13
|
+
## 0.9.1 (2025-12-11)
|
|
14
|
+
|
|
15
|
+
Full Changelog: [v0.9.0...v0.9.1](https://github.com/anchorbrowser/AnchorBrowser-SDK-Typescript/compare/v0.9.0...v0.9.1)
|
|
16
|
+
|
|
3
17
|
## 0.9.0 (2025-12-11)
|
|
4
18
|
|
|
5
19
|
Full Changelog: [v0.8.9...v0.9.0](https://github.com/anchorbrowser/AnchorBrowser-SDK-Typescript/compare/v0.8.9...v0.9.0)
|
package/package.json
CHANGED
|
@@ -11,63 +11,63 @@ export interface IdentityRetrieveCredentialsResponse {
|
|
|
11
11
|
/**
|
|
12
12
|
* The ID of the identity
|
|
13
13
|
*/
|
|
14
|
-
id
|
|
15
|
-
credentials
|
|
14
|
+
id: string;
|
|
15
|
+
credentials: Array<IdentityRetrieveCredentialsResponse.UsernamePasswordCredentialSchema | IdentityRetrieveCredentialsResponse.AuthenticatorCredentialSchema | IdentityRetrieveCredentialsResponse.CustomCredentialSchema>;
|
|
16
16
|
/**
|
|
17
17
|
* The name of the identity
|
|
18
18
|
*/
|
|
19
|
-
name
|
|
19
|
+
name: string;
|
|
20
20
|
/**
|
|
21
21
|
* The url related to the identity
|
|
22
22
|
*/
|
|
23
|
-
source
|
|
23
|
+
source: string;
|
|
24
24
|
}
|
|
25
25
|
export declare namespace IdentityRetrieveCredentialsResponse {
|
|
26
26
|
interface UsernamePasswordCredentialSchema {
|
|
27
27
|
/**
|
|
28
28
|
* The password of the credential
|
|
29
29
|
*/
|
|
30
|
-
password
|
|
30
|
+
password: string;
|
|
31
31
|
/**
|
|
32
32
|
* The type of credential
|
|
33
33
|
*/
|
|
34
|
-
type
|
|
34
|
+
type: 'username_password';
|
|
35
35
|
/**
|
|
36
36
|
* The username of the credential
|
|
37
37
|
*/
|
|
38
|
-
username
|
|
38
|
+
username: string;
|
|
39
39
|
}
|
|
40
40
|
interface AuthenticatorCredentialSchema {
|
|
41
41
|
/**
|
|
42
42
|
* The OTP of the credential
|
|
43
43
|
*/
|
|
44
|
-
otp
|
|
44
|
+
otp: string;
|
|
45
45
|
/**
|
|
46
46
|
* The secret of the credential
|
|
47
47
|
*/
|
|
48
|
-
secret
|
|
48
|
+
secret: string;
|
|
49
49
|
/**
|
|
50
50
|
* The type of credential
|
|
51
51
|
*/
|
|
52
|
-
type
|
|
52
|
+
type: 'authenticator';
|
|
53
53
|
}
|
|
54
54
|
interface CustomCredentialSchema {
|
|
55
|
-
fields
|
|
55
|
+
fields: Array<CustomCredentialSchema.Field>;
|
|
56
56
|
/**
|
|
57
57
|
* The type of credential
|
|
58
58
|
*/
|
|
59
|
-
type
|
|
59
|
+
type: 'custom';
|
|
60
60
|
}
|
|
61
61
|
namespace CustomCredentialSchema {
|
|
62
62
|
interface Field {
|
|
63
63
|
/**
|
|
64
64
|
* The name of the field
|
|
65
65
|
*/
|
|
66
|
-
name
|
|
66
|
+
name: string;
|
|
67
67
|
/**
|
|
68
68
|
* The value of the field
|
|
69
69
|
*/
|
|
70
|
-
value
|
|
70
|
+
value: string;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identities.d.mts","sourceRoot":"","sources":["../src/resources/identities.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,mBAAmB,CACjB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;CAGnD;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,EAAE,
|
|
1
|
+
{"version":3,"file":"identities.d.mts","sourceRoot":"","sources":["../src/resources/identities.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE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63 @@ export interface IdentityRetrieveCredentialsResponse {
|
|
|
11
11
|
/**
|
|
12
12
|
* The ID of the identity
|
|
13
13
|
*/
|
|
14
|
-
id
|
|
15
|
-
credentials
|
|
14
|
+
id: string;
|
|
15
|
+
credentials: Array<IdentityRetrieveCredentialsResponse.UsernamePasswordCredentialSchema | IdentityRetrieveCredentialsResponse.AuthenticatorCredentialSchema | IdentityRetrieveCredentialsResponse.CustomCredentialSchema>;
|
|
16
16
|
/**
|
|
17
17
|
* The name of the identity
|
|
18
18
|
*/
|
|
19
|
-
name
|
|
19
|
+
name: string;
|
|
20
20
|
/**
|
|
21
21
|
* The url related to the identity
|
|
22
22
|
*/
|
|
23
|
-
source
|
|
23
|
+
source: string;
|
|
24
24
|
}
|
|
25
25
|
export declare namespace IdentityRetrieveCredentialsResponse {
|
|
26
26
|
interface UsernamePasswordCredentialSchema {
|
|
27
27
|
/**
|
|
28
28
|
* The password of the credential
|
|
29
29
|
*/
|
|
30
|
-
password
|
|
30
|
+
password: string;
|
|
31
31
|
/**
|
|
32
32
|
* The type of credential
|
|
33
33
|
*/
|
|
34
|
-
type
|
|
34
|
+
type: 'username_password';
|
|
35
35
|
/**
|
|
36
36
|
* The username of the credential
|
|
37
37
|
*/
|
|
38
|
-
username
|
|
38
|
+
username: string;
|
|
39
39
|
}
|
|
40
40
|
interface AuthenticatorCredentialSchema {
|
|
41
41
|
/**
|
|
42
42
|
* The OTP of the credential
|
|
43
43
|
*/
|
|
44
|
-
otp
|
|
44
|
+
otp: string;
|
|
45
45
|
/**
|
|
46
46
|
* The secret of the credential
|
|
47
47
|
*/
|
|
48
|
-
secret
|
|
48
|
+
secret: string;
|
|
49
49
|
/**
|
|
50
50
|
* The type of credential
|
|
51
51
|
*/
|
|
52
|
-
type
|
|
52
|
+
type: 'authenticator';
|
|
53
53
|
}
|
|
54
54
|
interface CustomCredentialSchema {
|
|
55
|
-
fields
|
|
55
|
+
fields: Array<CustomCredentialSchema.Field>;
|
|
56
56
|
/**
|
|
57
57
|
* The type of credential
|
|
58
58
|
*/
|
|
59
|
-
type
|
|
59
|
+
type: 'custom';
|
|
60
60
|
}
|
|
61
61
|
namespace CustomCredentialSchema {
|
|
62
62
|
interface Field {
|
|
63
63
|
/**
|
|
64
64
|
* The name of the field
|
|
65
65
|
*/
|
|
66
|
-
name
|
|
66
|
+
name: string;
|
|
67
67
|
/**
|
|
68
68
|
* The value of the field
|
|
69
69
|
*/
|
|
70
|
-
value
|
|
70
|
+
value: string;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identities.d.ts","sourceRoot":"","sources":["../src/resources/identities.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,mBAAmB,CACjB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;CAGnD;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,EAAE,
|
|
1
|
+
{"version":3,"file":"identities.d.ts","sourceRoot":"","sources":["../src/resources/identities.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,mBAAmB,CACjB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;CAGnD;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX,WAAW,EAAE,KAAK,CACd,mCAAmC,CAAC,gCAAgC,GACpE,mCAAmC,CAAC,6BAA6B,GACjE,mCAAmC,CAAC,sBAAsB,CAC7D,CAAC;IAEF;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,yBAAiB,mCAAmC,CAAC;IACnD,UAAiB,gCAAgC;QAC/C;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,IAAI,EAAE,mBAAmB,CAAC;QAE1B;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;KAClB;IAED,UAAiB,6BAA6B;QAC5C;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;QAEZ;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,IAAI,EAAE,eAAe,CAAC;KACvB;IAED,UAAiB,sBAAsB;QACrC,MAAM,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;QAE5C;;WAEG;QACH,IAAI,EAAE,QAAQ,CAAC;KAChB;IAED,UAAiB,sBAAsB,CAAC;QACtC,UAAiB,KAAK;YACpB;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YAEb;;eAEG;YACH,KAAK,EAAE,MAAM,CAAC;SACf;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EAAE,KAAK,mCAAmC,IAAI,mCAAmC,EAAE,CAAC;CAC5F"}
|
|
@@ -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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B,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,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"}
|
|
@@ -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"}
|
|
@@ -21,9 +21,9 @@ export interface IdentityRetrieveCredentialsResponse {
|
|
|
21
21
|
/**
|
|
22
22
|
* The ID of the identity
|
|
23
23
|
*/
|
|
24
|
-
id
|
|
24
|
+
id: string;
|
|
25
25
|
|
|
26
|
-
credentials
|
|
26
|
+
credentials: Array<
|
|
27
27
|
| IdentityRetrieveCredentialsResponse.UsernamePasswordCredentialSchema
|
|
28
28
|
| IdentityRetrieveCredentialsResponse.AuthenticatorCredentialSchema
|
|
29
29
|
| IdentityRetrieveCredentialsResponse.CustomCredentialSchema
|
|
@@ -32,12 +32,12 @@ export interface IdentityRetrieveCredentialsResponse {
|
|
|
32
32
|
/**
|
|
33
33
|
* The name of the identity
|
|
34
34
|
*/
|
|
35
|
-
name
|
|
35
|
+
name: string;
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* The url related to the identity
|
|
39
39
|
*/
|
|
40
|
-
source
|
|
40
|
+
source: string;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export namespace IdentityRetrieveCredentialsResponse {
|
|
@@ -45,43 +45,43 @@ export namespace IdentityRetrieveCredentialsResponse {
|
|
|
45
45
|
/**
|
|
46
46
|
* The password of the credential
|
|
47
47
|
*/
|
|
48
|
-
password
|
|
48
|
+
password: string;
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* The type of credential
|
|
52
52
|
*/
|
|
53
|
-
type
|
|
53
|
+
type: 'username_password';
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* The username of the credential
|
|
57
57
|
*/
|
|
58
|
-
username
|
|
58
|
+
username: string;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
export interface AuthenticatorCredentialSchema {
|
|
62
62
|
/**
|
|
63
63
|
* The OTP of the credential
|
|
64
64
|
*/
|
|
65
|
-
otp
|
|
65
|
+
otp: string;
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
68
|
* The secret of the credential
|
|
69
69
|
*/
|
|
70
|
-
secret
|
|
70
|
+
secret: string;
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* The type of credential
|
|
74
74
|
*/
|
|
75
|
-
type
|
|
75
|
+
type: 'authenticator';
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
export interface CustomCredentialSchema {
|
|
79
|
-
fields
|
|
79
|
+
fields: Array<CustomCredentialSchema.Field>;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* The type of credential
|
|
83
83
|
*/
|
|
84
|
-
type
|
|
84
|
+
type: 'custom';
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
export namespace CustomCredentialSchema {
|
|
@@ -89,12 +89,12 @@ export namespace IdentityRetrieveCredentialsResponse {
|
|
|
89
89
|
/**
|
|
90
90
|
* The name of the field
|
|
91
91
|
*/
|
|
92
|
-
name
|
|
92
|
+
name: string;
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* The value of the field
|
|
96
96
|
*/
|
|
97
|
-
value
|
|
97
|
+
value: string;
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
}
|
|
@@ -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"}
|