@fluxy-chat/create-fluxy-chat 0.5.1 → 0.5.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.3] - 2026-08-19
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Require `@fluxy-chat/sdk@^0.6.2` (v0.6.1 tarball was missing dist files).
|
|
8
|
+
|
|
9
|
+
## [0.5.2] - 2026-08-19
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Send `Origin` header in hosted setup script so `/demo/session` passes the `DEMO_ALLOWED_ORIGINS` guard.
|
|
14
|
+
|
|
3
15
|
## [0.5.1] - 2026-08-19
|
|
4
16
|
|
|
5
17
|
### Changed
|
package/package.json
CHANGED
|
@@ -189,7 +189,9 @@ async function setupHosted() {
|
|
|
189
189
|
|
|
190
190
|
console.log(dim(` mode: hosted · worker: ${workerUrl}`));
|
|
191
191
|
|
|
192
|
-
const
|
|
192
|
+
const cliHeaders = { Origin: consoleUrl };
|
|
193
|
+
|
|
194
|
+
const status = await getJson(workerUrl, "/demo/status", cliHeaders).catch(() => null);
|
|
193
195
|
if (!status?.ready) {
|
|
194
196
|
fail(
|
|
195
197
|
`Public demo not available at ${workerUrl}\n` +
|
|
@@ -199,7 +201,7 @@ async function setupHosted() {
|
|
|
199
201
|
}
|
|
200
202
|
ok("public demo ready");
|
|
201
203
|
|
|
202
|
-
const session = await getJson(workerUrl, "/demo/session");
|
|
204
|
+
const session = await getJson(workerUrl, "/demo/session", cliHeaders);
|
|
203
205
|
if (!session?.token || !session?.roomId) {
|
|
204
206
|
fail("/demo/session did not return token + roomId");
|
|
205
207
|
}
|