Skip to content

Commit

Permalink
Adjust signer type from p256 to key with secp256r1 key type
Browse files Browse the repository at this point in the history
  • Loading branch information
ilikesymmetry committed Aug 30, 2024
1 parent d1428fb commit 3fd14e6
Show file tree
Hide file tree
Showing 3 changed files with 20,269 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/pages/guides/session-keys.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,9 @@ function App() {
chainId: 84532, // [!code hl]
expiry: 17218875770, // [!code hl]
signer: { // [!code hl]
type: "p256", // [!code hl]
type: "key", // [!code hl]
data: { // [!code hl]
type: "secp256r1", // [!code hl]
publicKey: newCredential.publicKey, // [!code hl]
}, // [!code hl]
}, // [!code hl]
Expand Down Expand Up @@ -374,8 +375,9 @@ export function App() {
chainId: 84532,
expiry: 17218875770,
signer: {
type: "p256",
type: "key",
data: {
type: "secp256r1",
publicKey: newCredential.publicKey,
},
},
Expand Down
Loading

0 comments on commit 3fd14e6

Please sign in to comment.