Skip to content

Commit 8b74c20

Browse files
committed
resolve merge conflicts
2 parents b0c0b17 + 0d82fc0 commit 8b74c20

File tree

428 files changed

+12114
-11234
lines changed

Some content is hidden

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

428 files changed

+12114
-11234
lines changed

.changeset/funny-dragons-thank.md

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

.github/contributing.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ To get started, read the [How this repo works](#how-this-repo-works) section bel
66

77
From there, you can take a look at our [Good First Issues](https://github.com/thirdweb-dev/js/labels/good%20first%20issue) board and find an issue that interests you!
88

9-
If you have any questions about the issue, feel free to ask on our [Discord server](https://discord.gg/thirdweb) in the `#contributors` channel; where you'll be able to get help from our team and other contributors.
10-
119
<br />
1210

1311
## How this repo works
@@ -85,7 +83,10 @@ If your test depends on a downstream network call, you must mock the call using
8583
import { setupServer } from "msw/node";
8684
import { downloadMock, uploadMock } from "../../../test/src/mocks/storage.js";
8785

88-
const server = setupServer(uploadMock("HASH"), downloadMock({ name: "Test NFT" }));
86+
const server = setupServer(
87+
uploadMock("HASH"),
88+
downloadMock({ name: "Test NFT" })
89+
);
8990

9091
beforeAll(() => server.listen());
9192
afterEach(() => server.resetHandlers());

.github/workflows/CI.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020

2121
jobs:
2222
optimize_ci:
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-latest-8
2424
outputs:
2525
skip: ${{ steps.check_skip.outputs.skip }}
2626
steps:
@@ -34,7 +34,7 @@ jobs:
3434
build:
3535
needs: optimize_ci
3636
if: needs.optimize_ci.outputs.skip == 'false'
37-
runs-on: ubuntu-latest
37+
runs-on: ubuntu-latest-8
3838
name: Build Packages
3939
steps:
4040
- name: Check out the code
@@ -51,7 +51,7 @@ jobs:
5151
if: needs.optimize_ci.outputs.skip == 'false'
5252
timeout-minutes: 15
5353
name: Lint Packages
54-
runs-on: ubuntu-latest
54+
runs-on: ubuntu-latest-8
5555
steps:
5656
- name: Check out the code
5757
uses: actions/checkout@v4
@@ -71,7 +71,7 @@ jobs:
7171
if: needs.optimize_ci.outputs.skip == 'false'
7272
timeout-minutes: 15
7373
name: Unit Tests
74-
runs-on: ubuntu-latest
74+
runs-on: ubuntu-latest-8
7575
steps:
7676
- name: Check out the code
7777
uses: actions/checkout@v4
@@ -99,7 +99,7 @@ jobs:
9999
if: needs.optimize_ci.outputs.skip == 'false'
100100
timeout-minutes: 15
101101
name: E2E Tests
102-
runs-on: ubuntu-latest
102+
runs-on: ubuntu-latest-8
103103
strategy:
104104
matrix:
105105
package_manager: [npm, yarn, pnpm, bun]
@@ -169,7 +169,7 @@ jobs:
169169
if: github.event_name == 'pull_request' && needs.optimize_ci.outputs.skip == 'false'
170170
timeout-minutes: 15
171171
name: "Size"
172-
runs-on: ubuntu-latest
172+
runs-on: ubuntu-latest-8
173173
steps:
174174
- name: Check out the code
175175
uses: actions/checkout@v4

.github/workflows/issue.yml

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

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
<a href="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml">
1212
<img alt="Build Status" src="https://github.com/thirdweb-dev/js/actions/workflows/CI.yml/badge.svg"/>
1313
</a>
14-
<a href="https://discord.gg/thirdweb">
15-
<img alt="Join our Discord!" src="https://img.shields.io/discord/834227967404146718.svg?color=7289da&label=discord&logo=discord&style=flat"/>
16-
</a>
1714
</p>
1815

1916
<p align="center"><strong>All-in-one web3 SDK for Browser, Node and Mobile apps</strong></p>

apps/dashboard/.env.example

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@
66
# not required to build, defaults to prod
77
NEXT_PUBLIC_THIRDWEB_DOMAIN="localhost:3000"
88

9-
# API host. For local development, please use "https://api.thirdweb-preview.com"
9+
# API host. For local development, please use "https://api.thirdweb-dev.com"
1010
# otherwise: "https://api.thirdweb.com"
1111
NEXT_PUBLIC_THIRDWEB_API_HOST="https://api.thirdweb-dev.com"
1212

13+
# Bridge API. For local development, please use "https://bridge.thirdweb-dev.com"
14+
# otherwise: "https://bridge.thirdweb.com"
15+
NEXT_PUBLIC_THIRDWEB_BRIDGE_HOST="https://bridge.thirdweb-dev.com"
16+
1317
# Paper API host
1418
NEXT_PUBLIC_THIRDWEB_EWS_API_HOST="https://ews.thirdweb-dev.com"
1519

@@ -97,4 +101,4 @@ REDIS_URL=""
97101
ANALYTICS_SERVICE_URL=""
98102

99103
# Required for Nebula Chat
100-
NEXT_PUBLIC_NEBULA_URL=""
104+
NEXT_PUBLIC_NEBULA_URL=""

apps/dashboard/framer-rewrites.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ module.exports = [
1111
"/connect/sign-in",
1212
"/connect/account-abstraction",
1313
"/connect/universal-bridge",
14+
"/connect/auth",
15+
"/connect/in-app-wallets",
16+
// -- storage
17+
"/storage",
1418
// -- nebula
1519
"/nebula",
1620
// --insight
@@ -43,4 +47,12 @@ module.exports = [
4347
// -- templates --
4448
"/templates",
4549
"/templates/:template_slug",
50+
// -- learn --
51+
"/learn",
52+
"/learn/tutorials",
53+
"/learn/tutorials/:tutorial_slug",
54+
"/learn/guides",
55+
"/learn/guides/:guide_slug",
56+
"/learn/courses",
57+
"/learn/glossary",
4658
];

apps/dashboard/knip.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,9 @@
99
],
1010
"project": ["src/**"],
1111
"ignoreBinaries": ["only-allow", "biome"],
12-
"ignoreDependencies": ["@storybook/blocks", "@thirdweb-dev/service-utils"]
12+
"ignoreDependencies": [
13+
"@storybook/blocks",
14+
"@thirdweb-dev/service-utils",
15+
"@types/color"
16+
]
1317
}

apps/dashboard/next.config.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const ContentSecurityPolicy = `
1212
style-src 'self' 'unsafe-inline' vercel.live;
1313
font-src 'self' vercel.live assets.vercel.com framerusercontent.com fonts.gstatic.com;
1414
frame-src * data:;
15-
script-src 'self' 'unsafe-eval' 'unsafe-inline' 'wasm-unsafe-eval' 'inline-speculation-rules' *.thirdweb.com *.thirdweb-dev.com vercel.live js.stripe.com framerusercontent.com events.framer.com challenges.cloudflare.com;
15+
script-src 'self' 'unsafe-eval' 'unsafe-inline' 'wasm-unsafe-eval' 'inline-speculation-rules' *.thirdweb.com *.thirdweb-dev.com vercel.live js.stripe.com framerusercontent.com events.framer.com challenges.cloudflare.com static.reo.dev;
1616
connect-src * data: blob:;
1717
worker-src 'self' blob:;
1818
block-all-mixed-content;
@@ -101,9 +101,6 @@ const SENTRY_OPTIONS: SentryBuildOptions = {
101101
// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
102102
tunnelRoute: "/err",
103103

104-
// Hides source maps from generated client bundles
105-
hideSourceMaps: true,
106-
107104
// Automatically tree-shake Sentry logger statements to reduce bundle size
108105
disableLogger: true,
109106

@@ -156,7 +153,7 @@ const baseNextConfig: NextConfig = {
156153
// re-write /home to / (this is so that logged in users will be able to go to /home and NOT be redirected to the logged in app)
157154
{
158155
source: "/home",
159-
destination: "/",
156+
destination: "https://landing.thirdweb.com",
160157
},
161158
...FRAMER_PATHS.map((path) => ({
162159
source: path,

apps/dashboard/package.json

Lines changed: 53 additions & 52 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": "NODE_OPTIONS=--max-old-space-size=6144 next build",
99
"start": "next start",
1010
"format": "biome format ./src --write",
@@ -29,49 +29,50 @@
2929
"@emotion/styled": "11.14.0",
3030
"@hookform/resolvers": "^3.9.1",
3131
"@marsidev/react-turnstile": "^1.1.0",
32-
"@n8tb1t/use-scroll-position": "^2.0.3",
33-
"@radix-ui/react-accordion": "^1.2.2",
34-
"@radix-ui/react-alert-dialog": "^1.1.5",
35-
"@radix-ui/react-avatar": "^1.1.2",
36-
"@radix-ui/react-checkbox": "^1.1.3",
37-
"@radix-ui/react-dialog": "1.1.5",
38-
"@radix-ui/react-dropdown-menu": "^2.1.5",
39-
"@radix-ui/react-hover-card": "^1.1.5",
40-
"@radix-ui/react-label": "^2.1.1",
41-
"@radix-ui/react-popover": "^1.1.5",
42-
"@radix-ui/react-progress": "^1.1.1",
43-
"@radix-ui/react-radio-group": "^1.2.2",
44-
"@radix-ui/react-select": "^2.1.5",
45-
"@radix-ui/react-separator": "^1.1.1",
46-
"@radix-ui/react-slot": "^1.1.1",
47-
"@radix-ui/react-switch": "^1.1.2",
48-
"@radix-ui/react-tooltip": "1.1.7",
49-
"@sentry/nextjs": "8.53.0",
32+
"@radix-ui/react-accordion": "^1.2.3",
33+
"@radix-ui/react-alert-dialog": "^1.1.6",
34+
"@radix-ui/react-avatar": "^1.1.3",
35+
"@radix-ui/react-checkbox": "^1.1.4",
36+
"@radix-ui/react-dialog": "1.1.6",
37+
"@radix-ui/react-dropdown-menu": "^2.1.6",
38+
"@radix-ui/react-hover-card": "^1.1.6",
39+
"@radix-ui/react-label": "^2.1.2",
40+
"@radix-ui/react-popover": "^1.1.6",
41+
"@radix-ui/react-progress": "^1.1.2",
42+
"@radix-ui/react-radio-group": "^1.2.3",
43+
"@radix-ui/react-select": "^2.1.6",
44+
"@radix-ui/react-separator": "^1.1.2",
45+
"@radix-ui/react-slot": "^1.1.2",
46+
"@radix-ui/react-switch": "^1.1.3",
47+
"@radix-ui/react-tooltip": "1.1.8",
48+
"@sentry/nextjs": "9.2.0",
5049
"@shazow/whatsabi": "^0.19.0",
51-
"@tanstack/react-query": "5.66.0",
52-
"@tanstack/react-table": "^8.20.6",
50+
"@tanstack/react-query": "5.66.9",
51+
"@tanstack/react-table": "^8.21.2",
5352
"@thirdweb-dev/service-utils": "workspace:*",
54-
"@vercel/functions": "^1.6.0",
53+
"@vercel/functions": "2.0.0",
5554
"@vercel/og": "^0.6.5",
5655
"abitype": "1.0.8",
5756
"chakra-react-select": "^4.7.6",
5857
"class-variance-authority": "^0.7.1",
5958
"clsx": "^2.1.1",
60-
"color": "^4.2.3",
59+
"color": "5.0.0",
6160
"compare-versions": "^6.1.0",
6261
"date-fns": "4.1.0",
6362
"fetch-event-stream": "0.1.5",
6463
"flat": "^6.0.1",
65-
"framer-motion": "12.0.6",
66-
"fuse.js": "7.0.0",
64+
"framer-motion": "12.4.7",
65+
"fuse.js": "7.1.0",
66+
"idb-keyval": "^6.2.1",
6767
"input-otp": "^1.4.1",
68-
"ioredis": "^5.4.1",
68+
"ioredis": "^5.5.0",
6969
"ipaddr.js": "^2.2.0",
70-
"lucide-react": "0.474.0",
71-
"next": "15.1.6",
70+
"lucide-react": "0.476.0",
71+
"next": "15.2.0",
7272
"next-plausible": "^3.12.4",
7373
"next-themes": "^0.4.4",
7474
"nextjs-toploader": "^1.6.12",
75+
"nuqs": "^2.4.0",
7576
"p-limit": "^6.2.0",
7677
"papaparse": "^5.5.2",
7778
"pluralize": "^8.0.0",
@@ -81,48 +82,48 @@
8182
"react-children-utilities": "^2.10.0",
8283
"react-day-picker": "^8.10.1",
8384
"react-dom": "19.0.0",
84-
"react-dropzone": "^14.3.5",
85+
"react-dropzone": "^14.3.8",
8586
"react-error-boundary": "^5.0.0",
8687
"react-hook-form": "7.54.2",
8788
"react-markdown": "^9.0.1",
8889
"react-table": "^7.8.0",
8990
"recharts": "2.15.1",
90-
"remark-gfm": "^4.0.0",
91+
"remark-gfm": "4.0.1",
9192
"responsive-rsc": "0.0.7",
9293
"server-only": "^0.0.1",
9394
"shiki": "1.27.0",
94-
"sonner": "^1.7.4",
95+
"sonner": "2.0.1",
9596
"spdx-correct": "^3.2.0",
96-
"swagger-ui-react": "^5.18.3",
97+
"swagger-ui-react": "^5.19.0",
9798
"tailwind-merge": "^2.6.0",
9899
"tailwindcss-animate": "^1.0.7",
99100
"thirdweb": "workspace:*",
100101
"tiny-invariant": "^1.3.3",
101102
"use-debounce": "^10.0.4",
102-
"zod": "3.24.1"
103+
"zod": "3.24.2"
103104
},
104105
"devDependencies": {
105106
"@chakra-ui/cli": "^2.4.1",
106107
"@chromatic-com/storybook": "3.2.4",
107-
"@next/bundle-analyzer": "15.1.6",
108-
"@next/eslint-plugin-next": "15.1.6",
108+
"@next/bundle-analyzer": "15.2.0",
109+
"@next/eslint-plugin-next": "15.2.0",
109110
"@playwright/test": "1.50.1",
110-
"@storybook/addon-essentials": "8.5.2",
111-
"@storybook/addon-interactions": "8.5.2",
112-
"@storybook/addon-links": "8.5.2",
113-
"@storybook/addon-onboarding": "8.5.2",
114-
"@storybook/addon-viewport": "8.5.2",
115-
"@storybook/blocks": "8.5.2",
116-
"@storybook/nextjs": "8.5.2",
117-
"@storybook/react": "8.5.2",
118-
"@storybook/test": "8.5.2",
111+
"@storybook/addon-essentials": "8.6.0",
112+
"@storybook/addon-interactions": "8.6.0",
113+
"@storybook/addon-links": "8.6.0",
114+
"@storybook/addon-onboarding": "8.6.0",
115+
"@storybook/addon-viewport": "8.6.0",
116+
"@storybook/blocks": "8.6.0",
117+
"@storybook/nextjs": "8.6.0",
118+
"@storybook/react": "8.6.0",
119+
"@storybook/test": "8.6.0",
119120
"@types/color": "4.2.0",
120-
"@types/node": "22.13.0",
121+
"@types/node": "22.13.5",
121122
"@types/papaparse": "^5.3.15",
122123
"@types/pluralize": "^0.0.33",
123124
"@types/qrcode": "^1.5.5",
124-
"@types/react": "19.0.8",
125-
"@types/react-dom": "19.0.3",
125+
"@types/react": "19.0.10",
126+
"@types/react-dom": "19.0.4",
126127
"@types/react-table": "^7.7.20",
127128
"@types/spdx-correct": "^3.1.3",
128129
"@types/swagger-ui-react": "^4.19.0",
@@ -132,12 +133,12 @@
132133
"checkly": "^4.19.1",
133134
"eslint": "8.57.0",
134135
"eslint-config-biome": "1.9.4",
135-
"eslint-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
136-
"eslint-plugin-storybook": "^0.11.1",
137-
"knip": "5.43.6",
136+
"eslint-plugin-react-compiler": "19.0.0-beta-e1e972c-20250221",
137+
"eslint-plugin-storybook": "0.11.3",
138+
"knip": "5.45.0",
138139
"next-sitemap": "^4.2.3",
139-
"postcss": "8.5.1",
140-
"storybook": "8.5.2",
140+
"postcss": "8.5.3",
141+
"storybook": "8.6.0",
141142
"tailwindcss": "3.4.17",
142143
"typescript": "5.7.3"
143144
}

0 commit comments

Comments
 (0)