Skip to content

Commit

Permalink
update call signatures for playground components (#1441)
Browse files Browse the repository at this point in the history
  • Loading branch information
piyalbasu authored Aug 26, 2024
1 parent 88fb863 commit e02f1a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/docs/playground/signAuthEntry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: signAuthEntry
title: signAuthEntry
---

#### `signAuthEntry(entryXdr: string)`
#### `signAuthEntry(authEntryXdr: string, opts: { address: string }) -> <Promise<{ signedAuthEntry: Buffer | null; signerAddress: string } & { error?: string; }>>`

import { SignAuthEntryDemo } from "./components/SignAuthEntryDemo";

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/playground/signMessage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ id: signMessage
title: signMessage
---

#### `signMessage(message: string)`
#### `signMessage(message: string, opts: { address: string }) -> <Promise<{ signedMessage: Buffer | null; signerAddress: string; } & { error?: string; }>>`

import { SignMessageDemo } from "./components/SignMessageDemo";

<strong>Test Freighter's `signBlob` method:</strong>
<strong>Test Freighter's `signMessage` method:</strong>
<SignMessageDemo />
2 changes: 1 addition & 1 deletion docs/docs/playground/signTransaction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: signTransaction
title: signTransaction
---

#### `signTransaction( transactionXdr: string, network?: "PUBLIC"|"TESTNET"|null, publicKey?: string )`
#### `signTransaction(xdr: string, opts?: { network?: string, networkPassphrase?: string, address?: string }) -> <Promise<{ signedTxXdr: string; signerAddress: string; } & { error?: string; }>>`

import { SignTransactionDemo } from "./components/SignTransactionDemo";

Expand Down

0 comments on commit e02f1a3

Please sign in to comment.