From 73845813f9d05cbc6bca9a2a8a5964119ea180e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kalvis=20Kalni=C5=86=C5=A1?= Date: Wed, 9 Jan 2019 19:55:00 +0200 Subject: [PATCH] feat: parameterize Transaction --- types/stellar-sdk/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/stellar-sdk/index.d.ts b/types/stellar-sdk/index.d.ts index a5692f56f4..ca2fbc4651 100644 --- a/types/stellar-sdk/index.d.ts +++ b/types/stellar-sdk/index.d.ts @@ -371,7 +371,7 @@ export namespace StellarBase { function decodeSha256Hash(data: string): Buffer; } - class Transaction { + class Transaction { constructor(envelope: string | xdr.TransactionEnvelope) hash(): Buffer; sign(...keypairs: Keypair[]): void; @@ -379,11 +379,11 @@ export namespace StellarBase { signHashX(preimage: Buffer | string): void; toEnvelope(): xdr.TransactionEnvelope; - operations: TransactionOperation[]; + operations: TOps; sequence: number; fee: number; source: string; - memo: Memo; + memo: TMemo; signatures: xdr.DecoratedSignature[]; }