zerodevapp / sdk

MIT License
38 stars 36 forks source link

Make passkeys server request headers optional #167

Open maxisch opened 4 months ago

maxisch commented 4 months ago

Previously calls to for example toWebAuthnKey forced the user to provide passkeyServerHeaders. This was not intended. The goal was to default to an empty object without the need to explicitly do so. This PR fixes that.