diff --git a/types/stellar-sdk/index.d.ts b/types/stellar-sdk/index.d.ts index acb05e02a9..4b988d76aa 100644 --- a/types/stellar-sdk/index.d.ts +++ b/types/stellar-sdk/index.d.ts @@ -446,6 +446,12 @@ export class NotFoundError extends NetworkError {} export class BadRequestError extends NetworkError {} export class BadResponseError extends NetworkError {} +export namespace Config { + function setAllowHttp(allow: boolean): void; + function isAllowHttp(): boolean; + function setDefault(): void; +} + export class CallBuilder { constructor(serverUrl: string) call(): Promise>; @@ -888,12 +894,6 @@ export class AssetsCallBuilder extends CallBuilder { forIssuer(value: string): this; } -export namespace Config { - function setAllowHttp(allow: boolean): void; - function isAllowHttp(): boolean; - function setDefault(): void; -} - export class EffectCallBuilder extends CallBuilder { forAccount(accountId: string): this; forLedger(sequence: string): this;