@umituz/react-native-ai-generation-content 1.83.52 → 1.83.54

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,9 +1,10 @@
1
1
  {
2
2
  "name": "@umituz/react-native-ai-generation-content",
3
- "version": "1.83.52",
3
+ "version": "1.83.54",
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",
7
+ "sideEffects": false,
7
8
  "exports": {
8
9
  ".": "./src/index.ts",
9
10
  "./core": "./src/core/index.ts",
@@ -11,7 +12,8 @@
11
12
  "./content-moderation": "./src/domains/content-moderation/index.ts",
12
13
  "./creations": "./src/domains/creations/index.ts",
13
14
  "./face-detection": "./src/domains/face-detection/index.ts",
14
- "./generation": "./src/domains/generation/index.ts"
15
+ "./generation": "./src/domains/generation/index.ts",
16
+ "./package.json": "./package.json"
15
17
  },
16
18
  "files": [
17
19
  "src"
@@ -97,9 +97,9 @@ export function useAIFeatureGate(options: AIFeatureGateOptions): AIFeatureGateRe
97
97
  return false;
98
98
  }
99
99
 
100
- if (hasFirebaseUser && !isCreditsLoaded) {
100
+ if (hasFirebaseUser && !isCreditsLoaded && isCreditsLoading) {
101
101
  if (typeof __DEV__ !== "undefined" && __DEV__) {
102
- console.log("[AIFeatureGate] BLOCKED: User has Firebase account but credits not loaded yet");
102
+ console.log("[AIFeatureGate] WAITING: Credits still loading");
103
103
  }
104
104
  return false;
105
105
  }