Skip to content

Commit

Permalink
chore: version packages v0.31.3 🌊 (#1188)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Sep 3, 2024
1 parent ba8c6bb commit e1ebadb
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
8 changes: 0 additions & 8 deletions .changeset/sixty-clocks-shop.md

This file was deleted.

29 changes: 19 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
# Changelog

## 0.31.3

### Patch Changes

- a417d30: - **feat**: added `buildPayTransaction` utilities for making RPC calls to hydrate a charge and build a pay transaction in preparation for `Pay` button. By @avidreder #1177
- **feat**: implemented custom slippage support sub-components in the `Swap` component. By @cpcramer #1187 #1192 #1191 #1195 #1196 #1206
- **docs**: added Build Onchain Apps guide using OnchainKit's `app template`. By @zizzamia #1202
- **fix**: updated v1 `Swap` API to pass the correct slippage unit of measurement. By @cpcramer #1189

## 0.31.2

### Patch Changes

- **feat**: added connect wallet functionality to Swap component for disconnected users. By @abcrane123 #1173
- **fix**: added logic to refetch balances and clear inputs after Swap succeeds. By @0xAlec #1089
- **fix**: adjusted Swap component style to prevent UI shifting. By @abcrane123 #1184
- **feat**: added connect wallet functionality to Swap component for disconnected users. By @abcrane123 #1173
- **fix**: added logic to refetch balances and clear inputs after Swap succeeds. By @0xAlec #1089
- **fix**: adjusted Swap component style to prevent UI shifting. By @abcrane123 #1184

## 0.31.1

Expand Down Expand Up @@ -109,30 +118,30 @@ The `onStatus` callback will expose
```ts
export type LifeCycleStatus =
| {
statusName: "init";
statusName: 'init';
statusData: null;
}
| {
statusName: "error";
statusName: 'error';
statusData: SwapError;
}
| {
statusName: "amountChange";
statusName: 'amountChange';
statusData: null;
}
| {
statusName: "transactionPending";
statusName: 'transactionPending';
statusData: null;
}
| {
statusName: "transactionApproved";
statusName: 'transactionApproved';
statusData: {
transactionHash: Hex;
transactionType: "ERC20" | "Permit2";
transactionType: 'ERC20' | 'Permit2';
};
}
| {
statusName: "success";
statusName: 'success';
statusData: {
transactionReceipt: TransactionReceipt;
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coinbase/onchainkit",
"version": "0.31.2",
"version": "0.31.3",
"type": "module",
"repository": "https://github.com/coinbase/onchainkit.git",
"license": "MIT",
Expand Down

0 comments on commit e1ebadb

Please sign in to comment.