Skip to content

Commit 55081d8

Browse files
authored
chore: fix release (#2985)
1 parent ef1b7cd commit 55081d8

File tree

25 files changed

+79
-157
lines changed

25 files changed

+79
-157
lines changed

.changeset/great-rockets-scream.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@thirdweb-dev/react": patch
3+
---
4+
5+
thirdweb Pay UI minor improvements

.changeset/little-coins-thank.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
"thirdweb": minor
3+
---
4+
5+
### "Credit Card" payment method added in thirdweb Pay for Fiat on-ramp
6+
7+
### `PayEmbed` component added to embed thirdweb Pay UI
8+
9+
```tsx
10+
<PayEmbed
11+
client={client}
12+
style={{
13+
width: "360px",
14+
}}
15+
/>
16+
```
17+
18+
### thirdweb Pay UI customization available in `PayEmbed` and `ConnectButton`
19+
20+
`payOptions` prop in `PayEmbed` and `ConnectButton > detailsModal` allows you custimize :
21+
22+
- Enable/Disable payment methods
23+
- Set default amount for Buy token
24+
- Set Buy token/chain to be selected by default
25+
- Set Source token/chain to be selected by default for Crypto payment method
26+
- Disable editing for Buy token/chain/amount and Source token/chain
27+
28+
```tsx
29+
<ConnectButton
30+
client={client}
31+
detailsModal={{
32+
payOptions: yourOptions,
33+
}}
34+
/>
35+
36+
<PayEmbed
37+
client={client}
38+
detailsModal={{
39+
payOptions: yourOptions,
40+
}}
41+
/>
42+
```
43+
44+
### Fiat on-ramp functions and hooks added
45+
46+
- `getBuyWithFiatQuote`, `useBuyWithFiatQuote` to get a quote for buying crypto with fiat currency
47+
- `getBuyWithFiatStatus`, `useBuyWithFiatStatus` to get status of "Buy with fiat" transaction
48+
- `getBuyWithFiatHistory`, `useBuyWithFiatHistory` to get "Buy with fiat" transaction history
49+
- `getPostOnRampQuote`, `usePostOnRampQuote` to get quote for swapping on-ramp token to destination token after doing on-ramp
50+
- Add `getBuyHistory` and `useBuyHistory` to get both "Buy with Fiat" and "Buy with Crypto" transaction history in a single list

legacy_packages/auth/CHANGELOG.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
# @thirdweb-dev/auth
22

3-
## 4.1.76
4-
5-
### Patch Changes
6-
7-
- Updated dependencies []:
8-
- @thirdweb-dev/wallets@2.5.18
9-
103
## 4.1.75
114

125
### Patch Changes

legacy_packages/auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thirdweb-dev/auth",
3-
"version": "4.1.76",
3+
"version": "4.1.75",
44
"main": "dist/thirdweb-dev-auth.cjs.js",
55
"module": "dist/thirdweb-dev-auth.esm.js",
66
"browser": {

legacy_packages/chains/CHANGELOG.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
# @thirdweb-dev/chains
22

3-
## 0.1.107
4-
5-
### Patch Changes
6-
7-
- [#2973](https://github.com/thirdweb-dev/js/pull/2973) [`d331921`](https://github.com/thirdweb-dev/js/commit/d331921aaf22099d350206bb802f66592cca4e1d) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
8-
93
## 0.1.106
104

115
### Patch Changes

legacy_packages/chains/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thirdweb-dev/chains",
3-
"version": "0.1.107",
3+
"version": "0.1.106",
44
"main": "dist/thirdweb-dev-chains.cjs.js",
55
"module": "dist/thirdweb-dev-chains.esm.js",
66
"exports": {

legacy_packages/cli/CHANGELOG.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
# thirdweb
22

3-
## 0.13.84
4-
5-
### Patch Changes
6-
7-
- Updated dependencies [[`d331921`](https://github.com/thirdweb-dev/js/commit/d331921aaf22099d350206bb802f66592cca4e1d)]:
8-
- @thirdweb-dev/chains@0.1.107
9-
- @thirdweb-dev/sdk@4.0.78
10-
- @thirdweb-dev/wallets@2.5.18
11-
- @thirdweb-dev/auth@4.1.76
12-
133
## 0.13.83
144

155
### Patch Changes

legacy_packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@thirdweb-dev/cli",
33
"main": "dist/cli/index.js",
4-
"version": "0.13.84",
4+
"version": "0.13.83",
55
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/cli",
66
"author": "thirdweb eng <eng@thirdweb.com>",
77
"license": "Apache-2.0",

legacy_packages/react-core/CHANGELOG.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
# @thirdweb-dev/react-core
22

3-
## 4.6.17
4-
5-
### Patch Changes
6-
7-
- Updated dependencies [[`d331921`](https://github.com/thirdweb-dev/js/commit/d331921aaf22099d350206bb802f66592cca4e1d)]:
8-
- @thirdweb-dev/chains@0.1.107
9-
- @thirdweb-dev/sdk@4.0.78
10-
- @thirdweb-dev/wallets@2.5.18
11-
- @thirdweb-dev/auth@4.1.76
12-
133
## 4.6.16
144

155
### Patch Changes

legacy_packages/react-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thirdweb-dev/react-core",
3-
"version": "4.6.17",
3+
"version": "4.6.16",
44
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-core",
55
"author": "thirdweb eng <eng@thirdweb.com>",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)