This PR exposes browser's WebAuthnAbortService as a public API. It can now be imported into projects using this library:
import { WebAuthnAbortService } from '@simplewebauthn/browser';
For projects that need it, a new WebAuthnAbortService.cancelCeremony() method has been added to this service to help projects e.g. with client-side routing that need to cancel a WebAuthn registration or authentication attempt in response to a router navigation event.
This PR exposes browser's
WebAuthnAbortService
as a public API. It can now be imported into projects using this library:For projects that need it, a new
WebAuthnAbortService.cancelCeremony()
method has been added to this service to help projects e.g. with client-side routing that need to cancel a WebAuthn registration or authentication attempt in response to a router navigation event.Fixes #448.