@zerodev/wallet-core 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerodev/wallet-core",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "ZeroDev Wallet SDK built on Turnkey",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,6 +33,13 @@ export async function createWebauthnStamper({
33
33
  name: options.userName,
34
34
  displayName: options.userName,
35
35
  },
36
+ // Login resolves the credential with an empty allowCredentials list,
37
+ // which can only surface discoverable (resident) credentials — so the
38
+ // credential must be created as resident.
39
+ authenticatorSelection: {
40
+ residentKey: 'required',
41
+ userVerification: 'preferred',
42
+ },
36
43
  },
37
44
  })
38
45