@@ -3,7 +3,6 @@ import type {
33 ClientJSON ,
44 ClientJSONSnapshot ,
55 ClientResource ,
6- ClientTrustState ,
76 LastAuthenticationStrategy ,
87 SignedInSessionResource ,
98 SignInResource ,
@@ -27,7 +26,6 @@ export class Client extends BaseResource implements ClientResource {
2726 cookieExpiresAt : Date | null = null ;
2827 /** Last authentication strategy used by this client; `null` when unknown/disabled. */
2928 lastAuthenticationStrategy : LastAuthenticationStrategy | null = null ;
30- clientTrustState ?: ClientTrustState = undefined ;
3129 createdAt : Date | null = null ;
3230 updatedAt : Date | null = null ;
3331
@@ -88,7 +86,6 @@ export class Client extends BaseResource implements ClientResource {
8886 this . signIn = new SignIn ( null ) ;
8987 this . lastActiveSessionId = null ;
9088 this . lastAuthenticationStrategy = null ;
91- this . clientTrustState = undefined ;
9289 this . cookieExpiresAt = null ;
9390 this . createdAt = null ;
9491 this . updatedAt = null ;
@@ -138,7 +135,6 @@ export class Client extends BaseResource implements ClientResource {
138135 this . captchaBypass = data . captcha_bypass || false ;
139136 this . cookieExpiresAt = data . cookie_expires_at ? unixEpochToDate ( data . cookie_expires_at ) : null ;
140137 this . lastAuthenticationStrategy = data . last_authentication_strategy || null ;
141- this . clientTrustState = data . client_trust_state ;
142138 this . createdAt = unixEpochToDate ( data . created_at || undefined ) ;
143139 this . updatedAt = unixEpochToDate ( data . updated_at || undefined ) ;
144140 }
@@ -157,7 +153,6 @@ export class Client extends BaseResource implements ClientResource {
157153 captcha_bypass : this . captchaBypass ,
158154 cookie_expires_at : this . cookieExpiresAt ? this . cookieExpiresAt . getTime ( ) : null ,
159155 last_authentication_strategy : this . lastAuthenticationStrategy ?? null ,
160- ...( this . clientTrustState && { client_trust_state : this . clientTrustState } ) ,
161156 created_at : this . createdAt ?. getTime ( ) ?? null ,
162157 updated_at : this . updatedAt ?. getTime ( ) ?? null ,
163158 } ;
0 commit comments