21 KiB
@better-auth/passkey
1.6.13
Patch Changes
- Updated dependencies [
d3919dc,5f282bd,43c08a2,43c08a2,be32012,87c1a0c,5c3e248,9c8ded6,23d7cbf]:- better-auth@1.6.13
- @better-auth/core@1.6.13
1.6.12
Patch Changes
-
#9746
33a3632Thanks @reslear! - fix: hotfix passkey handle undefined transports -
#9622
8907c7dThanks @bytaesu! - A WebAuthn challenge can now only be used once. Two concurrent passkey verification requests carrying the same challenge cookie can no longer both succeed; the second now fails withCHALLENGE_NOT_FOUND. Failed verification also surfaces the actual error status: a failedverifyPasskeyRegistrationreturns400 FAILED_TO_VERIFY_REGISTRATIONinstead of500 Internal Server Error, and a failedverifyPasskeyAuthenticationreturns401 AUTHENTICATION_FAILEDinstead of400 AUTHENTICATION_FAILED. -
Updated dependencies [
9bd53e1,23dbe1a,7a12072,09a1d50,a6f144a,f77060a,dcb2e6d,c92cd74,f5fcc9d,9d91eb7,a3b0c63,1b40dac,5626e1b,ad9ad82,62dabf6,276d67f,2d73fff,c5b9f93,ac96316,0a7cb70,015f96b,43cc49c,f5e29ea,1d372bb,3f8f310,83fa369,17cd433,c01b2f1,6b44606,04303a9,7bf5449,2b7937f]:- better-auth@1.6.12
- @better-auth/core@1.6.12
1.6.11
Patch Changes
- Updated dependencies [
0cbddb8,a26333b,99a254a,ee93485,5f09d56,b4bc65a,da7e50b,a1c9f3c,23094a6,142b86c,1f2ff42,b0ef96f,699b09a,e21d744]:- @better-auth/core@1.6.11
- better-auth@1.6.11
1.6.10
Patch Changes
-
#9429
ddae581Thanks @cyphercodes! - Return a handled auth cancellation when passkey autofill authentication cannot start. -
Updated dependencies [
1e0f26d,8c1e917,b2d655c,09f1327,906b7b3,e9c978e,e71aad3,80a655d,15ff28a,88a7c67,9a7b51d,1b25902,cf59136,a597ee0,fc02ced,9f1ef1f,36ef808,c1336c5,3a9a2c3,fde0432,2220a6d]:- better-auth@1.6.10
- @better-auth/core@1.6.10
1.6.9
Patch Changes
- Updated dependencies [
815ecf6]:- @better-auth/core@1.6.9
- better-auth@1.6.9
1.6.8
Patch Changes
-
#9270
a02e07cThanks @ping-maxwell! - fix(passkey): restoreexactOptionalPropertyTypes: truecompatibilityThe passkey registration endpoints emitted
use: Middleware[] | undefinedin their generated type declarations, which is not assignable toEndpointOptions.use?: Middleware[]underexactOptionalPropertyTypes: true. The plugin no longer satisfiedBetterAuthPlugin, which cascaded into lost inference onauth.api.*from unrelated plugins and onauthClient.passkey.*. The declarations now emituse: Middleware[]; runtime behavior is unchanged.Resolves #9212.
-
Updated dependencies [
856ab24,9aa8e63]:- better-auth@1.6.8
- @better-auth/core@1.6.8
1.6.7
Patch Changes
-
#5209
ec20325Thanks @ouwargui! - Includeuserin the/passkey/verify-authenticationJSON response so the body matches the endpoint's declared OpenAPI schema and the client-side{ session, user }return type. -
Updated dependencies [
307196a,4a180f0,4f373ee,e1b1cfc,d053a45]:- better-auth@1.6.7
- @better-auth/core@1.6.7
1.6.6
Patch Changes
- Updated dependencies [
b5742f9,4debfb6,9ea7eb1,a844c7d,ab4c10f,a61083e,e64ff72]:- @better-auth/core@1.6.6
- better-auth@1.6.6
1.6.5
Patch Changes
1.6.4
Patch Changes
1.6.3
Patch Changes
- Updated dependencies [
5142e9c,484ce6a,f875897,6ce30cf,f6428d0,9a6d475,513dabb,c5066fe,5f84335]:- better-auth@1.6.3
- @better-auth/core@1.6.3
1.6.2
Patch Changes
- Updated dependencies [
9deb793,2cbcb9b,b20fa42,608d8c3,8409843,e78a7b1]:- better-auth@1.6.2
- @better-auth/core@1.6.2
1.6.1
Patch Changes
1.6.0
Minor Changes
-
#8836
5dd9e44Thanks @gustavovalverde! - Add pre-auth registration flow and WebAuthn extension support for passkeys -
#8836
5dd9e44Thanks @gustavovalverde! - Add optional version field to the plugin interface and expose version from all built-in plugins
Patch Changes
-
#8836
5dd9e44Thanks @gustavovalverde! - Return correct error message strings instead of error code objects in the passkey client -
Updated dependencies [
dd537cb,bd9bd58,5dd9e44,5dd9e44,5dd9e44,5dd9e44,5dd9e44,5dd9e44,5dd9e44,5dd9e44,5dd9e44,5dd9e44,5dd9e44,5dd9e44,5dd9e44,469eee6,560230f]:- better-auth@1.6.0
- @better-auth/core@1.6.0
1.6.0-beta.0
Minor Changes
-
28b1291Thanks @gustavovalverde! - Add pre-auth registration flow and WebAuthn extension support for passkeys -
28b1291Thanks @gustavovalverde! - Add optional version field to the plugin interface and expose version from all built-in plugins
Patch Changes
-
28b1291Thanks @gustavovalverde! - Return correct error message strings instead of error code objects in the passkey client -
Updated dependencies [
28b1291,28b1291,28b1291,28b1291,28b1291,28b1291,28b1291,28b1291,28b1291,28b1291,28b1291,28b1291,28b1291]:- better-auth@1.6.0-beta.0
- @better-auth/core@1.6.0-beta.0