From a19c1e5cdad685417c1b841dbee322dfb5875a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kalvis=20Kalni=C5=86=C5=A1?= Date: Fri, 28 Dec 2018 15:13:03 +0200 Subject: [PATCH] fix: ASSET_TYPE --- types/stellar-sdk/index.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/types/stellar-sdk/index.d.ts b/types/stellar-sdk/index.d.ts index bc1980d37f..d82fef63dc 100644 --- a/types/stellar-sdk/index.d.ts +++ b/types/stellar-sdk/index.d.ts @@ -19,6 +19,11 @@ export namespace StellarBase { incrementSequenceNumber(): void; } + enum ASSET_TYPE { + native = 'native', + credit4 = 'credit_alphanum4', + credit12 = 'credit_alphanum12', + } class Asset { static native(): Asset; static fromOperation(xdr: xdr.Asset): Asset; @@ -414,6 +419,7 @@ export namespace StellarBase { // Re-StellarBase export import Account = StellarBase.Account; +export import ASSET_TYPE = StellarBase.ASSET_TYPE; export import Asset = StellarBase.Asset; export import FastSigning = StellarBase.FastSigning; export import Keypair = StellarBase.Keypair; @@ -532,12 +538,6 @@ export namespace Server { type CallCollectionFunction = (options?: CallFunctionTemplateOptions) => Promise>; - enum ASSET_TYPE { - native = 'native', - credit4 = 'credit_alphanum4', - credit12 = 'credit_alphanum12', - } - interface BalanceLineNative { balance: string; asset_type: ASSET_TYPE.native;