diff --git a/.changeset/young-beers-rescue.md b/.changeset/young-beers-rescue.md new file mode 100644 index 0000000..06a7dae --- /dev/null +++ b/.changeset/young-beers-rescue.md @@ -0,0 +1,5 @@ +--- +"@gobob/sats-wagmi": patch +--- + +Enable build diff --git a/packages/sats-wagmi/package.json b/packages/sats-wagmi/package.json index bf68133..5605b7b 100644 --- a/packages/sats-wagmi/package.json +++ b/packages/sats-wagmi/package.json @@ -30,7 +30,8 @@ "lint": "eslint .", "lint:fix": "eslint . --ext ts,tsx --fix", "clean": "rimraf dist .turbo", - "typecheck": "tsc --noEmit" + "typecheck": "tsc --noEmit", + "build": "tsup src/index.ts --dts" }, "peerDependencies": { "react": ">=18", diff --git a/packages/sats-wagmi/src/hooks/useFeeEstimate.tsx b/packages/sats-wagmi/src/hooks/useFeeEstimate.tsx index a6dcdf8..643e29b 100644 --- a/packages/sats-wagmi/src/hooks/useFeeEstimate.tsx +++ b/packages/sats-wagmi/src/hooks/useFeeEstimate.tsx @@ -1,7 +1,7 @@ import { estimateTxFee } from '@gobob/bob-sdk'; import { UndefinedInitialDataOptions, useQuery } from '@tanstack/react-query'; -import { INTERVAL } from 'src/utils'; +import { INTERVAL } from '../utils'; import { useSatsWagmi } from '../provider'; import { useFeeRate } from './useFeeRate'; diff --git a/packages/sats-wagmi/src/hooks/useFeeRate.tsx b/packages/sats-wagmi/src/hooks/useFeeRate.tsx index 5ec9585..1f79040 100644 --- a/packages/sats-wagmi/src/hooks/useFeeRate.tsx +++ b/packages/sats-wagmi/src/hooks/useFeeRate.tsx @@ -1,7 +1,7 @@ import { EsploraClient } from '@gobob/bob-sdk'; import { UndefinedInitialDataOptions, useQuery } from '@tanstack/react-query'; -import { INTERVAL } from 'src/utils'; +import { INTERVAL } from '../utils'; import { useSatsWagmi } from '../provider'; // Confirmation target for fee estimation in Bitcoin blocks