Skip to content

Commit 718c3db

Browse files
authored
feat(sdk): add function typing to xverse signMessage (#90)
1 parent 3e27ccb commit 718c3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sdk/src/browser-wallets/xverse/signatures.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export async function signPsbt({
6767
return { hex: hex!, base64 }
6868
}
6969

70-
export async function signMessage(options: XverseSignMessageOptions) {
70+
export async function signMessage(options: XverseSignMessageOptions): Promise<null | { signature: string }> {
7171
let result = null
7272
if (!options.message || !options.network || !options.address) {
7373
throw new Error("Invalid options provided.")

0 commit comments

Comments
 (0)