@buoy-gg/time-machine 7.0.75 → 7.0.77
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 +6 -4
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -10,13 +10,15 @@ npm install @buoy-gg/core @buoy-gg/time-machine
|
|
|
10
10
|
|
|
11
11
|
## Account setup
|
|
12
12
|
|
|
13
|
-
Start in a development build
|
|
13
|
+
Start in a development build. You need a Free or Pro Buoy account. Sign in from your app's folder:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
16
|
npx --package=@buoy-gg/core buoy login
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Your browser opens buoy.gg. Click Allow. The CLI then writes a dev token. It works in dev builds for 30 days.
|
|
20
|
+
|
|
21
|
+
On Expo, the token goes in `.env.development.local`. Buoy reads it by itself in dev builds. You can also pass it in yourself:
|
|
20
22
|
|
|
21
23
|
```tsx
|
|
22
24
|
import { Buoy } from "@buoy-gg/core";
|
|
@@ -24,7 +26,7 @@ import { Buoy } from "@buoy-gg/core";
|
|
|
24
26
|
Buoy.init({ licenseKey: process.env.EXPO_PUBLIC_BUOY_KEY });
|
|
25
27
|
```
|
|
26
28
|
|
|
27
|
-
|
|
29
|
+
On React Native CLI, the token goes in `.env.local` as `BUOY_KEY`. React Native does not load that file by itself. Pass the token in with your app's own env setup. Keep the menu inside the providers used by your app. Restart the development server after installing packages. See the [Quick Start](https://buoy.gg/buoy/latest/docs/quick-start) for the complete root component.
|
|
28
30
|
|
|
29
31
|
## Use a restore point
|
|
30
32
|
|
|
@@ -55,7 +57,7 @@ See the [Time Machine guide](https://buoy.gg/buoy/latest/docs/tools/time-machine
|
|
|
55
57
|
|
|
56
58
|
## Desktop and MCP
|
|
57
59
|
|
|
58
|
-
React Native connections require `@buoy-gg/external-sync`. Follow the [Desktop connection guide](https://buoy.gg/buoy/latest/docs/desktop), sign in to Desktop separately, and confirm the selected device. [MCP](https://buoy.gg/buoy/latest/docs/mcp)
|
|
60
|
+
React Native connections require `@buoy-gg/external-sync`. Follow the [Desktop connection guide](https://buoy.gg/buoy/latest/docs/desktop), sign in to Desktop separately, and confirm the selected device. [MCP](https://buoy.gg/buoy/latest/docs/mcp) uses the sign-in from `buoy login` on your computer. Free has the basic MCP. Reading this tool from the MCP needs Pro.
|
|
59
61
|
|
|
60
62
|
Device data can travel over your LAN to the configured broker. Account validation makes network requests. See [Telemetry](https://buoy.gg/buoy/latest/docs/telemetry) for data-flow details.
|
|
61
63
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-gg/time-machine",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.77",
|
|
4
4
|
"description": "Time Machine - snapshot & restore app state (storage, redux, zustand, jotai, react-query) for React Native DevTools",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"./lib/web/**/*.mjs"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@buoy-gg/
|
|
24
|
-
"@buoy-gg/
|
|
23
|
+
"@buoy-gg/floating-tools-core": "^7.0.77",
|
|
24
|
+
"@buoy-gg/shared-ui": "^7.0.77"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@buoy-gg/license": "7.0.
|
|
27
|
+
"@buoy-gg/license": "7.0.77",
|
|
28
28
|
"react": "*"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/react": "^19.1.0",
|
|
32
32
|
"@types/react-native": "^0.73.0",
|
|
33
33
|
"typescript": "~5.8.3",
|
|
34
|
-
"@buoy-gg/
|
|
35
|
-
"@buoy-gg/
|
|
34
|
+
"@buoy-gg/core": "^7.0.77",
|
|
35
|
+
"@buoy-gg/license": "^7.0.77"
|
|
36
36
|
},
|
|
37
37
|
"react-native-builder-bob": {
|
|
38
38
|
"source": "src",
|