You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like there has been a regression since v0.5.8 in webauthn event handlers.
defineWebAuthnAuthenticateEventHandler and defineWebAuthnRegisterEventHandler no longer have type support in vscode and running typecheck also fails.
Since Version v0.5.8 the typescript definitions for /nuxt-auth-utils/dist/runtime/server/lib/webauthn/authenticate.d.ts and /nuxt-auth-utils/dist/runtime/server/lib/webauthn/register.d.ts are empty.
when running nuxt-module-build build this output is shown:
src/runtime/server/lib/webauthn/authenticate.ts(11,17): error TS2742: The inferred type of 'defineWebAuthnAuthenticateEventHandler' cannot be named without a reference to '.pnpm/@[email protected]/node_modules/@simplewebauthn/types'. This is likely not portable. A type annotation is necessary.
src/runtime/server/lib/webauthn/register.ts(12,17): error TS2742: The inferred type of 'defineWebAuthnRegisterEventHandler' cannot be named without a reference to '.pnpm/@[email protected]/node_modules/@simplewebauthn/types'. This is likely not portable. A type annotation is necessary.
It looks like there has been a regression since v0.5.8 in webauthn event handlers.
defineWebAuthnAuthenticateEventHandler
anddefineWebAuthnRegisterEventHandler
no longer have type support in vscode and running typecheck also fails.Since Version v0.5.8 the typescript definitions for
/nuxt-auth-utils/dist/runtime/server/lib/webauthn/authenticate.d.ts
and/nuxt-auth-utils/dist/runtime/server/lib/webauthn/register.d.ts
are empty.Here you can find the content of the authenticate.d.ts:
V0.5.7 /nuxt-auth-utils/dist/runtime/server/lib/webauthn/authenticate.d.ts
V0.5.8 /nuxt-auth-utils/dist/runtime/server/lib/webauthn/authenticate.d.ts
The text was updated successfully, but these errors were encountered: