@umituz/react-native-subscription 2.12.24 → 2.12.25

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-subscription",
3
- "version": "2.12.24",
3
+ "version": "2.12.25",
4
4
  "description": "Complete subscription management with RevenueCat, paywall UI, and credits system for React Native apps",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -4,9 +4,9 @@
4
4
  */
5
5
 
6
6
  import { useState, useCallback } from 'react';
7
- import { getSubscriptionService } from '@infrastructure/services/SubscriptionService';
8
- import type { SubscriptionStatus } from '@domain/entities/SubscriptionStatus';
9
- import { isSubscriptionValid } from '@domain/entities/SubscriptionStatus';
7
+ import { getSubscriptionService } from '../../infrastructure/services/SubscriptionService';
8
+ import type { SubscriptionStatus } from '../../domain/entities/SubscriptionStatus';
9
+ import { isSubscriptionValid } from '../../domain/entities/SubscriptionStatus';
10
10
 
11
11
  export interface UseSubscriptionResult {
12
12
  /** Current subscription status */
@@ -27,8 +27,8 @@
27
27
  */
28
28
 
29
29
  import { useMemo } from 'react';
30
- import { getUserTierInfo } from '@utils/tierUtils';
31
- import type { UserTierInfo } from '@utils/types';
30
+ import { getUserTierInfo } from '../../utils/tierUtils';
31
+ import type { UserTierInfo } from '../../utils/types';
32
32
 
33
33
  export interface UseUserTierParams {
34
34
  /** Whether user is a guest */
@@ -13,7 +13,7 @@
13
13
  * @example
14
14
  * ```typescript
15
15
  * import { useUserTierWithRepository } from '@umituz/react-native-premium';
16
- * import { useAuth } from '@domains/auth';
16
+ * import { useAuth } from '../../domains/auth';
17
17
  * import { premiumRepository } from '@/infrastructure/repositories/PremiumRepository';
18
18
  *
19
19
  * const { tier, isPremium, isGuest, isLoading, refresh } = useUserTierWithRepository({
@@ -25,7 +25,7 @@
25
25
 
26
26
  import { useEffect, useState, useCallback } from 'react';
27
27
  import { useUserTier, type UseUserTierParams } from './useUserTier';
28
- import type { ISubscriptionRepository } from '@application/ports/ISubscriptionRepository';
28
+ import type { ISubscriptionRepository } from '../../application/ports/ISubscriptionRepository';
29
29
 
30
30
  /**
31
31
  * Auth provider interface