Skip to content

Commit

Permalink
Update SDKs and nvmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-stytch committed Aug 29, 2024
1 parent 735f636 commit 42d19bc
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 136 deletions.
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
1 change: 1 addition & 0 deletions components/SessionDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ function SessionDemo() {
const start = performance.now();
const resp = await fetch('/api/sessions/authenticate_jwt', { method: 'POST' });
const data = await resp.json();
console.log(data);
const end = performance.now();

setJwtMetrics({ requestTime: Math.floor(end - start), authenticateTime: data.net_ms });
Expand Down
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

0 comments on commit 42d19bc

Please sign in to comment.