@umituz/react-native-ai-generation-content 1.90.15 → 1.90.17

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.90.15",
3
+ "version": "1.90.17",
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",
@@ -56,7 +56,7 @@ export async function buildVideoInput(
56
56
  wizardData: Record<string, unknown>,
57
57
  scenario: WizardScenarioData
58
58
  ): Promise<WizardVideoInput> {
59
- const prompt = (wizardData.prompt as string | undefined) || scenario.prompt || "";
59
+ const prompt = (wizardData.prompt as string | undefined) || (scenario.prompt as string | undefined) || "";
60
60
  const input: WizardVideoInput = {
61
61
  prompt,
62
62
  sourceImageBase64: typeof wizardData.sourceImageBase64 === 'string' ? wizardData.sourceImageBase64 : undefined,