@uploadista/react-native-core 0.0.17 → 0.0.18-beta.10
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 +5 -5
- package/src/hooks/use-flow.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uploadista/react-native-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18-beta.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Core React Native client for Uploadista",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"uuid": "^13.0.0",
|
|
17
17
|
"js-base64": "^3.7.7",
|
|
18
|
-
"@uploadista/core": "0.0.
|
|
19
|
-
"@uploadista/client-core": "0.0.
|
|
18
|
+
"@uploadista/core": "0.0.18-beta.10",
|
|
19
|
+
"@uploadista/client-core": "0.0.18-beta.10"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"react": ">=16.8.0",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/react": ">=18.0.0",
|
|
33
|
-
"tsdown": "0.16.
|
|
34
|
-
"@uploadista/typescript-config": "0.0.
|
|
33
|
+
"tsdown": "0.16.8",
|
|
34
|
+
"@uploadista/typescript-config": "0.0.18-beta.10"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "tsdown",
|
package/src/hooks/use-flow.ts
CHANGED
|
@@ -24,8 +24,8 @@ export interface FlowInputMetadata {
|
|
|
24
24
|
nodeName: string;
|
|
25
25
|
/** Node description explaining what input is needed */
|
|
26
26
|
nodeDescription: string;
|
|
27
|
-
/** Input node
|
|
28
|
-
|
|
27
|
+
/** Input type ID from inputTypeRegistry - describes how clients interact with this node */
|
|
28
|
+
inputTypeId?: string;
|
|
29
29
|
/** Whether this input is required */
|
|
30
30
|
required: boolean;
|
|
31
31
|
}
|
|
@@ -299,7 +299,7 @@ export function useFlow(options: UseFlowOptions): UseFlowReturn {
|
|
|
299
299
|
nodeId: node.id,
|
|
300
300
|
nodeName: node.name,
|
|
301
301
|
nodeDescription: node.description,
|
|
302
|
-
|
|
302
|
+
inputTypeId: node.inputTypeId,
|
|
303
303
|
required: true,
|
|
304
304
|
}));
|
|
305
305
|
|