From 661ed1341a2c4e8cbb2408befa45ef3e9f99cd05 Mon Sep 17 00:00:00 2001 From: veralygit <57183851+veralygit@users.noreply.github.com> Date: Mon, 28 Oct 2024 12:31:03 +0800 Subject: [PATCH] fix: lint --- packages/sdk/src/instant-trade/InstantTradeBuilder.ts | 2 +- packages/sdk/src/modules/BaseDatasource.ts | 2 +- packages/sdk/src/utils/index.ts | 2 +- packages/sdk/src/utxos/types.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/sdk/src/instant-trade/InstantTradeBuilder.ts b/packages/sdk/src/instant-trade/InstantTradeBuilder.ts index 7df91bb9..7e5ede87 100644 --- a/packages/sdk/src/instant-trade/InstantTradeBuilder.ts +++ b/packages/sdk/src/instant-trade/InstantTradeBuilder.ts @@ -1,8 +1,8 @@ import { Inscription } from ".." +import { Chain } from "../config/types" import { MINIMUM_AMOUNT_IN_SATS } from "../constants" import { PSBTBuilder, PSBTBuilderOptions } from "../transactions/PSBTBuilder" import { OrditSDKError } from "../utils/errors" -import { Chain } from "../config/types" export interface InstantTradeBuilderArgOptions extends Pick { diff --git a/packages/sdk/src/modules/BaseDatasource.ts b/packages/sdk/src/modules/BaseDatasource.ts index 0409da0d..3baee328 100644 --- a/packages/sdk/src/modules/BaseDatasource.ts +++ b/packages/sdk/src/modules/BaseDatasource.ts @@ -12,7 +12,7 @@ import { GetUnspentsResponse, RelayOptions } from "../api/types" -import { Network, Chain } from "../config/types" +import { Chain,Network } from "../config/types" import { Transaction, UTXO, UTXOLimited } from "../transactions/types" interface BaseDatasourceOptions { diff --git a/packages/sdk/src/utils/index.ts b/packages/sdk/src/utils/index.ts index 12f2f01b..46a2f518 100644 --- a/packages/sdk/src/utils/index.ts +++ b/packages/sdk/src/utils/index.ts @@ -4,7 +4,7 @@ import * as bitcoin from "bitcoinjs-lib" import ECPairFactory from "ecpair" import { AddressFormats, AddressTypes, addressTypeToName } from "../addresses/formats" -import { Chain, Network } from "../config/types" +import { Network } from "../config/types" import { UTXO } from "../transactions/types" import { OrditSDKError } from "./errors" import { diff --git a/packages/sdk/src/utxos/types.ts b/packages/sdk/src/utxos/types.ts index b3dbf859..37ddbbe7 100644 --- a/packages/sdk/src/utxos/types.ts +++ b/packages/sdk/src/utxos/types.ts @@ -1,5 +1,5 @@ -import { PSBTBuilderOptions } from "../transactions/PSBTBuilder" import { Chain } from "../config/types" +import { PSBTBuilderOptions } from "../transactions/PSBTBuilder" export type UTXOManagerOptions = Pick< PSBTBuilderOptions,