Skip to content

Commit a880e29

Browse files
committed
Merge branch 'main' into greg/cnct-2175-analytics-page-header
2 parents 77d7b05 + 180d563 commit a880e29

File tree

285 files changed

+4696
-10266
lines changed

Some content is hidden

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

285 files changed

+4696
-10266
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
"thirdweb": minor
3+
---
4+
5+
Added new `SiteEmbed` React component for embedding thirdweb-supported sites with seamless wallet connection support.
6+
7+
The component allows you to embed other thirdweb-enabled sites while maintaining wallet connection state, supporting both in-app and ecosystem wallets.
8+
9+
Example usage:
10+
```tsx
11+
import { SiteEmbed } from "thirdweb/react";
12+
13+
<SiteEmbed
14+
src="https://thirdweb.com"
15+
client={client}
16+
ecosystem={ecosystem}
17+
/>
18+
```
19+
20+
Note: Embedded sites must include `<AutoConnect />` and support frame-ancestors in their Content Security Policy.

.github/stale.yml

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

apps/dashboard/.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,5 @@ API_SERVER_SECRET=""
9191

9292
# Used for the Faucet page (/<chain_id>)
9393
NEXT_PUBLIC_TURNSTILE_SITE_KEY=""
94-
TURNSTILE_SECRET_KEY=""
94+
TURNSTILE_SECRET_KEY=""
95+
REDIS_URL=""

apps/dashboard/framer-rewrites.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
// add framer paths here
22
module.exports = [
3+
// -- home
34
"/",
5+
// -- product landing pages --
6+
// -- connect
47
"/connect/sign-in",
8+
// -- contracts
59
"/contracts/modular-contracts",
6-
"/unlimited-wallets",
10+
"/contracts/explore",
11+
"/contracts/deployment-tool",
12+
// -- engine
713
"/engine",
14+
// -- solutions pages --
815
"/solutions/gaming",
916
"/solutions/consumer-apps",
17+
"/solutions/defi",
18+
// -- campaigns --
19+
"/unlimited-wallets",
1020
];

apps/dashboard/next.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ const moduleExports = {
158158
serverSourceMaps: false,
159159
},
160160
cacheMaxMemorySize: 0,
161-
swcMinify: true,
162161
compiler: {
163162
emotion: true,
164163
},

