From 1235a3e4c33f829c43b365b97bf564573c52a4ae Mon Sep 17 00:00:00 2001 From: Piyal Basu Date: Thu, 22 Aug 2024 18:56:30 -0400 Subject: [PATCH] update call signatures for playground components --- docs/docs/playground/signAuthEntry.mdx | 2 +- docs/docs/playground/signMessage.mdx | 4 ++-- docs/docs/playground/signTransaction.mdx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/playground/signAuthEntry.mdx b/docs/docs/playground/signAuthEntry.mdx index d686ba2a62..b72cd30ae3 100644 --- a/docs/docs/playground/signAuthEntry.mdx +++ b/docs/docs/playground/signAuthEntry.mdx @@ -3,7 +3,7 @@ id: signAuthEntry title: signAuthEntry --- -#### `signAuthEntry(entryXdr: string)` +#### `signAuthEntry(authEntryXdr: string, opts: { address: string }) -> >` import { SignAuthEntryDemo } from "./components/SignAuthEntryDemo"; diff --git a/docs/docs/playground/signMessage.mdx b/docs/docs/playground/signMessage.mdx index ad18e4add8..fe0e311969 100644 --- a/docs/docs/playground/signMessage.mdx +++ b/docs/docs/playground/signMessage.mdx @@ -3,9 +3,9 @@ id: signMessage title: signMessage --- -#### `signMessage(message: string)` +#### `signMessage(message: string, opts: { address: string }) -> >` import { SignMessageDemo } from "./components/SignMessageDemo"; -Test Freighter's `signBlob` method: +Test Freighter's `signMessage` method: diff --git a/docs/docs/playground/signTransaction.mdx b/docs/docs/playground/signTransaction.mdx index ffee0cf0af..3d70a2c6b4 100644 --- a/docs/docs/playground/signTransaction.mdx +++ b/docs/docs/playground/signTransaction.mdx @@ -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 }) -> >` import { SignTransactionDemo } from "./components/SignTransactionDemo";