Repository navigation
Typed availability and offline browser example
- Typed read-only health, service configuration and upstream relayer configuration responses; optional fields preserve unknown availability.
- Typed pass token metadata and expanded strict TypeScript acceptance/rejection fixtures.
- Loopback-only same-origin browser fixture server, requiring Node.js 22+ and no dependencies.
- Available, disabled, missing-field, HTTP 503 and invalid-JSON demonstrations; no wallet or remote provider requests.
- 38 offline tests passed locally and on Node.js 22/24 in pull-request CI.
- TypeScript strict no-emit fixture check passed locally.
- 23 allowlisted package files; extracted package browser/SDK smoke check passed.
- Source and archives scanned for configured credentials and operational material.
Try it
Extract the source archive, then run npm run example:browser and open http://127.0.0.1:8788/.
All displayed results are synthetic; this is not a funded mainnet demo.
Verification
Pull request: #6
PR CI: https://github.com/duskmoth-dev/duskmoth-sdk/actions/runs/43707367547
Main CI: https://github.com/duskmoth-dev/duskmoth-sdk/actions/runs/43707461517
Distribution and boundaries
GitHub Releases only. Verify SHA256SUMS before installing the attached .tgz. No npm registry publication.
No SDK HTTP behavior, production CORS, wallet signing, pass costs, payment execution or hosted deployment changed.
No new dependencies, security-audit claim or general MagicBlock availability claim.