posthog-react-native 4.10.6 → 4.10.8
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/dist/types.d.ts +5 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
package/dist/types.d.ts
CHANGED
|
@@ -2,6 +2,9 @@ export type PostHogAutocaptureNavigationTrackerOptions = {
|
|
|
2
2
|
routeToName?: (name: string, params: any) => string;
|
|
3
3
|
routeToProperties?: (name: string, params: any) => Record<string, any>;
|
|
4
4
|
};
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated
|
|
7
|
+
*/
|
|
5
8
|
export type PostHogNavigationRef = {
|
|
6
9
|
getCurrentRoute(): any | undefined;
|
|
7
10
|
isReady: () => boolean;
|
|
@@ -50,6 +53,8 @@ export type PostHogAutocaptureOptions = {
|
|
|
50
53
|
/**
|
|
51
54
|
* If you create a navigation ref with createNavigationContainerRef, you need to pass the navigation ref
|
|
52
55
|
* Only used for expo-router and @react-navigation/native if captureScreens is true
|
|
56
|
+
*
|
|
57
|
+
* @deprecated this is deprecated since it didn't work as expected, check out the `captureScreens` comments for capturing screen views semi-automatically
|
|
53
58
|
*/
|
|
54
59
|
navigationRef?: PostHogNavigationRef;
|
|
55
60
|
};
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "4.10.
|
|
1
|
+
export declare const version = "4.10.8";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.version=void 0;var version=exports.version="4.10.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.version=void 0;var version=exports.version="4.10.8";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "posthog-react-native",
|
|
3
|
-
"version": "4.10.
|
|
3
|
+
"version": "4.10.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"directory": "packages/react-native"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@posthog/core": "1.5.
|
|
16
|
+
"@posthog/core": "1.5.2"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@babel/cli": "^7.19.3",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"react-native-svg": "^15.0.0",
|
|
42
42
|
"ts-jest": "29.4.0",
|
|
43
43
|
"typescript": "5.8.2",
|
|
44
|
-
"@posthog-tooling/
|
|
45
|
-
"@posthog-tooling/
|
|
44
|
+
"@posthog-tooling/tsconfig-base": "1.0.0",
|
|
45
|
+
"@posthog-tooling/rollup-utils": "1.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@react-native-async-storage/async-storage": ">=1.0.0",
|