@umituz/react-native-ai-generation-content 1.25.25 → 1.25.26

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.25.25",
3
+ "version": "1.25.26",
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",
@@ -98,7 +98,25 @@ export const GenericWizardFlow: React.FC<GenericWizardFlowProps> = ({
98
98
 
99
99
  // Ensure scenario has required fields - use feature config as fallback
100
100
  const validatedScenario = useMemo(() => {
101
+ if (typeof __DEV__ !== "undefined" && __DEV__) {
102
+ console.log("[GenericWizardFlow] Validating scenario", {
103
+ hasScenario: !!scenario,
104
+ scenarioId: scenario?.id,
105
+ hasAiPrompt: scenario?.aiPrompt !== undefined,
106
+ hasModel: !!scenario?.model,
107
+ scenarioModel: scenario?.model,
108
+ outputType: scenario?.outputType,
109
+ });
110
+ }
111
+
101
112
  if (scenario && scenario.id && scenario.aiPrompt !== undefined) {
113
+ if (typeof __DEV__ !== "undefined" && __DEV__) {
114
+ console.log("[GenericWizardFlow] Scenario validation passed", {
115
+ scenarioId: scenario.id,
116
+ model: scenario.model,
117
+ outputType: scenario.outputType,
118
+ });
119
+ }
102
120
  return scenario;
103
121
  }
104
122