WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 3e92f01

Browse files
authored
Add missing field to validate session response (#77)
1 parent 4a8b3b8 commit 3e92f01

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@authsignal/node",
3-
"version": "2.9.0",
3+
"version": "2.9.1",
44
"main": "./dist/index.js",
55
"module": "./dist/index.mjs",
66
"types": "dist/index.d.ts",

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ export interface ValidateSessionRequest {
250250
export interface ValidateSessionResponse {
251251
user: {userId: string} & UserAttributes;
252252
expiresAt: number;
253+
verificationMethod: VerificationMethod;
253254
}
254255

255256
export interface RefreshSessionRequest {

0 commit comments

Comments
 (0)