@swipt/api 0.1.0-nightly.34 → 0.1.0-nightly.36

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.
@@ -60,7 +60,7 @@ export type AccessibilitySelector =
60
60
  | ((element: AccessibilityElement) => boolean);
61
61
 
62
62
  export interface SnapshotOptions extends CallOptions {
63
- readonly scope?: "screen" | "frontApp";
63
+ readonly scope?: "frontApp" | "screen";
64
64
  readonly full?: boolean;
65
65
  }
66
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swipt/api",
3
- "version": "0.1.0-nightly.34",
3
+ "version": "0.1.0-nightly.36",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "repository": {
6
6
  "type": "git",
@@ -59,7 +59,8 @@
59
59
  "expo": "~58.0.21",
60
60
  "expo-localization": "~58.0.5",
61
61
  "react": "19.3.0",
62
- "react-native": "0.88.1"
62
+ "react-native": "0.88.1",
63
+ "react-native-worklets": "0.13.0"
63
64
  },
64
65
  "peerDependenciesMeta": {
65
66
  "@expo/ui": {
@@ -79,6 +80,9 @@
79
80
  },
80
81
  "react-native": {
81
82
  "optional": true
83
+ },
84
+ "react-native-worklets": {
85
+ "optional": true
82
86
  }
83
87
  }
84
88
  }
package/swiplet.d.ts CHANGED
@@ -104,3 +104,5 @@ export interface ServiceHandle {
104
104
  export declare function actions<E extends Extension<any, any>>(): ActionCalls<E>;
105
105
 
106
106
  export declare function useService<E extends Extension<any, true>>(): ServiceHandle;
107
+
108
+ export declare function exit(): void;
package/swiplet.mjs CHANGED
@@ -6,3 +6,4 @@ export const defineExtension = outside;
6
6
  export const defineAction = outside;
7
7
  export const actions = outside;
8
8
  export const useService = outside;
9
+ export const exit = outside;