@umituz/react-native-ai-gemini-provider 1.14.29 → 1.14.31
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-gemini-provider",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.31",
|
|
4
4
|
"description": "Google Gemini AI provider for React Native applications",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -36,15 +36,53 @@
|
|
|
36
36
|
"react-native": ">=0.74.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
+
"@expo/vector-icons": "^15.0.3",
|
|
39
40
|
"@google/generative-ai": "^0.21.0",
|
|
41
|
+
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
42
|
+
"@react-native-community/datetimepicker": "^8.6.0",
|
|
43
|
+
"@react-native-community/slider": "^5.1.1",
|
|
44
|
+
"@react-navigation/bottom-tabs": "^7.9.0",
|
|
45
|
+
"@react-navigation/native": "^7.1.26",
|
|
46
|
+
"@react-navigation/stack": "^7.6.13",
|
|
47
|
+
"@tanstack/react-query": "^5.90.16",
|
|
40
48
|
"@types/react": "~19.1.10",
|
|
41
49
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
42
50
|
"@typescript-eslint/parser": "^7.0.0",
|
|
43
|
-
"@umituz/react-native-ai-generation-content": "
|
|
51
|
+
"@umituz/react-native-ai-generation-content": "^1.17.259",
|
|
52
|
+
"@umituz/react-native-design-system": "^2.8.7",
|
|
53
|
+
"@umituz/react-native-filesystem": "^2.1.22",
|
|
54
|
+
"@umituz/react-native-location": "^1.0.9",
|
|
44
55
|
"eslint": "^8.57.0",
|
|
56
|
+
"expo-apple-authentication": "^8.0.8",
|
|
57
|
+
"expo-application": "^7.0.8",
|
|
58
|
+
"expo-auth-session": "^7.0.10",
|
|
59
|
+
"expo-clipboard": "^8.0.8",
|
|
60
|
+
"expo-crypto": "^15.0.8",
|
|
61
|
+
"expo-device": "^8.0.10",
|
|
62
|
+
"expo-file-system": "^19.0.21",
|
|
63
|
+
"expo-font": "^14.0.10",
|
|
64
|
+
"expo-haptics": "^15.0.8",
|
|
65
|
+
"expo-image": "^3.0.11",
|
|
66
|
+
"expo-image-manipulator": "^14.0.8",
|
|
67
|
+
"expo-localization": "^17.0.8",
|
|
68
|
+
"expo-media-library": "^18.2.1",
|
|
69
|
+
"expo-modules-core": "^3.0.29",
|
|
70
|
+
"expo-network": "^8.0.8",
|
|
71
|
+
"expo-secure-store": "^15.0.8",
|
|
72
|
+
"expo-sharing": "^14.0.8",
|
|
73
|
+
"expo-video": "^3.0.15",
|
|
74
|
+
"expo-web-browser": "^15.0.10",
|
|
75
|
+
"firebase": "^12.7.0",
|
|
76
|
+
"i18next": "^25.7.4",
|
|
45
77
|
"react": "19.1.0",
|
|
78
|
+
"react-i18next": "^16.5.1",
|
|
46
79
|
"react-native": "0.81.5",
|
|
47
|
-
"
|
|
80
|
+
"react-native-gesture-handler": "^2.30.0",
|
|
81
|
+
"react-native-safe-area-context": "^5.6.2",
|
|
82
|
+
"react-native-svg": "^15.15.1",
|
|
83
|
+
"rn-emoji-keyboard": "^1.7.0",
|
|
84
|
+
"typescript": "^5.3.0",
|
|
85
|
+
"zustand": "^5.0.9"
|
|
48
86
|
},
|
|
49
87
|
"publishConfig": {
|
|
50
88
|
"access": "public"
|
|
@@ -23,7 +23,10 @@ import type {
|
|
|
23
23
|
} from "../../domain/entities";
|
|
24
24
|
import { geminiImageGenerationService } from "./gemini-image-generation.service";
|
|
25
25
|
import { geminiImageEditService } from "./gemini-image-edit.service";
|
|
26
|
-
import {
|
|
26
|
+
import {
|
|
27
|
+
providerInitializer,
|
|
28
|
+
type GeminiProviderConfig,
|
|
29
|
+
} from "./provider-initializer";
|
|
27
30
|
import { jobProcessor } from "./job-processor";
|
|
28
31
|
import { generationExecutor } from "./generation-executor";
|
|
29
32
|
import { featureInputBuilder } from "./feature-input-builder";
|
|
@@ -50,6 +53,7 @@ const GEMINI_CAPABILITIES: ProviderCapabilities = {
|
|
|
50
53
|
textToVideo: true,
|
|
51
54
|
imageToVideo: true,
|
|
52
55
|
textToVoice: false,
|
|
56
|
+
textToText: true,
|
|
53
57
|
};
|
|
54
58
|
|
|
55
59
|
export class GeminiProvider implements IAIProvider {
|
|
@@ -76,7 +80,10 @@ export class GeminiProvider implements IAIProvider {
|
|
|
76
80
|
);
|
|
77
81
|
}
|
|
78
82
|
|
|
79
|
-
submitJob(
|
|
83
|
+
submitJob(
|
|
84
|
+
model: string,
|
|
85
|
+
input: Record<string, unknown>,
|
|
86
|
+
): Promise<JobSubmission> {
|
|
80
87
|
return jobProcessor.submitJob(model, input);
|
|
81
88
|
}
|
|
82
89
|
|