@umituz/react-native-ai-generation-content 1.35.2 → 1.35.3

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-generation-content",
3
- "version": "1.35.2",
3
+ "version": "1.35.3",
4
4
  "description": "Provider-agnostic AI generation orchestration for React Native with result preview components",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -113,7 +113,11 @@ function getVideoFeatureType(scenarioId: string): VideoFeatureType {
113
113
  }
114
114
  }
115
115
 
116
- throw new Error(`Unknown video feature type for scenario "${scenarioId}". Add pattern to VIDEO_FEATURE_PATTERNS.`);
116
+ // Default to image-to-video for content scenarios (they take a photo and generate video)
117
+ if (typeof __DEV__ !== "undefined" && __DEV__) {
118
+ console.log("[VideoStrategy:getFeatureType] Defaulting to image-to-video for content scenario", { scenarioId });
119
+ }
120
+ return "image-to-video";
117
121
  }
118
122
 
119
123
  // ============================================================================