@umituz/react-native-subscription 2.10.3 → 2.10.5

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.10.3",
3
+ "version": "2.10.5",
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",
@@ -67,4 +67,4 @@
67
67
  "README.md",
68
68
  "LICENSE"
69
69
  ]
70
- }
70
+ }
@@ -40,11 +40,14 @@ export interface PaywallModalProps {
40
40
  subscriptionTabLabel: string;
41
41
  purchaseButtonText: string;
42
42
  subscribeButtonText: string;
43
+ restoreButtonText: string;
44
+ loadingText: string;
45
+ emptyText: string;
46
+ processingText: string;
43
47
  privacyUrl?: string;
44
48
  termsUrl?: string;
45
49
  privacyText?: string;
46
50
  termsOfServiceText?: string;
47
- restoreButtonText?: string;
48
51
  }
49
52
 
50
53
  export const PaywallModal: React.FC<PaywallModalProps> = React.memo((props) => {
@@ -141,12 +144,15 @@ export const PaywallModal: React.FC<PaywallModalProps> = React.memo((props) => {
141
144
  features={subscriptionFeatures}
142
145
  isLoading={isLoading}
143
146
  purchaseButtonText={subscribeButtonText}
147
+ processingText={processingText}
148
+ restoreButtonText={restoreButtonText}
149
+ loadingText={loadingText}
150
+ emptyText={emptyText}
144
151
  onRestore={onRestore}
145
152
  privacyUrl={privacyUrl}
146
153
  termsUrl={termsUrl}
147
154
  privacyText={privacyText}
148
155
  termsOfServiceText={termsOfServiceText}
149
- restoreButtonText={restoreButtonText}
150
156
  />
151
157
  )}
152
158
  </View>