All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- resolver: Auto-resolve identity and attestation data from a repository URL via new
repoattribute. No more manual JSON —<auths-verify repo="https://github.com/user/repo">just works. - resolver:
forgeattribute to override auto-detection of forge type (github,gitea,gitlab). - resolver:
identityattribute to filter to a specific DID when a repository has multiple identities. - resolver: GitHub adapter — resolves
refs/auths/identityandrefs/auths/devices/nodes/*/via GitHub REST API, extracts public key fromdid:key:z..., reads attestation chain. - resolver: Gitea adapter — mirrors GitHub adapter with
/api/v1/prefix and configurable base URL for self-hosted instances. - resolver: GitLab stub — returns descriptive error explaining GitLab does not expose custom Git refs via its REST API.
- resolver: Pure TypeScript
did:key:z...to Ed25519 public key hex extraction (inline base58btc decoder, multicodec prefix stripping). Runs before WASM loads. - resolver: URL parser with auto-detection:
github.com→ GitHub,gitlab.com→ GitLab, unknown hosts → Gitea. - resolver: In-memory cache with 5-minute TTL prevents redundant API calls when multiple widgets point to the same repo.
- resolver: Dynamic import (
import('./resolvers/index')) — zero bundle size impact whenrepoattribute is not used. - resolver: DID sanitization helper matching Rust
layout.rs(replace(/[^a-zA-Z0-9]/g, '_')). - tests: 29 new resolver tests —
detect.test.ts(10),did-utils.test.ts(7),github.test.ts(7),gitea.test.ts(5). - examples:
auto-resolve.htmldemonstrating therepoattribute with GitHub, Gitea, forge hints, and identity filters.
- widget:
#hasInput()now returnstruewhenrepois set, even without manualattestation/public-keydata. - widget:
verify()resolves from forge before loading WASM whenrepois set but attestation data is missing. - README: Updated quick start to recommend
repoattribute. Added new attributes to the attribute table.
- Initial release of
<auths-verify>web component. - Three display modes:
badge(default),detail(expandable chain table),tooltip(hover summary). - Three badge sizes:
sm,md,lg. - WASM-powered Ed25519 attestation chain verification via
@auths/verifier. - Dual build outputs: full bundle (WASM base64-inlined) and slim bundle (separate WASM file).
- Singleton WASM initialization with coalesced loading.
- CSS custom property theming for all states and typography.
- Accessibility:
role="status",aria-live="polite",aria-expanded, focus-visible outlines, forced-colors support. - Custom events:
auths-verified,auths-error. - JavaScript API:
verify(),getReport(). - Auto-verify on connect and attribute change (debounced).
- SVG icons for all 7 component states.