@umituz/react-native-ai-fal-provider 1.0.21 → 1.0.22

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-ai-fal-provider",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "FAL AI provider for React Native - implements IAIProvider interface for unified AI generation",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -146,7 +146,7 @@ export class FalProvider implements IAIProvider {
146
146
 
147
147
  async run<T = unknown>(model: string, input: Record<string, unknown>, options?: RunOptions): Promise<T> {
148
148
  this.validateInitialization();
149
- options?.onProgress?.({ progress: 10, status: "IN_PROGRESS" });
149
+ options?.onProgress?.(10);
150
150
 
151
151
  if (typeof __DEV__ !== "undefined" && __DEV__) {
152
152
  console.log("[FalProvider] run() model:", model, "inputKeys:", Object.keys(input));
@@ -158,7 +158,7 @@ export class FalProvider implements IAIProvider {
158
158
  console.log("[FalProvider] run() completed, hasResult:", !!result);
159
159
  }
160
160
 
161
- options?.onProgress?.({ progress: 100, status: "COMPLETED" });
161
+ options?.onProgress?.(100);
162
162
  return result as T;
163
163
  }
164
164