@umituz/react-native-ai-generation-content 1.89.78 → 1.90.0

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.89.78",
3
+ "version": "1.90.0",
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",
@@ -26,7 +26,8 @@
26
26
  "typecheck": "tsc --noEmit --skipLibCheck",
27
27
  "lint": "eslint src --max-warnings 0",
28
28
  "lint:fix": "eslint src --fix",
29
- "typecheck:strict": "tsc --noEmit"
29
+ "typecheck:strict": "tsc --noEmit",
30
+ "setup:skill": "node -e \"const fs = require('fs'); const path = require('path'); const skillDir = path.join(process.env.HOME, '.claude', 'skills', 'react-native-ai-generation-content'); fs.mkdirSync(skillDir, {recursive: true}); fs.copyFileSync(path.join(__dirname, 'skills/SKILL.md'), path.join(skillDir, 'SKILL.md')); console.log('✅ @umituz/react-native-ai-generation-content setup skill installed to Claude Code!');\""
30
31
  },
31
32
  "keywords": [
32
33
  "react-native",
@@ -15,7 +15,7 @@ import { useCallback, useMemo } from "react";
15
15
  import { useOffline } from "@umituz/react-native-design-system/offline";
16
16
  import { useAuth, useAuthModalStore } from "@umituz/react-native-auth";
17
17
  import {
18
- usePremium,
18
+ usePremiumStatus,
19
19
  useCredits,
20
20
  usePaywallVisibility,
21
21
  useFeatureGate,
@@ -47,7 +47,7 @@ export function useAIFeatureGate(options: AIFeatureGateOptions): AIFeatureGateRe
47
47
  const { isOffline } = useOffline();
48
48
  const { hasFirebaseUser } = useAuth();
49
49
  const { showAuthModal } = useAuthModalStore();
50
- const { isPremium } = usePremium();
50
+ const { isPremium } = usePremiumStatus();
51
51
  const { credits, isCreditsLoaded, isLoading: isCreditsLoading } = useCredits();
52
52
  const { openPaywall } = usePaywallVisibility();
53
53
  const creditBalance = credits?.credits ?? 0;