chore(release): publish db 0.8.21, cli 0.8.65 and seven in-flight packages
Carries the rollback refusal in db and the matching CLI message, together with the auth, captcha, csr, dev-server, dev-toolbar, ui and validation changes that were already in the working tree, since publishing stages from it and those files would otherwise ship without being recorded here. @wrnexus/auth 0.8.28 -> 0.8.29 @wrnexus/captcha 0.8.15 -> 0.8.16 @wrnexus/cli 0.8.64 -> 0.8.65 @wrnexus/csr 0.8.37 -> 0.8.38 @wrnexus/db 0.8.20 -> 0.8.21 @wrnexus/dev-server 0.8.60 -> 0.8.61 @wrnexus/dev-toolbar 0.8.17 -> 0.8.18 @wrnexus/ui 0.8.75 -> 0.8.76 @wrnexus/validation 0.8.12 -> 0.8.13 Also declares Event among the browser globals captcha's client asset already lists, which was the last lint failure, and reformats four files. typecheck, lint, 1998 tests and format:check all pass. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b807f7b5a7
commit
06433e4ac4
28 files changed
+194
-43
No files matched your search
@@ -24,6 +24,7 @@ export const REALTIME_RUNTIME = String.raw`
|
||||
var wrn = (window.wrn = window.wrn || {});
|
||||
if (wrn.room) return; // already installed
|
||||
var open = {}; // normalized room+query key -> room connection
|
||||
var refreshTimer = null;
|
||||
|
||||
function normalizedQuery(query) {
|
||||
var params = new URLSearchParams(String(query || "").replace(/^\?/, ""));
|
||||
@@ -165,6 +166,16 @@ export const REALTIME_RUNTIME = String.raw`
|
||||
if (msg.type === "__open") return setStatus("connected", "is-connected");
|
||||
if (msg.type === "__close") return setStatus("disconnected", "is-disconnected");
|
||||
if (msg.type === "__error") return setStatus("error", "is-error");
|
||||
window.dispatchEvent(new window.CustomEvent("wrnexus:realtime", {
|
||||
detail: { room: name, message: msg }
|
||||
}));
|
||||
if (el.hasAttribute("data-room-refresh")) {
|
||||
clearTimeout(refreshTimer);
|
||||
refreshTimer = setTimeout(function () {
|
||||
if (typeof window.__wrnexusRefresh === "function") window.__wrnexusRefresh();
|
||||
else location.reload();
|
||||
}, Math.max(50, Number(el.getAttribute("data-room-refresh-delay") || 250)));
|
||||
}
|
||||
if (!log) return;
|
||||
var tpl = templates[msg.type];
|
||||
if (tpl == null) tpl = templates[""];
|
||||
|
||||
Reference in new issue
Block a user