@umituz/react-native-onboarding 3.0.1 → 3.0.2
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-onboarding",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Advanced onboarding flow for React Native apps with personalization questions, theme-aware colors, animations, and customizable slides. SOLID, DRY, KISS principles applied.",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -3,16 +3,12 @@
|
|
|
3
3
|
* Single Responsibility: Async store actions
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
storageRepository,
|
|
8
|
-
StorageKey,
|
|
9
|
-
unwrap,
|
|
10
|
-
} from "@umituz/react-native-storage";
|
|
6
|
+
import { storageRepository, unwrap } from "@umituz/react-native-storage";
|
|
11
7
|
import type { OnboardingUserData } from "../../domain/entities/OnboardingUserData";
|
|
12
8
|
import type { OnboardingStoreState } from "./OnboardingStoreState";
|
|
13
9
|
|
|
14
|
-
const DEFAULT_STORAGE_KEY =
|
|
15
|
-
const USER_DATA_STORAGE_KEY = "@
|
|
10
|
+
const DEFAULT_STORAGE_KEY = "@onboarding:completed";
|
|
11
|
+
const USER_DATA_STORAGE_KEY = "@onboarding:user_data";
|
|
16
12
|
|
|
17
13
|
export interface OnboardingStoreActions {
|
|
18
14
|
initialize: (storageKey?: string) => Promise<void>;
|