Skip to content

Commit

Permalink
feat(sdk): add function typing to xverse signMessage (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevzzsk authored Nov 6, 2023
1 parent 3e27ccb commit 718c3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk/src/browser-wallets/xverse/signatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export async function signPsbt({
return { hex: hex!, base64 }
}

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

0 comments on commit 718c3db

Please sign in to comment.