Skip to content

Commit c876159

Browse files
committed
Create session via token
1 parent 4bac7bd commit c876159

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
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.18.1",
3+
"version": "2.19.0",
44
"main": "./dist/index.js",
55
"module": "./dist/index.mjs",
66
"types": "dist/index.d.ts",

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export const DEFAULT_API_URL = "https://api.authsignal.com/v1";
22

3-
export const VERSION = "2.18.1";
3+
export const VERSION = "2.19.10";

src/types.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,8 @@ export interface VerifyResponse {
251251

252252
export interface CreateSessionRequest {
253253
clientId: string;
254-
userId?: string;
255-
challengeId?: string;
256-
token?: string;
254+
token: string;
257255
action?: string;
258-
skipVerificationCheck?: boolean;
259256
}
260257

261258
export interface CreateSessionResponse {

0 commit comments

Comments
 (0)