@umituz/react-native-ai-fal-provider 1.1.3 → 1.1.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
CHANGED
|
@@ -26,7 +26,14 @@ export async function handleFalSubscription<T = unknown>(
|
|
|
26
26
|
let currentRequestId: string | null = null;
|
|
27
27
|
|
|
28
28
|
if (typeof __DEV__ !== "undefined" && __DEV__) {
|
|
29
|
-
console.log("[FalProvider] Subscribe started:", {
|
|
29
|
+
console.log("[FalProvider] Subscribe started:", {
|
|
30
|
+
model,
|
|
31
|
+
timeoutMs,
|
|
32
|
+
inputKeys: Object.keys(input),
|
|
33
|
+
hasImageUrl: !!input.image_url,
|
|
34
|
+
hasPrompt: !!input.prompt,
|
|
35
|
+
promptPreview: input.prompt ? String(input.prompt).substring(0, 50) + "..." : "N/A",
|
|
36
|
+
});
|
|
30
37
|
}
|
|
31
38
|
|
|
32
39
|
let lastStatus = "";
|
|
@@ -68,7 +75,16 @@ export async function handleFalSubscription<T = unknown>(
|
|
|
68
75
|
]);
|
|
69
76
|
|
|
70
77
|
if (typeof __DEV__ !== "undefined" && __DEV__) {
|
|
71
|
-
console.log("[FalProvider] Subscribe completed:", {
|
|
78
|
+
console.log("[FalProvider] Subscribe completed:", {
|
|
79
|
+
model,
|
|
80
|
+
requestId: currentRequestId,
|
|
81
|
+
resultKeys: result ? Object.keys(result as object) : "null",
|
|
82
|
+
hasVideo: !!(result as Record<string, unknown>)?.video,
|
|
83
|
+
hasOutput: !!(result as Record<string, unknown>)?.output,
|
|
84
|
+
hasData: !!(result as Record<string, unknown>)?.data,
|
|
85
|
+
});
|
|
86
|
+
// Log full result structure for debugging
|
|
87
|
+
console.log("[FalProvider] Result structure:", JSON.stringify(result, null, 2).substring(0, 1000));
|
|
72
88
|
}
|
|
73
89
|
|
|
74
90
|
validateNSFWContent(result as Record<string, unknown>);
|