@umituz/react-native-subscription 2.43.15 → 2.43.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.43.15",
3
+ "version": "2.43.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",
@@ -13,6 +13,7 @@ import { PaywallFeedbackScreen } from "../../../subscription/presentation/compon
13
13
  import { PaywallFeedbackTranslations } from "../../../subscription/presentation/components/feedback/PaywallFeedbackScreen.types";
14
14
  import { PaywallTranslations, PaywallLegalUrls, SubscriptionFeature } from "../../../paywall/entities/types";
15
15
  import { usePaywallFeedbackSubmit } from "../../../../presentation/hooks/feedback/useFeedbackSubmit";
16
+ import { PaywallScreen } from "../../../paywall/components/PaywallScreen";
16
17
 
17
18
  export interface ManagedSubscriptionFlowProps {
18
19
  children: React.ReactNode;
@@ -187,10 +188,7 @@ const ManagedSubscriptionFlowInner = React.memo<ManagedSubscriptionFlowProps>(({
187
188
  });
188
189
  }
189
190
 
190
- const { PaywallScreen } = require("../../../paywall/components/PaywallScreen");
191
-
192
- // We need to wrap this in a component that can use hooks
193
- const InlinePaywall = () => {
191
+ const PostOnboardingPaywall = () => {
194
192
  const { isPremium, isSyncing, credits } = usePremiumStatus();
195
193
  const { packages } = usePremiumPackages();
196
194
  const { purchasePackage, restorePurchase } = usePremiumActions();
@@ -216,7 +214,7 @@ const ManagedSubscriptionFlowInner = React.memo<ManagedSubscriptionFlowProps>(({
216
214
  );
217
215
  };
218
216
 
219
- return <InlinePaywall />;
217
+ return <PostOnboardingPaywall />;
220
218
  }
221
219
 
222
220
  // 3. Application Content + Overlays