mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
fix: ASSET_TYPE
This commit is contained in:
Vendored
+6
-6
@@ -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<T extends Record> =
|
||||
(options?: CallFunctionTemplateOptions) => Promise<CollectionRecord<T>>;
|
||||
|
||||
enum ASSET_TYPE {
|
||||
native = 'native',
|
||||
credit4 = 'credit_alphanum4',
|
||||
credit12 = 'credit_alphanum12',
|
||||
}
|
||||
|
||||
interface BalanceLineNative {
|
||||
balance: string;
|
||||
asset_type: ASSET_TYPE.native;
|
||||
|
||||
Reference in New Issue
Block a user