diff --git a/packages/sdk/src/index.ts b/packages/sdk/src/index.ts index fd704033..489deea5 100644 --- a/packages/sdk/src/index.ts +++ b/packages/sdk/src/index.ts @@ -40,6 +40,6 @@ export * from "./psbt-builder" export * from "./signatures" export * from "./transactions" export * from "./utils" -export { UTXOManager } from "./utxos" +export * from "./utxos" export * from "./wallet" export { Ordit } from "./wallet/Ordit" diff --git a/packages/sdk/src/modules/DatasourceUtility.ts b/packages/sdk/src/modules/DatasourceUtility.ts index 0172e352..ab255f48 100644 --- a/packages/sdk/src/modules/DatasourceUtility.ts +++ b/packages/sdk/src/modules/DatasourceUtility.ts @@ -6,7 +6,7 @@ interface SegregateUTXOsBySpendStatusArgOptions { utxos: UTXO[] } -export default class DatasourceUtility { +export class DatasourceUtility { static transformInscriptions(inscriptions?: Inscription[]) { if (!inscriptions) return [] diff --git a/packages/sdk/src/utxos/UTXOManager.ts b/packages/sdk/src/utxos/UTXOManager.ts index 9257c559..97504bdb 100644 --- a/packages/sdk/src/utxos/UTXOManager.ts +++ b/packages/sdk/src/utxos/UTXOManager.ts @@ -2,7 +2,7 @@ import { processInput, PSBTBuilder } from ".." import { MINIMUM_AMOUNT_IN_SATS } from "../constants" import { UTXOManagerOptions } from "./types" -export default class UTXOManager extends PSBTBuilder { +export class UTXOManager extends PSBTBuilder { constructor({ address, publicKey, network, feeRate, datasource }: UTXOManagerOptions) { super({ address, diff --git a/packages/sdk/src/utxos/index.ts b/packages/sdk/src/utxos/index.ts index d80e5179..50518e4a 100644 --- a/packages/sdk/src/utxos/index.ts +++ b/packages/sdk/src/utxos/index.ts @@ -1,2 +1,2 @@ export * from "./types" -export { default as UTXOManager } from "./UTXOManager" +export * from "./UTXOManager"