@umituz/react-native-subscription 2.10.14 → 2.10.16

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.14",
3
+ "version": "2.10.16",
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",
@@ -49,7 +49,7 @@ export const SubscriptionModal: React.FC<SubscriptionModalProps> = React.memo((p
49
49
  onRestore,
50
50
  title,
51
51
  subtitle,
52
- features = [],
52
+ features,
53
53
  isLoading = false,
54
54
  purchaseButtonText,
55
55
  restoreButtonText,
@@ -121,7 +121,7 @@ export const SubscriptionModal: React.FC<SubscriptionModalProps> = React.memo((p
121
121
  bestValueIdentifier={bestValueIdentifier}
122
122
  />
123
123
 
124
- {features.length > 0 && (
124
+ {features && features.length > 0 && (
125
125
  <View
126
126
  style={[
127
127
  styles.featuresSection,