# Changelog

## 1.0.6

- Fixed transparent config drawer and other portaled overlays (sheet, dialog, alert) after theme tokens were scoped to `.spectre-snap` in 1.0.5. Radix portals render outside the scanner modal, so portaled surfaces now carry the `spectre-snap` root class.

## Unreleased

- Added `SpectreError`, `SpectreErrorCode`, and normalized SDK error envelope exports.
- Allowed `SpectreAuth` and `SpectreAuthModal` to omit `apiKey` when `SpectreAuthProvider` supplies it.
- Wired `baseUrl`, `fas`, `requirePose`, `showPreview`, and `redirectDelay` into each mounted scanner instance without shared runtime URL state.
- Stopped persisting full API keys as scan-mode cache keys.
- Added jsdom Vitest setup and a package `test` script.
- Scoped package tokens and removed document-level `html`, `body`, and `#root` styling from published CSS.
