@react-native/dev-middleware 0.77.0-nightly-20241002-d19a2178b → 0.77.0-nightly-20241004-309cdea33

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.
@@ -86,7 +86,7 @@ class InspectorProxy {
86
86
  return {
87
87
  id: `${deviceId}-${page.id}`,
88
88
  title: page.title,
89
- description: page.app,
89
+ description: page.description ?? page.app,
90
90
  type: "node",
91
91
  devtoolsFrontendUrl,
92
92
  webSocketDebuggerUrl: `${webSocketScheme}://${webSocketUrlWithoutProtocol}`,
@@ -45,6 +45,8 @@ export type TargetCapabilityFlags = Readonly<{
45
45
  export type PageFromDevice = Readonly<{
46
46
  id: string;
47
47
  title: string;
48
+ /** Sent from modern targets only */
49
+ description?: string;
48
50
  /** @deprecated This is sent from legacy targets only */
49
51
  vm?: string;
50
52
  app: string;
@@ -89,6 +91,7 @@ export type PageDescription = Readonly<{
89
91
  type: string;
90
92
  devtoolsFrontendUrl: string;
91
93
  webSocketDebuggerUrl: string;
94
+ /** @deprecated Prefer `title` */
92
95
  deviceName: string;
93
96
  /** @deprecated This is sent from legacy targets only */
94
97
  vm?: string;
@@ -53,6 +53,8 @@ export type TargetCapabilityFlags = $ReadOnly<{
53
53
  export type PageFromDevice = $ReadOnly<{
54
54
  id: string,
55
55
  title: string,
56
+ /** Sent from modern targets only */
57
+ description?: string,
56
58
  /** @deprecated This is sent from legacy targets only */
57
59
  vm?: string,
58
60
  app: string,
@@ -119,6 +121,7 @@ export type PageDescription = $ReadOnly<{
119
121
  webSocketDebuggerUrl: string,
120
122
 
121
123
  // React Native specific fields
124
+ /** @deprecated Prefer `title` */
122
125
  deviceName: string,
123
126
  /** @deprecated This is sent from legacy targets only */
124
127
  vm?: string,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native/dev-middleware",
3
- "version": "0.77.0-nightly-20241002-d19a2178b",
3
+ "version": "0.77.0-nightly-20241004-309cdea33",
4
4
  "description": "Dev server middleware for React Native",
5
5
  "keywords": [
6
6
  "react-native",
@@ -23,7 +23,7 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "@isaacs/ttlcache": "^1.4.1",
26
- "@react-native/debugger-frontend": "0.77.0-nightly-20241002-d19a2178b",
26
+ "@react-native/debugger-frontend": "0.77.0-nightly-20241004-309cdea33",
27
27
  "chrome-launcher": "^0.15.2",
28
28
  "chromium-edge-launcher": "^0.2.0",
29
29
  "connect": "^3.6.5",