chore(release): publish db 0.8.21, cli 0.8.65 and seven in-flight packages
Quality / quality (ubuntu-latest) (push) Failing after 10m1s
Quality / quality (windows-latest) (push) Canceled after 0s

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:
ClintchizandClaude Opus 5 committed 2026-09-03 10:17:09 +05:30
1 parent b807f7b5a7
commit 06433e4ac4
28 files changed
+194 -43

No files matched your search

+14
View File
@@ -108,6 +108,20 @@ test("submitting [data-room-send] sends JSON and clears reset fields", () => {
expect((inputs[1] as unknown as HTMLInputElement).value).toBe("");
});
test("data-room-refresh softly refreshes and emits a browser event", async () => {
const win = boot(`<div data-room="updates" data-room-refresh></div>`) as unknown as Window & {
__wrnexusRefresh: () => void;
};
let events = 0;
let refreshes = 0;
win.addEventListener("wrnexus:realtime", () => events++);
win.__wrnexusRefresh = () => refreshes++;
sockets[0]!.fireMessage({ type: "invalidate", resource: "messages" });
await Bun.sleep(300);
expect(events).toBe(1);
expect(refreshes).toBe(1);
});
test("programmatic wrn.room() sends and receives", () => {
const win = boot(`<div></div>`) as unknown as Window & {
wrn: {