Skip to content

Commit 0fc7379

Browse files
committed
improvement for the interface of authenticate
1 parent 080cdca commit 0fc7379

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/authenticate.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ import {
55
hashMessage,
66
recoverAddress,
77
formatUnits,
8+
AbstractProvider,
89
} from 'ethers'
910
import { decode } from './decode'
1011

1112
export type ClubsFunctionAuthenticationAdminParams = {
1213
readonly signature: string
1314
readonly message: string
1415
readonly previousConfiguration: string
15-
readonly provider: ContractRunner
16+
readonly provider: AbstractProvider | ContractRunner
1617
}
1718

1819
export const authenticate = async ({

0 commit comments

Comments
 (0)