posthog-react-native 4.41.0 → 4.41.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/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "4.41.0";
1
+ export declare const version = "4.41.2";
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.41.0";
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.version=void 0;var version=exports.version="4.41.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "posthog-react-native",
3
- "version": "4.41.0",
3
+ "version": "4.41.2",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "directory": "packages/react-native"
29
29
  },
30
30
  "dependencies": {
31
- "@posthog/core": "1.25.1"
31
+ "@posthog/core": "1.25.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@babel/cli": "^7.19.3",
@@ -67,8 +67,8 @@
67
67
  "react-native-svg": "^15.0.0",
68
68
  "ts-jest": "29.4.0",
69
69
  "typescript": "5.8.2",
70
- "@posthog-tooling/rollup-utils": "1.1.1",
71
- "@posthog-tooling/tsconfig-base": "1.1.1"
70
+ "@posthog-tooling/tsconfig-base": "1.1.1",
71
+ "@posthog-tooling/rollup-utils": "1.1.1"
72
72
  },
73
73
  "peerDependencies": {
74
74
  "@react-native-async-storage/async-storage": ">=1.0.0",
@@ -90,7 +90,7 @@ set -x -e
90
90
 
91
91
  # Execute posthog cli clone
92
92
  set +x +e
93
- CLI_CLONE_OUTPUT=$(/bin/sh -c "$PH_CLI_PATH exp hermes clone --minified-map-path $SOURCEMAP_PACKAGER_FILE --composed-map-path $SOURCEMAP_FILE" 2>&1)
93
+ CLI_CLONE_OUTPUT=$(/bin/sh -c "$PH_CLI_PATH hermes clone --minified-map-path $SOURCEMAP_PACKAGER_FILE --composed-map-path $SOURCEMAP_FILE" 2>&1)
94
94
  CLONE_EXIT_CODE=$?
95
95
  if [ $CLONE_EXIT_CODE -eq 0 ]; then
96
96
  echo "$CLI_CLONE_OUTPUT" | awk '{print "output: posthog-cli - " $0}'
@@ -102,7 +102,7 @@ set -x -e
102
102
 
103
103
  # Execute posthog cli upload
104
104
  set +x +e
105
- CLI_UPLOAD_OUTPUT=$(/bin/sh -c "$PH_CLI_PATH exp hermes upload --directory $DERIVED_FILE_DIR" 2>&1)
105
+ CLI_UPLOAD_OUTPUT=$(/bin/sh -c "$PH_CLI_PATH hermes upload --directory $DERIVED_FILE_DIR" 2>&1)
106
106
  UPLOAD_EXIT_CODE=$?
107
107
  if [ $UPLOAD_EXIT_CODE -eq 0 ]; then
108
108
  echo "$CLI_UPLOAD_OUTPUT" | awk '{print "output: posthog-cli - " $0}'
@@ -85,7 +85,7 @@ plugins.withId('com.android.application') {
85
85
  def cliPackage = resolvePostHogCliPackagePath(reactRoot)
86
86
  def args = [cliPackage]
87
87
 
88
- args.addAll(["exp", "hermes", "clone",
88
+ args.addAll(["hermes", "clone",
89
89
  "--minified-map-path", packagerSourcemapOutput, // The path to a sourcemap
90
90
  "--composed-map-path", sourcemapOutput // The path of the composed source map
91
91
  ])
@@ -107,7 +107,7 @@ plugins.withId('com.android.application') {
107
107
  def args = [cliPackage]
108
108
 
109
109
  def sourcemapDir = sourcemapOutput.getParent()
110
- args.addAll(["exp", "hermes", "upload",
110
+ args.addAll(["hermes", "upload",
111
111
  "--directory", sourcemapDir // The path to a sourcemap that should be uploaded.
112
112
  ])
113
113