Skip to content

Commit bf67f74

Browse files
authored
Merge branch 'main' into yash/deploy-config-updates
2 parents ca06880 + dceb47d commit bf67f74

File tree

27 files changed

+235
-104
lines changed

27 files changed

+235
-104
lines changed

.changeset/cool-pumpkins-punch.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+
Dont retry on quote errors, show fiat value in every step

.changeset/good-carpets-dream.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+
Handle updating session keys with new params and expose `shouldUpdateSessionKey` from `extensions/erc4337`

.changeset/many-cameras-cover.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+
Add treasure and treasureTopaz chain definitions

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export type Team = {
2424
image?: string;
2525
billingPlan: "pro" | "growth" | "free" | "starter";
2626
billingStatus: "validPayment" | (string & {}) | null;
27+
supportPlan: "pro" | "growth" | "free" | "starter";
2728
billingEmail: string | null;
2829
growthTrialEligible: false;
2930
enabledScopes: EnabledTeamScope[];

apps/dashboard/src/app/(dashboard)/support/create-ticket/components/create-ticket.action.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,10 @@ export async function createTicketAction(
9898
loginRedirect("/support");
9999
}
100100

101-
const customerId = isValidPlan(team.billingPlan)
102-
? planToCustomerId[team.billingPlan]
103-
: undefined;
101+
const customerId = isValidPlan(team.supportPlan)
102+
? planToCustomerId[team.supportPlan]
103+
: // fallback to "free" tier
104+
planToCustomerId.free;
104105

105106
const product = formData.get("product")?.toString() || "";
106107
const problemArea = formData.get("extraInfo_Problem_Area")?.toString() || "";

apps/dashboard/src/app/(landing)/in-app-wallets/page.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import analyticsImage from "../../../../public/assets/landingpage/desktop/analyt
1414
import authDesktopImage from "../../../../public/assets/landingpage/desktop/auth.png";
1515
import crossPlatformDesktopImage from "../../../../public/assets/landingpage/desktop/cross-platform.png";
1616
import enterpriseSecurityImage from "../../../../public/assets/landingpage/desktop/enterprise-security.png";
17-
import guestImage from "../../../../public/assets/landingpage/desktop/guest.png";
1817
import magicImage from "../../../../public/assets/landingpage/desktop/magic.png";
1918
import onboardImage from "../../../../public/assets/landingpage/desktop/onboard.png";
2019
import powerfulImage from "../../../../public/assets/landingpage/desktop/powerful.png";
@@ -24,7 +23,6 @@ import analyticsMobileImage from "../../../../public/assets/landingpage/mobile/a
2423
import authMobileImage from "../../../../public/assets/landingpage/mobile/auth.png";
2524
import crossPlatformMobileImage from "../../../../public/assets/landingpage/mobile/cross-platform.png";
2625
import enterpriseSecurityMobileImage from "../../../../public/assets/landingpage/mobile/enterprise-security.png";
27-
import guestMobileImage from "../../../../public/assets/landingpage/mobile/guest.png";
2826
import magicMobileImage from "../../../../public/assets/landingpage/mobile/magic.png";
2927
import mobileOnboardImage from "../../../../public/assets/landingpage/mobile/onboard.png";
3028
import powerfulMobileImage from "../../../../public/assets/landingpage/mobile/powerful.png";
@@ -190,16 +188,6 @@ export default function Page() {
190188
href="https://portal.thirdweb.com/connect/in-app-wallet/how-to/enable-gasless"
191189
/>
192190

193-
<LandingCardWithImage
194-
title="Guest mode"
195-
description={`Allow anyone to use your app in seconds — with a wallet that's generated automatically when they press "Continue as guest."`}
196-
image={guestImage}
197-
mobileImage={guestMobileImage}
198-
TRACKING_CATEGORY={TRACKING_CATEGORY}
199-
href="https://portal.thirdweb.com/references/wallets/latest/LocalWallet"
200-
colSpan={1}
201-
/>
202-
203191
<LandingCardWithImage
204192
title="Bring your own auth"
205193
description="Integrate your authentication system and spin up in-app wallets for your users — new and existing."

apps/dashboard/src/contract-ui/tabs/code/components/code-overview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ const WALLETS_SNIPPETS = [
242242
description: "Deploy accounts for your users",
243243
iconUrl:
244244
"ipfs://QmeAJVqn17aDNQhjEU3kcWVZCFBrfta8LzaDGkS8Egdiyk/smart-wallet.svg",
245-
link: "https://portal.thirdweb.com/references/wallets/latest/SmartWallet",
245+
link: "https://portal.thirdweb.com/references/typescript/v5/smartWallet",
246246
supportedLanguages: {
247247
javascript: `import { defineChain } from "thirdweb";
248248
import { inAppWallet, smartWallet } from "thirdweb/wallets";

apps/dashboard/src/stories/stubs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export function teamStub(id: string, billingPlan: Team["billingPlan"]): Team {
3636
const team: Team = {
3737
id: `team-${id}-id`,
3838
billingPlan: billingPlan,
39+
supportPlan: billingPlan,
3940
billingStatus: "validPayment",
4041
name: `Team ${id}`,
4142
slug: `team-${id}`,

apps/portal/redirects.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,8 @@ const v4ToV5Redirects = {
998998
"/storage-sdk/v2/:path*": "/typescript/v5/storage",
999999
"/unity/v4": "/unity/v5",
10001000
"/unity/v4/:path*": "/unity/v5",
1001+
"/references/wallets": "/typescript/v5/supported-wallets",
1002+
"/references/wallets/:path*": "/typescript/v5/supported-wallets",
10011003
};
10021004

10031005
/**

apps/portal/src/app/cli/login/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ This only needs to be done once per device.
5858

5959
When you login with the dashboard, a number of things happen:
6060

61-
- A [local wallet](/references/wallets/v2/LocalWallet) is created and stored in your device's local storage.
61+
- A local wallet is created and stored in your device's local storage.
6262
- An auth token is generated for this local wallet.
6363
- The auth token is linked to your wallet when you sign the message.
6464

0 commit comments

Comments
 (0)