Skip to content

Commit 0215036

Browse files
authored
Add customDomain attribute to track (#88)
* add `customDomain` attribute to track * add missing attribute
1 parent 89d9e7f commit 0215036

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
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.14.0",
3+
"version": "2.15.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.14.0";
3+
export const VERSION = "2.15.0";

src/types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ export interface TrackAttributes {
8282
username?: string;
8383
custom?: CustomData;
8484
challengeId?: string;
85+
locale?: string;
86+
customDomain?: string;
8587
}
8688

8789
export interface TrackResponse {
@@ -93,6 +95,7 @@ export interface TrackResponse {
9395
enrolledVerificationMethods?: VerificationMethod[];
9496
allowedVerificationMethods?: VerificationMethod[];
9597
defaultVerificationMethod?: VerificationMethod;
98+
ruleIds?: string[];
9699
}
97100

98101
export interface GetActionRequest {

0 commit comments

Comments
 (0)