@umituz/react-native-subscription 3.1.12 → 3.1.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": "3.1.12",
3
+ "version": "3.1.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",
@@ -70,7 +70,7 @@
70
70
  "@typescript-eslint/eslint-plugin": "^8.50.1",
71
71
  "@typescript-eslint/parser": "^8.50.1",
72
72
  "@umituz/react-native-auth": "*",
73
- "@umituz/react-native-design-system": "^4.27.0",
73
+ "@umituz/react-native-design-system": "*",
74
74
  "@umituz/react-native-firebase": "*",
75
75
  "eslint": "^9.39.2",
76
76
  "eslint-plugin-react": "^7.37.5",
@@ -15,7 +15,7 @@
15
15
  * - READY -> READY (stays ready, shows overlays when needed)
16
16
  */
17
17
 
18
- import { createStore } from "@umituz/react-native-design-system/storage";
18
+ import { createStore, zustandStorage } from "@umituz/react-native-design-system/storage";
19
19
  import { subscriptionEventBus, FLOW_EVENTS } from "../../../shared/infrastructure/SubscriptionEventBus";
20
20
  import {
21
21
  SubscriptionFlowStatus,
@@ -29,6 +29,7 @@ export const useSubscriptionFlowStore = createStore<SubscriptionFlowState, Subsc
29
29
  name: "subscription-flow-storage",
30
30
  initialState: initialFlowState,
31
31
  persist: true,
32
+ storage: zustandStorage,
32
33
  onRehydrate: (state) => {
33
34
  if (!state.isInitialized) {
34
35
  state.setInitialized(true);