apps/dashboard/package.json

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"preinstall": "npx only-allow pnpm",
7-
"dev": "next dev --turbo",
7+
"dev": "next dev --turbopack",
88
"build": "next build",
99
"start": "next start",
1010
"format": "biome format ./src --write",
@@ -27,7 +27,7 @@
2727
"@chakra-ui/theme-tools": "^2.1.2",
2828
"@emotion/react": "11.13.3",
2929
"@emotion/styled": "11.13.0",
30-
"@hookform/resolvers": "^3.9.0",
30+
"@hookform/resolvers": "^3.9.1",
3131
"@marsidev/react-turnstile": "^1.0.2",
3232
"@n8tb1t/use-scroll-position": "^2.0.3",
3333
"@radix-ui/react-alert-dialog": "^1.1.2",
@@ -45,13 +45,14 @@
4545
"@radix-ui/react-slot": "^1.1.0",
4646
"@radix-ui/react-switch": "^1.1.1",
4747
"@radix-ui/react-tooltip": "1.1.3",
48-
"@sentry/nextjs": "8.35.0",
49-
"@shazow/whatsabi": "^0.15.4",
48+
"@sentry/nextjs": "8.36.0",
49+
"@shazow/whatsabi": "^0.16.0",
5050
"@stripe/react-stripe-js": "^2.8.1",
5151
"@stripe/stripe-js": "^3.5.0",
52-
"@tanstack/react-query": "5.59.16",
52+
"@tanstack/react-query": "5.59.19",
5353
"@tanstack/react-table": "^8.17.3",
5454
"@thirdweb-dev/service-utils": "workspace:*",
55+
"@vercel/functions": "^1.4.2",
5556
"@vercel/og": "^0.6.2",
5657
"abitype": "1.0.6",
5758
"chakra-react-select": "^4.7.6",
@@ -61,38 +62,38 @@
6162
"compare-versions": "^6.1.0",
6263
"date-fns": "4.1.0",
6364
"flat": "^6.0.1",
64-
"framer-motion": "11.11.10",
65+
"framer-motion": "11.11.11",
6566
"fuse.js": "7.0.0",
66-
"input-otp": "^1.2.4",
67+
"input-otp": "^1.4.1",
6768
"ioredis": "^5.4.1",
6869
"ipaddr.js": "^2.2.0",
6970
"lottie-react": "^2.4.0",
7071
"lucide-react": "0.454.0",
71-
"next": "14.2.15",
72-
"next-plausible": "^3.12.0",
72+
"next": "15.0.2",
73+
"next-plausible": "^3.12.3",
7374
"next-seo": "^6.5.0",
74-
"next-themes": "^0.3.0",
75+
"next-themes": "^0.4.3",
7576
"nextjs-toploader": "^1.6.12",
7677
"papaparse": "^5.4.1",
7778
"pluralize": "^8.0.0",
7879
"posthog-js": "1.67.1",
7980
"prism-react-renderer": "^2.3.1",
8081
"prismjs": "^1.29.0",
8182
"qrcode": "^1.5.3",
82-
"react": "18.3.1",
83+
"react": "19.0.0-rc-69d4b800-20241021",
8384
"react-children-utilities": "^2.10.0",
8485
"react-day-picker": "^8.10.1",
85-
"react-dom": "18.3.1",
86-
"react-dropzone": "^14.2.9",
86+
"react-dom": "19.0.0-rc-69d4b800-20241021",
87+
"react-dropzone": "^14.3.5",
8788
"react-error-boundary": "^4.1.2",
8889
"react-hook-form": "7.52.0",
8990
"react-markdown": "^9.0.1",
9091
"react-responsive-carousel": "^3.2.23",
9192
"react-table": "^7.8.0",
92-
"recharts": "^2.13.0",
93+
"recharts": "^2.13.3",
9394
"remark-gfm": "^4.0.0",
9495
"server-only": "^0.0.1",
95-
"sonner": "^1.5.0",
96+
"sonner": "^1.7.0",
9697
"spdx-correct": "^3.2.0",
9798
"swagger-ui-react": "^5.17.14",
9899
"tailwind-merge": "^2.5.4",
@@ -104,26 +105,26 @@
104105
},
105106
"devDependencies": {
106107
"@chakra-ui/cli": "^2.4.1",
107-
"@chromatic-com/storybook": "2.0.2",
108-
"@next/bundle-analyzer": "14.2.15",
109-
"@next/eslint-plugin-next": "14.2.15",
108+
"@chromatic-com/storybook": "3.2.2",
109+
"@next/bundle-analyzer": "15.0.2",
110+
"@next/eslint-plugin-next": "15.0.2",
110111
"@playwright/test": "1.48.2",
111-
"@storybook/addon-essentials": "8.3.6",
112-
"@storybook/addon-interactions": "8.3.6",
113-
"@storybook/addon-links": "8.3.6",
114-
"@storybook/addon-onboarding": "8.3.6",
115-
"@storybook/addon-viewport": "8.3.6",
116-
"@storybook/blocks": "8.3.6",
117-
"@storybook/nextjs": "8.3.6",
118-
"@storybook/react": "8.3.6",
119-
"@storybook/test": "8.3.6",
112+
"@storybook/addon-essentials": "8.4.2",
113+
"@storybook/addon-interactions": "8.4.2",
114+
"@storybook/addon-links": "8.4.2",
115+
"@storybook/addon-onboarding": "8.4.2",
116+
"@storybook/addon-viewport": "8.4.2",
117+
"@storybook/blocks": "8.4.2",
118+
"@storybook/nextjs": "8.4.2",
119+
"@storybook/react": "8.4.2",
120+
"@storybook/test": "8.4.2",
120121
"@types/color": "4.2.0",
121122
"@types/node": "20.14.9",
122123
"@types/papaparse": "^5.3.15",
123124
"@types/pluralize": "^0.0.33",
124125
"@types/qrcode": "^1.5.5",
125-
"@types/react": "^18.3.11",
126-
"@types/react-dom": "^18.3.1",
126+
"@types/react": "npm:[email protected]",
127+
"@types/react-dom": "npm:[email protected].1",
127128
"@types/react-table": "^7.7.20",
128129
"@types/spdx-correct": "^3.1.3",
129130
"@types/swagger-ui-react": "^4.18.3",
@@ -133,12 +134,12 @@
133134
"checkly": "^4.8.1",
134135
"eslint": "8.57.0",
135136
"eslint-config-biome": "1.9.3",
136-
"eslint-plugin-react-compiler": "0.0.0-experimental-fa06e2c-20241014",
137+
"eslint-plugin-react-compiler": "19.0.0-beta-8a03594-20241020",
137138
"eslint-plugin-storybook": "^0.9.0",
138-
"knip": "5.34.2",
139+
"knip": "5.36.2",
139140
"next-sitemap": "^4.2.3",
140141
"postcss": "8.4.47",
141-
"storybook": "8.3.6",
142+
"storybook": "8.4.2",
142143
"tailwindcss": "3.4.14",
143144
"typescript": "5.6.3"
144145
}

