Skip to content

chore: bump @enbox/browser to ^0.3.9 (connect fan-out perf)#43

Merged
LiranCohen merged 1 commit into
masterfrom
chore/bump-enbox-browser-039
Apr 27, 2026
Merged

chore: bump @enbox/browser to ^0.3.9 (connect fan-out perf)#43
LiranCohen merged 1 commit into
masterfrom
chore/bump-enbox-browser-039

Conversation

@LiranCohen

Copy link
Copy Markdown
Contributor

Summary

Bumps `@enbox/browser` from `^0.3.8` to `^0.3.9`. The headline win is the transitive update of `@enbox/agent` to `0.6.8` (enboxorg/enbox#911) which parallelizes endpoint fan-out in `submitConnectResponse` with bounded concurrency, eliminating the multi-second "Authorizing…" hang during the mobile wallet connect flow.

Why this matters for nutsd

When the user scans a connect QR with their wallet, nutsd is waiting on `submitConnectResponse` to finish before it can show the PIN screen. With multiple permission grants and a tenant with multiple DWN endpoints under network load, the previous sequential fan-out caused multi-second hangs. The new bounded-concurrency fan-out keeps the spinner short while not stampeding DWN servers when either dimension grows large.

Server deployment

Not required. `@enbox/dwn-server` was not bumped (still at `0.1.3` on the registry). PR #911 was a pure client-side fix.

Test plan

  • `bun install` — lockfile resolves `@enbox/browser` to `0.3.9` and pulls `@enbox/agent@0.6.8` transitively
  • `bun run lint` — clean (`--max-warnings 0`)
  • `bun run build` — clean (PWA service worker generated)
  • `bun run test` — 312 pass / 0 fail (26 test files, 1.20s)
  • CI green
  • Manual smoke test: mobile wallet connect → PIN screen appears quickly

Companion PR

`web-wallet`: bump full `@enbox/*` set to the 0.6.8 line.

Made with Cursor

Picks up @enbox/agent@0.6.8 transitively via @enbox/browser@0.3.9.

@enbox/agent@0.6.8 (enboxorg/enbox#911) parallelizes endpoint fan-out
in submitConnectResponse with bounded concurrency, eliminating the
multi-second "Authorizing…" hang during the mobile wallet connect
flow when the tenant has many DWN endpoints or the dapp requests
many permissions.

Verified: bun install, bun run lint (clean, --max-warnings 0),
bun run build (clean), bun run test (312 pass / 0 fail across
26 test files).

Made-with: Cursor
@LiranCohen LiranCohen merged commit 2064787 into master Apr 27, 2026
3 checks passed
@LiranCohen LiranCohen deleted the chore/bump-enbox-browser-039 branch April 27, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant