Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SDKs and nvmrc #167

Merged
merged 2 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.10.0
v18.18.1
184 changes: 52 additions & 132 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
],
"dependencies": {
"@github/webauthn-json": "^2.0.1",
"@stytch/nextjs": "^20.3.3",
"@stytch/vanilla-js": "^4.18.1",
"@stytch/nextjs": "^21.0.0",
"@stytch/vanilla-js": "^5.2.0",
"cookies": "^0.8.0",
"next": "^12.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"stytch": "^8.3.0"
"stytch": "^11.4.1"
},
"devDependencies": {
"@types/cookies": "^0.7.7",
Expand Down
2 changes: 1 addition & 1 deletion pages/api/sessions/authenticate_jwt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function handler(req: NextApiRequest, res: NextApiResponse<Response
// Start a timer to measure authentication process time
const start = process.hrtime();
// Authenticate the session JWT. If an error is thrown the session authentication has failed.
const resp = await stytchClient.sessions.authenticateJwt(stytchSessionJWT);
const resp = await stytchClient.sessions.authenticateJwt({session_jwt: stytchSessionJWT});
// End the timer
const end = process.hrtime(start);

Expand Down