Skip to content

Commit 8af6143

Browse files
Version Packages (#7304)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ed81006 commit 8af6143

File tree

10 files changed

+164
-117
lines changed

10 files changed

+164
-117
lines changed

.changeset/better-owls-flash.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/calm-suits-stare.md

Lines changed: 0 additions & 78 deletions
This file was deleted.

.changeset/red-cooks-juggle.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/whole-ends-like.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/service-utils/CHANGELOG.md

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

3+
## 0.9.13
4+
5+
### Patch Changes
6+
7+
- [#7303](https://github.com/thirdweb-dev/js/pull/7303) [`6378f37`](https://github.com/thirdweb-dev/js/commit/6378f371c50b11052f7bfbb6aeefe3fb19ea26f0) Thanks [@arcoraven](https://github.com/arcoraven)! - chore: pass allowImpersonation to auth server
8+
39
## 0.9.12
410

511
### Patch Changes

packages/service-utils/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/service-utils",
3-
"version": "0.9.12",
3+
"version": "0.9.13",
44
"type": "module",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",

packages/thirdweb/CHANGELOG.md

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

3+
## 5.103.0
4+
5+
### Minor Changes
6+
7+
- [#7354](https://github.com/thirdweb-dev/js/pull/7354) [`ed81006`](https://github.com/thirdweb-dev/js/commit/ed81006741adb43a98c428029ca6907b7e20ac55) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Adds new components BuyWidget, CheckoutWidget, and TransactionWidget
8+
9+
## BuyWidget
10+
11+
A component that allows users to purchase tokens or NFTs directly within your application.
12+
13+
### Example:
14+
15+
```tsx
16+
import { BuyWidget } from "thirdweb/react";
17+
18+
function App() {
19+
return (
20+
<BuyWidget
21+
client={client}
22+
chain={chain}
23+
tokenAddress="0x..." // Token or NFT contract address
24+
recipient="0x..." // Optional: recipient address
25+
theme="light" // Optional: "light" or "dark"
26+
/>
27+
);
28+
}
29+
```
30+
31+
## CheckoutWidget
32+
33+
A comprehensive checkout experience for purchasing digital assets with multiple payment options.
34+
35+
### Example:
36+
37+
```tsx
38+
import { CheckoutWidget } from "thirdweb/react";
39+
40+
function App() {
41+
return (
42+
<CheckoutWidget
43+
client={client}
44+
chain={chain}
45+
items={[
46+
{
47+
tokenAddress: "0x...",
48+
tokenId: "1", // For NFTs
49+
quantity: "1",
50+
},
51+
]}
52+
onSuccess={(result) => console.log("Purchase successful:", result)}
53+
theme="dark" // Optional: "light" or "dark"
54+
/>
55+
);
56+
}
57+
```
58+
59+
## TransactionWidget
60+
61+
A widget for executing arbitrary blockchain transactions with a user-friendly interface.
62+
63+
### Example:
64+
65+
```tsx
66+
import { TransactionWidget } from "thirdweb/react";
67+
import { prepareContractCall } from "thirdweb";
68+
69+
function App() {
70+
const transaction = prepareContractCall({
71+
contract: myContract,
72+
method: "transfer",
73+
params: [recipientAddress, amount],
74+
});
75+
76+
return (
77+
<TransactionWidget
78+
client={client}
79+
transaction={transaction}
80+
onSuccess={(result) => console.log("Transaction successful:", result)}
81+
onError={(error) => console.error("Transaction failed:", error)}
82+
theme="light" // Optional: "light" or "dark"
83+
/>
84+
);
85+
}
86+
```
87+
88+
### Patch Changes
89+
90+
- [#7315](https://github.com/thirdweb-dev/js/pull/7315) [`99d6b3b`](https://github.com/thirdweb-dev/js/commit/99d6b3b151c2af6f0df41513eff44931362d6b11) Thanks [@MananTank](https://github.com/MananTank)! - - Add support for blob urls in `MediaRenderer` component
91+
92+
- Fix `className` prop not set in loading state of `MediaRenderer` component
93+
94+
- [#7332](https://github.com/thirdweb-dev/js/pull/7332) [`913ea98`](https://github.com/thirdweb-dev/js/commit/913ea98d23799f5716ece819b1493b405187c70e) Thanks [@MananTank](https://github.com/MananTank)! - Fix `NFTMetadata` type
95+
396
## 5.102.6
497

598
### Patch Changes

packages/thirdweb/package.json

Lines changed: 61 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "thirdweb",
3-
"version": "5.102.6",
3+
"version": "5.103.0",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/thirdweb-dev/js.git#main"
@@ -147,26 +147,66 @@
147147
},
148148
"typesVersions": {
149149
"*": {
150-
"adapters/*": ["./dist/types/exports/adapters/*.d.ts"],
151-
"auth": ["./dist/types/exports/auth.d.ts"],
152-
"chains": ["./dist/types/exports/chains.d.ts"],
153-
"contract": ["./dist/types/exports/contract.d.ts"],
154-
"deploys": ["./dist/types/exports/deploys.d.ts"],
155-
"event": ["./dist/types/exports/event.d.ts"],
156-
"extensions/*": ["./dist/types/exports/extensions/*.d.ts"],
157-
"pay": ["./dist/types/exports/pay.d.ts"],
158-
"react": ["./dist/types/exports/react.d.ts"],
159-
"react-native": ["./dist/types/exports/react.native.d.ts"],
160-
"rpc": ["./dist/types/exports/rpc.d.ts"],
161-
"storage": ["./dist/types/exports/storage.d.ts"],
162-
"transaction": ["./dist/types/exports/transaction.d.ts"],
163-
"utils": ["./dist/types/exports/utils.d.ts"],
164-
"wallets": ["./dist/types/exports/wallets.d.ts"],
165-
"wallets/*": ["./dist/types/exports/wallets/*.d.ts"],
166-
"modules": ["./dist/types/exports/modules.d.ts"],
167-
"social": ["./dist/types/exports/social.d.ts"],
168-
"ai": ["./dist/types/exports/ai.d.ts"],
169-
"bridge": ["./dist/types/exports/bridge.d.ts"]
150+
"adapters/*": [
151+
"./dist/types/exports/adapters/*.d.ts"
152+
],
153+
"auth": [
154+
"./dist/types/exports/auth.d.ts"
155+
],
156+
"chains": [
157+
"./dist/types/exports/chains.d.ts"
158+
],
159+
"contract": [
160+
"./dist/types/exports/contract.d.ts"
161+
],
162+
"deploys": [
163+
"./dist/types/exports/deploys.d.ts"
164+
],
165+
"event": [
166+
"./dist/types/exports/event.d.ts"
167+
],
168+
"extensions/*": [
169+
"./dist/types/exports/extensions/*.d.ts"
170+
],
171+
"pay": [
172+
"./dist/types/exports/pay.d.ts"
173+
],
174+
"react": [
175+
"./dist/types/exports/react.d.ts"
176+
],
177+
"react-native": [
178+
"./dist/types/exports/react.native.d.ts"
179+
],
180+
"rpc": [
181+
"./dist/types/exports/rpc.d.ts"
182+
],
183+
"storage": [
184+
"./dist/types/exports/storage.d.ts"
185+
],
186+
"transaction": [
187+
"./dist/types/exports/transaction.d.ts"
188+
],
189+
"utils": [
190+
"./dist/types/exports/utils.d.ts"
191+
],
192+
"wallets": [
193+
"./dist/types/exports/wallets.d.ts"
194+
],
195+
"wallets/*": [
196+
"./dist/types/exports/wallets/*.d.ts"
197+
],
198+
"modules": [
199+
"./dist/types/exports/modules.d.ts"
200+
],
201+
"social": [
202+
"./dist/types/exports/social.d.ts"
203+
],
204+
"ai": [
205+
"./dist/types/exports/ai.d.ts"
206+
],
207+
"bridge": [
208+
"./dist/types/exports/bridge.d.ts"
209+
]
170210
}
171211
},
172212
"browser": {

packages/wagmi-adapter/CHANGELOG.md

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

3+
## 0.2.93
4+
35
## 0.2.92
46

57
## 0.2.91

packages/wagmi-adapter/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/wagmi-adapter",
3-
"version": "0.2.92",
3+
"version": "0.2.93",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/thirdweb-dev/js.git#main"

0 commit comments

Comments
 (0)