Skip to content

Commit 03c82b4

Browse files
authored
Merge branch 'main' into yash/ref-constructor-params
2 parents a0bd7ef + a1fc436 commit 03c82b4

File tree

171 files changed

+3416
-2700
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+3416
-2700
lines changed

.changeset/eight-poems-end.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@thirdweb-dev/service-utils": patch
3+
---
4+
5+
Added nebula service scope

.changeset/eleven-chicken-smile.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
"thirdweb": minor
3+
---
4+
5+
Adds EIP1193 adapters that allow conversion between Thirdweb wallets and EIP-1193 providers:
6+
7+
- `EIP1193.fromProvider()`: Creates a Thirdweb wallet from any EIP-1193 compatible provider (like MetaMask, WalletConnect)
8+
- `EIP1193.toProvider()`: Converts a Thirdweb wallet into an EIP-1193 provider that can be used with any web3 library
9+
10+
Key features:
11+
- Full EIP-1193 compliance for seamless integration
12+
- Handles account management (connect, disconnect, chain switching)
13+
- Supports all standard Ethereum JSON-RPC methods
14+
- Comprehensive event system for state changes
15+
- Type-safe interfaces with full TypeScript support
16+
17+
Examples:
18+
19+
```ts
20+
// Convert MetaMask's provider to a Thirdweb wallet
21+
const wallet = EIP1193.fromProvider({
22+
provider: window.ethereum,
23+
walletId: "io.metamask"
24+
});
25+
26+
// Use like any other Thirdweb wallet
27+
const account = await wallet.connect({
28+
client: createThirdwebClient({ clientId: "..." })
29+
});
30+
31+
// Convert a Thirdweb wallet to an EIP-1193 provider
32+
const provider = EIP1193.toProvider({
33+
wallet,
34+
chain: ethereum,
35+
client: createThirdwebClient({ clientId: "..." })
36+
});
37+
38+
// Use with any EIP-1193 compatible library
39+
const accounts = await provider.request({
40+
method: "eth_requestAccounts"
41+
});
42+
43+
// Listen for events
44+
provider.on("accountsChanged", (accounts) => {
45+
console.log("Active accounts:", accounts);
46+
});
47+
```

.changeset/nice-gifts-argue.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Adds ox for internal utilities

.changeset/serious-plants-play.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
fix enclave transaction signing for transactions with 0 maxPriorityFeePerGas

.github/workflows/linear.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
1919
echo "Pull Request Body: $pr_body"
2020
21-
if echo "$pr_body" | grep -iE "CNCT|DASH"; then
21+
if echo "$pr_body" | grep -iE "CNCT|DASH|BLOCK"; then
2222
echo "Linked issue found in the pull request body."
2323
else
2424
echo "No linked issue found in the pull request body."

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,8 @@
2424
},
2525
"[javascript]": {
2626
"editor.defaultFormatter": "biomejs.biome"
27+
},
28+
"[css]": {
29+
"editor.defaultFormatter": "biomejs.biome"
2730
}
2831
}

apps/dashboard/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@
7878
"papaparse": "^5.4.1",
7979
"pluralize": "^8.0.0",
8080
"posthog-js": "1.67.1",
81-
"prism-react-renderer": "^2.3.1",
82-
"prismjs": "^1.29.0",
8381
"qrcode": "^1.5.3",
8482
"react": "19.0.0-rc-69d4b800-20241021",
8583
"react-children-utilities": "^2.10.0",
@@ -94,6 +92,7 @@
9492
"recharts": "^2.13.3",
9593
"remark-gfm": "^4.0.0",
9694
"server-only": "^0.0.1",
95+
"shiki": "1.22.2",
9796
"sonner": "^1.7.0",
9897
"spdx-correct": "^3.2.0",
9998
"swagger-ui-react": "^5.17.14",
1.39 MB
Binary file not shown.

apps/dashboard/src/@/components/ui/CodeBlock.tsx

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

apps/dashboard/src/@/components/ui/code.tsx

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

0 commit comments

Comments
 (0)