@umituz/react-native-subscription 2.27.49 → 2.27.50

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.27.49",
3
+ "version": "2.27.50",
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",
@@ -57,8 +57,6 @@ export interface UserCreditsDocumentRead {
57
57
  // Credits
58
58
  credits: number;
59
59
  creditLimit?: number;
60
- initialFreeCredits?: number;
61
- isFreeCredits?: boolean;
62
60
 
63
61
  // Metadata
64
62
  purchaseSource?: PurchaseSource;
@@ -129,8 +129,6 @@ export async function initializeCreditsTransaction(
129
129
  status,
130
130
  credits: newCredits,
131
131
  creditLimit,
132
- // Clear free credits flag when user becomes premium
133
- isFreeCredits: false,
134
132
  purchasedAt,
135
133
  lastUpdatedAt: now,
136
134
  lastPurchaseAt: isNewPurchaseOrRenewal ? now : (existingData?.lastPurchaseAt ?? now),