@@ -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 ) ;
@@ -2085,21 +2086,18 @@ export class LitNodeClientNodeJs
20852086 getSessionSigs = async (
20862087 params : GetSessionSigsProps
20872088 ) : Promise < SessionSigsMap > => {
2088-
20892089 // -- prepare
20902090 // Try to get it from local storage, if not generates one~
20912091 const sessionKey = params . sessionKey ?? this . getSessionKey ( ) ;
20922092
20932093 const sessionKeyUri = this . getSessionKeyUri ( sessionKey . publicKey ) ;
20942094
20952095 // First get or generate the session capability object for the specified resources.
2096- const sessionCapabilityObject = params . sessionCapabilityObject
2096+ const sessionCapabilityObject = params . sessionCapabilityObject
20972097 ? params . sessionCapabilityObject
20982098 : await this . generateSessionCapabilityObjectWithWildcards (
2099- params . resourceAbilityRequests . map ( (
2100- r
2101- ) => r . resource )
2102- ) ;
2099+ params . resourceAbilityRequests . map ( ( r ) => r . resource )
2100+ ) ;
21032101 const expiration = params . expiration || LitNodeClientNodeJs . getExpiration ( ) ;
21042102
21052103 // -- (TRY) to get the wallet signature
@@ -2182,10 +2180,10 @@ export class LitNodeClientNodeJs
21822180
21832181 const capabilities = params . capacityDelegationAuthSig
21842182 ? [
2185- ...( params . capabilityAuthSigs ?? [ ] ) ,
2186- params . capacityDelegationAuthSig ,
2187- authSig ,
2188- ]
2183+ ...( params . capabilityAuthSigs ?? [ ] ) ,
2184+ params . capacityDelegationAuthSig ,
2185+ authSig ,
2186+ ]
21892187 : [ ...( params . capabilityAuthSigs ?? [ ] ) , authSig ] ;
21902188
21912189 const signingTemplate = {
0 commit comments