react-native-inapp-inspector 1.0.14 → 1.0.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/example/App.tsx CHANGED
@@ -17,7 +17,6 @@ import NetworkInspector, {
17
17
  ErrorBoundary,
18
18
  connectReduxStore,
19
19
  setupNetworkLogger,
20
- addAxiosInterceptors,
21
20
  subscribeNetworkLogs,
22
21
  subscribeConsoleLogs,
23
22
  logAnalyticsEvent,
@@ -130,8 +129,7 @@ function HomeScreen({ navigation }: any) {
130
129
  };
131
130
  }, []);
132
131
 
133
- // Create an Axios instance to test automatic interception of custom instances.
134
- // Note: No manual addAxiosInterceptors call is performed! It is now automatic.
132
+ // Axios client interceptors are automatically applied by setupNetworkLogger()
135
133
  const axiosClient = React.useMemo(() => axios.create({
136
134
  baseURL: 'https://jsonplaceholder.typicode.com',
137
135
  }), []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-inapp-inspector",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "A self-contained network, console, analytics, and webview inspector for React Native applications.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,7 +30,8 @@
30
30
  "scripts": {
31
31
  "build": "tsc && tsc -p tsconfig.esm.json",
32
32
  "watch": "tsc -w",
33
- "prepack": "npm run build"
33
+ "prepack": "npm run build",
34
+ "publish": "node scripts/publish.js"
34
35
  },
35
36
  "keywords": [
36
37
  "react-native",
@@ -65,11 +66,12 @@
65
66
  "@react-navigation/native": "^6.1.9",
66
67
  "@types/react": "^19.1.0",
67
68
  "@types/react-native": "^0.72.0",
69
+ "axios": "^1.7.2",
70
+ "prettier": "^2.8.8",
68
71
  "react": "19.1.0",
69
72
  "react-native": "0.81.4",
70
73
  "react-native-linear-gradient": "^2.8.3",
71
74
  "react-native-svg": "^15.14.0",
72
- "axios": "^1.7.2",
73
75
  "typescript": "^5.8.3"
74
76
  }
75
77
  }