wasmUrl | string | https://cdn.hyperauth.dev/latest/enclave.wasm | URL of the stateless signer WASM, loaded by the Dedicated Worker. Pin to a versioned R2 URL in production builds. |
vaultWasmUrl | string | https://cdn.hyperauth.dev/latest/vault.wasm | URL of the stateful vault WASM, loaded by the SharedWorker. Pin to a versioned URL in production. |
wasmBytes | Uint8Array | — | Raw WASM bytes. Alternative to wasmUrl for environments where fetching is unavailable. |
logger | Pick<Console, 'log' | 'error' | 'warn' | 'info' | 'debug'> | console | Logger instance. All log calls are gated by debug. |
debug | boolean | false | Enable debug logging. When false, no messages are emitted through the logger. |
autoLockTimeout | number | 300000 | Milliseconds of inactivity before the vault is automatically locked. Set to 0 to disable auto-lock. The timer resets on any vault operation. |
contracts | ContractsConfig | Base Sepolia defaults | On-chain contract addresses. Defaults to defaultContracts (Base Sepolia, chain ID 84532). |