passkeys
passkeys copied to clipboard
Check whether `CredentialsProvider` has a `default` field
This is breaking for our usage, because CredentialsProvider.default
is undefined.
I've encountered this default
issue myself with a few libraries, where the presence of default
depends on what I'm running the code with (e.g. tsx
vs bun
), and this 'default' in FooBar
check has worked well for me!