@umituz/react-native-subscription 2.2.34 → 2.2.35
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 +1 -1
- package/src/index.ts +12 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-subscription",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.35",
|
|
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",
|
package/src/index.ts
CHANGED
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
// DOMAIN LAYER - Errors
|
|
10
10
|
// =============================================================================
|
|
11
11
|
|
|
12
|
+
// =============================================================================
|
|
13
|
+
// BROKEN EXPORTS - Files missing
|
|
14
|
+
// =============================================================================
|
|
15
|
+
|
|
16
|
+
/*
|
|
12
17
|
export {
|
|
13
18
|
SubscriptionError,
|
|
14
19
|
SubscriptionRepositoryError,
|
|
@@ -16,10 +21,6 @@ export {
|
|
|
16
21
|
SubscriptionConfigurationError,
|
|
17
22
|
} from "./domain/errors/SubscriptionError";
|
|
18
23
|
|
|
19
|
-
// =============================================================================
|
|
20
|
-
// DOMAIN LAYER - Entities
|
|
21
|
-
// =============================================================================
|
|
22
|
-
|
|
23
24
|
export {
|
|
24
25
|
createDefaultSubscriptionStatus,
|
|
25
26
|
isSubscriptionValid,
|
|
@@ -28,17 +29,9 @@ export type { SubscriptionStatus } from "./domain/entities/SubscriptionStatus";
|
|
|
28
29
|
|
|
29
30
|
export type { SubscriptionConfig } from "./domain/value-objects/SubscriptionConfig";
|
|
30
31
|
|
|
31
|
-
// =============================================================================
|
|
32
|
-
// APPLICATION LAYER - Ports
|
|
33
|
-
// =============================================================================
|
|
34
|
-
|
|
35
32
|
export type { ISubscriptionRepository } from "./application/ports/ISubscriptionRepository";
|
|
36
33
|
export type { ISubscriptionService } from "./application/ports/ISubscriptionService";
|
|
37
34
|
|
|
38
|
-
// =============================================================================
|
|
39
|
-
// INFRASTRUCTURE LAYER - Services
|
|
40
|
-
// =============================================================================
|
|
41
|
-
|
|
42
35
|
export {
|
|
43
36
|
SubscriptionService,
|
|
44
37
|
initializeSubscriptionService,
|
|
@@ -46,14 +39,6 @@ export {
|
|
|
46
39
|
resetSubscriptionService,
|
|
47
40
|
} from "./infrastructure/services/SubscriptionService";
|
|
48
41
|
|
|
49
|
-
// Feedback
|
|
50
|
-
export * from "./presentation/components/feedback/PaywallFeedbackModal";
|
|
51
|
-
export * from "./presentation/hooks/feedback/usePaywallFeedback";
|
|
52
|
-
|
|
53
|
-
// =============================================================================
|
|
54
|
-
// PRESENTATION LAYER - Hooks
|
|
55
|
-
// =============================================================================
|
|
56
|
-
|
|
57
42
|
export { useSubscription } from "./presentation/hooks/useSubscription";
|
|
58
43
|
export type { UseSubscriptionResult } from "./presentation/hooks/useSubscription";
|
|
59
44
|
|
|
@@ -86,6 +71,11 @@ export {
|
|
|
86
71
|
type UseUserTierWithRepositoryResult,
|
|
87
72
|
type AuthProvider,
|
|
88
73
|
} from "./presentation/hooks/useUserTierWithRepository";
|
|
74
|
+
*/
|
|
75
|
+
|
|
76
|
+
// Feedback
|
|
77
|
+
export * from "./presentation/components/feedback/PaywallFeedbackModal";
|
|
78
|
+
export * from "./presentation/hooks/feedback/usePaywallFeedback";
|
|
89
79
|
|
|
90
80
|
// =============================================================================
|
|
91
81
|
// PRESENTATION LAYER - Paywall Components
|
|
@@ -157,10 +147,12 @@ export {
|
|
|
157
147
|
// UTILS - Date & Price
|
|
158
148
|
// =============================================================================
|
|
159
149
|
|
|
150
|
+
/*
|
|
160
151
|
export {
|
|
161
152
|
isSubscriptionExpired,
|
|
162
153
|
getDaysUntilExpiration,
|
|
163
154
|
} from "./utils/dateValidationUtils";
|
|
155
|
+
*/
|
|
164
156
|
|
|
165
157
|
export { formatPrice } from "./utils/priceUtils";
|
|
166
158
|
|