suitest-js-api 3.5.0 → 3.6.1

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.
@@ -56,6 +56,8 @@ const KEY = {
56
56
  SUBTRACT: '[[Subtract]]',
57
57
  TAB: '[[Tab]]',
58
58
  UP_ARROW: '[[Up arrow]]',
59
+ SEARCH: '[[Search]]',
60
+ DONE: '[[Done]]',
59
61
  };
60
62
 
61
63
  Object.freeze(KEY);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suitest-js-api",
3
- "version": "3.5.0",
3
+ "version": "3.6.1",
4
4
  "main": "index.js",
5
5
  "repository": "git@github.com:SuitestAutomation/suitest-js-api.git",
6
6
  "author": "Suitest <hello@suite.st>",
@@ -56,4 +56,4 @@ interface ApplicationAbandonedChain extends
56
56
  {}
57
57
 
58
58
  type ApplicationQueryResult = string;
59
- type ApplicationEvalResult = boolean | void;
59
+ type ApplicationEvalResult = boolean | undefined;
@@ -75,4 +75,4 @@ interface BrightScriptExpressionAbandonedChain extends
75
75
  {}
76
76
 
77
77
  type BrightScriptExpressionQueryResult = string;
78
- type BrightScriptExpressionEvalResult = boolean | void;
78
+ type BrightScriptExpressionEvalResult = boolean | undefined;
@@ -10,4 +10,4 @@ export interface ClearAppDataChain extends
10
10
 
11
11
  interface ClearAppDataAbandonedChain extends AbstractChain {}
12
12
 
13
- type ClearAppDataEvalResult = void | boolean;
13
+ type ClearAppDataEvalResult = undefined | boolean;
@@ -9,4 +9,4 @@ export interface CloseAppChain extends
9
9
 
10
10
  interface CloseAppAbandonedChain extends AbstractChain {}
11
11
 
12
- type CloseAppEvalResult = void | boolean;
12
+ type CloseAppEvalResult = undefined | boolean;
@@ -71,5 +71,5 @@ interface CookieEvalModifiers<T> extends
71
71
 
72
72
  interface CookieAbandonedChain extends AbstractChain {}
73
73
 
74
- type CookieQueryResult = string | void;
75
- type CookieEvalResult = boolean | void;
74
+ type CookieQueryResult = string | undefined;
75
+ type CookieEvalResult = boolean | undefined;
@@ -151,5 +151,5 @@ interface ElementBaseEvalChain<TSelf> extends
151
151
 
152
152
  interface ElementAbandonedChain extends AbstractChain {}
153
153
 
154
- type ElementQueryResult = ElementProps | void;
155
- type ElementEvalResult = boolean | void;
154
+ type ElementQueryResult = ElementProps | undefined;
155
+ type ElementEvalResult = boolean | undefined;
@@ -9,4 +9,4 @@ export interface ExecuteBrightScriptChain extends
9
9
 
10
10
  interface ExecuteBrightScriptAbandonedChain extends AbstractChain {}
11
11
 
12
- type ExecuteBrightScriptEvalResult = boolean | void;
12
+ type ExecuteBrightScriptEvalResult = boolean | undefined;
@@ -9,4 +9,4 @@ export interface ExecuteCommandChain extends
9
9
 
10
10
  interface ExecuteCommandAbandonedChain extends AbstractChain {}
11
11
 
12
- type ExecuteCommandEvalResult = boolean | void;
12
+ type ExecuteCommandEvalResult = boolean | undefined;
@@ -75,4 +75,4 @@ interface JsExpressionAbandonedChain extends
75
75
  {}
76
76
 
77
77
  type JsExpressionQueryResult = string;
78
- type JsExpressionEvalResult = boolean | void;
78
+ type JsExpressionEvalResult = boolean | undefined;
@@ -77,4 +77,4 @@ interface LocationAbandonedChain extends
77
77
  {}
78
78
 
79
79
  type LocationQueryResult = string;
80
- type LocationEvalResult = boolean | void;
80
+ type LocationEvalResult = boolean | undefined;
@@ -35,4 +35,4 @@ interface NetworkRequestEvalChain<T> extends
35
35
 
36
36
  interface NetworkRequestAbandonedChain extends AbstractChain {}
37
37
 
