From 1727bcbcaa1aa7d23afde8b914bc08aeca434aff Mon Sep 17 00:00:00 2001 From: Leonardo Zizzamia Date: Tue, 6 Aug 2024 15:22:20 -0700 Subject: [PATCH] chore: release --- .changeset/five-berries-warn.md | 2 +- .changeset/nervous-pugs-boil.md | 5 ----- .changeset/ten-swans-trade.md | 5 ----- CHANGELOG.md | 16 ++++++++-------- src/version.ts | 2 +- vitest.config.ts | 6 +++--- 6 files changed, 13 insertions(+), 23 deletions(-) delete mode 100644 .changeset/nervous-pugs-boil.md delete mode 100644 .changeset/ten-swans-trade.md diff --git a/.changeset/five-berries-warn.md b/.changeset/five-berries-warn.md index 08f1ba4f03..3b9ada689d 100644 --- a/.changeset/five-berries-warn.md +++ b/.changeset/five-berries-warn.md @@ -2,4 +2,4 @@ "@coinbase/onchainkit": patch --- -**feat**: add Permit2 approval process for UniversalRouter by @0xAlec #980 +- **feat**: added `Permit2` approval process for UniversalRouter in the `Swap` experiece. By @0xAlec #980 diff --git a/.changeset/nervous-pugs-boil.md b/.changeset/nervous-pugs-boil.md deleted file mode 100644 index 4b92e1acdc..0000000000 --- a/.changeset/nervous-pugs-boil.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@coinbase/onchainkit": patch ---- - --**chore**: Add useSwapBalances tests. By @cpcramer #982 diff --git a/.changeset/ten-swans-trade.md b/.changeset/ten-swans-trade.md deleted file mode 100644 index 62bb7ba5d5..0000000000 --- a/.changeset/ten-swans-trade.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@coinbase/onchainkit": patch ---- - --**chore**: Add tests for SwapAmountInput. By @cpcramer. #987 diff --git a/CHANGELOG.md b/CHANGELOG.md index b28a969a16..ebd5260c7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,16 +4,16 @@ ### Minor Changes -- baa5cf8: - **feat**: refactored the `` component's `onSuccess` handler to manage multiple receipts for various contracts, supporting both EOA and Smart Wallet scenarios. +- **feat**: refactored the `` component's `onSuccess` handler to manage multiple receipts for various contracts, supporting both EOA and Smart Wallet scenarios. baa5cf8 - Breaking Changes - When using `onSuccess` in the `` component, refactor the response to handle: +Breaking Changes +When using `onSuccess` in the `` component, refactor the response to handle: - ```ts - type TransactionResponse = { - transactionReceipts: TransactionReceipt[]; - }; - ``` +```ts +type TransactionResponse = { + transactionReceipts: TransactionReceipt[]; +}; +``` ## 0.27.1 diff --git a/src/version.ts b/src/version.ts index 502f8239c6..4f6f74ee80 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const version = '0.28.0'; +export const version = '0.28.1'; diff --git a/vitest.config.ts b/vitest.config.ts index b23e5ed68b..4173c24665 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -22,10 +22,10 @@ export default defineConfig({ ], reportOnFailure: true, thresholds: { - statements: 99.08, - branches: 97.46, + statements: 99.1, + branches: 97.6, functions: 93.33, - lines: 99.08, + lines: 99.1, }, }, environment: 'jsdom',