posthog-react-native 3.11.2 → 3.13.0
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/lib/posthog-core/src/featureFlagUtils.d.ts +34 -0
- package/lib/posthog-core/src/featureFlagUtils.js +1 -0
- package/lib/posthog-core/src/featureFlagUtils.js.map +1 -0
- package/lib/posthog-core/src/index.d.ts +44 -11
- package/lib/posthog-core/src/index.js +1 -1
- package/lib/posthog-core/src/index.js.map +1 -1
- package/lib/posthog-core/src/surveys-types.d.ts +197 -0
- package/lib/posthog-core/src/surveys-types.js +1 -0
- package/lib/posthog-core/src/surveys-types.js.map +1 -0
- package/lib/posthog-core/src/types.d.ts +110 -17
- package/lib/posthog-core/src/types.js +1 -1
- package/lib/posthog-core/src/types.js.map +1 -1
- package/lib/posthog-core/src/utils.js +1 -1
- package/lib/posthog-core/src/utils.js.map +1 -1
- package/lib/posthog-react-native/index.d.ts +1 -0
- package/lib/posthog-react-native/index.js +1 -1
- package/lib/posthog-react-native/index.js.map +1 -1
- package/lib/posthog-react-native/src/hooks/useFeatureFlag.d.ts +3 -3
- package/lib/posthog-react-native/src/native-deps.d.ts +1 -0
- package/lib/posthog-react-native/src/native-deps.js +1 -1
- package/lib/posthog-react-native/src/native-deps.js.map +1 -1
- package/lib/posthog-react-native/src/optional/OptionalReactNativeSafeArea.d.ts +2 -0
- package/lib/posthog-react-native/src/optional/OptionalReactNativeSafeArea.js +1 -0
- package/lib/posthog-react-native/src/optional/OptionalReactNativeSafeArea.js.map +1 -0
- package/lib/posthog-react-native/src/posthog-rn.d.ts +4 -0
- package/lib/posthog-react-native/src/posthog-rn.js +1 -1
- package/lib/posthog-react-native/src/posthog-rn.js.map +1 -1
- package/lib/posthog-react-native/src/surveys/PostHogSurveyProvider.d.ts +16 -0
- package/lib/posthog-react-native/src/surveys/PostHogSurveyProvider.js +1 -0
- package/lib/posthog-react-native/src/surveys/PostHogSurveyProvider.js.map +1 -0
- package/lib/posthog-react-native/src/surveys/components/BottomSection.d.ts +9 -0
- package/lib/posthog-react-native/src/surveys/components/BottomSection.js +1 -0
- package/lib/posthog-react-native/src/surveys/components/BottomSection.js.map +1 -0
- package/lib/posthog-react-native/src/surveys/components/Cancel.d.ts +6 -0
- package/lib/posthog-react-native/src/surveys/components/Cancel.js +1 -0
- package/lib/posthog-react-native/src/surveys/components/Cancel.js.map +1 -0
- package/lib/posthog-react-native/src/surveys/components/ConfirmationMessage.d.ts +13 -0
- package/lib/posthog-react-native/src/surveys/components/ConfirmationMessage.js +1 -0
- package/lib/posthog-react-native/src/surveys/components/ConfirmationMessage.js.map +1 -0
- package/lib/posthog-react-native/src/surveys/components/QuestionHeader.d.ts +7 -0
- package/lib/posthog-react-native/src/surveys/components/QuestionHeader.js +1 -0
- package/lib/posthog-react-native/src/surveys/components/QuestionHeader.js.map +1 -0
- package/lib/posthog-react-native/src/surveys/components/QuestionTypes.d.ts +27 -0
- package/lib/posthog-react-native/src/surveys/components/QuestionTypes.js +1 -0
- package/lib/posthog-react-native/src/surveys/components/QuestionTypes.js.map +1 -0
- package/lib/posthog-react-native/src/surveys/components/SurveyModal.d.ts +10 -0
- package/lib/posthog-react-native/src/surveys/components/SurveyModal.js +1 -0
- package/lib/posthog-react-native/src/surveys/components/SurveyModal.js.map +1 -0
- package/lib/posthog-react-native/src/surveys/components/Surveys.d.ts +14 -0
- package/lib/posthog-react-native/src/surveys/components/Surveys.js +1 -0
- package/lib/posthog-react-native/src/surveys/components/Surveys.js.map +1 -0
- package/lib/posthog-react-native/src/surveys/getActiveMatchingSurveys.d.ts +3 -0
- package/lib/posthog-react-native/src/surveys/getActiveMatchingSurveys.js +1 -0
- package/lib/posthog-react-native/src/surveys/getActiveMatchingSurveys.js.map +1 -0
- package/lib/posthog-react-native/src/surveys/icons.d.ts +8 -0
- package/lib/posthog-react-native/src/surveys/icons.js +1 -0
- package/lib/posthog-react-native/src/surveys/icons.js.map +1 -0
- package/lib/posthog-react-native/src/surveys/index.d.ts +6 -0
- package/lib/posthog-react-native/src/surveys/index.js +1 -0
- package/lib/posthog-react-native/src/surveys/index.js.map +1 -0
- package/lib/posthog-react-native/src/surveys/surveys-utils.d.ts +13 -0
- package/lib/posthog-react-native/src/surveys/surveys-utils.js +1 -0
- package/lib/posthog-react-native/src/surveys/surveys-utils.js.map +1 -0
- package/lib/posthog-react-native/src/surveys/useActivatedSurveys.d.ts +3 -0
- package/lib/posthog-react-native/src/surveys/useActivatedSurveys.js +1 -0
- package/lib/posthog-react-native/src/surveys/useActivatedSurveys.js.map +1 -0
- package/lib/posthog-react-native/src/surveys/useSurveyStorage.d.ts +8 -0
- package/lib/posthog-react-native/src/surveys/useSurveyStorage.js +1 -0
- package/lib/posthog-react-native/src/surveys/useSurveyStorage.js.map +1 -0
- package/lib/posthog-react-native/src/version.d.ts +1 -1
- package/lib/posthog-react-native/src/version.js +1 -1
- package/lib/posthog-react-native/tsconfig.tsbuildinfo +1 -1
- package/package.json +17 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "posthog-react-native",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.0",
|
|
4
4
|
"main": "lib/posthog-react-native/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib/"
|
|
@@ -27,25 +27,30 @@
|
|
|
27
27
|
"expo-application": "^4.0.0",
|
|
28
28
|
"expo-device": "^4.0.0",
|
|
29
29
|
"expo-file-system": "^13.0.0",
|
|
30
|
-
"expo-localization": "
|
|
30
|
+
"expo-localization": "^11.0.0",
|
|
31
31
|
"jest-expo": "^46.0.1",
|
|
32
32
|
"react": "18.2.0",
|
|
33
33
|
"react-native": "^0.69.1",
|
|
34
34
|
"react-native-device-info": "^10.3.0",
|
|
35
35
|
"react-native-navigation": "^6.0.0",
|
|
36
36
|
"react-native-localize": "^3.0.0",
|
|
37
|
-
"posthog-react-native-session-replay": "^1.0.0"
|
|
37
|
+
"posthog-react-native-session-replay": "^1.0.0",
|
|
38
|
+
"react-native-safe-area-context": "^4.10.1",
|
|
39
|
+
"react-native-svg": "^15.0.0"
|
|
38
40
|
},
|
|
39
41
|
"peerDependencies": {
|
|
40
42
|
"@react-native-async-storage/async-storage": ">=1.0.0",
|
|
41
|
-
"@react-navigation/native": ">= 5.0.
|
|
43
|
+
"@react-navigation/native": ">= 5.0.0",
|
|
42
44
|
"expo-application": ">= 4.0.0",
|
|
43
45
|
"expo-device": ">= 4.0.0",
|
|
44
46
|
"expo-file-system": ">= 13.0.0",
|
|
45
47
|
"expo-localization": ">= 11.0.0",
|
|
46
48
|
"react-native-device-info": ">= 10.0.0",
|
|
47
|
-
"react-native-navigation": ">=6.0.0",
|
|
48
|
-
"
|
|
49
|
+
"react-native-navigation": ">= 6.0.0",
|
|
50
|
+
"react-native-localize": ">= 3.0.0",
|
|
51
|
+
"posthog-react-native-session-replay": ">= 1.0.0",
|
|
52
|
+
"react-native-safe-area-context": ">= 4.0.0",
|
|
53
|
+
"react-native-svg": ">= 15.0.0"
|
|
49
54
|
},
|
|
50
55
|
"peerDependenciesMeta": {
|
|
51
56
|
"@react-native-async-storage/async-storage": {
|
|
@@ -72,8 +77,14 @@
|
|
|
72
77
|
"react-native-navigation": {
|
|
73
78
|
"optional": true
|
|
74
79
|
},
|
|
80
|
+
"react-native-localize": {
|
|
81
|
+
"optional": true
|
|
82
|
+
},
|
|
75
83
|
"posthog-react-native-session-replay": {
|
|
76
84
|
"optional": true
|
|
85
|
+
},
|
|
86
|
+
"react-native-safe-area-context": {
|
|
87
|
+
"optional": true
|
|
77
88
|
}
|
|
78
89
|
}
|
|
79
90
|
}
|