apps/dashboard/redirects.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,43 @@ function redirects() {
284284
destination: "/explore",
285285
permanent: false,
286286
},
287+
288+
// framer redirects
289+
{
290+
source: "/deploy",
291+
destination: "/contracts/deployment-tool",
292+
permanent: false,
293+
},
294+
{
295+
source: "/publish",
296+
destination: "/contracts/deployment-tool",
297+
permanent: false,
298+
},
299+
{
300+
source: "/smart-contracts",
301+
destination: "/contracts/explore",
302+
permanent: false,
303+
},
304+
{
305+
source: "/build",
306+
destination: "/contracts/modular-contracts",
307+
permanent: false,
308+
},
309+
{
310+
source: "/ui-components",
311+
destination: "/sdk",
312+
permanent: false,
313+
},
314+
{
315+
source: "/interact",
316+
destination: "/sdk",
317+
permanent: false,
318+
},
319+
{
320+
source: "/sponsored-transactions",
321+
destination: "/account-abstraction",
322+
permanent: false,
323+
},
287324
];
288325
}
289326

apps/dashboard/src/@/api/projects.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export type Project = {
2121
};
2222

2323
export async function getProjects(teamSlug: string) {
24-
const cookiesManager = cookies();
24+
const cookiesManager = await cookies();
2525
const activeAccount = cookiesManager.get(COOKIE_ACTIVE_ACCOUNT)?.value;
2626
const token = activeAccount
2727
? cookiesManager.get(COOKIE_PREFIX_TOKEN + activeAccount)?.value
@@ -46,7 +46,7 @@ export async function getProjects(teamSlug: string) {
4646
}
4747

4848
export async function getProject(teamSlug: string, projectSlug: string) {
49-
const cookiesManager = cookies();
49+
const cookiesManager = await cookies();
5050
const activeAccount = cookiesManager.get(COOKIE_ACTIVE_ACCOUNT)?.value;
5151
const token = activeAccount
5252
? cookiesManager.get(COOKIE_PREFIX_TOKEN + activeAccount)?.value

apps/dashboard/src/@/api/team-members.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export type TeamMember = {
2525
};
2626

2727
export async function getMembers(teamSlug: string) {
28-
const token = getAuthToken();
28+
const token = await getAuthToken();
2929

3030
if (!token) {
3131
return undefined;

apps/dashboard/src/@/api/team.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type Team = {
2323
};
2424

2525
export async function getTeamBySlug(slug: string) {
26-
const cookiesManager = cookies();
26+
const cookiesManager = await cookies();
2727
const activeAccount = cookiesManager.get(COOKIE_ACTIVE_ACCOUNT)?.value;
2828
const token = activeAccount
2929
? cookiesManager.get(COOKIE_PREFIX_TOKEN + activeAccount)?.value
@@ -45,7 +45,7 @@ export async function getTeamBySlug(slug: string) {
4545
}
4646

4747
export async function getTeams() {
48-
const cookiesManager = cookies();
48+
const cookiesManager = await cookies();
4949
const activeAccount = cookiesManager.get(COOKIE_ACTIVE_ACCOUNT)?.value;
5050
const token = activeAccount
5151
? cookiesManager.get(COOKIE_PREFIX_TOKEN + activeAccount)?.value

0 commit comments

Comments
 (0)