@umituz/react-native-ai-generation-content 1.25.15 → 1.25.16
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.
|
|
3
|
+
"version": "1.25.16",
|
|
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",
|
|
@@ -146,7 +146,7 @@ async function executeImageGeneration(
|
|
|
146
146
|
async function convertUriToBase64(uri: string): Promise<string> {
|
|
147
147
|
try {
|
|
148
148
|
const base64 = await FileSystem.readAsStringAsync(uri, {
|
|
149
|
-
encoding:
|
|
149
|
+
encoding: 'base64',
|
|
150
150
|
});
|
|
151
151
|
return base64;
|
|
152
152
|
} catch (error) {
|