efficient-storefront-blocks 0.126.3 → 0.126.4
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/CHANGELOG.md +13 -0
- package/dist/index.js +22 -22
- package/dist/render/lib/chat-socket.d.ts +1 -0
- package/dist/render/lib/chat-socket.js +1 -1
- package/dist/routine-index.json +1 -1
- package/dist/value-index.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.126.4 — 2026-11-25 — A guest's chat socket offers its token as a subprotocol
|
|
4
|
+
|
|
5
|
+
**For hosts:** no peer change, but the backend must first be on a release
|
|
6
|
+
whose `/ws/chat/` reads `efficient-chat-guest` (efficient-backend, SG#02937):
|
|
7
|
+
an older backend refuses a guest socket opened this way. The storefront
|
|
8
|
+
re-vendors `src/` with `node scripts/sync-storefront-blocks.mjs`, then runs
|
|
9
|
+
`just check`.
|
|
10
|
+
|
|
11
|
+
- **A guest's live-chat and assistant sockets no longer put the `guest_token`
|
|
12
|
+
in the URL** (SG#02937). It is offered as
|
|
13
|
+
`Sec-WebSocket-Protocol: efficient-chat-guest, <guest_token>`, as a signed-in
|
|
14
|
+
shopper's access token already is. New export `GUEST_TOKEN_SUBPROTOCOL`.
|
|
15
|
+
|
|
3
16
|
## 0.126.3 — 2026-11-25 — A shopper's chat socket offers the access token as a subprotocol
|
|
4
17
|
|
|
5
18
|
**For hosts:** no peer change. The storefront re-vendors `src/` with
|