@expo/serve-sim 0.3.1 → 0.3.3
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 +7 -3
- package/dist/middleware.js +110 -98
- package/dist/native/serve-sim-native.node +0 -0
- package/dist/serve-sim.js +149 -137
- package/package.json +1 -1
- package/src/middleware.ts +183 -71
package/README.md
CHANGED
|
@@ -18,9 +18,10 @@ https://github.com/user-attachments/assets/fbf890f4-c8c7-4684-82be-d677b8a188f8
|
|
|
18
18
|
- Low-latency SimulatorKit capture with a 60 Hz IOSurface seed poll and configurable WebRTC cadence.
|
|
19
19
|
- Swipe from the bottom to go home.
|
|
20
20
|
- gestures like pinch to zoom by holding the option key.
|
|
21
|
-
- Simulator logs
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
- Simulator logs live in the Logs drawer in the preview, and `serve-sim` also
|
|
22
|
+
serves them at `/.sim/logs` for tools that send the session bearer token.
|
|
23
|
+
Forwarding this high-volume stream to the browser console is opt in: append
|
|
24
|
+
`?logs=1` to the preview URL.
|
|
24
25
|
- Recent simulator actions are available in the browser tools panel and `serve-sim event-log`.
|
|
25
26
|
- Drag and drop videos and images to add them to the simulator device.
|
|
26
27
|
- Keyboard commands and hot keys are forwarded to the simulator, including CMD+SHIFT+H to go home.
|
|
@@ -161,6 +162,9 @@ continue to support multiple viewers as well.
|
|
|
161
162
|
See [WebRTC architecture](docs/webrtc-architecture.md) for the current design,
|
|
162
163
|
control-channel decision, known constraints, and planned direction.
|
|
163
164
|
|
|
165
|
+
See [API](docs/api.md) for the HTTP routes, authentication, CORS and the
|
|
166
|
+
WebSocket endpoints.
|
|
167
|
+
|
|
164
168
|
### Examples
|
|
165
169
|
|
|
166
170
|
```sh
|