Skip to content

Commit

Permalink
auth: Session.singleSigner can use any SapientSigner
Browse files Browse the repository at this point in the history
  • Loading branch information
attente committed Oct 31, 2023
1 parent 0216656 commit 4b6d771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/auth/src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { jwtDecodeClaims } from '@0xsequence/utils'
import { Account } from '@0xsequence/account'
import { ethers } from 'ethers'
import { tracker, trackers } from '@0xsequence/sessions'
import { Orchestrator } from '@0xsequence/signhub'
import { Orchestrator, signers } from '@0xsequence/signhub'
import { migrator } from '@0xsequence/migration'
import { commons, universal, v1 } from '@0xsequence/core'
import { Services, ServicesSettings, SessionJWT, SessionMeta } from './services'
Expand Down Expand Up @@ -72,7 +72,7 @@ export class Session {

static async singleSigner(args: {
settings?: Partial<SessionSettings>
signer: ethers.Signer
signer: ethers.Signer | signers.SapientSigner
selectWallet?: (wallets: string[]) => Promise<string | undefined>
onMigration?: (account: Account) => Promise<boolean>
editConfigOnMigration?: (config: commons.config.Config) => commons.config.Config
Expand Down

0 comments on commit 4b6d771

Please sign in to comment.