Skip to content

Version Packages #7304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .changeset/better-owls-flash.md

This file was deleted.

78 changes: 0 additions & 78 deletions .changeset/calm-suits-stare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/red-cooks-juggle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/whole-ends-like.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/service-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @thirdweb-dev/service-utils

## 0.9.13

### Patch Changes

- [#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

## 0.9.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/service-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/service-utils",
"version": "0.9.12",
"version": "0.9.13",
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
93 changes: 93 additions & 0 deletions packages/thirdweb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,98 @@
# thirdweb

## 5.103.0

### Minor Changes

- [#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

## BuyWidget

A component that allows users to purchase tokens or NFTs directly within your application.

### Example:

```tsx
import { BuyWidget } from "thirdweb/react";

function App() {
return (
<BuyWidget
client={client}
chain={chain}
tokenAddress="0x..." // Token or NFT contract address
recipient="0x..." // Optional: recipient address
theme="light" // Optional: "light" or "dark"
/>
);
}
```

## CheckoutWidget

A comprehensive checkout experience for purchasing digital assets with multiple payment options.

### Example:

```tsx
import { CheckoutWidget } from "thirdweb/react";

function App() {
return (
<CheckoutWidget
client={client}
chain={chain}
items={[
{
tokenAddress: "0x...",
tokenId: "1", // For NFTs
quantity: "1",
},
]}
onSuccess={(result) => console.log("Purchase successful:", result)}
theme="dark" // Optional: "light" or "dark"
/>
);
}
```

## TransactionWidget

A widget for executing arbitrary blockchain transactions with a user-friendly interface.

### Example:

```tsx
import { TransactionWidget } from "thirdweb/react";
import { prepareContractCall } from "thirdweb";

function App() {
const transaction = prepareContractCall({
contract: myContract,
method: "transfer",
params: [recipientAddress, amount],
});

return (
<TransactionWidget
client={client}
transaction={transaction}
onSuccess={(result) => console.log("Transaction successful:", result)}
onError={(error) => console.error("Transaction failed:", error)}
theme="light" // Optional: "light" or "dark"
/>
);
}
```

### Patch Changes

- [#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

- Fix `className` prop not set in loading state of `MediaRenderer` component

- [#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

## 5.102.6

### Patch Changes
Expand Down
82 changes: 61 additions & 21 deletions packages/thirdweb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thirdweb",
"version": "5.102.6",
"version": "5.103.0",
"repository": {
"type": "git",
"url": "git+https://github.com/thirdweb-dev/js.git#main"
Expand Down Expand Up @@ -147,26 +147,66 @@
},
"typesVersions": {
"*": {
"adapters/*": ["./dist/types/exports/adapters/*.d.ts"],
"auth": ["./dist/types/exports/auth.d.ts"],
"chains": ["./dist/types/exports/chains.d.ts"],
"contract": ["./dist/types/exports/contract.d.ts"],
"deploys": ["./dist/types/exports/deploys.d.ts"],
"event": ["./dist/types/exports/event.d.ts"],
"extensions/*": ["./dist/types/exports/extensions/*.d.ts"],
"pay": ["./dist/types/exports/pay.d.ts"],
"react": ["./dist/types/exports/react.d.ts"],
"react-native": ["./dist/types/exports/react.native.d.ts"],
"rpc": ["./dist/types/exports/rpc.d.ts"],
"storage": ["./dist/types/exports/storage.d.ts"],
"transaction": ["./dist/types/exports/transaction.d.ts"],
"utils": ["./dist/types/exports/utils.d.ts"],
"wallets": ["./dist/types/exports/wallets.d.ts"],
"wallets/*": ["./dist/types/exports/wallets/*.d.ts"],
"modules": ["./dist/types/exports/modules.d.ts"],
"social": ["./dist/types/exports/social.d.ts"],
"ai": ["./dist/types/exports/ai.d.ts"],
"bridge": ["./dist/types/exports/bridge.d.ts"]
"adapters/*": [
"./dist/types/exports/adapters/*.d.ts"
],
"auth": [
"./dist/types/exports/auth.d.ts"
],
"chains": [
"./dist/types/exports/chains.d.ts"
],
"contract": [
"./dist/types/exports/contract.d.ts"
],
"deploys": [
"./dist/types/exports/deploys.d.ts"
],
"event": [
"./dist/types/exports/event.d.ts"
],
"extensions/*": [
"./dist/types/exports/extensions/*.d.ts"
],
"pay": [
"./dist/types/exports/pay.d.ts"
],
"react": [
"./dist/types/exports/react.d.ts"
],
"react-native": [
"./dist/types/exports/react.native.d.ts"
],
"rpc": [
"./dist/types/exports/rpc.d.ts"
],
"storage": [
"./dist/types/exports/storage.d.ts"
],
"transaction": [
"./dist/types/exports/transaction.d.ts"
],
"utils": [
"./dist/types/exports/utils.d.ts"
],
"wallets": [
"./dist/types/exports/wallets.d.ts"
],
"wallets/*": [
"./dist/types/exports/wallets/*.d.ts"
],
"modules": [
"./dist/types/exports/modules.d.ts"
],
"social": [
"./dist/types/exports/social.d.ts"
],
"ai": [
"./dist/types/exports/ai.d.ts"
],
"bridge": [
"./dist/types/exports/bridge.d.ts"
]
}
},
"browser": {
Expand Down
2 changes: 2 additions & 0 deletions packages/wagmi-adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @thirdweb-dev/wagmi-adapter

## 0.2.93

## 0.2.92

## 0.2.91
Expand Down
2 changes: 1 addition & 1 deletion packages/wagmi-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/wagmi-adapter",
"version": "0.2.92",
"version": "0.2.93",
"repository": {
"type": "git",
"url": "git+https://github.com/thirdweb-dev/js.git#main"
Expand Down
Loading