@@ -135,7 +135,8 @@ import type {
135135
136136export class LitNodeClientNodeJs
137137 extends LitCore
138- implements LitClientSessionManager , ILitNodeClient {
138+ implements LitClientSessionManager , ILitNodeClient
139+ {
139140 defaultAuthCallback ?: ( authSigParams : AuthCallbackParams ) => Promise < AuthSig > ;
140141
141142 // ========== Constructor ==========
@@ -1292,8 +1293,8 @@ export class LitNodeClientNodeJs
12921293 // -- optional params
12931294 ...( params . authMethods &&
12941295 params . authMethods . length > 0 && {
1295- authMethods : params . authMethods ,
1296- } ) ,
1296+ authMethods : params . authMethods ,
1297+ } ) ,
12971298 } ;
12981299
12991300 logWithRequestId ( requestId , 'reqBody:' , reqBody ) ;
@@ -2092,7 +2093,6 @@ export class LitNodeClientNodeJs
20922093 getSessionSigs = async (
20932094 params : GetSessionSigsProps
20942095 ) : Promise < SessionSigsMap > => {
2095-
20962096 // -- prepare
20972097 // Try to get it from local storage, if not generates one~
20982098 const sessionKey = params . sessionKey ?? this . getSessionKey ( ) ;
@@ -2103,10 +2103,8 @@ export class LitNodeClientNodeJs
21032103 const sessionCapabilityObject = params . sessionCapabilityObject
21042104 ? params . sessionCapabilityObject
21052105 : await this . generateSessionCapabilityObjectWithWildcards (
2106- params . resourceAbilityRequests . map ( (
2107- r
2108- ) => r . resource )
2109- ) ;
2106+ params . resourceAbilityRequests . map ( ( r ) => r . resource )
2107+ ) ;
21102108 const expiration = params . expiration || LitNodeClientNodeJs . getExpiration ( ) ;
21112109
21122110 // -- (TRY) to get the wallet signature
@@ -2189,10 +2187,10 @@ export class LitNodeClientNodeJs
21892187
21902188 const capabilities = params . capacityDelegationAuthSig
21912189 ? [
2192- ...( params . capabilityAuthSigs ?? [ ] ) ,
2193- params . capacityDelegationAuthSig ,
2194- authSig ,
2195- ]
2190+ ...( params . capabilityAuthSigs ?? [ ] ) ,
2191+ params . capacityDelegationAuthSig ,
2192+ authSig ,
2193+ ]
21962194 : [ ...( params . capabilityAuthSigs ?? [ ] ) , authSig ] ;
21972195
21982196 const signingTemplate = {
0 commit comments