Skip to content

Commit 40438d1

Browse files
add back pkps array
Signed-off-by: Robert Mads Christensen <[email protected]>
1 parent 7072b98 commit 40438d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/lit-auth-client/src/lib/providers/BaseProvider.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ export abstract class BaseProvider {
195195
authMethodType,
196196
authMethodId
197197
);
198+
const pkps: IRelayPKP[] = [];
198199
for (const tokenId of tokenIds) {
199200
const pubkey = await pkpPermissions.read.getPubkey(tokenId);
200201
if (pubkey) {
@@ -206,6 +207,7 @@ export abstract class BaseProvider {
206207
});
207208
}
208209
}
210+
return pkps;
209211
} catch (error) {
210212
console.error("Failed to fetch PKPs from contract:", error);
211213
}

0 commit comments

Comments
 (0)