diff --git a/packages/unstoppable-connector/src/index.ts b/packages/unstoppable-connector/src/index.ts index 320fc25..8ff25fa 100644 --- a/packages/unstoppable-connector/src/index.ts +++ b/packages/unstoppable-connector/src/index.ts @@ -36,8 +36,20 @@ export class UnstoppableConnector extends AbstractConnector subscriptions.forEach((s) => s.unsubscribe()) }; } - private async activateSubConnector(uauth: UAuthClass) { - const user = await uauth.user(); - + private async activateSubConnector(user: UserInfo) { if (!user.wallet_type_hint) { throw new Error('No wallet type present'); } @@ -120,6 +130,6 @@ export class UnstoppableConnector extends AbstractConnector