@pylonsync/react 0.3.171 → 0.3.172
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 +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -104,7 +104,7 @@ await send.mutate({ channelId, body: "Hi!" });
|
|
|
104
104
|
// Message appears in `db.useQuery("Message", ...)` before the server responds.
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
-
The framework paints the ghost into the local store, threads `ctx.id` to the server (where your handler should re-use it), and reconciles on server broadcast. See the [optimistic updates concept doc](https://pylonsync.com/
|
|
107
|
+
The framework paints the ghost into the local store, threads `ctx.id` to the server (where your handler should re-use it), and reconciles on server broadcast. See the [optimistic updates concept doc](https://docs.pylonsync.com/concepts/optimistic-updates) for the full pattern.
|
|
108
108
|
|
|
109
109
|
## Live presence + rooms
|
|
110
110
|
|
|
@@ -143,7 +143,7 @@ In browser contexts, omitting `baseUrl` falls back to `window.location.origin`
|
|
|
143
143
|
|
|
144
144
|
## With Next.js
|
|
145
145
|
|
|
146
|
-
Use [`@pylonsync/next`](https://npmjs.com/package/@pylonsync/next) for App Router server helpers, middleware, and cookie-aware auth. The full deploy story including Vercel env vars and CORS is at [pylonsync.com/
|
|
146
|
+
Use [`@pylonsync/next`](https://npmjs.com/package/@pylonsync/next) for App Router server helpers, middleware, and cookie-aware auth. The full deploy story including Vercel env vars and CORS is at [docs.pylonsync.com/operations/vercel](https://docs.pylonsync.com/operations/vercel).
|
|
147
147
|
|
|
148
148
|
## With React Native
|
|
149
149
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.172",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "src/index.ts",
|
|
9
9
|
"types": "src/index.ts",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"check": "tsc -p tsconfig.json --noEmit"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@pylonsync/sdk": "0.3.
|
|
16
|
-
"@pylonsync/sync": "0.3.
|
|
15
|
+
"@pylonsync/sdk": "0.3.172",
|
|
16
|
+
"@pylonsync/sync": "0.3.172"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"react": ">=19.0.0"
|