@buoy-gg/network 7.0.78 → 7.0.80
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/README.md +76 -2
- package/lib/commonjs/expo-network.js +1 -0
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/index.web.js +1 -1
- package/lib/commonjs/netinfo.js +1 -0
- package/lib/commonjs/network/components/NetworkEventDetailView.js +2 -2
- package/lib/commonjs/network/components/NetworkEventDetailView.web.js +2 -2
- package/lib/commonjs/network/components/NetworkEventItemCompact.js +2 -2
- package/lib/commonjs/network/components/NetworkEventItemCompact.web.js +1 -1
- package/lib/commonjs/network/components/NetworkModal.js +1 -1
- package/lib/commonjs/network/components/sockets/NetworkSocketsButton.js +1 -0
- package/lib/commonjs/network/components/sockets/NetworkSocketsScreen.js +1 -0
- package/lib/commonjs/network/components/sockets/SocketFrameView.js +1 -0
- package/lib/commonjs/network/components/sockets/SocketListView.js +1 -0
- package/lib/commonjs/network/components/sockets/SocketRows.js +1 -0
- package/lib/commonjs/network/components/sockets/SocketTricksView.js +1 -0
- package/lib/commonjs/network/conditions/NetworkConditionsControl.js +1 -1
- package/lib/commonjs/network/conditions/NetworkConditionsControl.test.js +1 -1
- package/lib/commonjs/network/conditions/NetworkConditionsIcon.js +1 -1
- package/lib/commonjs/network/conditions/NetworkFloatingTool.js +1 -1
- package/lib/commonjs/network/conditions/NetworkFloatingTool.test.js +1 -1
- package/lib/commonjs/network/conditions/connectivity/netInfoFacade.js +1 -0
- package/lib/commonjs/network/conditions/connectivity/patchNetwork.js +1 -0
- package/lib/commonjs/network/conditions/pacer.js +1 -0
- package/lib/commonjs/network/conditions/profiles.js +1 -0
- package/lib/commonjs/network/conditions/remoteState.js +1 -0
- package/lib/commonjs/network/conditions/store.js +1 -1
- package/lib/commonjs/network/conditions/wait.js +1 -1
- package/lib/commonjs/network/conditions/xhr.js +1 -1
- package/lib/commonjs/network/hooks/useSocketsState.js +1 -0
- package/lib/commonjs/network/overrides/engine.js +1 -1
- package/lib/commonjs/network/overrides/matchRule.js +1 -1
- package/lib/commonjs/network/overrides/overrideRulesStore.js +1 -1
- package/lib/commonjs/network/sockets/findProblems.js +1 -0
- package/lib/commonjs/network/sockets/foldFrames.js +1 -0
- package/lib/commonjs/network/sockets/format.js +1 -0
- package/lib/commonjs/network/sockets/readMessage.js +1 -0
- package/lib/commonjs/network/sockets/socketMoments.js +1 -0
- package/lib/commonjs/network/sockets/socketStore.js +1 -0
- package/lib/commonjs/network/sockets/socketsSyncAdapter.js +1 -0
- package/lib/commonjs/network/sockets/types.js +1 -0
- package/lib/commonjs/network/sockets/webSocketPatch.js +1 -0
- package/lib/commonjs/network/sync/networkSyncAdapter.js +1 -1
- package/lib/commonjs/network/utils/generateNetworkCopyText.js +1 -0
- package/lib/commonjs/network/utils/networkEventStore.js +1 -1
- package/lib/commonjs/network/utils/networkListener.js +4 -4
- package/lib/commonjs/network/utils/startNetworkCapture.js +1 -1
- package/lib/commonjs/preset.js +1 -1
- package/lib/module/expo-network.js +1 -0
- package/lib/module/index.js +1 -1
- package/lib/module/index.web.js +1 -1
- package/lib/module/netinfo.js +1 -0
- package/lib/module/network/components/NetworkEventDetailView.js +2 -2
- package/lib/module/network/components/NetworkEventDetailView.web.js +2 -2
- package/lib/module/network/components/NetworkEventItemCompact.js +2 -2
- package/lib/module/network/components/NetworkEventItemCompact.web.js +1 -1
- package/lib/module/network/components/NetworkModal.js +1 -1
- package/lib/module/network/components/sockets/NetworkSocketsButton.js +1 -0
- package/lib/module/network/components/sockets/NetworkSocketsScreen.js +1 -0
- package/lib/module/network/components/sockets/SocketFrameView.js +1 -0
- package/lib/module/network/components/sockets/SocketListView.js +1 -0
- package/lib/module/network/components/sockets/SocketRows.js +1 -0
- package/lib/module/network/components/sockets/SocketTricksView.js +1 -0
- package/lib/module/network/conditions/NetworkConditionsControl.js +1 -1
- package/lib/module/network/conditions/NetworkConditionsControl.test.js +1 -1
- package/lib/module/network/conditions/NetworkConditionsIcon.js +1 -1
- package/lib/module/network/conditions/NetworkFloatingTool.js +1 -1
- package/lib/module/network/conditions/NetworkFloatingTool.test.js +1 -1
- package/lib/module/network/conditions/connectivity/netInfoFacade.js +1 -0
- package/lib/module/network/conditions/connectivity/patchNetwork.js +1 -0
- package/lib/module/network/conditions/pacer.js +1 -0
- package/lib/module/network/conditions/profiles.js +1 -0
- package/lib/module/network/conditions/remoteState.js +1 -0
- package/lib/module/network/conditions/store.js +1 -1
- package/lib/module/network/conditions/wait.js +1 -1
- package/lib/module/network/conditions/xhr.js +1 -1
- package/lib/module/network/hooks/useSocketsState.js +1 -0
- package/lib/module/network/overrides/engine.js +1 -1
- package/lib/module/network/overrides/matchRule.js +1 -1
- package/lib/module/network/overrides/overrideRulesStore.js +1 -1
- package/lib/module/network/sockets/findProblems.js +1 -0
- package/lib/module/network/sockets/foldFrames.js +1 -0
- package/lib/module/network/sockets/format.js +1 -0
- package/lib/module/network/sockets/readMessage.js +1 -0
- package/lib/module/network/sockets/socketMoments.js +1 -0
- package/lib/module/network/sockets/socketStore.js +1 -0
- package/lib/module/network/sockets/socketsSyncAdapter.js +1 -0
- package/lib/module/network/sockets/types.js +1 -0
- package/lib/module/network/sockets/webSocketPatch.js +1 -0
- package/lib/module/network/sync/networkSyncAdapter.js +1 -1
- package/lib/module/network/utils/generateNetworkCopyText.js +23 -22
- package/lib/module/network/utils/networkEventStore.js +1 -1
- package/lib/module/network/utils/networkListener.js +4 -4
- package/lib/module/network/utils/startNetworkCapture.js +1 -1
- package/lib/module/preset.js +1 -1
- package/lib/typescript/expo-network.d.ts +2 -0
- package/lib/typescript/index.d.ts +14 -2
- package/lib/typescript/index.web.d.ts +7 -2
- package/lib/typescript/netinfo.d.ts +3 -0
- package/lib/typescript/network/components/sockets/NetworkSocketsButton.d.ts +17 -0
- package/lib/typescript/network/components/sockets/NetworkSocketsScreen.d.ts +19 -0
- package/lib/typescript/network/components/sockets/SocketFrameView.d.ts +9 -0
- package/lib/typescript/network/components/sockets/SocketListView.d.ts +9 -0
- package/lib/typescript/network/components/sockets/SocketRows.d.ts +19 -0
- package/lib/typescript/network/components/sockets/SocketTricksView.d.ts +23 -0
- package/lib/typescript/network/conditions/NetworkConditionsControl.d.ts +5 -2
- package/lib/typescript/network/conditions/NetworkFloatingTool.d.ts +4 -3
- package/lib/typescript/network/conditions/connectivity/netInfoFacade.d.ts +3 -0
- package/lib/typescript/network/conditions/connectivity/patchNetwork.d.ts +24 -0
- package/lib/typescript/network/conditions/pacer.d.ts +16 -0
- package/lib/typescript/network/conditions/profiles.d.ts +57 -0
- package/lib/typescript/network/conditions/remoteState.d.ts +4 -0
- package/lib/typescript/network/conditions/store.d.ts +45 -19
- package/lib/typescript/network/conditions/xhr.d.ts +1 -1
- package/lib/typescript/network/hooks/useSocketsState.d.ts +3 -0
- package/lib/typescript/network/overrides/engine.d.ts +14 -0
- package/lib/typescript/network/overrides/matchRule.d.ts +3 -0
- package/lib/typescript/network/overrides/overrideRulesStore.d.ts +22 -0
- package/lib/typescript/network/overrides/types.d.ts +33 -0
- package/lib/typescript/network/sockets/findProblems.d.ts +31 -0
- package/lib/typescript/network/sockets/foldFrames.d.ts +50 -0
- package/lib/typescript/network/sockets/format.d.ts +19 -0
- package/lib/typescript/network/sockets/readMessage.d.ts +41 -0
- package/lib/typescript/network/sockets/socketMoments.d.ts +24 -0
- package/lib/typescript/network/sockets/socketStore.d.ts +94 -0
- package/lib/typescript/network/sockets/socketsSyncAdapter.d.ts +66 -0
- package/lib/typescript/network/sockets/types.d.ts +139 -0
- package/lib/typescript/network/sockets/webSocketPatch.d.ts +57 -0
- package/lib/typescript/network/sync/networkSyncAdapter.d.ts +29 -12
- package/lib/typescript/network/types/index.d.ts +6 -0
- package/lib/typescript/network/utils/networkListener.d.ts +10 -0
- package/lib/web/index.mjs +60 -59
- package/package.json +26 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/network",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.80",
|
|
4
4
|
"description": "In-app network inspector for React Native — requests, responses, timing & errors live, with GraphQL operation parsing. Part of Buoy devtools.",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -27,14 +27,31 @@
|
|
|
27
27
|
"./web": {
|
|
28
28
|
"types": "./lib/typescript/index.d.ts",
|
|
29
29
|
"default": "./lib/web/index.mjs"
|
|
30
|
+
},
|
|
31
|
+
"./netinfo": {
|
|
32
|
+
"types": "./lib/typescript/netinfo.d.ts",
|
|
33
|
+
"react-native": "./lib/module/netinfo.js",
|
|
34
|
+
"import": "./lib/module/netinfo.js",
|
|
35
|
+
"require": "./lib/commonjs/netinfo.js"
|
|
36
|
+
},
|
|
37
|
+
"./expo-network": {
|
|
38
|
+
"types": "./lib/typescript/expo-network.d.ts",
|
|
39
|
+
"react-native": "./lib/module/expo-network.js",
|
|
40
|
+
"import": "./lib/module/expo-network.js",
|
|
41
|
+
"require": "./lib/commonjs/expo-network.js"
|
|
30
42
|
}
|
|
31
43
|
},
|
|
32
44
|
"files": [
|
|
33
45
|
"lib"
|
|
34
46
|
],
|
|
35
|
-
"sideEffects":
|
|
47
|
+
"sideEffects": [
|
|
48
|
+
"./lib/module/netinfo.js",
|
|
49
|
+
"./lib/commonjs/netinfo.js",
|
|
50
|
+
"./lib/module/expo-network.js",
|
|
51
|
+
"./lib/commonjs/expo-network.js"
|
|
52
|
+
],
|
|
36
53
|
"dependencies": {
|
|
37
|
-
"@buoy-gg/shared-ui": "^7.0.
|
|
54
|
+
"@buoy-gg/shared-ui": "^7.0.80"
|
|
38
55
|
},
|
|
39
56
|
"peerDependencies": {
|
|
40
57
|
"react": "*"
|
|
@@ -103,6 +120,12 @@
|
|
|
103
120
|
},
|
|
104
121
|
"react-dom": {
|
|
105
122
|
"optional": true
|
|
123
|
+
},
|
|
124
|
+
"@react-native-community/netinfo": {
|
|
125
|
+
"optional": true
|
|
126
|
+
},
|
|
127
|
+
"expo-network": {
|
|
128
|
+
"optional": true
|
|
106
129
|
}
|
|
107
130
|
},
|
|
108
131
|
"scripts": {
|