diff --git a/package.json b/package.json index 20b8f97..9123e4f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@authsignal/node", - "version": "2.14.0", + "version": "2.15.0", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "dist/index.d.ts", diff --git a/src/config.ts b/src/config.ts index 05310cc..146f016 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,3 +1,3 @@ export const DEFAULT_API_URL = "https://api.authsignal.com/v1"; -export const VERSION = "2.14.0"; +export const VERSION = "2.15.0"; diff --git a/src/types.ts b/src/types.ts index 0923841..d7bd04f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -82,6 +82,8 @@ export interface TrackAttributes { username?: string; custom?: CustomData; challengeId?: string; + locale?: string; + customDomain?: string; } export interface TrackResponse { @@ -93,6 +95,7 @@ export interface TrackResponse { enrolledVerificationMethods?: VerificationMethod[]; allowedVerificationMethods?: VerificationMethod[]; defaultVerificationMethod?: VerificationMethod; + ruleIds?: string[]; } export interface GetActionRequest {