@await-widget/runtime 0.0.2 → 0.0.4
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/package.json +1 -4
- package/types/bridge.d.ts +9 -0
- package/types/prop.d.ts +1 -1
- package/types/jsx-runtime.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@await-widget/runtime",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "TypeScript declarations for Await widgets.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "LitoMore",
|
|
@@ -19,9 +19,6 @@
|
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
|
21
21
|
"types": "./types/index.d.ts"
|
|
22
|
-
},
|
|
23
|
-
"./jsx-runtime": {
|
|
24
|
-
"types": "./types/jsx-runtime.d.ts"
|
|
25
22
|
}
|
|
26
23
|
},
|
|
27
24
|
"scripts": {
|
package/types/bridge.d.ts
CHANGED
|
@@ -30,6 +30,10 @@ type AwaitFoufouConfig = {
|
|
|
30
30
|
image?: string;
|
|
31
31
|
oauthToken?: string;
|
|
32
32
|
oauthTokenSecret?: string;
|
|
33
|
+
consumerKey?: string;
|
|
34
|
+
consumerSecret?: string;
|
|
35
|
+
username?: string;
|
|
36
|
+
password?: string;
|
|
33
37
|
parameters?: Record<string, string | number | boolean>;
|
|
34
38
|
};
|
|
35
39
|
export declare const AwaitNetwork: {
|
|
@@ -141,6 +145,9 @@ export declare const Await: {
|
|
|
141
145
|
config: AwaitDefineConfig<Intents, T>,
|
|
142
146
|
): AwaitDefineResult<Intents>;
|
|
143
147
|
};
|
|
148
|
+
export declare const AwaitLaunch: {
|
|
149
|
+
openApp(bundleId: string): any;
|
|
150
|
+
};
|
|
144
151
|
export declare const AwaitEnv: {
|
|
145
152
|
readonly id: string;
|
|
146
153
|
readonly tag: number;
|
|
@@ -149,6 +156,7 @@ export declare const AwaitEnv: {
|
|
|
149
156
|
};
|
|
150
157
|
type AwaitGlobal = typeof Await;
|
|
151
158
|
type AwaitEnvGlobal = typeof AwaitEnv;
|
|
159
|
+
type AwaitLaunchGlobal = typeof AwaitLaunch;
|
|
152
160
|
type AwaitUIGlobal = typeof AwaitUI;
|
|
153
161
|
type AwaitClipboardGlobal = typeof AwaitClipboard;
|
|
154
162
|
type AwaitNetworkGlobal = typeof AwaitNetwork;
|
|
@@ -167,6 +175,7 @@ type SleepGlobal = typeof sleep;
|
|
|
167
175
|
declare global {
|
|
168
176
|
const Await: AwaitGlobal;
|
|
169
177
|
const AwaitEnv: AwaitEnvGlobal;
|
|
178
|
+
const AwaitLaunch: AwaitLaunchGlobal;
|
|
170
179
|
const AwaitUI: AwaitUIGlobal;
|
|
171
180
|
const AwaitClipboard: AwaitClipboardGlobal;
|
|
172
181
|
const AwaitNetwork: AwaitNetworkGlobal;
|
package/types/prop.d.ts
CHANGED
package/types/jsx-runtime.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { jsx, jsx as jsxs, Fragment } from "await";
|