From e89b89011cb55058def049df79d2564c802b3c84 Mon Sep 17 00:00:00 2001 From: Gregory Hill Date: Mon, 2 Sep 2024 19:08:31 +0100 Subject: [PATCH 1/2] feat: build sats-wagmi Signed-off-by: Gregory Hill --- packages/sats-wagmi/package.json | 3 ++- packages/sats-wagmi/src/hooks/useFeeEstimate.tsx | 2 +- packages/sats-wagmi/src/hooks/useFeeRate.tsx | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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 From fc5f638fadf54263295c7e9ea305396d57d7a9e0 Mon Sep 17 00:00:00 2001 From: Greg Hill Date: Mon, 2 Sep 2024 19:09:21 +0100 Subject: [PATCH 2/2] Create young-beers-rescue.md --- .changeset/young-beers-rescue.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/young-beers-rescue.md 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