File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @authsignal/node" ,
3- "version" : " 2.15 .0" ,
3+ "version" : " 2.16 .0" ,
44 "main" : " ./dist/index.js" ,
55 "module" : " ./dist/index.mjs" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change 11export const DEFAULT_API_URL = "https://api.authsignal.com/v1" ;
22
3- export const VERSION = "2.15 .0" ;
3+ export const VERSION = "2.16 .0" ;
Original file line number Diff line number Diff line change @@ -230,6 +230,7 @@ export interface ChallengeRequest {
230230 ipAddress ?: string ;
231231 userAgent ?: string ;
232232 custom ?: CustomData ;
233+ scope ?: AuthScope ;
233234}
234235
235236export interface ChallengeResponse {
@@ -408,3 +409,10 @@ export enum VerificationFailureReason {
408409 CODE_INVALID_OR_EXPIRED = "CODE_INVALID_OR_EXPIRED" ,
409410 MAX_ATTEMPTS_EXCEEDED = "MAX_ATTEMPTS_EXCEEDED" ,
410411}
412+
413+ export enum AuthScope {
414+ readAuthenticators = "read:authenticators" ,
415+ addAuthenticators = "add:authenticators" ,
416+ removeAuthenticators = "remove:authenticators" ,
417+ updateAuthenticators = "update:authenticators" ,
418+ }
You can’t perform that action at this time.
0 commit comments