@umituz/react-native-subscription 2.14.72 → 2.14.74

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.14.72",
3
+ "version": "2.14.74",
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",
@@ -112,6 +112,7 @@ export const PaywallContainer: React.FC<PaywallContainerProps> = ({
112
112
  if (isAnonymous) {
113
113
  if (__DEV__) {
114
114
  console.log("[PaywallContainer] Anonymous user, storing package and requiring auth:", pkg.identifier);
115
+ console.log("[PaywallContainer] onAuthRequired is defined:", !!onAuthRequired);
115
116
  }
116
117
  // Store package for auto-purchase after auth
117
118
  setPendingPackage(pkg);
@@ -47,7 +47,6 @@ export function usePaywallOperations({
47
47
  setPendingPackage(pkg);
48
48
  setPendingSource("postOnboarding");
49
49
  onAuthRequired?.();
50
- onPaywallClose?.();
51
50
  return false;
52
51
  }
53
52
  const success = await purchasePackage(pkg);