diff options
Diffstat (limited to 'src/external/stellar-freighter-api/@stellar/freighter-api/src/signAuthEntry.d.ts')
-rw-r--r-- | src/external/stellar-freighter-api/@stellar/freighter-api/src/signAuthEntry.d.ts | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/external/stellar-freighter-api/@stellar/freighter-api/src/signAuthEntry.d.ts b/src/external/stellar-freighter-api/@stellar/freighter-api/src/signAuthEntry.d.ts index ca8cc91..598d76d 100644 --- a/src/external/stellar-freighter-api/@stellar/freighter-api/src/signAuthEntry.d.ts +++ b/src/external/stellar-freighter-api/@stellar/freighter-api/src/signAuthEntry.d.ts @@ -1,3 +1,10 @@ +import { FreighterApiError } from "@shared/api/types"; export declare const signAuthEntry: (entryXdr: string, opts?: { - accountToSign?: string | undefined; -} | undefined) => Promise<string>; + networkPassphrase?: string; + address?: string; +}) => Promise<{ + signedAuthEntry: Buffer | null; + signerAddress: string; +} & { + error?: FreighterApiError; +}>; |