Skip to content

Commit e1ebadb

Browse files
chore: version packages v0.31.3 🌊 (#1188)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent ba8c6bb commit e1ebadb

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed

.changeset/sixty-clocks-shop.md

-8
This file was deleted.

CHANGELOG.md

+19-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
# Changelog
22

3+
## 0.31.3
4+
5+
### Patch Changes
6+
7+
- 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
8+
- **feat**: implemented custom slippage support sub-components in the `Swap` component. By @cpcramer #1187 #1192 #1191 #1195 #1196 #1206
9+
- **docs**: added Build Onchain Apps guide using OnchainKit's `app template`. By @zizzamia #1202
10+
- **fix**: updated v1 `Swap` API to pass the correct slippage unit of measurement. By @cpcramer #1189
11+
312
## 0.31.2
413

514
### Patch Changes
615

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

1120
## 0.31.1
1221

@@ -109,30 +118,30 @@ The `onStatus` callback will expose
109118
```ts
110119
export type LifeCycleStatus =
111120
| {
112-
statusName: "init";
121+
statusName: 'init';
113122
statusData: null;
114123
}
115124
| {
116-
statusName: "error";
125+
statusName: 'error';
117126
statusData: SwapError;
118127
}
119128
| {
120-
statusName: "amountChange";
129+
statusName: 'amountChange';
121130
statusData: null;
122131
}
123132
| {
124-
statusName: "transactionPending";
133+
statusName: 'transactionPending';
125134
statusData: null;
126135
}
127136
| {
128-
statusName: "transactionApproved";
137+
statusName: 'transactionApproved';
129138
statusData: {
130139
transactionHash: Hex;
131-
transactionType: "ERC20" | "Permit2";
140+
transactionType: 'ERC20' | 'Permit2';
132141
};
133142
}
134143
| {
135-
statusName: "success";
144+
statusName: 'success';
136145
statusData: {
137146
transactionReceipt: TransactionReceipt;
138147
};

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coinbase/onchainkit",
3-
"version": "0.31.2",
3+
"version": "0.31.3",
44
"type": "module",
55
"repository": "https://github.com/coinbase/onchainkit.git",
66
"license": "MIT",

0 commit comments

Comments
 (0)