We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17830a1 commit db5c1fcCopy full SHA for db5c1fc
src/mpcCoreKit.ts
@@ -1189,6 +1189,10 @@ export class Web3AuthMPCCoreKit implements ICoreKit {
1189
}
1190
1191
private _getSignatures(sessionData: TorusKey["sessionData"]["sessionTokenData"]): string[] {
1192
+ // There is a check in torus.js which pushes undefined to session data in case
1193
+ // that particular node call fails.
1194
+ // and before returning we are not filtering out undefined vals in torus.js
1195
+ // TODO: fix this in torus.js
1196
return sessionData.filter((session) => !!session).map((session) => JSON.stringify({ data: session.token, sig: session.signature }));
1197
1198
0 commit comments