38
- type NetworkRequestEvalResult = boolean | void;
38
+ type NetworkRequestEvalResult = boolean | undefined;
@@ -13,4 +13,4 @@ export interface OpenAppChain extends
13
13
 
14
14
  interface OpenAppAbandonedChain extends AbstractChain {}
15
15
 
16
- type OpenAppEvalResult = void | boolean;
16
+ type OpenAppEvalResult = undefined | boolean;
@@ -9,4 +9,4 @@ export interface OpenUrlChain extends
9
9
 
10
10
  interface OpenUrlAbandonedChain extends AbstractChain {}
11
11
 
12
- type OpenUrlEvalResult = void | boolean;
12
+ type OpenUrlEvalResult = undefined | boolean;
@@ -47,5 +47,5 @@ interface PlayStationVideoBaseEvalChain<TSelf> extends
47
47
 
48
48
  interface PlayStationVideoAbandonedChain extends AbstractChain {}
49
49
 
50
- type PlayStationVideoQueryResult = PlayStationVideoProps | void;
51
- type PlayStationVideoEvalResult = boolean | void;
50
+ type PlayStationVideoQueryResult = PlayStationVideoProps | undefined;
51
+ type PlayStationVideoEvalResult = boolean | undefined;
@@ -9,4 +9,4 @@ export interface PollUrlChain extends
9
9
 
10
10
  interface PollUrlAbandonedChain extends AbstractChain {}
11
11
 
12
- type PollUrlEvalResult = void | boolean;
12
+ type PollUrlEvalResult = undefined | boolean;
@@ -52,4 +52,4 @@ interface PositionEmptyChain extends PositionBaseEvalChain<PositionEmptyChain> {
52
52
  interface PositionAbandonedChain extends AbstractChain {}
53
53
 
54
54
  type PositionQueryResult = string;
55
- type PositionEvalResult = boolean | void;
55
+ type PositionEvalResult = boolean | undefined;
@@ -38,4 +38,4 @@ interface PressButtonEmptyChain extends PressButtonBaseEvalChain<PressButtonEmpt
38
38
  interface PressButtonAbandonedChain extends AbstractChain {}
39
39
 
40
40
  type PressButtonQueryResult = string;
41
- type PressButtonEvalResult = boolean | void;
41
+ type PressButtonEvalResult = boolean | undefined;
@@ -45,4 +45,4 @@ interface RelativePositionEmptyChain extends RelativePositionBaseEvalChain<Relat
45
45
  interface RelativePositionAbandonedChain extends AbstractChain {}
46
46
 
47
47
  type RelativePositionQueryResult = string;
48
- type RelativePositionEvalResult = boolean | void;
48
+ type RelativePositionEvalResult = boolean | undefined;
@@ -9,4 +9,4 @@ export interface SleepChain extends
9
9
 
10
10
  interface SleepAbandonedChain extends AbstractChain {}
11
11
 
12
- type SleepEvalResult = void | boolean;
12
+ type SleepEvalResult = undefined | boolean;
@@ -9,4 +9,4 @@ export interface SuspendAppChain extends
9
9
 
10
10
  interface SuspendAppAbandonedChain extends AbstractChain {}
11
11
 
12
- type SuspendAppEvalResult = void | boolean;
12
+ type SuspendAppEvalResult = undefined | boolean;
@@ -88,5 +88,5 @@ interface VideoBaseEvalChain<TSelf> extends
88
88
 
89
89
  interface VideoAbandonedChain extends AbstractChain {}
90
90
 
91
- type VideoQueryResult = ElementProps | void;
92
- type VideoEvalResult = boolean | void;
91
+ type VideoQueryResult = ElementProps | undefined;
92
+ type VideoEvalResult = boolean | undefined;
@@ -54,4 +54,4 @@ interface WindowEmptyChain extends WindowBaseEvalChain<WindowEmptyChain> {}
54
54
  interface WindowAbandonedChain extends AbstractChain {}
55
55
 
56
56
  type WindowQueryResult = string;
57
- type WindowEvalResult = boolean | void;
57
+ type WindowEvalResult = boolean | undefined;
@@ -55,4 +55,6 @@ export type Keys = {
55
55
  SUBTRACT: '[[Subtract]]',
56
56
  TAB: '[[Tab]]',
57
57
  UP_ARROW: '[[Up arrow]]',
58
+ SEARCH: '[[Search]]',
59
+ DONE: '[[Done]]',
58
60
  }