Skip to content

Commit

Permalink
refactor: export all from /utxos
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcrazycoder committed Oct 3, 2023
1 parent 68c9c71 commit bafee1e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/sdk/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion packages/sdk/src/modules/DatasourceUtility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ interface SegregateUTXOsBySpendStatusArgOptions {
utxos: UTXO[]
}

export default class DatasourceUtility {
export class DatasourceUtility {
static transformInscriptions(inscriptions?: Inscription[]) {
if (!inscriptions) return []

Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/utxos/UTXOManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/utxos/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from "./types"
export { default as UTXOManager } from "./UTXOManager"
export * from "./UTXOManager"

0 comments on commit bafee1e

Please sign in to comment.