@umituz/react-native-ai-generation-content 1.65.10 → 1.65.11
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.65.
|
|
3
|
+
"version": "1.65.11",
|
|
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",
|
|
@@ -45,8 +45,8 @@ export class CreationsRepository
|
|
|
45
45
|
|
|
46
46
|
const documentMapper = options?.documentMapper ?? mapDocumentToCreation;
|
|
47
47
|
|
|
48
|
-
// Initialize with
|
|
49
|
-
this.pathResolver = new FirestorePathResolver(collectionName,
|
|
48
|
+
// Initialize with Firestore database instance from BaseRepository
|
|
49
|
+
this.pathResolver = new FirestorePathResolver(collectionName, this.getDb());
|
|
50
50
|
this.fetcher = new CreationsFetcher(this.pathResolver, documentMapper);
|
|
51
51
|
this.writer = new CreationsWriter(this.pathResolver);
|
|
52
52
|
}
|