@stacksjs/defaults 0.72.8 → 0.72.9

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.
@@ -34,9 +34,9 @@ export default new Action({
34
34
 
35
35
  const options = await generateAuthenticationOptions({
36
36
  rpID,
37
- // The JSON-vs-ArrayBuffer boundary lives in `passkeyDescriptors`; the
38
- // narrowing goes away when ts-auth b59ad36 ships.
39
- allowCredentials: passkeyDescriptors(userPasskeys) as unknown as Parameters<typeof generateAuthenticationOptions>[0]['allowCredentials'],
37
+ // `passkeyDescriptors` explains the JSON-vs-ArrayBuffer boundary; since
38
+ // ts-auth 0.4.4 the descriptor type accepts the base64url id directly.
39
+ allowCredentials: passkeyDescriptors(userPasskeys),
40
40
  }) as unknown as PublicKeyCredentialRequestOptionsJSON
41
41
 
42
42
  // Persist the challenge server-side so `VerifyAuthenticationAction`
@@ -38,9 +38,9 @@ export default new Action({
38
38
  userID: userEmail,
39
39
  userName: userEmail,
40
40
  attestationType: 'none',
41
- // See `passkeyDescriptors` for the JSON-vs-ArrayBuffer boundary; the
42
- // narrowing goes away when ts-auth b59ad36 ships.
43
- excludeCredentials: passkeyDescriptors(userPasskeys) as unknown as Parameters<typeof generateRegistrationOptions>[0]['excludeCredentials'],
41
+ // See `passkeyDescriptors` for the JSON-vs-ArrayBuffer boundary; since
42
+ // ts-auth 0.4.4 the descriptor type accepts the base64url id directly.
43
+ excludeCredentials: passkeyDescriptors(userPasskeys),
44
44
  authenticatorSelection: {
45
45
  residentKey: 'preferred',
46
46
  userVerification: 'preferred',
@@ -2,7 +2,7 @@
2
2
  "publisher": "Stacks",
3
3
  "name": "vscode-stacks",
4
4
  "displayName": "Stacks",
5
- "version": "0.72.8",
5
+ "version": "0.72.9",
6
6
  "description": "A modern Stacks development environment.",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/chrisbbreuer",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/defaults",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.72.8",
5
+ "version": "0.72.9",
6
6
  "description": "The complete managed Stacks application scaffold, including runtime defaults, AI guidance, editor metadata, and npm-backed project support files.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "dependencies": {
47
47
  "@iconify-json/f7": "^1.2.2",
48
48
  "@iconify-json/hugeicons": "^1.2.27",
49
- "@stacksjs/mobile": "^0.72.8",
49
+ "@stacksjs/mobile": "^0.72.9",
50
50
  "@stacksjs/sanitizer": "^0.2.113"
51
51
  },
52
52
  "scripts": {