@umituz/react-native-ai-generation-content 1.12.42 → 1.12.43

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.12.42",
3
+ "version": "1.12.43",
4
4
  "description": "Provider-agnostic AI generation orchestration for React Native",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -202,7 +202,6 @@ export function CreationsGalleryScreen({
202
202
  onIndexChange={setViewerIndex}
203
203
  enableEditing={enableEditing}
204
204
  onImageEdit={onImageEdit}
205
- selectedCreationId={selectedCreation?.id}
206
205
  />
207
206
 
208
207
  <FilterBottomSheet
@@ -31,9 +31,8 @@ export function checkStatusForErrors(
31
31
  const hasStatusError = !!statusError;
32
32
 
33
33
  // Check logs array for ERROR/FATAL level logs
34
- const logs = Array.isArray((status as JobStatus)?.logs)
35
- ? (status as JobStatus).logs
36
- : [];
34
+ const rawLogs = (status as JobStatus)?.logs;
35
+ const logs = Array.isArray(rawLogs) ? rawLogs : [];
37
36
  const errorLogs = logs.filter((log) => {
38
37
  const level = String(log?.level || "").toUpperCase();
39
38
  return level === "ERROR" || level === "FATAL";