diff options
| author | Adam Soltys <[email protected]> | 2026-08-26 14:16:41 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-26 14:16:41 -0700 |
| commit | e18a74b936e43aeb7f74df433d88f294f9bcc877 (patch) | |
| tree | f50c34564d964555ee44a3b1e199e10240016d43 /tools/minimal-smoke.js | |
| parent | 0427a1b02c21fd5fa9f5df8a86e435dbb84a8451 (diff) | |
| download | coinosv3-e18a74b936e43aeb7f74df433d88f294f9bcc877.tar.gz coinosv3-e18a74b936e43aeb7f74df433d88f294f9bcc877.zip | |
The app arrives in movements: real ESM chunks split the bundle (entry 333KB, shared chunks alongside, 61KB of gifts/NWC/hats deferred past first paint into slots that keep their hook seniority), the lazy scripts wear IIFE coats so their names can't collide with the page's — which is what silently broke the remote-signer button — nip98 moves out of the login module so minimal builds stop hauling backup relays, and the smoke test learns the front door's new steps while the regtest stack rises from its IBD nap
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_019eA8JRq9Wr7z2fRQk99HLi
Diffstat (limited to 'tools/minimal-smoke.js')
| -rw-r--r-- | tools/minimal-smoke.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/minimal-smoke.js b/tools/minimal-smoke.js index bd0d588..f3f896c 100644 --- a/tools/minimal-smoke.js +++ b/tools/minimal-smoke.js @@ -29,7 +29,10 @@ check('no ark protocol code', !html.includes('Ark VTXO mailbox authorization')); check('no swap protocol code', !html.includes('swap/reverse')); check('no musig code', !html.includes('MuSig/noncecoef')); check('no silent-payment engine', !html.includes('BIP0352') && !html.includes('__SP_WORKER__')); -check('no nostr sync code', !html.includes('30078') && !html.includes('relay.coinos.io')); +// The sync EVENT KIND must be gone; the coinos relay hostname alone is not a +// sync marker anymore — recipient search (send-to-npub, core UX) carries +// PROFILE_RELAYS for profile lookups even in the minimal build. +check('no nostr sync code', !html.includes('30078')); const server = Bun.serve({ port: 5198, fetch: () => new Response(html, { headers: { 'content-type': 'text/html' } }) }); @@ -62,6 +65,8 @@ try { await sleep(400); console.log('\n[1] import + core wallet'); + await clickText('button', 'Get started'); // the front door gained a step + await sleep(300); await clickText('button', 'Import existing'); await sleep(200); await page.type('textarea', generateMnemonic(wordlist)); |
