Props
| Prop | Type | Required | Description |
|---|---|---|---|
| children | Snippet | yes | Svelte 5 snippet (slot content) |
| clientId | string | yes | Sunbreak client ID |
| baseUrl | string | no | API base URL (default https://api.sunbreak.com) |
| base | string | no | Alias for baseUrl |
| wallet | string | no | Active wallet address / public key |
| proof | Proof | no | SIWE, EIP-191, or Ed25519 proof |
| providerAdapter | ProviderAdapter | no | Auth provider adapter (Privy, Dynamic) |
| debug | boolean | no | Enable debug logging |
| fetchImpl | typeof fetch | no | Custom fetch implementation |
| timeoutMs | number | no | Request timeout in ms |
| refreshDeps | unknown[] | no | Dependencies that trigger re-authentication |
Proof Types
The Svelte SDK authenticates via signed message proofs. Pass one of these as theproof prop: