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;