Compare commits

...
Author SHA1 Message Date
Joaquim VergesGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
073b25afd7 Version Packages (#6083)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-28 17:40:13 -08:00
Joaquim VergesandGitHub 4550bb2663 [SDK] feat: Expose Account and Wallet components in React Native (#6082) 2025-01-28 16:29:50 -08:00
Manan TankandGitHub f5f8a40320 [TOOL-3251] Dashboard: Add Rotate Secret Key feature in Project Settings page (#6087) 2025-01-28 14:21:25 -08:00
Joaquim VergesandGitHub 3569763501 [Dashboard] fix: Use API key for in-app wallet analytics (#6086) 2025-01-29 09:44:02 +13:00
Joaquim VergesandGitHub 1401f8d039 [SDK] fix: Auto-connection of in-app wallets in React Native (#6076) 2025-01-29 07:13:09 +13:00
Jonas DanielsandGitHub 1616b7f619 update dependencies (#6079) 2025-01-27 23:08:39 -08:00
saminaandGitHub aa548a359f Nebula docs (#6080) 2025-01-27 19:22:38 -08:00
Jonas DanielsandGitHub eef52dfa7e update plan selection copy and tracking (#6078) 2025-01-27 16:56:30 -08:00
Joaquim VergesandGitHub 19ec571500 chore: Update PR template format (#6077) 2025-01-28 13:13:07 +13:00
Jonas DanielsandGitHub 47dce2e05c remove growth trial eligibility (#6070) 2025-01-27 15:13:51 -08:00
Joaquim VergesGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
8b4695224c Version Packages (#6075)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-28 12:00:53 +13:00
Joaquim VergesandGitHub 94e2d5b8dd [SDK] fix: Account linking for ecosystem smart wallets (#6074) 2025-01-28 11:44:05 +13:00
Joaquim VergesGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
40fa323294 Version Packages (#6073)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-28 11:02:56 +13:00
Joaquim VergesandGitHub 2cebb420e6 [SDK] fix: Show link profiles for ecosystem smart wallets (#6072) 2025-01-28 10:59:05 +13:00
Joaquim VergesandGitHub e89ddb24f2 [SDK] fix: Update ecosystem name and admin wallet handling (#6071) 2025-01-28 10:54:27 +13:00
Joaquim VergesGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
86f205e2aa Version Packages (#6069)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-28 10:14:31 +13:00
Joaquim VergesandGitHub 6c277ae676 [SDK] fix: Respect chain param in in-app wallet connection (#6068) 2025-01-28 09:57:07 +13:00
MananTank 153651df35 [TOOL-3241] Fix previous account shown after logging out in onboarding flow (#6061) 2025-01-27 19:49:51 +00:00
MananTank 8ba460b6fc [NEB-77] Nebula: Various UI updates (#6060) 2025-01-27 18:18:13 +00:00
MananTank 1e61a9edfc [TOOL-3238] Fix Engine backend wallet balances not updating on chain change (#6059) 2025-01-27 17:00:48 +00:00
MananTank d03e687aa9 [TOOL-3231] Show View Project Link after creating a project in Modal (#6055)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces the `teamSlug` prop across multiple components to enhance API key management by associating it with specific teams. This allows for better project handling and user navigation within the dashboard.

### Detailed summary
- Added `teamSlug` prop to `CreateAPIKeyModal` and related components.
- Updated `embed-setup.tsx` to handle `teamSlug` as `undefined`.
- Integrated `teamSlug` in `TeamProjectsPage` and `AccountHeader`.
- Modified `CreateAPIKeyDialog` to include `teamSlug` in props.
- Enhanced `APIKeyDetails` to fetch projects based on `teamSlug`.
- Implemented conditional rendering for "View Project" button based on `teamSlug`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-27 09:52:19 +00:00
Joaquim VergesandGitHub e1c0dbe19e [SDK] chore: Increase CJS bundle size limit to 130kb (#6058) 2025-01-27 20:42:56 +13:00
Joaquim VergesGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
3e7df081d7 Version Packages (#6048)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-27 20:41:53 +13:00
Joaquim VergesandGitHub b6f189c220 [SDK] update dependencies (#6057) 2025-01-27 16:48:24 +13:00
Phillip HoandGitHub fb4d0a26f1 [service-utils] Replace client_id with project_id in usage_v2 (#6050) 2025-01-24 17:02:15 +08:00
Phillip HoandGitHub bc345371ba [service-utils] usage_v2 accepts a project_id field (#6049) 2025-01-24 16:44:26 +08:00
Phillip HoandGitHub 7a8e4e5f86 [service-utils] Export UsageV2 helpers (#6047) 2025-01-24 15:55:41 +08:00
Joaquim VergesGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
6ba3b30b60 Version Packages (#6030)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-24 15:08:14 +13:00
Joaquim VergesandGitHub 5ad442cf0c [SDK] fix: Simplify in-app wallet logout flow (#6046) 2025-01-24 14:49:15 +13:00
Phillip HoandGitHub 5756c74a71 [service-utils] feat: Add usageV2 support (#6021) 2025-01-24 08:52:35 +08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a1cff7a579 build(deps-dev): bump checkly from 4.15.0 to 4.18.0 (#6045)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-24 13:46:30 +13:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
eafaefec20 build(deps-dev): bump vite from 6.0.10 to 6.0.11 in the npm_and_yarn group (#6022)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-24 13:37:31 +13:00
Manan TankandGitHub b81d7a1854 [TOOL-3207] Portal: Delete V4 SDK pages, Setup knip lint, Fix lint config (#6039) 2025-01-24 13:37:03 +13:00
Winston YeoandGitHub 21cc45adc2 Winston/tool 3161 cannot create backend wallets using latest version (#6025) 2025-01-24 13:36:33 +13:00
Joaquim VergesandGitHub a67d342779 [SDK] fix: Improve smart wallet signature verification (#6040) 2025-01-24 13:35:58 +13:00
Joaquim VergesandGitHub 60edce49c0 [SDK] fix: Improve WalletConnect mobile connection handling (#6042) 2025-01-24 13:35:31 +13:00
Joaquim VergesandGitHub 20c0dca958 [Portal] fix: Update useAutoConnect hook reference link (#6043) 2025-01-24 13:35:11 +13:00
Joaquim VergesandGitHub 4b30b847e2 [Dashboard] fix: Use formatted ABI for contract function calls (#6044) 2025-01-24 13:34:47 +13:00
MananTank b2cc17fd1e [TOOL-3220] Dashboard: Reset Project pagination on filter change, SDK: Fix WalletProvider JSDoc (#6041) 2025-01-23 23:58:47 +00:00
MananTank ace1dc5b09 [TOOL-3124] Dashboard: paginate projects, sort by Montly active users (#6027)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the project analytics in the dashboard by changing how project data is retrieved and displayed. It updates the calculation of user connections to reflect monthly active users and introduces pagination for project listings.

### Detailed summary
- Replaced `getProjectsWithTotalWallets` with `getProjectsWithAnalytics`.
- Updated project data structure to include `monthlyActiveUsers` instead of `totalConnections`.
- Introduced pagination in the `TeamProjectsPage` component.
- Changed sorting criteria from `totalConnections` to `monthlyActiveUsers`.
- Updated UI elements to reflect the new data fields.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-23 12:09:59 +00:00
Joaquim VergesandGitHub 9f79277344 [Dashboard] perf: Optimize chain and contract data processing (#6035) 2025-01-23 13:47:14 +13:00
MananTank 6e0fd205ff [TOOL-2964] Dashboard: Fix crash on unix time converter page for invalid unix time, UI improvements (#6036)
=
2025-01-22 23:58:04 +00:00
MananTank 69b1ee9176 [TOOL-3082] Dashboard: Replace NetworkSelectorButton with SingleNetworkSelector where switching chain in wallet is not required (#6031)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces enhancements to the `SingleNetworkSelector` component and its usage across various files. It adds new props for alignment and positioning, replaces existing network selector buttons, and integrates chain ID handling in several components.

### Detailed summary
- Added `side`, `disableChainId`, and `align` props to `SingleNetworkSelector`.
- Updated `SingleNetworkSelector` to conditionally render the chain ID badge.
- Replaced `NetworkSelectorButton` with `SingleNetworkSelector` in multiple components.
- Integrated `chainId` state management using `useState` in `BackendWalletsSection` and `ImportForm`.
- Updated `BackendWalletsTable` and `BackendWalletBalanceCell` to accept `chainId` as a prop.
- Changed the way active chains are retrieved with `useActiveChainAsDashboardChain` to `useV5DashboardChain`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-22 23:48:14 +00:00
MananTank 0a19142a24 [TOOL-3120] Redirect to last visited team page if authenticated (#6028) 2025-01-22 23:39:05 +00:00
MananTank feb4fd0908 [TOOL-3123] Dashboard: Order projects by total wallets (#6026)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the `CopyTextButton` component, optimizing the project fetching logic, and improving project display features by integrating total wallet connections in the dashboard.

### Detailed summary
- Changed `tooltip` type in `CopyTextButton` to `string | undefined`.
- Updated the API call in `getChangelog` to limit results to 7.
- Replaced cookie-based token retrieval with `getAuthToken` in `getProjects`.
- Added `getProjectsWithTotalWallets` to calculate total wallet connections.
- Updated `TeamProjectsPage` to display projects with total connections.
- Modified sorting logic in `TeamProjectsPage` to include total connections.
- Replaced `CopyButton` with `CopyTextButton` in `ProjectCard`.
- Enhanced project display to show total users.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-22 23:30:11 +00:00
gregfromstl 1d8695eb42 [SDK] Fix: Opt out of 1559 on lumia mainnet (#6032)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds support for the `Lumia Mainnet` in the fee data configuration.

### Detailed summary
- Added a new entry for `Lumia Mainnet` in the fee data array.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-22 22:34:34 +00:00
Joaquim VergesandGitHub 858dc53a25 [Dashboard] fix: Add error reason to analytics API error logs (#6034) 2025-01-23 11:34:16 +13:00
Joaquim VergesandGitHub 8997fac1b0 [Dashboard] fix: Improve error logging for analytics API failures (#6033) 2025-01-23 11:25:35 +13:00
gregfromstl 403e4224e4 Chore: Remove Jakub from CODEOWNERS (#6029)
<!-- start pr-codex -->

## PR-Codex overview
This PR modifies the `.github/CODEOWNERS` file to remove a specific code owner from the `apps/` directory.

### Detailed summary
- Removed `@jakubkrehel` as a code owner for the `apps/` directory.
- Retained `@thirdweb-dev/developer-tools` and `@thirdweb-dev/core-platform` as code owners for the `apps/` directory.
- `scripts/` code ownership remains unchanged with `@jnsdls` and `@joaquim-verges`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-22 20:17:33 +00:00
Phillip HoandGitHub de039ef462 [service-utils] fix: Don't hash cache key (#6023) 2025-01-23 04:16:16 +08:00
Joaquim VergesandGitHub 35fd3bcafa [Dashboard] feat: Add transaction analytics and tracking (#6019) 2025-01-23 08:36:04 +13:00
MananTank 80a22ff45e [TOOL-3173] Portal: Update hero iamge, OG image on landing page (#6017) 2025-01-22 21:46:05 +05:30
Joaquim VergesGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
eefa2ab424 Version Packages (#6018)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-22 17:40:37 +13:00
Joaquim VergesandGitHub ab9a148b75 [SDK] feat: Add transaction tracking for smart wallets (#6020) 2025-01-22 17:12:38 +13:00
gregandGitHub 8bbee03c77 [SDK] Fix: Allow smart wallets for site linking (#6015) 2025-01-21 17:02:11 -08:00
gregandGitHub b38604cce8 [SDK] Fix: Do not remove chain listener on disconnect (#6011) 2025-01-21 15:45:55 -08:00
MananTank 59eda22043 [TOOL-3066] Dashboard: Fix 404 on example asset files, robots.txt, sitemap.xml (#6014) 2025-01-21 21:17:22 +00:00
MananTank 577636c037 [TOOL-3156] Dashboard: Fix localhost engine not loading, fetch engine permission on client side (#6013)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances the engine access permission handling in the dashboard. It introduces a new component, `EnsureEnginePermission`, which checks permissions before rendering engine details and handles various error states more effectively.

### Detailed summary
- Added `account` to the return object in `getEngineInstancePageMeta.ts`.
- Improved URL handling in `getEngineAccessPermission.ts`.
- Introduced `EnsureEnginePermission` component.
- Replaced direct permission checks in `Layout` with `EnsureEnginePermission`.
- Removed `EngineInstanceLayoutContent` component.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-21 20:50:21 +00:00
jnsdls 1d844ac5d6 add connect/pay to framer rewrites (#6012)
closes: CORE-708

### TL;DR
Added `/connect/pay` route to Framer rewrites

### What changed?
Added a new route `/connect/pay` to the list of Framer rewrites in the dashboard application

### How to test?
1. Navigate to `/connect/pay` in the dashboard
2. Verify the route resolves correctly
3. Ensure the page loads without any routing errors

### Why make this change?
To enable proper routing and rendering of the new payment page in the Connect section of the dashboard
2025-01-21 19:21:28 +00:00
MananTank c7be92f75b [TOOL-3166] Update portal theming to match dashboard (#6010)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating the styling and structure of various components in the `apps/portal` project, enhancing UI consistency and accessibility. It introduces color changes, layout adjustments, and modifies several components' props for better integration.

### Detailed summary
- Deleted `docs-hero.png` and `docs-hero.svg`.
- Updated `fill` attribute in `UnrealEngineIcon.tsx` and `UnityIcon.tsx` to `currentColor`.
- Changed color definitions in `layout.tsx` and several components to use `text-foreground` and `text-muted-foreground`.
- Modified class names in `Paragraph.tsx`, `InlineCode.tsx`, and `Document` components for improved styling.
- Adjusted button classes in `Button.tsx` and `Feedback.tsx` for consistency.
- Refactored links to use `DocLink` for better routing.
- Updated `Callout` component styling to use `bg-card`.
- Enhanced accessibility features across various components by modifying text colors and ensuring proper contrast.
- Modified `tailwind.config.ts` to introduce new color variables for better theme management.
- Improved layout consistency in multiple `page.mdx` files by adjusting grid gaps and spacing.

> The following files were skipped due to too many changes: `apps/portal/src/app/contracts/deploy/overview/page.mdx`, `apps/portal/src/components/others/ScrollShadow/ScrollShadow.tsx`, `apps/portal/src/components/ui/select.tsx`, `apps/portal/src/components/others/Sidebar.tsx`, `apps/portal/src/app/contracts/explore/pre-built-modular/token-drop/page.mdx`, `apps/portal/src/components/others/DocSearch.tsx`, `apps/portal/src/icons/products/nebula/NebulaIcon.tsx`, `apps/portal/src/app/contracts/explore/pre-built-modular/nft-drop/page.mdx`, `apps/portal/src/app/connect/wallet/overview/page.mdx`, `apps/portal/src/app/globals.css`, `apps/portal/src/app/page.tsx`, `apps/portal/src/app/contracts/explore/pre-built-modular/edition-drop/page.mdx`, `apps/portal/src/icons/sdks/ReactIcon.tsx`, `apps/portal/src/app/contracts/explore/pre-built-modular/edition/page.mdx`, `apps/portal/src/app/contracts/explore/pre-built-modular/nft-collection/page.mdx`, `apps/portal/src/app/Header.tsx`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-21 19:11:53 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>greg
79ed399e56 build(deps-dev): bump @types/react-dom from 19.0.2 to 19.0.3 (#6000)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: greg <[email protected]>
2025-01-21 21:05:25 +13:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ded5e22bb7 build(deps-dev): bump tailwindcss from 3.4.16 to 3.4.17 (#6001)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-21 21:05:10 +13:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5029345461 build(deps-dev): bump vite from 6.0.3 to 6.0.10 (#6002)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-21 21:04:57 +13:00
Joaquim VergesGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
c9ccc59464 Version Packages (#6003)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-20 17:47:15 -08:00
gregfromstl dc05f2ea3c [SDK]Fix: use base autoconnect in wagmi adapter (#6005)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces minor updates to the `@thirdweb-dev/wagmi-adapter` package, enhancing the autoconnection feature to accept URL token parameters and making adjustments to the package's metadata.

### Detailed summary
- Added support for URL token parameters in the autoconnection feature within `packages/wagmi-adapter/src/connector.ts`.
- Updated the `autoConnect` function call to include `wallets: [wallet]`.
- Minor updates to the `package.json` file's metadata and dependencies.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-21 01:13:26 +00:00
Joaquim VergesandGitHub 7d9986f066 [Dashboard] fix: handle unreachable engine instances (#6006) 2025-01-21 14:00:59 +13:00
Joaquim VergesandGitHub bb6c71e968 fix: fallback to eip1193 provider chain when switching chains is not supported (#6004) 2025-01-21 13:59:32 +13:00
Giselle Chacon NessiandGitHub 89beb3c5d3 enhance manage billing visibility in dashboard (#5990) 2025-01-21 11:44:54 +13:00
Giselle Chacon NessiandGitHub 3b98fbf8bb fix: default option tab in docs (#5991) 2025-01-21 11:42:21 +13:00
gregandGitHub 8b5cb47339 [SDK] Feature: Adds deployMarketplaceContract (#5989) 2025-01-20 14:17:21 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0760706dbb build(deps-dev): bump @storybook/react from 8.4.7 to 8.5.0 (#5995)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-20 13:21:00 -08:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
eded4ff1be Version Packages (#5955)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-18 22:37:50 +13:00
Joaquim VergesandGitHub b705406c5d [Dashboard] fix: Update dashboard redirect paths to /team (#5986) 2025-01-18 22:05:04 +13:00
gregfromstl 17374d15f2 [Portal] Fix: Supported Chains Page (#5975)
TOOL-3130
2025-01-18 06:59:19 +00:00
MananTank 79769d6859 [TOOL-3054] Dashboard: Fix Engine backend wallet list not updating on create/delete (#5983) 2025-01-17 22:35:10 +00:00
gregfromstl b6d65cf1c4 [SDK] Feature: Add Mode chain definition (#5982)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new blockchain chain called `mode` to the `thirdweb` package, enhancing the available options for developers.

### Detailed summary
- Added `mode` as a predefined chain in `packages/thirdweb/src/chains/chain-definitions/mode.ts`.
- Exported `mode` from `packages/thirdweb/src/exports/chains.ts`.
- Defined `mode` with properties such as `id`, `name`, `nativeCurrency`, and `blockExplorers`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-17 22:25:40 +00:00
saminaandGitHub a92617f0b0 docs cleanup (#5981) 2025-01-18 11:24:45 +13:00
MananTank 8e82ec860c [TOOL-3119] Dashboard: Move Connect settings from Project settings to Connect pages (#5980)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on restructuring and enhancing the routing and layout of the `settings` pages within the dashboard, as well as integrating new components for better user experience in the `account-abstraction` section.

### Detailed summary
- Added a new `Settings` route in multiple layout files.
- Refactored paths in `ProjectGeneralSettingsPageForTeams` to point to the new settings structure.
- Updated imports to reflect the new file structure for components.
- Introduced `AccountAbstractionAnalytics` and `AccountAbstractionSummary` components.
- Modified layout components to improve styling and organization.
- Replaced `AccountAbstractionPage` with `AccountAbstractionLayout` for better structure.
- Implemented loading states for API calls in `AccountAbstractionSettingsPage`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-17 22:00:23 +00:00
Joaquim VergesandGitHub 0b6239735e [SDK] feat: Support multiple messages in Nebula API and update input props (#5972) 2025-01-18 10:37:17 +13:00
MananTank df4da68d68 [TOOL-3128] SDK: Fix typo in deployPublishedContract JSDoc example (#5977) 2025-01-17 21:10:03 +00:00
MananTank 94ba9cf7aa [TOOL-3091] Dashboard: Remove trending contracts, Hide Contract Search (#5978) 2025-01-17 21:01:03 +00:00
gregfromstl 1b64d6eb2d [Playground] Feature: Adds smart account auth (#5979)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new smart account authentication feature in the `playground-web` application, allowing users to sign in using Ethereum. It adds a new component for the authentication button and integrates it into the main application page.

### Detailed summary
- Added `SmartAccountAuthButton` component for Ethereum authentication.
- Implemented `SmartAccountAuthPreview` to display JWT cookies.
- Updated `page.tsx` to include `SmartAccountAuth` section.
- Added a code example demonstrating the authentication button usage.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-17 20:35:18 +00:00
MananTank f1afa3b52d [TOOL-3112]: Various Engine Overview page improvements, Chart style adjustments, Improved Pagination component (#5976)
<!-- start pr-codex -->

## PR-Codex overview
This PR primarily focuses on improving the styling and functionality of various chart components, enhancing pagination controls, and refining transaction details presentation in the dashboard application.

### Detailed summary
- Added `strokeWidth` and `className` properties to several chart components for consistent styling.
- Updated pagination components to include input for direct page navigation.
- Enhanced transaction details with improved layout and added tooltips.
- Refined UI elements for better visibility and usability across various components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-17 19:09:58 +00:00
kumaryash90 dbb64ea190 [SDK] Update implementations (#5973)
TOOL-3135

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the implementations for `MarketplaceV3` and `ZKSYNC_WETH` in the `thirdweb` package, specifically for the `zksync` deployment.

### Detailed summary
- Added a new entry for `MarketplaceV3` with the address `0x9EB0830B0b10010F2a53383517A7D0B75531Bb1b` for the network ID `[555271]`.
- Added a new entry for `ZKSYNC_WETH` with the address `0xb0b8b267d44c64BA6dD1Daf442949887c85199f6` for the network ID `[555271]`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-17 16:09:44 +00:00
Joaquim VergesandGitHub eed734c766 [SDK] feat: Add pay event tracking for transaction modal states (#5971) 2025-01-17 13:11:41 +13:00
MananTank a3a3062ae1 [TOOL-3111] Nebula: Add events on transaction button (#5970) 2025-01-16 21:55:22 +00:00
MananTank 4ffcf305ab [TOOL-3096] React SDK: Fix NFT components not including contract address in queryKey (#5966)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on improving the handling of NFT metadata in the `thirdweb` library by adding `contractAddress` to various query keys, which resolves issues with metadata caching when multiple contracts share the same token ID.

### Detailed summary
- Added `contractAddress` to the query keys in `getQueryKey` functions for `NFTName`, `NFTMedia`, and `NFTDescription`.
- Updated related queries to include `contractAddress`.
- Fixed metadata display issues when rendering multiple contracts with the same token ID.
- Enhanced tests in `name.test.tsx` and `media.test.tsx` to validate the new `contractAddress` parameter.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-16 20:48:24 +00:00
MananTank fe3f24e309 [TOOL-3110] Dashboard: Engine pages cleanup: Fetch engine info on server + Use layout (#5968)
Engine pages were in a weird "pages router" type of state - Its now properly migrated to app router

* Common skeleton is moved to layout
* engine instances are fetched on server

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring and enhancing the engine instance management in the application. It removes obsolete files, improves error handling, and introduces new utility functions for fetching engine instances and permissions.

### Detailed summary
- Deleted multiple obsolete `.tsx` files related to engine instance management.
- Improved error handling in engine import functionality.
- Added `getEngineAccessPermission` and `getEngineInstances` utility functions.
- Refactored components to utilize new utility functions for fetching engine data.
- Enhanced the layout and error handling in the engine instance pages.
- Updated components to use consistent instance data and permissions checks.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-16 20:34:33 +00:00
Joaquim VergesandGitHub 9f5510018e docs: Reorder sidebar groups and update claim params tags (#5969) 2025-01-17 09:33:39 +13:00
73894d23b9 [Dashboard] - Update copyright year to 2025 (#5936)
Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: greg <[email protected]>
2025-01-16 12:14:34 -08:00
saminacodes 4538441334 nebula doc restructure (#5964)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

NEB-73

## Notes for the reviewer
Mostly documentation changes to add Nebula restructure and also add tutorial for the Eliza Plugin

## How to test
View preview.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `Nebula` documentation and user experience by adding new content, updating existing descriptions, and introducing a new `RocketIcon`. It also restructures the sidebar and adds new pages for getting started and Eliza plugin integration.

### Detailed summary
- Added new `RocketIcon` to the `sidebar`.
- Updated `Nebula` description in `page.mdx` for improved clarity.
- Introduced `get-started` page with setup instructions for the `Nebula API`.
- Improved `Eliza` plugin documentation with new prerequisites and setup steps.
- Updated sidebar links and removed the old `Use Cases` section.
- Added images for better visual guidance in documentation.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-16 19:32:28 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Joaquim Verges
913f2e4366 Bump shiki from 1.24.2 to 1.27.0 (#5953)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joaquim Verges <[email protected]>
2025-01-17 08:24:49 +13:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
da4ba21a52 build(deps-dev): bump react-native from 0.76.5 to 0.76.6 (#5943)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-17 08:23:49 +13:00
MananTank 8d9854daf1 [TOOL-3095] Portal: Enable Table of contents in Nebula pages, Adjust TOC component (#5965)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on refining the `Layout` component's structure and updating the styling for the `TOCLink` component to enhance the user interface.

### Detailed summary
- In `Layout`, the `DocLayout` component now wraps `props.children` directly without unnecessary line breaks.
- In `TOCLink`, the `data-active` class styling was changed from `text-accent-500` to `text-f-100` for active links.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-16 18:51:34 +00:00
gregandGitHub 9cbcbe7760 [SDK] Fix: Lumia Testnet is pre-1559 (#5967) 2025-01-16 10:51:16 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Joaquim Verges
00f1d29654 build(deps-dev): bump eslint-config-next from 15.1.2 to 15.1.4 (#5942)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joaquim Verges <[email protected]>
2025-01-16 20:28:18 +13:00
MananTank b511a695f9 [TOOL-3056]: Add Engine transactions bar chart, Make shadcn table header sticky (#5963)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the user interface and functionality of various components in the dashboard application, particularly around data visualization and table displays.

### Detailed summary
- Updated `chartClassName` for better aspect ratio in multiple chart components.
- Added `tableScrollableClassName` and `tableContainerClassName` to improve table layouts.
- Modified text in `engine-overview.tsx` for clarity.
- Introduced new props in `ThirdwebBarChart` for customizable tooltips and titles.
- Implemented data processing logic in `TransactionsTable` for analytics display.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-16 01:52:15 +00:00
MananTank ea34a975ca [TOOL-3090] Dashboard: Add Deprecated alert in Embeds page, UI adjustments (#5960)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating the `EmbedSetup` component to enhance user experience by introducing a deprecation alert for NFT embeds, reorganizing the UI layout, and adding new configuration options.

### Detailed summary
- Added an `Alert` component indicating the deprecation of thirdweb NFT Embeds.
- Replaced `Flex` with `div` for layout simplification.
- Consolidated form controls for configuration and added new fields for `Client ID`, `RPC Url`, and `Gasless` options.
- Introduced a theme selection dropdown.
- Updated embed code section and preview area for clarity.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-16 01:52:13 +00:00
Joaquim VergesandGitHub a834199dac [SDK] test: Refactor smart wallet signature verification tests (#5962) 2025-01-16 14:46:18 +13:00
MananTank be7759d2fe [TOOL-3075] Dashboard: Adjust theming, Improved light mode (#5956)
Fix "inverted look" of light mode - light mode now correctly has a slightly dark background and lighter cards on top

* Instead of `bg-muted/50`, use `bg-card` instead. `--card` color is updated
* For cards that are links, don't change the background color on hover - apply a subtle border change instead - added a `--active-border` for this - this looks great in both light and dark mode
* Prefer using `bg-accent` for hover effects instead of `bg-muted` (even though they are currently both same color) for adding hover accent. Use `bg-accent/50` for applying a very subtle accent - use cases: clickable table row

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the styles of various components in the application to replace the `bg-muted` class with `bg-card`, enhancing the visual consistency across the UI.

### Detailed summary
- Changed `className` from `bg-muted/50` to `bg-card` in multiple components.
- Updated hover effects from `hover:bg-muted` to `hover:bg-card`.
- Modified background colors in various layouts to use `bg-card` instead of `bg-muted`.
- Adjusted button and input styles for consistent theming.

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/table.tsx`, `apps/dashboard/src/components/configure-networks/ConfigureNetworkForm.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/insight/[blueprint_slug]/blueprint-playground.client.tsx`, `apps/dashboard/src/@/styles/globals.css`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/embed/embed-setup.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/PayAnalytics.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/chainlist/components/client/filters.tsx`, `apps/dashboard/src/app/components/sdk-component-theme.ts`, `apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx`, `apps/dashboard/src/app/team/components/Analytics/EmptyState.tsx`, `apps/dashboard/src/components/settings/Account/Billing/CreditsItem.tsx`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-16 01:08:04 +00:00
MananTank 15178b2f96 [NEB-71] Nebula: Update example prompts (#5957)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces a new type `ExamplePrompt` and a list of example prompts in `examplePrompts.ts`. It replaces hardcoded example prompts in `EmptyStateChatPageContent.tsx` with a dynamic mapping from the newly created `examplePrompts`, enhancing maintainability and readability.

### Detailed summary
- Added type `ExamplePrompt` with `title` and `message` properties.
- Created `examplePrompts` array containing several example prompts.
- Refactored `EmptyStateChatPageContent.tsx` to dynamically render `ExamplePrompt` components using `examplePrompts`.
- Removed hardcoded example prompts from `EmptyStateChatPageContent.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-16 00:38:38 +00:00
Joe-Thirdweb afd0ccfdfd [Dashboard] Feature: Chainlist page updates (#5959)
---
title: "[Dashboard] Feature: Chainlist page updates"
---

Issue Tags:
INFRA-610
INFRA-698
XSOL-1806
XSOL-1824
INFA-676
XSOL-1046
XSOL-1086

## Notes for the reviewer

Updated Chain Page Banners, About, and CTA:
- EVM on Flow Mainnet/Testnet-> All updated
- Lisk Mainnet/Testnet -> Banner update
- Plume Mainnet/Testnet -> Banner update
- Rivalz Mainnet/Testnet -> All updated
- Saakuru Mainnet/Testnet -> All updated
- Viction Mainnet/Testnet -> All updated
- Worldchain Mainnet/Testnet -> All updated
- Soneium Mainnet -> All updated

Adding OP Superchain banner:
- Celo
- Metal L2
- Ozean
- Unichain
- Worldchain
- Sonium

## How to test
Visit the chain pages for each chain.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the asset imports and metadata for various blockchain networks, including adding new assets for `Flow`, `Rivalz`, `Saakuru`, `Viction`, and `World Chain`, while removing outdated assets and enhancing descriptions for some blockchain networks.

### Detailed summary
- Added imports for new assets: `flowBanner`, `flowCTA`, `rivalzBanner`, `rivalzCTA`, `saakuruBanner`, `saakuruCTA`, `victionBanner`, `victionCTA`, `worldChainBanner`, `worldChainCTA`.
- Removed imports for deleted assets: `plumev2Banner`, `plumev2CTA`.
- Updated `chainMetaRecord` to include new entries for `Flow`, `Rivalz`, `Saakuru`, `Viction`, and `World Chain`.
- Enhanced descriptions for `Flow`, `Rivalz`, `Saakuru`, and `Viction`.
- Deprecated the `Plume` entries and updated their descriptions.
- Removed commented-out code related to `fhenix` and `metal` CTAs.
- Added gas sponsorship for several blockchain entries.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-15 23:57:35 +00:00
gregandGitHub 07a5c98b5b [Dashboard] Fix: AA Testnet Transaction Count (#5958) 2025-01-15 15:56:58 -08:00
Joaquim VergesandGitHub 51a28c4ed6 [SDK] test: Skip Nebula AI tests by default (#5961) 2025-01-16 12:11:12 +13:00
Nischit Prasad Nhuchhe PradhanandGitHub c290997b11 track ratelimit only on creation (#5950) 2025-01-15 15:17:12 +08:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
81b146a87a Version Packages (#5921)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-15 15:03:18 +13:00
Joaquim VergesandGitHub b10f306fba feat: Add Nebula AI chat and transaction execution API (#5948) 2025-01-15 14:50:13 +13:00
Joaquim VergesandGitHub d1c03b0cbc [SDK] Feat: Add engineAccount() for backend transaction handling (#5947) 2025-01-15 14:36:24 +13:00
saminaandGitHub 9ae56bc765 Updated FAQs for Nebula (#5951)
Signed-off-by: samina <[email protected]>
2025-01-15 14:21:16 +13:00
MananTank 0fdfb8aa77 [TOOL-2473] Dashboard: Update RPC method analytics chart to show % values (#5954)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the `RpcMethodBarChartCardUI` component by improving data handling, updating the `valueFormatter` function, and refining the chart display logic. It also introduces new RPC methods and adjusts the layout of the chart.

### Detailed summary
- Updated `valueFormatter` in `chart.tsx` to accept a second parameter.
- Changed the gap between elements in the chart tooltip from `gap-2` to `gap-5`.
- Adjusted condition to check for `item.value` to `item.value !== undefined`.
- Added randomness to the data generation logic to simulate empty data.
- Introduced new RPC methods in the `commonMethods` array.
- Updated the `BadgeContainer` labels for clarity on RPC methods displayed.
- Enhanced data processing in `RpcMethodBarChartCardUI` for better method display.
- Implemented a total count for methods in the chart data.
- Updated the tooltip label formatter to use `formatDate`.
- Modified the Y-axis configuration to remove unused properties.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-14 21:51:00 +00:00
ianthirdweb 46bf17c393 Add onramp providers page to Pay overview (#5836)
Added onramp page and preferredPartner information to customization pages

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding support for specifying preferred onramp providers in various components and updating documentation accordingly.

### Detailed summary
- Added `Onramp Providers` option in the sidebar.
- Introduced `Preferred Provider` section in `payembed` and `connectbutton` documentation.
- Created a new `onramp-providers` page detailing supported providers and how to set a preferred provider.
- Updated `send-transaction` documentation to include `preferredProvider` parameter.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-14 19:42:24 +00:00
MananTank a6fe226239 [TOOL-3051] Dashboard: Move everything to App router, Delete Pages router (#5952)
<!-- start pr-codex -->

## PR-Codex overview
This PR primarily focuses on the removal of unused files and the refactoring of several components to improve code quality and maintainability, including updates to API calls and component properties.

### Detailed summary
- Deleted multiple unused files from various directories.
- Refactored API calls to use `apiServerProxy` for better error handling.
- Updated component props to be more flexible (e.g., `favoriteButton` can now be `undefined`).
- Improved UI components by removing unnecessary class names and simplifying their structure.
- Enhanced type definitions for better TypeScript support.
- Added new metadata and structured content for landing pages.

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(landing)/account-abstraction/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/pay/webhooks/components/webhooks.client.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts`, `apps/dashboard/src/app/(landing)/in-app-wallets/page.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useApi.ts`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-14 18:49:01 +00:00
ElasticBottle 7a3dff01cd [SDK]: move autoConnect function into it's own standalone function (#5889)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

https://linear.app/thirdweb/issue/TOOL-2697/add-js-autoconnect

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring the auto-connect functionality for wallets in the `thirdweb` library. It enhances the modularity and usability of the `autoConnect` feature, allowing it to be used outside of React components and streamlining wallet connection processes.

### Detailed summary
- Modified `if` condition in `timeoutPromise.ts` to check for `typeof window`.
- Updated import paths for `AutoConnectProps` in `AutoConnect.tsx` files.
- Exposed `autoConnect` function in `wallets.ts` for external use.
- Adjusted exports in `react.ts` and `react.native.ts` for `AutoConnectProps`.
- Refactored `useAutoConnectCore` to use `autoConnectCore`.
- Consolidated wallet connection logic in `autoConnect` and `autoConnectCore`.
- Updated tests to reflect changes in wallet connection handling and added new test cases for `autoConnect`.
- Enhanced error handling and timeout logic in wallet connection processes.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-14 17:43:36 +00:00
gregandGitHub e331e433ac [SDK] Refactor: More Viem to Ox migration (#5790) 2025-01-14 09:43:18 -08:00
Nischit Prasad Nhuchhe PradhanandGitHub 23d80011de Auth cache key fix (#5949) 2025-01-14 19:56:47 +08:00
MananTank 815f47cd12 [TOOL-3039] Fix page zoom on iOS safari for shadcn inputs and textarea (#5933) 2025-01-14 10:18:28 +00:00
MananTank 22dc493e62 [TOOL-3046]: Do not show invalid string error if NFT description is undefined (#5939) 2025-01-14 10:08:30 +00:00
MananTank fbf26d82d5 [TOOL-2972] Portal: Add missing redirects for contract references (#5934) 2025-01-14 09:58:27 +00:00
MananTank d7f2249fb1 [TOOL-3032] Next.js build memory optimizations (#5938)
* Disable eslint as part of next.js build - We are already running eslint in separate pipeline
* Enable Next.js memory optimization flags

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on enhancing the configuration of multiple `Next.js` applications by adding ESLint settings, production source maps, and experimental features. It also modifies security headers and refines the handling of IPFS gateways.

### Detailed summary
- Added `eslint` configuration with `ignoreDuringBuilds: true` to multiple `next.config` files.
- Set `productionBrowserSourceMaps` to `false`.
- Enabled experimental features: `webpackBuildWorker`, `webpackMemoryOptimizations`, and `serverSourceMaps`.
- Updated security headers in `apps/dashboard/next.config.ts` for consistent formatting.
- Refined `determineIpfsGateways` function for IPFS gateway handling.
- Maintained existing configurations for redirects, rewrites, images, and compiler settings.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-14 09:46:30 +00:00
MananTank 0682f26cb0 [TOOL-3047] Dashboard: Fix TransactionButton opening "No funds" Modal when quickly clicking it after switching chain (#5941) 2025-01-13 23:28:37 +00:00
MananTank 0e2b3df42a [TOOL-3009] Dashboard: Support all valid domains as ENS name and not just .eth (#5937)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces the `isValidENSName` utility function to validate ENS names, replacing the previous `isEnsName` checks across multiple files. It refines address validation and enhances the overall handling of ENS names within the codebase.

### Detailed summary
- Added `isValidENSName` utility function for ENS name validation.
- Replaced occurrences of `isEnsName` with `isValidENSName` in various files.
- Updated validation logic in components and utilities to improve address and ENS name handling.
- Enhanced error messages and conditions related to ENS name checks.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-13 18:18:06 +00:00
ElasticBottle c33980352a [Portal] update docs on pre-generation and account abstraction (#5912)
https://linear.app/thirdweb/issue/TOOL-2988/update-docs-to-call-out-pregeneration-caveats

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing documentation and functionality related to wallet connections and smart accounts in the `thirdweb` library, particularly emphasizing account abstraction and the use of smart wallets.

### Detailed summary
- Added `backend` to the `AuthList` component in `AuthList.tsx`.
- Updated documentation in `ConnectEmbed.tsx` and `ConnectButton.tsx` regarding ecosystem wallets and account abstraction.
- Introduced a warning callout in `page.mdx` for generating smart wallet addresses using `predictSmartAccountAddress`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-13 18:01:22 +00:00
saminacodes a693958bf4 added web3 onboard page (#5940)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

CORE-694

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new section for "Web3 Onboard" in the sidebar and adds a corresponding documentation page in `page.mdx`, providing information about the acquisition of Web3Onboard by Blocknative and guidance for migration to thirdweb's SDK.

### Detailed summary
- Added a new entry for `Web3 Onboard` in the sidebar of `sidebar.tsx`.
- Created a new documentation page in `page.mdx` detailing the acquisition of Web3Onboard and migration instructions.
- Included links to Web3 Onboard's documentation and thirdweb's support site.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-13 17:11:12 +00:00
332536bdee Update page.mdx (#5930)
Signed-off-by: samina <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2025-01-13 12:41:17 +13:00
MananTank 4745786ba1 [NEB-54] Nebula: Improved Transaction action UI (#5931) 2025-01-12 19:22:04 +00:00
MananTank 3cb1ab9f98 [TOOL-3038] Replace h-screen with h-dvh - fix iOS safari height issues (#5932) 2025-01-12 19:18:01 +00:00
MananTank 5c554730d0 [TOOL-3036] Nebula: Various UI improvements (#5929) 2025-01-11 19:10:16 +00:00
MananTank 6953d06246 [TOOL-3021] Insight Playground: Enforce chain query param to be required + support anyOf schema (#5925) 2025-01-11 02:19:08 +00:00
MananTank 4b5661b981 [TOOL-3007] Dashboard: Replace chainsaw with insight (#5926)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the analytics functionality within the `dashboard` application by introducing new utility functions, updating existing API calls, and improving the data handling for contract analytics.

### Detailed summary
- Added export of `toEventSelector` from `thirdweb/utils`.
- Introduced `INSIGHT_SERVICE_API_KEY` in environment constants.
- Modified `ContractAnalyticsPageClient` to accept new props for function and event selectors.
- Created new analytics functions for total contract events, unique wallets, and transactions.
- Updated `isAnalyticsSupportedForChain` to use `INSIGHT_SERVICE_API_KEY`.
- Refactored analytics components to use new hooks for contract events and functions.
- Improved data fetching and error handling in analytics hooks.
- Enhanced UI components for displaying analytics data with loading states.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-11 00:22:11 +00:00
kumaryash90 42a313f3b2 [SDK/Dashboard] Fix: Deploy specified version of published contracts (#5923)
TOOL-3013
TOOL-3014

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the deployment process for contracts in the `thirdweb` package, including changes to version handling and contract IDs.

### Detailed summary
- Updated `version` handling in the `custom-contract.tsx` file.
- Changed `contractId` from `"Forwarder"` to `"ForwarderEOAOnly"` in `deploy-pack.ts`.
- Added `version` to the options in `deployMarketplaceContract`.
- Modified `getAllDefaultConstructorParamsForImplementation` to use a dynamic `contractId`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-10 18:57:04 +00:00
Joaquim VergesandGitHub 7fb5ce1cc3 [SDK] fix: Reset deploy flag on bundler errors (#5924) 2025-01-10 21:40:43 +13:00
ba86d51847 [TOOL-2896] Portal: Add Nebula API docs (#5916)
Co-authored-by: samina <[email protected]>
2025-01-10 12:49:23 +13:00
MananTank 5866088894 [TOOL-2822]: Insight Playground: Move chain from subdomain to query param (#5922)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on modifying the handling of a parameter in the `BlueprintPlayground` component, changing its name from `chainId` to `chain`, and updating its usage throughout the codebase.

### Detailed summary
- Changed the `domain` URL format to remove `chainId`.
- Updated the parameter name from `chainId` to `chain` in `modifyParametersForPlayground`.
- Adjusted the parameter handling in `ParameterSection` to reflect the new name.
- Updated the schema creation to default to `z.string()` for parameters without a schema.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-09 21:59:16 +00:00
MananTank ed0d215f4a [TOOL-2995]: Fix Engine Contract Subscription UI issue with checkboxes (#5920)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the user interface for checkbox components in the `batch-lazy-mint.tsx` and `add-contract-subscription-button.tsx` files. It improves the handling of checkbox states and integrates labels more effectively.

### Detailed summary
- In `batch-lazy-mint.tsx`, replaced `Checkbox` with a more integrated `CheckboxWithLabel`.
- Updated checkbox handling to use `form.watch` and `form.setValue` for state management.
- In `add-contract-subscription-button.tsx`, converted checkboxes to use `CheckboxWithLabel` for better labeling.
- Simplified checkbox state handling by removing `form.register`.
- Adjusted label elements from `<Text>` to `<span>` for consistency.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-09 21:19:46 +00:00
MananTank c5c6f9d741 [TOOL-2999] SDK: automatically sign message for SIWE in connect UI for Ecosystem wallets (#5914)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the `SignatureScreen` component by updating the signing flow for different wallet types and enhancing the user experience by removing unnecessary prompts for signing messages.

### Detailed summary
- Added `isHeadlessSignSupported` function to determine wallet support.
- Updated `SignatureScreen` logic to handle headless signing for supported wallets.
- Refactored tests to improve clarity and organization.
- Enhanced error handling and loading states in the UI.
- Introduced mocks for `useActiveWallet` and `useAdminWallet` in tests.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-09 16:22:25 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
b14aa54a6e Version Packages (#5917)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-09 22:53:56 +13:00
Joaquim VergesandGitHub 5d71415618 [SDK] Fix: PayEmbed purchase callback and insufficient funds display (#5918) 2025-01-09 22:41:16 +13:00
Jonas DanielsandGitHub bfc4778334 fix RPC pathname override behavior (#5915) 2025-01-08 13:32:11 -08:00
MananTank f323f7c21c [TOOL-2990] Dashboard: Fix invalid form validation when updating custom chain (#5913)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refining the network selection and configuration logic in the dashboard, specifically improving how favorite and recent networks are displayed, enhancing the handling of deprecated chains, and simplifying error messages related to network slugs.

### Detailed summary
- Rearranged the `chainSections` to maintain the `Favorites` section at the top.
- Updated logic for `rpcUrl` to handle deprecated chains more clearly.
- Simplified error message when a slug is taken, removing specific references to existing chains.
- Enhanced validation logic for checking if a slug is unique, considering custom chains.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-08 14:04:55 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
b2b5ae34e6 Version Packages (#5909)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-07 22:11:49 -10:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c3bcf82d22 Bump @next/eslint-plugin-next from 15.1.0 to 15.1.3 (#5896)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-07 18:24:24 -10:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d53a5c16c2 Bump @tanstack/react-query from 5.62.7 to 5.62.16 (#5898)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-07 18:23:49 -10:00
ElasticBottle 70b7b5c5ff [SDK]: add backend wallets for in app wallet (#5878)
---
title: "[SDK] Feature: add backend wallets for  in app wallet"
---

https://linear.app/thirdweb/issue/TOOL-2884/backend-server-wallets

## Notes for the reviewer
This also fixes the cache mechanics for thirdweb clients to include a partial string of the secret key. Was running into an issue where the client was originall instantiated without the secret key and even when a new client with secret key was passed in, we keep falling back to the cached client without secret key

## How to test
Add a button on playground with a client that has secret key and create a new backend wallet.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces support for backend wallets in the `thirdweb` library, allowing applications to authenticate users with a backend strategy, enhancing security by managing wallet access without exposing private keys.

### Detailed summary
- Added `backend` strategy for wallet authentication.
- Updated `authenticate` function to support `backend` strategy.
- Introduced `backendAuthenticate` function for backend authentication.
- Updated `InAppWebConnector` and `InAppNativeConnector` to handle `backend` strategy.
- Modified type definitions to include `backend` strategy.
- Added tests for `backendAuthenticate` and its integration in connectors.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-08 03:29:00 +00:00
kumaryash90 5e2eec3b17 Fix batch fetch util for marketplace-v3 (#5904)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

CORE-680

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing the batch fetching utility in the `marketplace-v3` and adding tests to ensure its functionality.

### Detailed summary
- Fixed the calculation of the end index in the batch fetching logic in `packages/thirdweb/src/extensions/marketplace/utils.ts`.
- Added tests for `getAllInBatches` in `packages/thirdweb/src/extensions/marketplace/getAllInBatches.test.ts` to validate handling of multiple and single batches.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-07 22:18:18 +00:00
jnsdls 0fbce0617b redirect unlimited-wallets campaign to home (#5908)
closes: CORE-682

### TL;DR
Disabled the unlimited wallets campaign page and redirected its URL to the homepage.

### What changed?
- Commented out the `/unlimited-wallets` route in framer-rewrites.js
- Added a new redirect rule to send `/unlimited-wallets` traffic to the homepage

### How to test?
1. Visit `/unlimited-wallets`
2. Verify you are redirected to the homepage
3. Ensure no 404 errors occur

### Why make this change?
The unlimited wallets campaign has concluded, and we need to gracefully handle any remaining traffic to this URL by redirecting users to the homepage instead of showing a broken or missing page.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the redirect configurations in the `apps/dashboard/redirects.js` and `apps/dashboard/framer-rewrites.js` files, specifically modifying the handling of the `/unlimited-wallets` route.

### Detailed summary
- Added a new redirect entry for `/unlimited-wallets` to redirect to `/` in `apps/dashboard/redirects.js`.
- Commented out the existing redirection for `/unlimited-wallets` in `apps/dashboard/framer-rewrites.js`, marking it as "OFF for now".

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-07 21:19:03 +00:00
MananTank 53b24a2a0e [TOOL-2976] Bump @radix-ui/react-dialog 1.1.4 - Fix pointer event issues after modal close (#5905)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on updating the version of `@radix-ui/react-dialog` from `1.1.3` to `1.1.4` across multiple `package.json` files and making adjustments to the `pnpm-lock.yaml` file to reflect these changes.

### Detailed summary
- Updated `@radix-ui/react-dialog` from `1.1.3` to `1.1.4` in:
  - `apps/portal/package.json`
  - `apps/wallet-ui/package.json`
  - `apps/dashboard/package.json`
  - `apps/playground-web/package.json`
- Adjusted `pnpm-lock.yaml` to reflect the new version of `@radix-ui/react-dialog`.
- Updated various entries related to `@radix-ui/react-dialog` in `pnpm-lock.yaml` to align with the new version.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-07 20:39:49 +00:00
gregandGitHub 3b689d4d48 [Dashboard] Fix: next config memory cache (#5906) 2025-01-07 09:43:45 -10:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
2d996ccfa3 Version Packages (#5901)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-06 21:54:48 -10:00
gregfromstl 429e1127b2 [SDK] Feature: Basic EIP7702 Support (#5801)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces beta support for `EIP-7702` authorization lists, enhancing transaction handling and signing within the `thirdweb` library.

### Detailed summary
- Added `style` configuration in `biome.json`.
- Introduced `signAuthorization` function for EIP-7702 authorizations.
- Updated transaction preparation to include `authorizationList`.
- Added tests for `signAuthorization` and transaction serialization.
- Modified `serializeTransaction` to handle EIP-7702 transactions.
- Enhanced gas estimation and transaction preparation functions to support authorization lists.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-07 05:19:12 +00:00
gregfromstl ddb6af162c [Dashboard] Fix: Memory optimizations to reduce build failures (#5903)
See https://nextjs.org/docs/app/building-your-application/optimizing/memory-usage#disable-webpack-cache

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces optimizations to the webpack configuration and modifies several components to improve performance and fix TypeScript errors.

### Detailed summary
- Added `webpackMemoryOptimizations` to `experimental` in `next.config.ts`.
- Simplified `webpack` function by removing `dev` parameter.
- Changed cache type to `memory` in `next.config.ts`.
- Updated `abi-selector.tsx` to remove TypeScript error comments.
- Enhanced `ApplyForOpCreditsForm.tsx` by streamlining `onChange` handling.
- Modified `MarkdownRenderer` to handle optional `href` and added TypeScript error comments for future fixes.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-07 04:41:10 +00:00
Nicholas St. GermainandGitHub c06ecda43c [TOOL-2917]: fix useReadContract type hinting (#5888) 2025-01-06 16:12:47 -10:00
gregandGitHub b058f688a7 [SDK] Feature: Adds deploySmartAccount and re-adds 1271 signatures (#5845) 2025-01-06 16:12:05 -10:00
AmineAfia 66f1337be0 Add llms.txt file to insight docs (#5887)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the documentation and functionality related to `Agents & LLMs` within the `thirdweb Insight` API, including new links, improved examples, and standardized usage instructions for better integration with AI tools.

### Detailed summary
- Added a new link for `llms.txt` in `sidebar.tsx`.
- Updated documentation in `page.mdx` to clarify API usage for `Agents & LLMs`.
- Revised code examples to use template literals for dynamic values.
- Simplified `ChainId` type to a number.
- Enhanced error handling and response structure in API examples.
- Included detailed instructions on authentication and API endpoints.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-06 23:38:49 +00:00
kien-ngo fa7fe1e074 Remove tw-components Checkbox CORE-419 (#5890)
CORE-419
2025-01-06 22:37:22 +00:00
kien-ngo 9bc788427e [TOOL-2924] Catch error on fail-to-load metadata (#5892)
TOOL-2924
2025-01-06 21:58:19 +00:00
MananTank 6bbfc4dfca [TOOL-2927] Dashboard: Update team member settings page alert (#5895)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the availability timeline for a feature in the `TeamMembersSettingsPage.tsx` file from Q4 2024 to Q1 2025.

### Detailed summary
- Changed the text in the `AlertDescription` from "This feature will be available in Q4 2024" to "This feature will be available in Q1 2025".

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-06 21:35:12 +00:00
MananTank 5ca4493181 [TOOL-2925] Dashboard: Redirect to Nebula app if team has access instead of showing waitlist page (#5894)
## PR-Codex overview
This PR introduces a check for `nebula` access in two `page.tsx` files, redirecting users to the Nebula web app if access is granted. It also maintains the existing login redirect functionality.

### Detailed summary
- Added a check for `nebula` access using `team.enabledScopes.includes("nebula")`.
- Redirects to `https://nebula.thirdweb.com` if access is granted.
- Updated login redirect paths in both `page.tsx` files.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-06 21:02:05 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
dd4b1e86e9 Version Packages (#5838)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-07 09:21:14 +13:00
Manan TankandGitHub 80e70f2107 [TOOL-2764] Dashboard: Fix published contract version selector with duplicate versions (#5893) 2025-01-06 12:04:15 -08:00
MananTank 18ef10b175 [TOOL-2890] Dashboard: Fix spelling issues (#5891)
<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing typos, improving comments, and enhancing code readability across various files in the project.

### Detailed summary
- Corrected typos in text labels (e.g., `Manange` to `Manage`, `Comunity` to `Community`).
- Improved comments for clarity (e.g., `Fix colors on autofilled inputs` to `Fix colors on auto-filled inputs`).
- Standardized variable names (e.g., `dispalyName` to `displayName`).
- Enhanced consistency in formatting (e.g., `balancesisPending` to `balancesIsPending`).
- Fixed minor grammatical issues in comments and strings throughout the code.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-06 13:54:41 +00:00
kien-ngo 0a7beb840e [Dashboard] Dynamically fetch supported chains from Simplehash (#5866)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the handling of SimpleHash support in the `wallet` API and related components. It introduces an asynchronous check for SimpleHash support and replaces direct checks with a hook for better data management.

### Detailed summary
- Changed `isSimpleHashSupported` to return a chain slug instead of a boolean.
- Updated the `generateSimpleHashUrl` function to use `chainSlug`.
- Introduced `useSimplehashSupport` hook for querying SimpleHash support.
- Refactored components to use the new hook instead of direct checks.
- Removed unused `simpleHashSupportedChainIdsMap` and related types.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-06 11:59:12 +00:00
gregandGitHub e01193a659 [SDK] Feature: Adds getAdminAccount to ecosystem wallets and cleans up smart account creation (#5829) 2025-01-05 19:40:13 -10:00
AmineAfia 430475913d Add side nav link to ai docs in insight (#5885)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding a new entry to the sidebar in the `sidebar.tsx` file of the `insight` section, specifically introducing a link for "Agents & LLMs".

### Detailed summary
- Added a new sidebar entry:
  - `name`: "Agents & LLMs"
  - `href`: `${insightSlug}/agents-and-llms`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-05 23:20:33 +00:00
kien-ngo 47789660d2 CORE-458 | Improve the function comment of the Explorer (#5861)
CORE-458
2025-01-05 23:06:03 +00:00
kien-ngo 810f319579 [SDK] onTimeout for useAutoConnect | TOOL-2673 (#5879)
TOOL-2673

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces an `onTimeout` callback to the `useAutoConnect` hook, enhancing its functionality by allowing users to define custom behavior when a connection attempt times out. It also includes tests for the new feature and refactors some wallet connection logic.

### Detailed summary
- Added `onTimeout` callback to `useAutoConnect`.
- Updated `useAutoConnectCore` to handle wallet connections with the new `onTimeout` feature.
- Refactored `handleWalletConnection` function to improve clarity.
- Added unit tests for `getUrlToken` covering various scenarios.
- Updated test configurations for better matching of test files.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-05 21:40:06 +00:00
gregfromstl 2a9d9963b7 [Dashboard] Fix: If only one time period has analytics events (#5886)
## Notes for the reviewer
Adds an edge case if a user only has events for a single time period. Previously, this would show 0 in the analytics summary since it normally takes the most recent *complete* time period. Now, it falls back to show the incomplete period if there is no complete period with data.

## How to test
Run the dashboard and view the project client ID listed in the linear ticket

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the handling of time series data in the `aggregateFn` function by ensuring that if there is only one data point, it uses that point instead of the previous one. This change is applied in two files.

### Detailed summary
- Updated `aggregateFn` in `apps/dashboard/src/app/team/[team_slug]/[project_slug]/page.tsx`:
  - Added logic to check if there is only one valid data point.
  - If only one point exists, it uses the last data point; otherwise, it uses the previous one.

- Updated `aggregateFn` in `apps/dashboard/src/app/team/[team_slug]/(team)/~/analytics/page.tsx`:
  - Similar logic added as in the previous file to handle time series data appropriately.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-05 07:40:16 +00:00
gregandGitHub 1e8ddcb399 [SDK] Fix: Undefined chain ID on eip1193 provider input (#5871) 2025-01-04 21:33:17 -10:00
a3f59e50e2 Edit [DOCS]: Updated import. @thirdweb-dev/contracts and add _defaultAdmin (#5848)
Signed-off-by: Nidz The Fact <[email protected]>
Signed-off-by: Joaquim Verges <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2025-01-03 19:50:41 -10:00
gregandGitHub 273a320ae8 [SDK] Fix: Remove co.lobstr (not EVM compatible) (#5869) 2025-01-03 14:26:52 -10:00
AmineAfia fc6606022d Add docs agents and llms docs for insight (#5881)
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.

## How to test
Unit tests, playground, etc.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces documentation for the `thirdweb Insight` API, targeting agents and LLMs. It includes usage instructions, core concepts, API examples, query parameters, and error handling.

### Detailed summary
- Added metadata for the page with title and description.
- Provided API usage instructions for agents and LLMs.
- Explained authentication methods (header, query parameter, bearer token).
- Detailed core concepts including chain IDs and base response structure.
- Included examples for Events API, Token Balance API, and filtering.
- Documented API reference for Events and Transactions.
- Listed common query parameters and filter types.
- Explained error handling for API responses.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-03 22:51:29 +00:00
Kien NgoandGitHub c948e71a16 [Dashboard] Trim whitespace at the end of the input value for claim form (#5860) 2025-01-03 12:44:12 -10:00
Kien NgoandGitHub 3b1ed73d07 TOOL-2831 - Update docs for showTestnetFaucet (#5868) 2025-01-03 12:39:00 -10:00
Phillip HoandGitHub 8f43aa7a81 [SDK] fix: clear inflightRequests after each batch RPC call (#5872) 2025-01-03 12:38:34 -10:00
5cb8e3b7dc return address type for contractoptions (#5874)
Signed-off-by: greg <[email protected]>
Co-authored-by: greg <[email protected]>
2025-01-03 12:36:35 -10:00
0c5b0bb541 [TOOL-2875] move cross-spawn to dependencies (#5875)
Co-authored-by: greg <[email protected]>
2025-01-03 12:34:47 -10:00
Nicholas St. GermainandGitHub cd06b10253 Expose social icons (#5876) 2025-01-03 12:29:56 -10:00
dependabot 20a2b3b6e7 Bump next from 15.1.0 to 15.1.3 (#5856)
Bumps [next](https://github.com/vercel/next.js) from 15.1.0 to 15.1.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/vercel/next.js/releases">next's releases</a>.</em></p>
<blockquote>
<h2>v15.1.3</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong> include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>Retry manifest file loading only in dev mode: <a href="https://redirect.github.com/vercel/next.js/issues/73900">#73900</a></li>
<li>Use shared worker for lint &amp; typecheck steps: <a href="https://redirect.github.com/vercel/next.js/issues/74154">#74154</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a href="https://github.com/unstubbable"><code>@​unstubbable</code></a> and <a href="https://github.com/ztanner"><code>@​ztanner</code></a> for helping!</p>
<h2>v15.1.2</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong> include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>Update React from 7283a213-20241206 to 65e06cb7-20241218: <a href="https://redirect.github.com/vercel/next.js/pull/74117">vercel/next.js#74117</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a href="https://github.com/ztanner"><code>@​ztanner</code></a> for helping!</p>
<h2>v15.1.1</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong> include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>fix(turbo): sassOptions silenceDeprecations was not overwritten with user options: <a href="https://redirect.github.com/vercel/next.js/pull/73937">vercel/next.js#73937</a></li>
<li>refactor collectAppPageSegments: <a href="https://redirect.github.com/vercel/next.js/pull/73908">vercel/next.js#73908</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a href="https://github.com/devjiwonchoi"><code>@​devjiwonchoi</code></a> and <a href="https://github.com/ztanner"><code>@​ztanner</code></a> for helping!</p>
<h2>v15.1.1-canary.23</h2>
<h3>Misc Changes</h3>
<ul>
<li>docs: remove catch-all for opengraph-image: <a href="https://redirect.github.com/vercel/next.js/issues/74338">#74338</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a href="https://github.com/leerob"><code>@​leerob</code></a> for helping!</p>
<h2>v15.1.1-canary.22</h2>
<h3>Misc Changes</h3>
<ul>
<li>Fix typo in generateViewport docs: <a href="https://redirect.github.com/vercel/next.js/issues/74288">#74288</a></li>
</ul>
<h3>Credits</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/vercel/next.js/commit/4cbaaa118d2138edd32263da0dc4b2ecb9ddbc2b"><code>4cbaaa1</code></a> v15.1.3</li>
<li><a href="https://github.com/vercel/next.js/commit/221d18ba18d832d2bd86f4a5313b572d7380891b"><code>221d18b</code></a> Backport v15: used shared worker for lint &amp; typecheck steps (<a href="https://redirect.github.com/vercel/next.js/issues/74154">#74154</a>) (<a href="https://redirect.github.com/vercel/next.js/issues/74285">#74285</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/7d880a3b5bef34d5b26ca33e2fdb78bb2eaeabdc"><code>7d880a3</code></a> Backport v15: Retry manifest file loading only in dev mode (<a href="https://redirect.github.com/vercel/next.js/issues/73900">#73900</a>) (<a href="https://redirect.github.com/vercel/next.js/issues/74283">#74283</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/df392a1b9748d5e88eeffbab6ba9e00c0aa9473a"><code>df392a1</code></a> v15.1.2</li>
<li><a href="https://github.com/vercel/next.js/commit/40c9424beba3fae7fac341e73e50db0895326bec"><code>40c9424</code></a> Backport (v15): Update React from 7283a213-20241206 to 65e06cb7-20241218 (<a href="https://redirect.github.com/vercel/next.js/issues/74">#74</a>...</li>
<li><a href="https://github.com/vercel/next.js/commit/4384c6834aee842dcd28b28f6aa476b0b86dae60"><code>4384c68</code></a> v15.1.1</li>
<li><a href="https://github.com/vercel/next.js/commit/d13786347567c5d52a2209914cc71e48e600d8ce"><code>d137863</code></a> run build_and_test workflow on backport branch</li>
<li><a href="https://github.com/vercel/next.js/commit/d27bb14b6880b7bbb27b91da902c87d4686cc515"><code>d27bb14</code></a> backport: fix(turbo): sassOptions silenceDeprecations was not overwritten wit...</li>
<li><a href="https://github.com/vercel/next.js/commit/0c8187a312d532d1af3b61f50f7c84cb02fbe9bb"><code>0c8187a</code></a> Add NEXT_PRIVATE_SKIP_CANARY_CHECK env for bench job (<a href="https://redirect.github.com/vercel/next.js/issues/73763">#73763</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/e83ab18c4c8d0ea1016ce68e03099d1ca1fa86d1"><code>e83ab18</code></a> backport: refactor collectAppPageSegments (<a href="https://redirect.github.com/vercel/next.js/issues/73996">#73996</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/vercel/next.js/compare/v15.1.0...v15.1.3">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=next&package-manager=npm_and_yarn&previous-version=15.1.0&new-version=15.1.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the version of the `next` package across multiple projects and the `pnpm-lock.yaml` file, moving from version `15.1.0` to `15.1.3`. This includes several dependency updates related to `next`.

### Detailed summary
- Updated `next` from `15.1.0` to `15.1.3` in:
  - `apps/wallet-ui/package.json`
  - `apps/playground-web/package.json`
  - `apps/dashboard/package.json`
  - `apps/portal/package.json`
- Updated `next` version in `pnpm-lock.yaml` for multiple dependencies.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-03 22:20:04 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6861bb7c5a Bump react-hook-form from 7.53.2 to 7.54.2 (#5857)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-03 12:07:07 -10:00
Eugene Y. Q. ShenandGitHub a0835f72d6 remove www. prefix from plumenetwork.xyz (#5850) 2025-01-01 22:32:30 -10:00
gregandGitHub 128bb44233 [CI] Fix: Run auto-assign check if user is a prev contributor (#5873) 2025-01-01 21:24:05 -10:00
gregfromstl a9547c561f [SDK] Fix: Use transaction-specified chain in smart account (#5865)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on fixing chain switching in smart account transactions within the `thirdweb` SDK and adding tests for sending transactions across different chains.

### Detailed summary
- Updated the logic for `accountContract` in `packages/thirdweb/src/wallets/smart/index.ts` to handle chain switching.
- Added a new test in `packages/thirdweb/src/wallets/smart/smart-wallet-integration.test.ts` to verify sending transactions on another chain.
- Introduced similar test functionality in `packages/thirdweb/src/wallets/smart/smart-wallet-integration-v07.test.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-02 01:36:47 +00:00
gregandGitHub 6c5594b3e7 [CI] Chore: Update PR template (#5846) 2025-01-01 15:35:15 -10:00
gregandGitHub 575cc2cebb [CI] Fix: Stale issue text (#5870) 2025-01-01 15:29:56 -10:00
gregandGitHub 3e1bb53b1e [CI] Chore: adds nebula and infra teams to acceptable linear teams (#5847) 2025-01-01 15:25:22 -10:00
MananTank 8b1a60d5b6 [TOOL-2891] Fix Team dashboard not loading if team slug contains special characters (#5867)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the handling of `team_slug` and validating the `teamSlug` input in the settings UI. It enhances the URL decoding process and adds error handling for invalid team URLs.

### Detailed summary
- Updated `team_slug` retrieval to decode the URL component in `layout.tsx`.
- Modified project retrieval logic to decode `team_slug`.
- Replaced `isTeamTaken` state with `errorMessage` state for better error handling.
- Added validation for `teamSlug` input to check for empty values and invalid characters.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-01 17:02:20 +00:00
kien-ngo 8136ec97d7 [Dashboard] Enhance NFT Reveal feature (#5862)
TOOL-2730
TOOL-2733
TOOL-2738

[x] Dont show Reveal-button if nothing to reveal
[x] Dont allow to select batches that were revealed already
[x] Show UI for the un-revealed. metadata

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `nfts/components/reveal-button.tsx` file to enhance the NFT reveal functionality by adding a tooltip and handling cases for revealed batches. It also modifies a comment in `next-env.d.ts` to point to the correct documentation link.

### Detailed summary
- Updated documentation link in `next-env.d.ts`.
- Imported `ToolTipLabel` in `nfts/components/reveal-button.tsx`.
- Added a check to return `null` if no batches are available.
- Implemented logic to display a tooltip and disabled button when all batches are revealed.
- Disabled options in the select dropdown for revealed batches.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2025-01-01 03:15:04 +00:00
MananTank 7bb7107572 [TOOL-2876] Improve Transaction error toast messages (#5853)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing user feedback for NFT and token transactions by integrating `useTxNotifications` for success and error notifications across various components.

### Detailed summary
- Added `useTxNotifications` to multiple components for transaction feedback.
- Replaced toast notifications with `onSuccess` and `onError` methods from `useTxNotifications`.
- Updated success and error messages for lazy minting, airdropping, minting, claiming, and listing NFTs/tokens.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-31 22:18:30 +00:00
nischitpra 84d3dc4c42 adds missing async to connect docs (#5864)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating the `handleLogin` and `handlePostLogin` functions to use an `async` callback within the `connect` function, enhancing the handling of asynchronous operations in the in-app wallet connection process.

### Detailed summary
- Changed `connect(() => {...})` to `connect(async () => {...})` in multiple files.
- Updated `handlePostLogin` in `apps/portal/src/app/connect/in-app-wallet/custom-auth/configuration/page.mdx`.
- Updated `handleLogin` in various files:
  - `apps/portal/src/app/connect/in-app-wallet/guides/build-your-own-ui/page.mdx`
  - `apps/portal/src/app/react/v5/in-app-wallet/build-your-own-ui/page.mdx`
  - `apps/portal/src/app/react/v5/in-app-wallet/get-started/page.mdx`
  - Other instances in similar files.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-31 18:49:55 +00:00
gregandGitHub fdf3d5bd9d [Portal] Fix: Add erc20Value clarity to buyFromListing (#5854) 2024-12-30 07:36:25 -10:00
saminaandGitHub 31d11fa24b re-organized nebula documentation (#5839) 2024-12-30 09:11:00 -08:00
kien-ngo 03bf859809 [SDK] Test coverage TOOL-2241 (#5826)
Holiday project.
Basically trying to improve test coverage, especially in those low-haning-fruit utils files

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing documentation, improving error handling, and adding tests across various modules in the codebase. It also corrects minor typos and ensures better code readability.

### Detailed summary
- Added `@internal` documentation comments to `Queue` and `convertViemChain`.
- Updated test cases to use `await expect(...)` for consistency.
- Fixed typos in file imports and function names.
- Introduced new tests for `namehash`, `encodeLabelhash`, and `parseNFT`.
- Enhanced error handling in `parseNftUri`.
- Improved the `toSemver` function and its tests.
- Added tests for `replaceBigInts` and `toHex` functions.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-28 07:17:26 +07:00
Joe-Thirdweb a7b6cb3211 Joe fhenix nitrogen update (#5844)
## Problem solved

Adding chain forms for

- Fhenix Nitrogen
- Plume

Linear - INFRA-539

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding new assets and metadata for two blockchain projects, `Fhenix` and `Plume`, including banners and CTAs, enhancing the dashboard's visual representation and information.

### Detailed summary
- Added imports for `fhenixBanner`, `fhenixCTA`, `plumeBannerv2`, and `plumeCTAv2`.
- Introduced metadata for `Fhenix` with header image, about section, and CTA details.
- Added metadata for `Plume` with similar structure, including two entries with the same content.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-27 21:15:23 +00:00
d4mr 71eaf8f050 [SDK] Fix: allow 0 values for gasPrice (#5841)
## Problem solved

Allow `0` value for gasPrice, important for gasless chains
Fixes TOOL-2865

<!-- start pr-codex -->

---

## PR-Codex overview
This PR modifies the conditional check for `gasPrice` in the `fee-data.ts` file to ensure it specifically checks if `gasPrice` is of type `bigint` instead of just checking its truthiness.

### Detailed summary
- Changed the condition from `if (gasPrice)` to `if (typeof gasPrice === "bigint")` in the `fee-data.ts` file.
- This ensures that only values of type `bigint` are considered valid for `gasPrice`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-27 20:00:33 +00:00
0xFirekeeper 1556615931 [Docs] .NET Fix LoginWithOtp Example (#5843)
Closes TOOL-2863

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on simplifying the OTP login process in the `InAppWallet` by removing the `canRetry` variable and related conditional logic, providing a more straightforward approach for handling OTP submissions.

### Detailed summary
- Removed the `canRetry` variable from the `LoginWithOtp` method calls.
- Simplified the OTP login logic by eliminating the retry checks.
- Added comments to indicate where to implement error handling and retries if needed.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-27 18:43:48 +00:00
0xFirekeeper 7293dfa2ff [Docs] .NET 2.10.0+ (#5842)
Closes TOOL-2440

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring the code to streamline interactions with contracts by removing references to `ThirdwebContract` and directly using `contract`. Additionally, it introduces new functionalities for unlinking accounts and enhances documentation across various pages.

### Detailed summary
- Refactored contract interactions to use `contract` instead of `ThirdwebContract`.
- Added `PurchaseData` object in `getbuywithfiatstatus` and `getbuywithfiatquote`.
- Introduced unlinking functionality in in-app and ecosystem wallets.
- Updated documentation for `SwitchNetwork` and `SignAuthorization`.
- Improved descriptions and metadata for various pages.
- Enhanced code examples and clarified usage instructions.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-26 19:49:44 +00:00
kien-ngo e9c23ade67 [SDK] Add onClose callback to details modal (#5605)
CNCT-2444
CNCT-2444

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily introduces an `onClose` callback for the `ConnectButton` component's details modal, enhancing its functionality. It also improves the rendering of various components and adds tests for new features.

### Detailed summary
- Added `onClose` callback to `ConnectButtonProps` for modal closure.
- Updated `ConnectButton` to utilize the `onClose` callback.
- Improved test coverage for `NetworkSwitcherButton` and `ChainIcon`.
- Enhanced `fetchChainIcon` functionality to handle various icon resolvers.
- Introduced `ChainActiveDot` for visual representation of active chains.
- Updated `NetworkSelector` and `DetailsModal` components for better user experience.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-26 02:58:46 +00:00
kumaryash90 ce3e850fdb Update implementations (#5837)
TOOL-2834
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `implementations.ts` file for the `thirdweb` package to include new marketplace and WETH addresses for the `ZKSYNC` network.

### Detailed summary
- Added a new marketplace address for `37111` in the `MarketplaceV3` object.
- Added a new WETH address for `37111` in the `ZKSYNC_WETH` object.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-24 18:10:35 +00:00
dependabot d2af09c0fe Bump @types/react from 19.0.1 to 19.0.2 (#5832)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 19.0.1 to 19.0.2.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/react&package-manager=npm_and_yarn&previous-version=19.0.1&new-version=19.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `@types/react` package version from `19.0.1` to `19.0.2` across multiple projects and updates the associated dependencies in the `pnpm-lock.yaml` file.

### Detailed summary
- Updated `@types/react` from `19.0.1` to `19.0.2` in:
  - `apps/playground-web/package.json`
  - `apps/dashboard/package.json`
  - `apps/portal/package.json`
  - `packages/thirdweb/package.json`
  - `apps/wallet-ui/package.json`
- Updated `@types/react` references in `pnpm-lock.yaml`.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-23 23:26:10 +00:00
dependabot 93228cb2f3 Bump eslint-config-next from 15.1.0 to 15.1.2 (#5833)
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 15.1.0 to 15.1.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/vercel/next.js/releases">eslint-config-next's releases</a>.</em></p>
<blockquote>
<h2>v15.1.2</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong> include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>Update React from 7283a213-20241206 to 65e06cb7-20241218: <a href="https://redirect.github.com/vercel/next.js/pull/74117">vercel/next.js#74117</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a href="https://github.com/ztanner"><code>@​ztanner</code></a> for helping!</p>
<h2>v15.1.1</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong> include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>fix(turbo): sassOptions silenceDeprecations was not overwritten with user options: <a href="https://redirect.github.com/vercel/next.js/pull/73937">vercel/next.js#73937</a></li>
<li>refactor collectAppPageSegments: <a href="https://redirect.github.com/vercel/next.js/pull/73908">vercel/next.js#73908</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a href="https://github.com/devjiwonchoi"><code>@​devjiwonchoi</code></a> and <a href="https://github.com/ztanner"><code>@​ztanner</code></a> for helping!</p>
<h2>v15.1.1-canary.17</h2>
<h3>Misc Changes</h3>
<ul>
<li>docs: update ISR self-hosting example code: <a href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/74211">#74211</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a href="https://github.com/leerob"><code>@​leerob</code></a> for helping!</p>
<h2>v15.1.1-canary.16</h2>
<h3>Core Changes</h3>
<ul>
<li>Use Geist font in Dev Overlay: <a href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/74160">#74160</a></li>
<li>[metadata] Align prefetch head type with head: <a href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/74161">#74161</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a href="https://github.com/devjiwonchoi"><code>@​devjiwonchoi</code></a> and <a href="https://github.com/huozhi"><code>@​huozhi</code></a> for helping!</p>
<h2>v15.1.1-canary.15</h2>
<h3>Core Changes</h3>
<ul>
<li>used shared worker for lint &amp; typecheck steps: <a href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/74154">#74154</a></li>
<li>chore(turbopack): Ignore no-vc-struct lint in trybuild proc macro tests: <a href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/74110">#74110</a></li>
<li>Use provided waitUntil for pending revalidates: <a href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/74164">#74164</a></li>
<li>Port ErrorPagination: <a href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/74097">#74097</a></li>
<li>Port LeftIcon RightIcon from ErrorPagination: <a href="https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next/issues/74098">#74098</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/vercel/next.js/commit/df392a1b9748d5e88eeffbab6ba9e00c0aa9473a"><code>df392a1</code></a> v15.1.2</li>
<li><a href="https://github.com/vercel/next.js/commit/4384c6834aee842dcd28b28f6aa476b0b86dae60"><code>4384c68</code></a> v15.1.1</li>
<li>See full diff in <a href="https://github.com/vercel/next.js/commits/v15.1.2/packages/eslint-config-next">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-config-next&package-manager=npm_and_yarn&previous-version=15.1.0&new-version=15.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the version of `eslint-config-next` from `15.1.0` to `15.1.2` in multiple package files, ensuring compatibility and potentially incorporating new features or fixes.

### Detailed summary
- Updated `eslint-config-next` from `15.1.0` to `15.1.2` in:
  - `apps/portal/package.json`
  - `apps/playground-web/package.json`
- Updated `eslint-config-next` version in `pnpm-lock.yaml`:
  - Specifier and version changed to `15.1.2`.
- Updated dependency resolution for `eslint-config-next` in `pnpm-lock.yaml`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-23 23:18:35 +00:00
DustinTurska 1a892f4ecf Dustin/chain page verification requests (#5828)
## Problem solved

Update chain pages for:
Flare Mainnet - partial update
GPT Mainnet
Appchain
Cyber Mainnet
Zetachain Test and Mainnet

Linear ticket INFRA-523

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding new assets and enhancing the metadata for various blockchain projects, including `Cyber`, `Flare`, `Appchain`, `GPT`, and `Zetachain`. It updates the `chainMetaRecord` to include new images, descriptions, and call-to-action details for these projects.

### Detailed summary
- Added new image imports for `appChainBanner`, `appchainCTA`, `cyberCTA`, `cyberChainBanner`, `gptCTA`, `gptChainBanner`, `zetachainBanner`, and `zetachainCTA`.
- Updated `chainMetaRecord` for `Cyber` with a new description and CTA.
- Added metadata for `Flare` including a description.
- Added metadata for `Appchain` with a description and CTA.
- Added metadata for `GPT Mainnet` with a description and CTA.
- Added metadata for `Zetachain` and its Testnet with descriptions and CTAs.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-23 23:13:33 +00:00
YashandGitHub 6eba1eb8c3 fix contract subscriptions info on features (#5793) 2024-12-23 17:13:04 -06:00
gregandGitHub 82667ca17d [SDK] Test: Adds useSwitchActiveWalletChain test (#5835) 2024-12-23 16:44:51 -06:00
TristavandGitHub a83fee6a67 Fix typos and improve documentation clarity (#5827)
Signed-off-by: Tristav <[email protected]>
2024-12-23 16:39:49 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e4fcae8fe4 Bump @radix-ui/react-alert-dialog from 1.1.3 to 1.1.4 (#5834)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-23 16:38:02 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2d84d48aae Bump tailwind-merge from 2.5.5 to 2.6.0 (#5831)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-23 16:35:51 -06:00
MananTank 9bd9923e11 [TOOL-2816] Nebula - update sidebar + other minor UI adjustments (#5823)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the UI components in the `ChatBar`, `ChatSidebar`, and `ContextFilters` by updating styles, modifying button variants, and enhancing layout structures. It also introduces a new `SidebarIconLink` component for better organization.

### Detailed summary
- Removed `variant="primary"` from `Button` in `ChatBar`.
- Simplified `Button` in `NebulaMobileNav`.
- Adjusted class names in `ChatHistoryPage` for responsiveness.
- Updated `Badge` components in `ContextFilters` to use `variant="secondary"`.
- Replaced multiple icons in `ChatSidebar` with new ones.
- Changed `Button` variant to `outline` in `ChatSidebar`.
- Added new `SidebarIconLink` component for navigation links.
- Adjusted layout spacing in `ChatSidebar`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-23 21:21:51 +00:00
MananTank 1e274913c6 [TOOL-2815] Nebula - handle disconnected wallet state, use connected account address in execute config (#5821)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refining the chat functionality and user experience in the `ChatBar` and `ChatPageContent` components. It enhances wallet connection handling, streamlines message sending, and introduces a dialog for when the wallet is disconnected.

### Detailed summary
- Added `e.preventDefault()` in `ChatBar` to prevent default behavior on Enter key.
- Removed unused wallet address fetching in several components.
- Updated `config` type to allow `null` in `Chat` API.
- Introduced `WalletDisconnectedDialog` in `ChatPageContent`.
- Enhanced state management for showing different login pages.
- Improved context filter updates based on wallet address and active chain.
- Added conditional rendering for wallet connection prompts.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-23 21:21:51 +00:00
kien-ngo 1b103d7e39 [SDK] React test coverage (#5825)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on significant updates to wallet support, increasing the number of supported wallets from 350+ to 500+. It also includes various code deletions, modifications, and new features across multiple components and files.

### Detailed summary
- Increased wallet support from 350+ to 500+ across various components.
- Updated `version` in `package.json` files.
- Modified `ChainIcon` component to use a fallback icon.
- Added `ModalPreview` for connect modal examples.
- Updated descriptions in documentation and UI elements.
- Refactored several components for better code clarity and functionality.
- Deleted multiple unused assets and components.

> The following files were skipped due to too many changes: `apps/dashboard/src/components/icons/ChainIcon.tsx`, `packages/thirdweb/src/react/core/utils/structuralSharing.test.ts`, `packages/thirdweb/src/contract/deployment/utils/bootstrap.ts`, `packages/thirdweb/src/react/web/utils/resolveMimeType.test.ts`, `apps/portal/src/app/connect/wallet/sign-in-methods/external-wallets/page.mdx`, `apps/dashboard/src/hooks/useCsvUpload.ts`, `apps/dashboard/src/app/nebula-app/(app)/components/Chats.tsx`, `packages/thirdweb/src/react/web/ui/MediaRenderer/mime/mime.test.ts`, `apps/portal/src/app/connect/account-abstraction/erc-20-paymaster/page.mdx`, `apps/dashboard/src/app/(dashboard)/(chain)/components/server/chain-icon.tsx`, `packages/thirdweb/src/contract/deployment/utils/create-2-factory.ts`, `packages/thirdweb/src/react/web/ui/MediaRenderer/icons.test.tsx`, `packages/thirdweb/src/react/web/ui/hooks/useShowMore.test.tsx`, `packages/thirdweb/src/react/web/ui/hooks/useDebouncedValue.test.tsx`, `apps/portal/src/app/connect/page.mdx`, `apps/portal/src/app/connect/wallet/sign-in-methods/configure/page.mdx`, `packages/thirdweb/src/react/core/utils/walletIcon.ts`, `apps/portal/src/app/typescript/v5/adapters/page.mdx`, `apps/portal/src/app/connect/wallet/get-started/page.mdx`, `apps/portal/src/app/react/v5/adapters/page.mdx`, `packages/thirdweb/src/react/web/ui/MediaRenderer/MediaRenderer.test.tsx`, `apps/portal/src/app/nebula/api-reference/page.mdx`, `packages/thirdweb/src/react/core/utils/walletIcon.test.ts`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/insight/[blueprint_slug]/blueprint-playground.stories.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/insight/[blueprint_slug]/blueprint-playground.client.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_components/claim-conditions/snapshot-upload.tsx`, `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-21 13:54:15 +00:00
kumaryash90 37180203f7 Marketplace implementation addresses (#5822)
TOOL-2814

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces support for `ZkSync` chains by adding implementations for contracts and adjusting methods to handle `ZkSync` specific logic, including fetching default constructor parameters and deploying contracts.

### Detailed summary
- Added `ZKSYNC_IMPLEMENTATIONS` and `ZKSYNC_WETH` records for various `ZkSync` chains.
- Updated `CustomContractForm` to handle `MarketplaceV3` differently for `ZkSync` chains.
- Introduced a test for retrieving default constructor parameters for `ZkSync`.
- Modified `getAllDefaultConstructorParamsForImplementation` to return `nativeTokenWrapper` for `ZkSync`.
- Updated contract deployment logic in `bootstrap.ts` to use `ZkSync` implementations.
- Added a test case for saving implementations for `ZkSync` chains.
- Enhanced contract fetching logic in `getOrDeployInfraContract` for `WETH9` on `ZkSync`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-20 22:40:37 +00:00
MananTank 243c497f97 [TOOL-2821] Improve performance of snapshot viewer component + fix date not shown in phases (#5824)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `date-utils` and `claim-conditions` components, updating the handling of date types, and refactoring the `SnapshotUpload` component to improve data processing and user experience. It also introduces a new dependency, `p-limit`, for better concurrency control.

### Detailed summary
- Updated `toDateTimeLocal` function to handle `Date` instances directly.
- Replaced `SnapshotUpload` with `SnapshotViewerSheet` in `claim-conditions-form`.
- Enhanced `AirdropUpload` to show a loading spinner when data is being normalized.
- Refactored `useCsvUpload` to use `useQuery` instead of `useQueries`.
- Improved error handling and data validation in `SnapshotUpload`.
- Added new dependency `p-limit` for managing concurrent requests.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-20 19:21:31 +00:00
kumaryash90 5f8e57014d [TOOL-2814] Fix custom factory publish form (#5819)
TOOL-2814

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors the `useCustomFactoryAbi` function in `hooks.ts` to improve contract handling and query logic. It changes how the contract is retrieved and updates the query's enabled condition.

### Detailed summary
- Changed import statements for `ThirdwebContract` and `getContract`.
- Refactored the `contract` retrieval logic to be more concise.
- Updated `queryKey` to include `contractAddress` and `chainId`.
- Modified the `enabled` condition to check for `contractAddress` and `chainId`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-20 19:09:13 +00:00
MananTank cb66be4b92 [TOOL-2773] Fix incorrect caching in useCsvUpload hook (#5820)
## Problem solved

Fixes: https://github.com/thirdweb-dev/js/issues/5791

Problem:

User uploads a CSV1 and then uploads a CSV2 - CSV2 is ignored and CSV1's data is sent instead of CSV2 because of incorrect query cache key

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `normalizeQuery` in the `useCsvUpload` hook to improve clarity and consistency in parameter naming.

### Detailed summary
- Changed the parameter name from `o` to `item` in the `rawData.map` function for better readability.
- Updated the `queryKey` to use `item` directly instead of `o.address`.
- Maintained the same functionality while enhancing code clarity.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-20 12:19:55 +00:00
MananTank cfbe8c3810 [TOOL-2809] Nebula - make the chat card a link in chat history page (#5812)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `ChatHistoryPage` component by improving the layout and interactivity of the session title and button elements.

### Detailed summary
- Changed the `div` class from `overflow-hidden` to `relative overflow-hidden`.
- Wrapped the session title in a `Link` component for better navigation.
- Added a `className` to the `Link` for styling.
- Modified the `Button` class to include `relative z-10` for improved stacking context.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-20 11:15:28 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
d14e0c4658 Version Packages (#5785)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-20 14:35:58 +13:00
Joaquim VergesandGitHub a89f766a51 feat: Update wallet count from 350+ to 500+ and optimize SIWE linking (#5818) 2024-12-20 14:19:07 +13:00
Joaquim VergesandGitHub 00af0eda5b docs: Reorganize Connect SDK documentation structure and UI (#5816) 2024-12-20 13:35:38 +13:00
Joaquim VergesandGitHub 1ed2f86e80 docs: Remove duplicate contract section heading (#5815) 2024-12-20 13:20:29 +13:00
MananTank 3d6e2a2b8b [TOOL-2810] Remove unused assets from dashboard (#5813)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on the removal of various asset files from the `apps/dashboard/public/assets` directory, including images and templates related to contracts, icons, and landing pages.

### Detailed summary
- Deleted the following files:
  - `add-contract/drop.png`
  - `tw-icons/nft-drop.png`
  - `templates/nft-drop.png`
  - `templates/tappyfowl.png`
  - `templates/unity-iap.png`
  - `templates/cat-attack.png`
  - `templates/mintcaster.png`
  - `tw-icons/marketplace.png`
  - `templates/marketplace.png`
  - `templates/nft-gallery.png`
  - `landingpage/white-logo.png`
  - `templates/expo-starter.png`
  - `templates/next-starter.png`
  - `templates/node-starter.png`
  - `templates/thirdweb-eth.png`
  - `templates/vite-starter.png`
  - `landingpage/marketplace.png`
  - `templates/unity-pioneer.png`
  - `templates/web3-warriors.png`
  - `add-contract/marketplace.png`
  - `templates/nft-gated-site.png`
  - `templates/unity-take-flight.png`
  - `templates/unity-blockventure.png`
  - `templates/phygital-experience.png`
  - `solutions-pages/gaming/marketplace.png`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-19 22:59:09 +00:00
MananTank baa2157772 [TOOL-2808] Add back freewallets announcement banner + hide it after 31st Dec 2024 (#5814)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the `UnlimitedWalletsBanner` component, which displays a promotional banner for free in-app wallets until December 31, 2024, replacing placeholder comments in the layout files.

### Detailed summary
- Added import of `UnlimitedWalletsBanner` in `apps/dashboard/src/pages/_app.tsx`.
- Replaced placeholder comment with `<UnlimitedWalletsBanner />` in `apps/dashboard/src/pages/_app.tsx`.
- Added import of `UnlimitedWalletsBanner` in `apps/dashboard/src/app/layout.tsx`.
- Replaced placeholder comment with `<UnlimitedWalletsBanner />` in `apps/dashboard/src/app/layout.tsx`.
- Created `UnlimitedWalletsBanner` component in `apps/dashboard/src/components/notices/AnnouncementBanner.tsx` that hides after December 31, 2024.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-19 22:49:19 +00:00
DustinTurska df03dbd41d Ink mainnet chain page update (#5806)
## Problem solved

Update Ink Mainnet Chain Page
Add OP Superchain Application CTA to chain page

Linear Issues:
INFRA-520

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new blockchain entry for `Ink` in the dashboard, including the addition of an image asset and relevant metadata.

### Detailed summary
- Added `inkBanner.jpg` to the project assets.
- Updated `ApplyForOpCreditsForm.tsx` to include `Ink` in the chain options.
- Enhanced `utils.ts` with `Ink` metadata, including:
  - `headerImgUrl`: set to `inkBanner.src`
  - `about` description for `Ink`
  - `cta` and `gasSponsored` attributes set to true.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-19 22:37:20 +00:00
saminaandGitHub cfc1398558 Update endpoint documentation on portal (#5810)
Signed-off-by: samina <[email protected]>
2024-12-19 14:33:03 -08:00
MananTank 8d17d05a5a [TOOL-2808] Dashboard: Remove Announcement banner (#5811)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the handling of the `UnlimitedWalletsBanner` component in the dashboard application by removing its direct usage and replacing it with a placeholder comment, while also modifying the `knip.json` configuration to include an additional file in the ignore list.

### Detailed summary
- Updated `apps/dashboard/knip.json`: Added `src/components/notices/AnnouncementBanner.tsx` to the `ignore` array.
- Modified `apps/dashboard/src/pages/_app.tsx`: Replaced `<UnlimitedWalletsBanner />` with a comment `{/* Banner goes here */}`.
- Updated `apps/dashboard/src/app/layout.tsx`: Similarly replaced `<UnlimitedWalletsBanner />` with a comment `{/* Banner goes here */}`.
- Changed `AnnouncementBanner` function to `export function AnnouncementBanner`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-19 22:02:30 +00:00
MananTank fd4664abde [TOOL-2800] Insight Playground: Combine all filter query params in a group (#5807)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `RequestConfigSection` component by improving the handling of parameters. It introduces a new categorization for query parameters, separating them into general query parameters and filter query parameters, and updates the rendering logic accordingly.

### Detailed summary
- Refactored parameter handling in `RequestConfigSection` using `useMemo`.
- Introduced `filterQueryParams` to categorize parameters starting with "filter_".
- Updated rendering to conditionally display `ParameterSection` for `filterQueryParams`.
- Added `className` prop to `ParameterSection` for styling flexibility.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-19 21:26:08 +00:00
MananTank 58b75d1276 [TOOL-2804] Insight Playground: Render Select for Parameters with enum schema + Show Examples (#5805)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `ToolTipLabel` and `SelectTrigger` components, adding new props for customization. It also introduces a new `ParameterInput` component to streamline input handling for parameters with enums, improving the overall user experience in forms.

### Detailed summary
- Added `contentClassName` prop to `ToolTipLabel` for custom styling.
- Updated `SelectTrigger` to accept `chevronClassName` prop for customization.
- Introduced `ParameterInput` component to handle parameter inputs with enums.
- Enhanced form error handling and display logic in `RequestConfigSection` and `ParameterSection`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-19 21:26:07 +00:00
MananTank d7d9415bd8 [TOOL-2801] Insight Playground: Use OpenAPIV3 types (#5804)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the handling of OpenAPI specifications within the codebase, improving type definitions, and refining the UI components to accommodate optional fields and better manage parameters.

### Detailed summary
- Added `openapi-types` dependency in `package.json`.
- Updated `blueprintSpec` to use optional chaining for safer access.
- Modified `BlueprintCard` to handle optional `description` and `title`.
- Changed `BlueprintParameter` type to use `OpenAPIV3.ParameterObject`.
- Enhanced `BlueprintPlaygroundUI` to filter and manage parameters more effectively.
- Updated parameter handling in forms to leverage new schema definitions.
- Refined UI components to conditionally render descriptions and titles.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-19 21:26:06 +00:00
MananTank b2a52d96d5 [TOOL-2807] Nebula: Fix incorrect prepared transaction object, Fix sign_transaction action not shown properly on page reload (#5809)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `Chat` component's handling of transaction messages, introducing a new transaction data structure, and modifying related components to support this change.

### Detailed summary
- Updated `role` in `types.ts` to include `"action"`.
- Replaced `SendTransactionOption` with `NebulaTxData` in `chat.ts`.
- Refactored message handling in `ChatPageContent.tsx` to support transaction messages.
- Created `NebulaTxData` type with properties for transaction details.
- Adjusted `Chats.tsx` to utilize `NebulaTxData` in various functions.
- Modified `SendTransactionButton` to prepare and send transactions using the new data structure.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-19 21:14:14 +00:00
jnsdls fa26eefc91 CORE-659 - rewrite templates to framer (#5808)
closes: CORE-659
2024-12-19 19:20:24 +00:00
kumaryash90 7c40fdaf14 Custom create2 factory deployment for skale chains (#5693)
TOOL-2779 (XPROT-931)

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a custom `create2` factory deployment for SKALE chains, enhancing gas management and testing functionalities.

### Detailed summary
- Added tests for `create2` factory address computation and deployment in `create-2-factory.test.ts`.
- Introduced `Create2FactoryDeploymentInfo` type in `create-2-factory.ts`.
- Implemented custom gas price and limit handling for specific SKALE chains.
- Updated `deployCreate2Factory` to utilize custom gas settings.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-19 17:15:54 +00:00
MananTank 00b6c2e19a [CORE-652] Add chain icon in SingleNetworkSelector + other chain icon related fixes (#5794)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on updating the `ChainIcon` component's implementation and its usage across various files, specifically changing the way the icon's size is handled and integrating a new fallback mechanism.

### Detailed summary
- Added `decoding="async"` to an `Image` component.
- Replaced `size` prop with `className` for `ChainIcon` across multiple components, adjusting sizes accordingly.
- Updated `ChainIcon` implementation to use a new `Img` component.
- Introduced a fallback image for `ChainIcon` in case of loading failures.
- Added stories for `MultiNetworkSelector` and `SingleNetworkSelector` components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-19 14:55:40 +00:00
gregfromstl aad65864cb [React SDK] Fix: Hides custom_jwt profiles from UI (#5802)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the filtering logic in the `LinkedProfilesScreen` component to exclude specific profile types, namely `guest`, `custom_jwt`, and `custom_auth_endpoint`, from being displayed. It also updates the test cases to reflect these changes.

### Detailed summary
- Updated the filtering logic in `LinkedProfilesScreen.tsx` to exclude `guest`, `custom_jwt`, and `custom_auth_endpoint` profiles.
- Added a test case to verify that `custom_jwt` profiles are not displayed.
- Added a test case to ensure profiles that are not `guest` or `custom_jwt` are displayed correctly.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-19 07:50:48 +00:00
Joaquim VergesandGitHub 3683c11b2d docs: Simplify React Native sidebar navigation (#5800) 2024-12-19 13:59:28 +13:00
gregfromstl 90e2b9740d [SDK] Feature: Allow hiding the link profiles button (#5799)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a feature to hide the "Linked Profiles" button in the `ConnectButton` Details Modal based on the `allowLinkingProfiles` option. It also includes tests for the `ManageWalletScreen` to ensure the button's visibility behaves as expected.

### Detailed summary
- Added `manageWallet` option in `ConnectButtonProps` to configure wallet management.
- Updated `ManageWalletScreen` to conditionally render the linked profiles button based on `allowLinkingProfiles`.
- Created tests for `ManageWalletScreen` to verify button visibility based on `allowLinkingProfiles` settings.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-19 00:28:29 +00:00
MananTank 46a426b215 [CORE-654] Nebula replace sendTransaction function with useSendTransaction hook (#5797)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the transaction handling in the `Chats` component by improving the transaction execution process and ensuring the use of an authenticated `ThirdwebClient`.

### Detailed summary
- Updated `client` initialization in `ChatPageContent` to include `props.authToken`.
- Introduced `ExecuteTransaction` component to handle transaction execution.
- Replaced `SendTransactionButton` with `ExecuteTransaction` in `Chats`.
- Refactored `SendTransactionButton` to use `useSendTransaction` instead of `sendTransaction`.
- Simplified error handling for transaction data parsing.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-19 00:13:04 +00:00
MananTank 7711efea70 [CORE-656] Update Dashboard Team layout (#5798)
## Problem solved

CORE-656

* Move the Team analytics from overview page to Analytics tab
* Move the changelog to "projects" page and make that the default page to show on /team/<team-slug>

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on updating links related to the `thirdweb dashboard`, changing references from project-specific URLs to a more general team URL. Additionally, it refines the `TeamProjectsPage` component and enhances the analytics page structure.

### Detailed summary
- Updated links in multiple `.mdx` files to point to `https://thirdweb.com/team` instead of project-specific URLs.
- Modified `layout.tsx` to change the path from `projects` to `analytics`.
- Enhanced `TeamProjectsPage` to display a message when no projects are created, with a button to create a new project.
- Refactored the main page to include the `TeamProjectsPage` component and removed unnecessary analytics content.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-18 23:54:39 +00:00
a2a61df029 fix: Add validation for getContract params (#5780)
Co-authored-by: MananTank <[email protected]>
2024-12-19 12:53:34 +13:00
59ec04d00d added new register walletconnect guide (#5786)
Co-authored-by: greg <[email protected]>
2024-12-18 13:54:27 -08:00
Joaquim VergesandGitHub 07ad025006 feat: Add email verification flow to in-app wallet (#5796) 2024-12-19 10:19:16 +13:00
Joaquim VergesandGitHub 5293450bd9 docs: Reorganize TypeScript and React documentation structure (#5787) 2024-12-19 09:58:37 +13:00
Joaquim VergesandGitHub 80faf3479e feat: Reorganize portal landing page sections (#5745) 2024-12-19 09:57:46 +13:00
Jonas DanielsandGitHub 7d8566e656 fix typo in RPC Edge title (#5779) 2024-12-17 16:32:19 -08:00
gregfromstl e818f0ec87 [SDK] Feature: Adds humanity testnet tx support (#5783)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on adding support for the `Humanity Testnet` as a legacy transaction chain within the `thirdweb` package.

### Detailed summary
- Added `Humanity Testnet` with the value `1942999413` to the list of transaction chains in the `packages/thirdweb/src/gas/fee-data.ts` file.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-18 00:01:35 +00:00
MananTank ecb4571fb6 [CORE-645] Nebula - Add active chain in context filters (#5782)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `ChatPageContent` component by integrating the `useActiveWalletChain` hook, which allows the component to manage context filters based on the user's active wallet chain. It refines state management and ensures context filters are updated appropriately.

### Detailed summary
- Added `useActiveWalletChain` to track the active wallet chain.
- Renamed the state variable `_contextFilters` to `contextFilters`.
- Updated the `setContextFilters` function to use `useCallback`.
- Modified the logic to update context filters based on active wallet address and chain ID.
- Simplified the effect to set context filters conditionally based on user interactions and active chain.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-17 23:23:05 +00:00
Joaquim VergesandGitHub 58bc4a91f9 fix: Remove hardcoded chain list from ConnectButton (#5784) 2024-12-18 11:14:43 +13:00
gregfromstl 871ad991ae [ci] Chore: Update codeowners (#5781)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the ownership and environment variables in the GitHub workflows and `CODEOWNERS` file, reflecting a shift in responsibilities and issue prefix definitions.

### Detailed summary
- Changed `VALID_ISSUE_PREFIXES` from `"CNCT|DASH|PROT|INSIGHT|ENGINE|CS|DES|BIL|DEVX|SOLU|NEB"` to `"CORE|TOOL"`.
- Updated default ownership group in `.github/CODEOWNERS` to `@thirdweb-dev/developer-tools`.
- Adjusted package ownerships for `packages/thirdweb/`, `packages/service-utils/`, `packages/eslint-config-thirdweb/`, and `packages/tw-tsconfig/` to include `@thirdweb-dev/core-platform` and `@edwardysun`.
- Changed app ownership for `apps/` to include `@thirdweb-dev/developer-tools` and `@thirdweb-dev/core-platform`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-17 21:59:54 +00:00
MananTank 9b3c7f6672 [INSIGHT-508] Fix Insight blueprint card alignment + Set max height on blueprint playground (#5778)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the layout and structure of the `BlueprintPlaygroundUI` component in the `blueprint-playground.client.tsx` file and enhancing the styling of the `page.tsx` file in the `insight` directory.

### Detailed summary
- Updated the layout of the `BlueprintPlaygroundUI` component.
- Replaced `useHeightObserver` with `ScrollShadow`.
- Adjusted height and overflow properties for responsive design.
- Enhanced the styling of the `insight/page.tsx` component.
- Added a new `ScrollShadow` wrapper around `ParameterSection` components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-17 20:39:25 +00:00
MananTank 69990ab338 [DASH-540] Nebula - Various UI improvements (#5777)
## Problem solved

DASH-540

* on the chat page -> move the container 1 level down - so the chat can be scrolled from the corner of the page as well
* reduce container max-width for the history page to 800px to match it with landing page
* stop the auto scroll if user interacts with chat UI
* custom 404 page for the nebula subdomain
* remove the announcement banner from the 404 pages ( this affects entire dashboard)
* fix empty title in chat history page
* fix overflow in chat history page on mobile when there's a long text without a whitespace

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the chat functionality and user experience in the `Nebula` application. It introduces auto-scrolling features, improves layout styling, and adds a new `404 Not Found` page.

### Detailed summary
- Added auto-scrolling feature to `Chats` component.
- Introduced `setEnableAutoScroll` function to manage scrolling behavior.
- Enhanced styling in `ChatHistoryPage` and `SessionCard`.
- Implemented a new `NebulaNotFound` component with a user-friendly 404 message.
- Updated `ChatPageContent` to utilize the new auto-scroll functionality.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-17 20:29:26 +00:00
MananTank d8b4e09110 [DASH-644] Add Saakuru mainnet and Saakuru testnet in GAS_FREE_CHAINS list (#5776)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `MismatchButton` component in the `MismatchButton.tsx` file to include new network identifiers for the `Saakuru Mainnet` and `Saakuru Testnet`.

### Detailed summary
- Added `7225878` for `Saakuru Mainnet`.
- Added `247253` for `Saakuru Testnet`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-17 17:08:49 +00:00
MananTank 6e2e426be6 [DASH-605] Add profile OG image (#5775)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring the handling of gradients for avatars and updating the Open Graph image generation for user profiles. It introduces a new `GradientBlobbie` component and modifies the `GradientAvatar` to use this new component, enhancing the visual representation of user profiles.

### Detailed summary
- Deleted `url-utils.ts` and `profile.tsx` files.
- Introduced `title` and `description` variables in the profile page response.
- Created `GradientBlobbie` component for gradient backgrounds.
- Removed gradient logic from `GradientAvatar` and used `GradientBlobbie` instead.
- Updated Open Graph image generation to include `GradientBlobbie` for users without an ENS image.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-17 16:50:20 +00:00
MananTank 4d89116085 [DASH-634] Remove framer-motion package usage (#5773)
## Problem solved

Note: can't remove the package from package.json because chakra has peer dependency on it

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the presentation of components by removing unnecessary animations and simplifying the structure of several components, specifically in the `GuideCard`, `EventsFeed`, and `PermissionsTable`.

### Detailed summary
- Changed `guides.map` to use a more concise arrow function syntax.
- Removed `index` prop from `GuideCardProps`.
- Replaced `AnimatePresence` wrappers with simple `div` elements in `EventsFeed` and `LatestEvents`.
- Simplified animation logic in `EventsFeedItem` and `PermissionsItem` by removing motion properties and replacing them with simple list item (`li`) tags.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-17 16:41:22 +00:00
MananTank ae7d5f29f2 [DASH-601] Fix stretched ENS avatar image + Replace MediaRenderer with Image in WalletAddress component (#5772)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the styling of various components by adding the `object-cover` class to ensure images maintain their aspect ratio and cover the designated area appropriately.

### Detailed summary
- Updated `className` in `publisher-header.tsx` to include `object-cover`.
- Updated `className` in `index.tsx` to include `object-cover`.
- Updated `className` in `profile-header.tsx` to include `object-cover`.
- Replaced `MediaRenderer` with `Img` in `wallet-address.tsx` for avatar rendering, adding `object-cover` to its `className`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-17 16:32:17 +00:00
MananTank 123435b0e4 [DASH-643] Improve Project overview page load perf (#5774)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `ProjectOverviewPage` component by integrating a loading state with `Suspense`, restructuring the layout, and improving the conditional rendering of analytics components based on project activity.

### Detailed summary
- Added `Suspense` for loading state using `GenericLoadingPage`.
- Refactored layout to use a flexbox structure.
- Enhanced conditional rendering for `ProjectAnalytics` and `EmptyState`.
- Improved user statistics and charts display logic.
- Streamlined the rendering of various analytics cards.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-17 16:22:14 +00:00
MananTank e63e6dac15 [DASH-642] Add opengraph image + meta for chainlist (#5771)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `metadata` object in the `page.tsx` file for the `ChainListPage` component, specifically modifying the `title` and `description` properties for improved clarity and consistency.

### Detailed summary
- Added a new `title` variable with the value "Chainlist: RPCs, Block Explorers, Faucets".
- Added a new `description` variable with the updated description text.
- Updated the `metadata` object to use the new `title` and `description` variables.
- Introduced an `openGraph` property in the `metadata` object that includes the new `title` and `description`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-17 16:15:14 +00:00
Joaquim VergesandGitHub bdb27e4a66 fix: Handle NFT fetch failures gracefully and add Treasure chain (#5769) 2024-12-17 22:56:12 +13:00
Joe-Thirdweb 7bc2856786 Chain Page Updates (#5768)
## Problem solved

Short description of the bug fixed or feature added
Added Superseed Gas Credit, Funki, Somnia, lumia testnet

Linear tasks:
SOLU-1913
SOLU-1909
SOLU-1885
SOLU-1888

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new assets and updates for the `Funki` and `Somnia` chains, enhancing the dashboard's visual and informational content. It includes new banners, CTAs, and detailed descriptions for these chains.

### Detailed summary
- Added new image assets: `funkiBanner.jpg`, `funkiCTA.jpg`, `somniaBanner.png`.
- Introduced metadata for `Funki Mainnet` and `Funki Testnet` with descriptions and CTAs.
- Added metadata for `Somnia Devnet` with its description and CTA.
- Updated the description and CTA for `Lumia`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-17 06:09:42 +00:00
EimanandGitHub 457cb35f2c update nebula overview page (#5767)
Signed-off-by: Eiman <[email protected]>
2024-12-16 22:08:12 -08:00
EimanandGitHub 8e326cc7f5 move execute out to be api endpoint (#5766)
Signed-off-by: Eiman <[email protected]>
2024-12-17 11:36:32 +13:00
MananTank b6deb15e79 [DASH-638] Improve page load speed for <project>/connect tab by skipping a redirect (#5758)
## Problem solved

DASH-638

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `ProjectTabs` component to replace the existing `TabPathLinks` usage in the `TeamLayout`. It enhances tab management by allowing custom active tab logic and streamlining the tab structure.

### Detailed summary
- Added `isActive` prop to the `links` array in `tabs.tsx`.
- Introduced `ProjectTabs` component in `tabs.tsx` for managing project-related tabs.
- Replaced `TabPathLinks` with `ProjectTabs` in `layout.tsx`.
- Removed unused code for project fetching and not found handling in `page.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-16 22:00:37 +00:00
gregfromstl 4fda846e7c [SDK]: Chore: Fix AWS dependencies in dependabot config (#5760)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `.github/dependabot.yml` configuration file to include new dependencies to be ignored during updates for specific versions of AWS SDK clients.

### Detailed summary
- Added `ignore` section for dependencies:
  - `@aws-sdk/client-kms`: version `3.592.0`
  - `@aws-sdk/client-lambda`: version `3.592.0`
  - `@aws-sdk/credential-providers`: version `3.592.0`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-16 21:52:38 +00:00
MananTank d85df8bb55 [DASH-635] Fix useActiveWalletChain not returning custom chain (#5752)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds functionality to handle custom chains by mapping them to a new format and storing them in a separate array.

### Detailed summary
- Added a line to push mapped custom chains to the `allChainsV5` array using `mapV4ChainToV5Chain(c)`.
- Included an ESLint directive to disable the `no-restricted-syntax` rule for the new line.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-16 21:35:39 +00:00
MananTank 2110792821 [DASH-639] Remove unused assets (#5759)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on the deletion of numerous image files from various directories within the `apps/dashboard/public/assets` folder, including images related to partners, ambassadors, landing pages, and grants.

### Detailed summary
- Deleted multiple image files from `partners`, `ambassadors`, `landingpage`, `community`, and `grant` directories.
- Removed images such as `aws.png`, `polygon.png`, `coinbase.png`, `superchain/logo-dashboard.png`, and many others.
- A total of 160 image files were deleted.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-16 21:13:37 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ba685b9deb Bump knip from 5.39.4 to 5.41.0 (#5755)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 13:12:57 -08:00
Jonas DanielsandGitHub 89efc28234 update dependencies (#5749) 2024-12-16 13:06:52 -08:00
MananTank 7fc619165d [DASH-444] Nebula - Update login flow (#5750)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring and updating the chat and login components in the `nebula-app`, enhancing the handling of chat sessions, prompts, and user interactions.

### Detailed summary
- Added `initialPrompt` to `ChatPageContent` and `EmptyStateChatPageContent`.
- Simplified `EmptyStateChatPageContent` props.
- Introduced `LoginAndOnboardingPageContent` for better login handling.
- Updated `NebulaLogin` to use `NebulaLoginPage`.
- Refactored message handling and session management in `ChatPageContent`.
- Removed unnecessary props in `Chatbar` and `EmptyStateChatPageContent`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-16 20:18:28 +00:00
b205280960 initial nebula docs (#5720)
Co-authored-by: greg <[email protected]>
2024-12-16 11:53:35 -08:00
MananTank b173ad2866 Remove duplicated in-app-wallet and account-abstraction settings UI from /connect layout (#5748)
## Problem solved

Fixes: DASH-630

In-App wallet and Account abstraction settings are already available in project settings layout

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring the `AccountAbstractionPage` and `SmartWallets` components by removing the `twAccount` property and associated logic, along with deleting unused configuration files. It streamlines the code and improves maintainability.

### Detailed summary
- Deleted files: `page.tsx` and `loading.tsx` in `connect/in-app-wallets/config`.
- Removed `twAccount` property from `AccountAbstractionPage` and `SmartWallets` components.
- Updated `AccountAbstractionPage` to only fetch `team` and `project` data.
- Removed `getValidAccount` function call.
- Deleted `Sponsorship Policies` tab and related logic from `SmartWallets`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-16 18:48:07 +00:00
MananTank f1cf2fad2b Fix API key redirect URL schema on in-app wallet settings and unresponsive general project settings page (#5747)
## Problem solved

Fixes: DASH-629

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the validation schema and related components for project settings, particularly around custom authentication endpoints and redirect URIs. The changes enhance the form handling and validation logic in the dashboard.

### Detailed summary
- Introduced `expandCustomAuthEndpointField` for conditional rendering of custom authentication endpoint fields.
- Updated `checked` property of `GatedSwitch` to use the new variable.
- Modified the placeholder of `Textarea` in `NativeAppsFieldset`.
- Changed `UpdateAPIForm` type to use `ProjectSettingsPageFormSchema`.
- Updated form initialization to use `projectSettingsPageFormSchema`.
- Refined validation logic for redirect URIs, allowing specific formats.
- Created a new `redirectUriSchema` for validating redirect URIs.
- Updated `redirectUrls` validation to use the new schema.
- Changed the exported validation type from `ApiKeyValidationSchema` to `ProjectSettingsPageFormSchema`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-16 16:59:51 +00:00
kien-ngo 7819e1ebab [Dashboard] Add a form to let user manually input data for Marketplace listings (#5654)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `CreateListingButton` and `CreateListingsForm` components by adding support for multiple listing modes (automatic and manual) and improving NFT validation logic, ensuring users can list NFTs more effectively based on the selected mode.

### Detailed summary
- Introduced `LISTING_MODES` for "Select NFT" and "Manual" modes.
- Added logic to toggle between automatic and manual listing modes.
- Enhanced NFT validation for manual mode, including contract address and token ID checks.
- Updated NFT approval checks based on listing mode.
- Modified form controls and error handling for improved user experience.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-16 16:46:51 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
6994310d16 Version Packages (#5741)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-17 01:08:47 +13:00
Joaquim VergesandGitHub e42ffc6a93 Fix migration to enclave wallets in react native (#5746) 2024-12-17 00:27:00 +13:00
gregfromstl 0ddc123807 [Dashboard] Fix: Nebula send transaction params (#5744)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances the `SendTransactionButton` component in `Chats.tsx` by introducing improved transaction handling and validation through the addition of a blockchain `chain` context and the `sendTransaction` method.

### Detailed summary
- Added import for `sendTransaction` from `thirdweb`.
- Introduced `chain` variable using `useV5DashboardChain`.
- Updated transaction validation to check for both `txData` and `chain`.
- Refactored transaction sending logic to use `sendTransaction` with detailed parameters.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-15 23:38:20 +00:00
gregfromstl f91f6310e9 [CI] Feature: Deploy typedoc to permalink (#5740)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces a new `TypeDoc` workflow for generating documentation and updates the `parse.mjs` script to process documentation data. It also modifies the `package.json` to include the `typedoc-better-json` dependency and adjusts the `pnpm-lock.yaml` accordingly.

### Detailed summary
- Added `TypeDoc` GitHub Actions workflow in `.github/workflows/typedoc.yml`.
- Created a new `parse.mjs` script in `packages/thirdweb/scripts` for transforming documentation data.
- Updated `package.json` to include `typedoc-better-json` as a dependency.
- Adjusted `pnpm-lock.yaml` to reflect changes in dependencies and versions.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-14 17:43:16 +00:00
gregfromstl dc1e07b5e4 [CI] Chore: Only run actions for contributors (#5739)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the GitHub workflows for pull requests by adding conditions for author associations and expanding issue types.

### Detailed summary
- In `.github/workflows/auto-assign.yml`, added checks to assign authors only if they are `MEMBER`, `OWNER`, or `COLLABORATOR`.
- In `.github/workflows/issue.yml`, expanded the `types` to include `ready_for_review`.
- Added logic to automatically pass checks for external contributors.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-14 17:38:51 +00:00
kien-ngo 2b5080d901 Playground: Examples for Wallet components (#5692)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `Wallet` navigation link and implements a new `Wallet` page with components for displaying wallet icons and names, enhancing the user interface for crypto wallet applications.

### Detailed summary
- Added a new navigation link for `Wallet`.
- Created `page.tsx` for the `Wallet` section with metadata and layout.
- Implemented `APIHeader` for the `Wallet` page.
- Added three components: `WalletIconBasic`, `WalletNameBasic`, and `WalletNameFormat` in `wallet-examples.tsx`.
- Each component includes a description and code example for usage.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-14 11:27:08 +00:00
kien-ngo 5be197bac9 [SDK] Headless Wallet components | CNCT-2620 (#5691)
CNCT-2620

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new headless components for wallet management in the `thirdweb` library, enhancing user interface options for wallet context, icons, and names.

### Detailed summary
- Added `WalletProvider`, `WalletIcon`, and `WalletName` components.
- Updated `ChainProvider` to mark it as `@beta`.
- Introduced utility functions `getQueryKeys` for both chain and wallet components.
- Updated documentation and tests for new wallet components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-14 10:26:48 +00:00
MananTank 34165cb608 [DASH-616] Nebula - Add Alpha badge in sidebar (#5738)
## Problem solved

DASH-616
2024-12-13 21:33:58 +00:00
MananTank 9954b37b01 [DASH-624] Add tracking in insight playground (#5737)
## Problem solved

DASH-624

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `CodeBlockContainer` and related components to support an `onCopy` callback, allowing for custom actions when code is copied. It also introduces tracking for user interactions within the `BlueprintPlayground` component.

### Detailed summary
- Added `onCopy` prop to `CodeBlockContainer`, `RenderCode`, `PlainTextCodeBlock`, and `CodeClient`.
- Updated button click handler in `CodeBlockContainer` to call `onCopy` and pass the copied code.
- Integrated `useTrack` for tracking user events in `BlueprintPlayground`.
- Added tracking for "run", "copy-url", and "copy-response" actions in relevant components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-13 21:10:48 +00:00
MananTank 9b58a086b6 [Dashboard] Nebula - Update context filters + Add OG image (#5736)
## Problem solved

DASH-615

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on enhancing the context filter functionality within the application by introducing support for `walletAddresses`, updating related types, and modifying components to accommodate these changes.

### Detailed summary
- Added `walletAddresses` to various types and API parameters.
- Updated `SessionContextFilter` to include `wallet_addresses`.
- Modified `ChatPageContent` to handle and display `walletAddresses`.
- Enhanced `ContextFiltersButton` to show wallet address badges.
- Updated form handling to include validation for `walletAddresses`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-13 20:08:49 +00:00
gregandGitHub 22bc557090 [CI] Chore: Update allowed teams (#5735) 2024-12-13 10:31:00 -08:00
jnsdls 80b54a937c use resolved ENS name if available (#5734)
fixes: DASH-572
2024-12-13 18:14:08 +00:00
Will CoryandGitHub be6433dcf2 docs: Add more context on guest mode (#5733)
Signed-off-by: Will Cory <[email protected]>
2024-12-13 09:42:05 -08:00
MananTank f6c040719c [DASH-612] Nebula: Add title and description meta (#5732)
DASH-612
2024-12-13 17:11:58 +00:00
MananTank 2db85824f0 [DASH-610] Fix useActiveWalletChain missing chain overrides added in dashboard (#5731)
Fixes: DASH-610
2024-12-13 16:59:01 +00:00
kien-ngo 498a26ebbc [Playground] Chain components (#5678)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new `Chain` components to enhance the user interface for blockchain applications, allowing for the display of chain icons and names. It includes new pages and components that integrate these features into the existing playground web application.

### Detailed summary
- Added a new `Chain` entry in `navLinks.ts`.
- Created a new page in `page.tsx` for `Chain` components with metadata.
- Integrated `ThirdwebProvider`, `APIHeader`, `ChainIconBasic`, and `ChainNameBasic` components.
- Implemented `ChainIconBasic` and `ChainNameBasic` components in `chain-examples.tsx` to showcase chain icons and names.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-13 16:14:41 +00:00
kumaryash90 8761fe6102 Process deploy param ref only when non-empty (#5730)
PROT-935

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the handling of `implementationConstructorParams` and `initializeParams` by adding null checks to ensure that they are defined before processing. This improves the robustness of the code.

### Detailed summary
- Changed `processedImplParams` and `processedInitializeParams` from constants to `undefined` initially.
- Added checks to confirm that `implementationConstructorParams` and `initializeParams` are defined before processing.
- Retained the logic for processing parameters using `processRefDeployments`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-13 09:16:09 +00:00
Joaquim VergesandGitHub 77c8d0eff0 test: Add wallet connection hook tests (#5689) 2024-12-13 20:25:13 +13:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
29d32b8409 Version Packages (#5727)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-13 19:43:45 +13:00
jnsdls 67f63c3a48 remove client ID derivation from secret key (#5729)
fixes: DASH-621

we explicitly *DO NOT* want to derive from secretKey anymore - this would otherwise block multi secret key per project
2024-12-13 06:18:35 +00:00
jnsdls a0770238d4 allow passing null to service scope, do not check domains on secretKey auth (#5728)
fixes: DASH-621

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the authorization process by introducing an `authMethod` property and allowing `null` service scopes, while modifying billing statuses and service configuration types.

### Detailed summary
- Added `authMethod` to `teamAndProjectResponse`.
- Allowed passing `null` to `serviceScope` in `CoreServiceConfig`.
- Changed `billingStatus` from `"noCustomer"` to `"noPayment"`.
- Updated `TeamAndProjectResponse` to include `authMethod` type.
- Adjusted authorization logic for `secretKey` and null service scopes.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-13 06:12:14 +00:00
gregfromstl 90a16da48e [Service Utils] Feature: Accept Request in authorizeNode (#5724)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `authorizeNode` function by improving type handling for request headers and refactoring how headers are accessed. It introduces a type guard for distinguishing between header types and updates the way headers are retrieved in various functions.

### Detailed summary
- Updated `req` type in `AuthInput` to allow `Request`.
- Added `isNodeHeaders` function to differentiate between `IncomingHttpHeaders` and `Headers`.
- Refactored `getHeader` function to use `isNodeHeaders` for retrieving headers.
- Modified `extractAuthorizationData` to use `getHeader` for constructing the URL.
- Updated `logHttpRequest` to use `getHeader` for SDK-related headers.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-13 05:48:05 +00:00
Jonas DanielsandGitHub e8b1f494fd Remove pre-release script and simplify release workflows (#5726) 2024-12-12 21:31:14 -08:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
aa72ba2186 Version Packages (#5725)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-12 21:11:53 -08:00
Jonas DanielsandGitHub a57bfdb565 add dummy changeset (#5723) 2024-12-12 21:09:13 -08:00
Jonas DanielsandGitHub c432342ce9 do not manually change version before publishing (#5722) 2024-12-12 21:07:27 -08:00
kien-ngo 64f4103ef7 [Playground] Add Token components, fix links (#5677)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `Token` navigation link, updates documentation links, and adds a new SVG file. It also implements a `Token` components page with multiple examples and components for displaying tokens, enhancing the UI for token-related functionalities.

### Detailed summary
- Added a new navigation link for `Token` in `navLinks.ts`.
- Updated documentation links in `page.tsx` for better references.
- Introduced a new SVG file for `usdc`.
- Created a new `Token` components page with examples for:
  - `TokenImageBasic`
  - `TokenImageOverride`
  - `TokenNameBasic`
  - `TokenSymbolBasic`
  - `TokenCard`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-13 02:43:35 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
d90857ee5e Version Packages (#5717)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-13 15:42:23 +13:00
Joaquim VergesandGitHub 8d2e2ad92d [SDK] Feature: Add wagmi adapter for in-app wallet (#5644) 2024-12-13 15:33:00 +13:00
Nicholas St. GermainandGitHub c91ca93eba fix ignore of mimeTime set in mediaRenderer (#5683) 2024-12-13 14:03:09 +13:00
YashandGitHub db6b0fc1f8 add onramp status for buy with fiat in portal (#5713) 2024-12-13 14:01:54 +13:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
203da76f32 Version Packages (#5714)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-12 14:39:38 -08:00
gregandGitHub cd55ada5b2 [SDK] Feature: Adds defaultCountryCode prop to ConnectButton (#5709) 2024-12-12 13:55:00 -08:00
joaquim-verges 3ec808dc78 Update /use and types to v2 (#5708)
## Problem solved

CNCT-2640

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `service-utils` package to remove the `usageLimit` module, update types and endpoints to version 2, and enhance authorization logic by integrating team and project responses.

### Detailed summary
- Deleted `usageLimit` module files.
- Updated API endpoint and types to version 2.
- Modified `authorizeClient` and `authorizeService` functions to use `TeamAndProjectResponse`.
- Adjusted authorization tests to reflect new structure.
- Revised caching logic for keys.
- Enhanced rate limiting to use project IDs instead of account IDs.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-12 21:43:13 +00:00
MananTank 7d2547979d [Dashboard] Add Insight blueprint playground (#5631)
DASH-554

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on the removal of certain components related to `BlueprintsPage`, updates to the `useHeightObserver` function, and enhancements to the `BlueprintPlayground` functionality, including new utility functions for fetching blueprint data.

### Detailed summary
- Deleted components: `BlueprintsPage`, `BlueprintsExplorer`, `BlueprintsPageHeader`.
- Updated `useHeightObserver` to be an exported function.
- Changed height from `40px` to `32px` in CSS.
- Added new props (`scrollableContainerClassName`, `shadowColor`) to several components.
- Implemented a new utility for fetching blueprints and their specifications.
- Enhanced `BlueprintPlayground` to handle fetching and displaying blueprints.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-12 21:31:41 +00:00
gregfromstl bc368c5a26 [Portal] Fix: Broken Link (#5716)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the link in the `page.mdx` file for the wallet overview section, directing users to the correct "get started" guide for thirdweb wallets.

### Detailed summary
- Changed the `href` attribute from `/wallet/get-started/overview` to `/connect/wallet/get-started` in the `page.mdx` file.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-12 20:35:23 +00:00
gregfromstl 19487cb430 [Portal] Fix: Broken Link (#5715)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates a link in the documentation for the `Wallet Connection functions`. The link's path has been changed, likely to reflect an updated structure in the documentation.

### Detailed summary
- Changed the link from `/typescript/v5/functions#wallets` to `/typescript/v5/wallets` in the `page.mdx` file.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-12 20:16:18 +00:00
ElasticBottle 03b6d0d516 feat: add unlinking for in app wallet accounts (#5604)
https://linear.app/thirdweb/issue/CNCT-2497/unlink-auth-method-for-enclave-wallets

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces functionality to unlink accounts from the in-app wallet, allowing users to manage multiple linked profiles more effectively.

### Detailed summary
- Added `UnlinkParams` type for unlinking profiles.
- Implemented `unlinkProfile` method in `InAppNativeConnector` and `InAppWebConnector`.
- Updated `unlinkAccount` function to handle profile unlinking.
- Added `useUnlinkProfile` hook for React.
- Enhanced `LinkedProfilesScreen` to include unlink buttons when multiple profiles exist.
- Added tests for unlinking functionality.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-12 19:05:18 +00:00
MananTank f7e60419c9 [Nebula] Fix page not redirected to new chat page when deleting active chat (#5712)
Fixes: DASH-613

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the usage of the `newChatPageUrlStore` by introducing a custom hook, `useNewChatPageLink`, to manage the chat page URL more effectively across different components.

### Detailed summary
- Added `useNewChatPageLink` hook in `useNewChatPageLink.ts` to retrieve the chat page URL.
- Updated imports of `useNewChatPageLink` in `NebulaMobileNav.tsx`, `ChatSidebarLink.tsx`, and `ChatSidebar.tsx`.
- Removed duplicate `useNewChatPageLink` function from `ChatSidebar.tsx`.
- Set `newChatPageUrlStore` value directly in `ChatPageContent.tsx` based on the current page type.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-12 18:19:17 +00:00
MananTank 08420456af [Nebula] Remove presence message when adding an error message (#5711)
Fixes: DASH-614

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving error handling in the `setMessages` function within the `ChatPageContent` component. It modifies how error messages are added to the message list, ensuring that the previous messages are preserved correctly.

### Detailed summary
- Refactored `setMessages` to create a new array `newMessages` based on previous messages.
- Added a condition to exclude the last message if its type is "presence".
- Pushed a new error message object containing the error details to `newMessages`.
- Returned `newMessages` from `setMessages`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-12 18:19:16 +00:00
MananTank 611ed239ec [Nebula] Fix context filters not prepopulated when viewing chat from history (#5710)
Fixes: DASH-611
2024-12-12 15:08:46 +00:00
jnsdls ce0da51041 fix category page crash (#5707)
fixes: DASH-607

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on modifying the `explore` functionality by removing the export of `ALL_CATEGORIES` from `data/explore` and adjusting the import statements in `page.tsx`.

### Detailed summary
- Removed the export of `ALL_CATEGORIES` from `apps/dashboard/src/data/explore.ts`.
- Updated `apps/dashboard/src/app/(dashboard)/explore/[category]/page.tsx` to only import `getCategory` from `data/explore`, excluding `ALL_CATEGORIES`.
- Deleted the `generateStaticParams` function that utilized `ALL_CATEGORIES`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-12 03:18:24 +00:00
Jonas DanielsandGitHub d738a9086d remove unused api routes (#5706) 2024-12-11 18:45:05 -08:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
1787539ac5 Version Packages (#5696)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-12 13:43:18 +13:00
MananTank a0fabb2059 [Dashboard] Minor UI adjustments (#5705)
Fixes: DASH-604, DASH-582

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the functionality and UI of the `ChatBar`, modifying the `PublishedContractTable`, and disabling the invite button in the `InviteSection`.

### Detailed summary
- In `ChatBar.tsx`, added a condition to ignore the `Enter` key if the `Shift` key is pressed.
- In `PublishedContractTable.tsx`, changed the `span` to have a maximum width and normal whitespace handling.
- In `InviteSection.tsx`, set `inviteEnabled` to `false` and disabled the invite button.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-11 23:35:45 +00:00
MananTank 196f6779e8 Fix LoadingCard size on mobile in login page + match LoadingCard size to ConnectEmbed (#5704)
Fixes: DASH-586
2024-12-11 22:53:23 +00:00
jnsdls f701b2d0e6 handle empty address in fetchPublishedContracts (#5702)
partially fixes: DASH-572
2024-12-11 22:13:09 +00:00
jnsdls 3d6eb969da update dependencies (#5698)
closes: DASH-576
2024-12-11 21:13:21 +00:00
jnsdls 7b6e21fa4a update startup program URL path (#5701)
fixes: DASH-602

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the routing paths in the `framer-rewrites.js` file for the dashboard application, specifically modifying the community and grants sections.

### Detailed summary
- Removed the route `"/community/ambassadors/startup-program"`.
- Added the route `"/community/startup-program"`.
- No other changes were made to the routing paths for community pages or grants.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-11 21:08:43 +00:00
MananTank 4573e2c1a8 [Dashboard] Remove useLoggedInUser and fix login loop (#5695)
Fixes: DASH-577
2024-12-11 20:13:24 +00:00
jnsdls 324e602df0 closes: DASH-600 (#5700)
closes: DASH-600
2024-12-11 19:45:22 +00:00
gregfromstl f778d306d6 [React] Feature: Export web getLastAuthProvider (#5697)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces a new utility function `getLastAuthProvider` to retrieve the most recently used authentication provider from local storage. It also exports the `LAST_AUTH_PROVIDER_STORAGE_KEY` for consistent access.

### Detailed summary
- Added `getLastAuthProvider` function in `packages/thirdweb/src/react/web/utils/storage.ts`.
- Exported `LAST_AUTH_PROVIDER_STORAGE_KEY` from `packages/thirdweb/src/react/core/utils/storage.ts`.
- Created tests for `getLastAuthProvider` in `packages/thirdweb/src/react/web/utils/storage.test.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-11 19:23:48 +00:00
jakubkrehel 4831926a09 fix: project card design and nebula text (#5686)
Fixes: DASH-580

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the UI layout and styling of the `nebula-waitlist-page-ui.client.tsx` and `TeamProjectsPage.tsx` components within the dashboard application. It enhances spacing and text presentation for a better user experience.

### Detailed summary
- Increased gap in `nebula-waitlist-page-ui.client.tsx` from `gap-3` to `gap-6`.
- Adjusted paragraph width in `nebula-waitlist-page-ui.client.tsx` for better text alignment.
- Reduced height of a div from `h-10` to `h-6` in `nebula-waitlist-page-ui.client.tsx`.
- Increased padding in project card from `p-4` to `p-5` in `TeamProjectsPage.tsx`.
- Changed the class of `CopyButton` from `hover:bg-background` to `hover:bg-secondary` in `TeamProjectsPage.tsx`.
- Adjusted text presentation and layout for project details in `TeamProjectsPage.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-11 19:17:22 +00:00
kien-ngo 2fccfc01af [SDK] Fix caching issue with headless UI when custom resolvers are used (#5657)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR addresses caching issues in headless components and enhances code coverage. It introduces the `getFunctionId` utility in various components to improve resolver handling for names and symbols.

### Detailed summary
- Added `getFunctionId` to various components for handling resolvers.
- Updated `NFTName`, `NFTDescription`, and `NFTMedia` to use `getFunctionId` instead of `toString()`.
- Enhanced `ChainIcon`, `TokenIcon`, `ChainName`, and `TokenName` to include resolver handling.
- Introduced `fetchChainName` and `fetchTokenName` for improved name resolution.
- Added tests for `fetchChainName`, `fetchTokenName`, `fetchTokenSymbol`, and their respective query keys.
- Updated `TokenSymbol` to utilize `fetchTokenSymbol` and improved resolver handling.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-11 18:23:19 +00:00
kumaryash90 d9fb5441bc [Dashboard | SDK] Feature: Ref values for address params in publish (#5360)
PROT-932
PROT-864

## Problem solved

https://linear.app/thirdweb/project/[contract-tooling]-deployment-publish-flow-revamp-0194e04e2a84/overview

Handle contract refs in publish form -- Resolve / deploy all linked contracts in publish metadata, and pass the addresses as constructor args for corresponding params.

It recursively deploys all referenced contracts through the ref chain, before deploying the main contract.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the contract deployment and parameter handling in the thirdweb platform, introducing dynamic parameters, improved UI components, and better error handling for contract interactions.

### Detailed summary
- Updated `deploy-with-abi.ts` to return the contract address instead of throwing an error if already deployed.
- Enhanced UI components in `string-input.tsx` and `raw-input.tsx` for better user experience.
- Added dynamic parameter handling in multiple components.
- Introduced new types for dynamic parameters in `deploy-metadata.ts`.
- Improved form handling in `FormFieldSetup` and related components.
- Added reference contract input fields in various components for dynamic contract deployments.
- Enhanced error handling and validation in the deployment forms.
- Updated component structure for better maintainability and clarity.

> The following files were skipped due to too many changes: `apps/dashboard/src/components/contract-components/contract-publish-form/contract-params-fieldset.tsx`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-11 18:09:49 +00:00
jnsdls b49dde33be more pages moving to framer (#5694)
closes: DASH-592, DASH-591, DASH-589, DASH-590

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on removing several components and pages related to open-source and community initiatives, while updating redirects and modifying navigation links to reflect a shift towards "Bounties" and other new paths.

### Detailed summary
- Deleted multiple files related to open-source and community initiatives.
- Added a redirect from `/open-source` to `/bounties`.
- Updated navigation data to replace "Open Source" with "Bounties".
- Removed references to "grant/superchain" and community pages from `PageId`.
- Removed the `LandingImages` component and its associated interface.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-11 18:04:46 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
46b20716a5 Version Packages (#5687)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-11 20:51:28 +13:00
Joaquim VergesandGitHub da5d8ec53b fix: Autoconnect previously linked wallets (#5688) 2024-12-11 19:58:24 +13:00
8020bdbf2b Adds Portuguese (Brazil) translation for wallet connection (#5674)
Signed-off-by: Joaquim Verges <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2024-12-11 15:43:14 +13:00
iuwqyir 3f56252298 change insight auth in docs (#5681)
## Problem solved

https://linear.app/thirdweb/issue/INSIGHT-480/improvements-required-for-insight-playground

Updated the authentication method in the Insight API documentation to use the `x-client-id` header instead of embedding the client ID in the URL path.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the GitHub workflow and documentation related to the `insight` feature. It enhances the valid issue prefixes and provides clearer instructions for authentication in the API usage.

### Detailed summary
- Updated `VALID_ISSUE_PREFIXES` to include `INSIGHT`.
- Improved documentation in `apps/portal/src/app/insight/get-started/page.mdx`:
  - Corrected "clientId" to "client ID".
  - Added a note about using the `x-client-id` header for authentication.
- Modified the API fetch request to include headers for `client ID`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-11 00:47:32 +00:00
kien-ngo a9dd26cd57 [SDK] Add missing use-client directives to some components (#5676)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating various components in the `thirdweb` package, specifically related to `Account`, `NFT`, `Chain`, and `Token` functionalities. It introduces new imports and ensures that the components are utilizing the necessary contexts and types.

### Detailed summary
- In `Account/provider.tsx`: Added import for `Address`.
- In `NFT/provider.tsx`: Added import for `ThirdwebContract`.
- In `Account/blobbie.tsx`: Imported `Blobbie` and `useAccountContext`.
- In `Chain/icon.tsx`, `Token/icon.tsx`, `NFT/name.tsx`, and `NFT/media.tsx`: Imported `UseQueryOptions`, `useQuery`, and `getChainMetadata`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-11 00:29:03 +00:00
gregfromstl 5b24faf1f3 [SDK] Fix: Pay not respecting ecosystem AA (#5682)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the detection of ecosystem wallets in the `Pay` modal by modifying the logic in the `hasSponsoredTransactionsEnabled` function and adding comprehensive tests for various wallet configurations.

### Detailed summary
- Updated the condition in `hasSponsoredTransactionsEnabled` to check for ecosystem wallets.
- Added tests for `hasSponsoredTransactionsEnabled` covering:
  - Undefined wallet
  - Smart wallet with `sponsorGas` config
  - Smart wallet with `gasless` config
  - In-app wallet with `smartAccount` config
  - Regular wallet without smart account config

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-10 23:56:35 +00:00
MananTank 714602d13c Nebula scope changes in create project modal and project settings page (#5684)
DASH-578
2024-12-10 23:07:24 +00:00
Joe-Thirdweb c11ae45f89 Chain Page Updates for Creator & Metal (#5679)
## Problem solved

Short description of the bug fixed or feature added
Linear: Dash-573
Added to chains for custom chainlist pages

- Metal L2 (1750)
- Creator Chain (66665)
- Treasure Topaz (978658)

Enabled white space preserving for new lines on chain 'About' section.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new assets and updates `chainMetaRecord` to enhance the dashboard with additional blockchain information, including two new chains: `Creator` and `Metal L2`, along with their respective metadata and call-to-action details.

### Detailed summary
- Added new images: `creatorBanner`, `creatorCTA`, `metalBanner`, `metalCTA`.
- Updated `layout.tsx` to use `whitespace-pre-line` for `chainMetadata.about`.
- Introduced `Creator` chain metadata with details and CTA.
- Introduced `Metal L2` chain metadata with details and CTA.
- Added `Treasure Topaz` and `Treasure Mainnet` chain metadata with details and CTA.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-10 22:25:12 +00:00
MananTank 462138dfae Add Nebula Chat UI (#5483)
DASH-444

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on adding new features and enhancements to the `Nebula` application, including updates to environment variables, improved session handling, and new UI components.

### Detailed summary
- Added `fetch-event-stream` dependency.
- Introduced `NEXT_PUBLIC_NEBULA_URL` in environment variables.
- Enhanced `loginRedirect` to handle optional paths.
- Updated `getValidAccount` to accept optional `pagePath`.
- Implemented new stores for session management.
- Improved UI components like `Chatbar`, `ChatPageLayout`, and `EmptyStateChatPageContent`.
- Added `isValidEncodedRedirectPath` function for redirect validation.
- Modified `NebulaWaitListPage` to directly use team data.
- Enhanced session handling functions in `api/session.ts`.
- Created new types for session management and context filters.
- Updated styles and class names for better UI consistency.

> The following files were skipped due to too many changes: `apps/dashboard/src/app/nebula-app/(app)/components/EmptyStateChatPageContent.tsx`, `apps/dashboard/src/app/nebula-app/(app)/components/Chats.stories.tsx`, `apps/dashboard/src/app/nebula-app/(app)/components/NebulaAccountButton.tsx`, `apps/dashboard/src/app/nebula-app/(app)/components/ContextFilters.tsx`, `apps/dashboard/src/app/nebula-app/(app)/chat/history/ChatHistoryPage.tsx`, `apps/dashboard/src/app/nebula-app/(app)/components/Chats.tsx`, `apps/dashboard/src/app/nebula-app/(app)/components/ChatPageContent.tsx`, `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-10 21:58:33 +00:00
Jakub KrehelandGitHub 67305d3bd2 fix: removed login navigation text (#5680) 2024-12-10 12:52:24 -08:00
Giselle Chacon NessiandGitHub 27d3a6eb3e updated manage billing section information (#5669) 2024-12-10 09:04:29 -08:00
kien-ngo f25d1d8da5 [Playground] Feature: Headless components (#5535)
CNCT-2588

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `playground-web` application by adding new components and improving existing ones related to NFT and account functionalities, showcasing headless UI components for better Web3 integration.

### Detailed summary
- Added `ArticleCardIndex` in `page.tsx`.
- Introduced new navigation link for "Headless UI".
- Expanded `Account` and `NFT` components with detailed examples.
- Improved `useQuery` parameters in `avatar.tsx` and `name.tsx`.
- Created several new components in `nft-examples.tsx` and `account-examples.tsx` for displaying NFT and account information.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-10 07:15:01 +00:00
jnsdls d35eaa6690 update dependencies (#5667)
closes: DASH-545

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating various package dependencies across multiple `package.json` files and the `pnpm-lock.yaml` file, ensuring compatibility with newer versions and fixing potential issues.

### Detailed summary
- Updated `@types/react` and `@types/react-dom` to `19.0.1` and `19.0.2` respectively in multiple packages.
- Bumped `shiki` version from `1.24.0` to `1.24.1` in several packages.
- Updated `sonner` from `1.7.0` to `1.7.1` in `apps/wallet-ui` and `apps/dashboard`.
- Incremented `@emotion/react` and `@emotion/styled` versions to `11.14.0`.
- Updated `framer-motion` from `11.13.1` to `11.13.3`.
- Updated `@playwright/test` from `1.49.0` to `1.49.1`.
- Updated `@dirtycajunrice/klee` from `1.0.5` to `1.0.6` in `apps/portal`.
- Adjusted dependencies in `pnpm-lock.yaml` to reflect the above changes.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-10 05:15:25 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
5158def993 Version Packages (#5650)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-10 15:35:33 +13:00
gregfromstl d5a68c8511 [SDK] Fix: Custom auth profile label (#5660)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on improving the display of linked profiles in the `LinkedProfilesScreen` component by correctly handling the "Custom Auth" profile type and enhancing unit tests for various profile types.

### Detailed summary
- Updated the label for the "Custom Auth" profile type to "Custom Profile".
- Added unit tests for various profile types including email, google, phone, wallet address, cognito, custom_auth_endpoint, and unknown types.
- Ensured guest profiles are not displayed.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-10 01:53:37 +00:00
Joaquim VergesandGitHub dcd5822ee7 feat: Add LoyaltyCard contract type support for ERC721 signature minting (#5671) 2024-12-10 14:52:52 +13:00
ElasticBottle c55f02fa75 fix: should always contain gas price info even if it's 0 (#5673)
https://linear.app/thirdweb/issue/CNCT-2602/issue-signing-deploy-tx-on-saakura

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on ensuring that gas price information is always included for enclave wallets, even when it is 0. It modifies the condition for setting the `maxFeePerGas` to check for the type `bigint`.

### Detailed summary
- Updated the condition to check if `tx.maxFeePerGas` is of type `bigint`.
- Ensured that `transaction.maxFeePerGas` is set correctly when `tx.maxFeePerGas` is provided.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-10 01:16:26 +00:00
arcoraven e702490f2f chore: Add modelName, sessionId, requestId usage (#5670)
https://linear.app/thirdweb/issue/DASH-574/add-nebula-usage-tracker-events

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces additional properties to the `usageEventSchema` in the `service-utils` package, enhancing the tracking of usage events by including identifiers for the model, session, and request.

### Detailed summary
- Added `modelName`, `sessionId`, and `requestId` as optional string fields to the `usageEventSchema` in `packages/service-utils/src/core/usage.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-10 00:37:31 +00:00
gregfromstl 3b53732932 fix: ox is hard dependency (#5672)
CNCT-1111

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `thirdweb` package's `package.json` file to fix the version of `ox` to `0.4.0` while retaining other configurations and dependencies.

### Detailed summary
- Updated `ox` version to `0.4.0` in `peerDependencies`.
- Maintained all other existing fields and dependencies in `package.json`.
- No structural changes to the `thirdweb` package configuration.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-10 00:29:15 +00:00
Joaquim VergesandGitHub 485dcc6020 fix: Add chain fallback for wallet switching (#5668) 2024-12-10 11:02:35 +13:00
MananTank a41e423a18 [Dashboard] Add published contracts page in teams, account and project layouts (#5659)
DASH-471

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring components related to contracts in the dashboard, enhancing the layout with `SidebarLayout`, and improving the user interface for contract management with better structure and loading states.

### Detailed summary
- Updated `layout.tsx` to use `SidebarLayout` for contracts.
- Simplified return statements in `DeployedContractsPage` components.
- Changed class names for better styling consistency.
- Added authentication checks in published contract pages.
- Created `PublishedContractsPage` to display published contracts with loading states.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-09 21:19:25 +00:00
gregfromstl 2d66242365 [CI] Feature: Auto assign pr author to pr (#5661)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces a new GitHub Actions workflow for automatically assigning authors to pull requests when they are opened or reopened.

### Detailed summary
- Added a new workflow file: `.github/workflows/auto-assign.yml`
- Defined the workflow name as `Auto Author Assign`
- Set the trigger for the workflow on `pull_request` events for types `opened` and `reopened`
- Specified permissions for pull requests as `write`
- Created a job named `assign-author` that runs on `ubuntu-latest`
- Included a step to use the action `toshimaru/[email protected]`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-09 21:11:01 +00:00
MananTank 3268af61eb [Dashboard] Login flow improvements (#5658)
Fixes: DASH-564 and DASH-494

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the user interface and functionality related to wallet connection across various components in the dashboard, primarily changing instances of "Sign In" to "Connect Wallet" and modifying how account information is handled.

### Detailed summary
- Changed button text from `Sign In` to `Connect Wallet` in multiple components.
- Updated `TeamHeader` to use `getRawAccount` instead of `getAuthToken`.
- Modified account handling in `TeamLayout` functions to include `getValidAccount`.
- Adjusted `LoginPage` logic for account onboarding and redirection.
- Enhanced `TeamHeaderLoggedIn` to accept `account` as a prop directly.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-09 19:08:38 +00:00
kien-ngo 4ced3d26cd [Dashboard] Refactor: Remove chakra components (2) (#5545)
188 imports

part of DASH-388

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the UI components in the dashboard, specifically introducing a new `StatCard` component for displaying statistics and refactoring existing components to utilize this new design pattern, improving consistency and readability.

### Detailed summary
- Added a new `StatCard` component in `stat-card.tsx`.
- Refactored `SupplyCards` to use `StatCard` for displaying total, claimed, and unclaimed supply.
- Updated `NftProperty` component to replace `Text` with `<p>` tags for consistency.
- Replaced `Text` components with `<p>` tags in `ContractPermission` for improved styling.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-09 16:44:36 +00:00
kien-ngo f69d1aad2d [SDK] Update to NFT Components (#5655)
CNCT-2584

- add custom resolver methods
- add better test coverage
- add caching for the getNFT method
- small fix: handling falsy values

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the NFT components in the `thirdweb` library by improving functionality, performance, and test coverage. It introduces custom resolver methods and caching mechanisms, along with fixes for handling falsy values.

### Detailed summary
- Added custom resolver methods to `NFTMedia`, `NFTName`, and `NFTDescription`.
- Implemented caching for the NFT info getter to improve performance.
- Fixed handling of falsy values for NFT media `src`, `name`, and `description`.
- Enhanced test coverage by extracting internal logic for testing.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-09 11:39:39 +00:00
Joaquim VergesandGitHub f680496ccb fix: Coinbase Wallet connection on same chain (#5656) 2024-12-09 22:17:55 +13:00
Joaquim VergesandGitHub df734baf97 [SDK] Fix: Improve enclave and userop error messages (#5653) 2024-12-09 22:08:27 +13:00
DustinTurska 015293eb82 Update CTA (#5627)
Set CTA for Engine Playground to "Deploy an Instance"

## Problem solved
Update for [DASH-535](https://linear.app/thirdweb/issue/DASH-535/make-deploy-an-instance-the-primary-cta-in-playground)

Set CTA for Engine Playground to "Deploy an Instance"

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily updates the `deployLink` across multiple pages and modifies the `EngineAPIHeader` component to dynamically include the `deployLink` prop, enhancing the deployment functionality in the playground web application.

### Detailed summary
- Added `deployLink` prop to `page.tsx` files for `webhooks`, `minting`, and `airdrop`.
- Updated `docsLink` for `minting` and `airdrop` pages to point to specific API documentation.
- Modified `EngineAPIHeader` component to utilize the `deployLink` prop for dynamic linking.
- Removed hardcoded `Deploy an Instance` button from `EngineAPIHeader`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-08 20:35:36 +00:00
theItalianDevandGitHub 5fd51866c4 Update page.mdx (#5626) 2024-12-08 12:34:11 -08:00
gregfromstl 8234dbae8f [SDK] Feature: Adds tsdoc parsing and other eslint rules (#5622)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on improving TypeScript typings, updating ESLint configurations, and refining package dependencies across various files in the `thirdweb` package.

### Detailed summary
- Changed parameter name from `uri` to `_uri` in `onDisplayUri` callback.
- Updated `WalletCreationOptions` type definition.
- Modified listener type to use `_event`.
- Added ESLint rules for better coding practices.
- Removed outdated TSDoc tags and added `@example` tag.
- Updated package dependencies in `pnpm-lock.yaml`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-07 16:24:58 +00:00
kien-ngo 43fbcac25e [SDK] USD balance for AccountBalance (#5533)
CNCT-2494

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `AccountBalance` and `ConnectButton` components to support displaying balances in fiat currency (currently only USD). It also introduces new utility functions and improves test coverage across various components.

### Detailed summary
- Added `showBalanceInFiat` prop to `AccountBalance` and `ConnectButton`.
- Updated `formatFn` in `AccountBalance` to accept an object of type `AccountBalanceInfo`.
- Introduced `shortenLargeNumber` and `formatNumber` utility functions.
- Improved tests for `ConnectButton`, `AccountBalance`, and related components.
- Enhanced rendering logic for displaying balances in both token and fiat.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-07 02:29:27 +00:00
jnsdls 37aa1637de add zero address fallback for publisher header (#5651)
fixes: DASH-563
2024-12-07 02:19:54 +00:00
gregfromstl c48e0c9320 [SDK] Fix: Disconnect smart wallet when signer is disconnected (#5617)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on improving error handling and connection management for smart wallets within the `thirdweb` package, enhancing user experience by ensuring proper disconnection and validation of address inputs.

### Detailed summary
- Added error handling in `AccountProvider` for missing addresses.
- Implemented disconnection logic for smart wallets in `handleSmartWalletConnection`.
- Updated tests to cover new error scenarios and connection handling.
- Refactored `DetailsModal` to manage modal state based on active accounts.
- Improved test coverage for `DetailsModal` and connection manager functionalities.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-07 01:27:52 +00:00
jnsdls 625febb37e update dependencies (#5649)
closes: DASH-545
2024-12-07 00:41:32 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
15eb6bdb40 Version Packages (#5642)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-07 13:28:47 +13:00
Joe-Thirdweb ec84ed37d6 Joe arena z superchain mainnet (#5648)
## Problem solved

Short description of the bug fixed or feature added
Adding Arena-Z mainnet to OP Superchain grant page.

Linear
DASH-562

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces updates related to the `Arena Z` network within the dashboard application, including configurations and UI adjustments.

### Detailed summary
- Added configuration for `Arena Z Mainnet` with properties `cta`, and `gasSponsored`.
- Included `Arena-Z` in the onboarding form's chain options.
- Updated the `superchain` page with `Arena-Z` details, changing the link to `/arena-z` and setting `isComingSoon` to `false`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-06 23:08:57 +00:00
ElasticBottle 87b54c91c2 fix: client analytics for ecosystem wallet (#5643)
https://linear.app/thirdweb/issue/CNCT-2526/analytics-discrepancy-after-migration-to-ecosystem-wallets

This fixes for all queries from Nov onwards.

We have to think of a solution to backfill for data stretching before Nov if customers ask for it

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the handling of ecosystem identifiers in the codebase, changing from using `ecosystemId` to `ecosystemSlug` for better clarity and consistency across various components and functions.

### Detailed summary
- Changed prop from `ecosystemId` to `ecosystemSlug` in `EcosystemAnalyticsPage`.
- Updated `getEcosystemWalletUsage` calls to use `ecosystemSlug` instead of `ecosystemId` in `EcosystemSlugLayout` and `EcosystemAnalyticsPage`.
- Adjusted the parameter type in `EcosystemAnalyticsPage` and `getEcosystemWalletUsage` to reflect the new `ecosystemSlug` usage.
- Modified the fetch URL in `getEcosystemWalletUsage` to use `ecosystemSlug` for API requests.
- Updated error message in `getEcosystemWalletUsage` to specify "ecosystem wallet stats".

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-06 22:33:24 +00:00
gregfromstl 16e534714e [SDK] Feature: Ox Transaction Envelopes (#5598)
CNCT-2303

Woah. This is sick.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `thirdweb` package to enhance transaction serialization by integrating the `ox` library, renaming files, and refactoring code for better consistency in handling typed data and signatures.

### Detailed summary
- Replaced instances of `coinbaseWebSDK.js` with `coinbase-web.js`.
- Updated the `parseTypedData` function to handle hex `chainId`.
- Refactored signature handling in various files to use `ox` library.
- Introduced new types and updated existing ones for better type safety.
- Added tests for `parseTypedData` functionality.
- Adjusted imports across multiple files to reflect new structure.
- Enhanced error handling and validation for typed data signatures.

> The following files were skipped due to too many changes: `packages/thirdweb/src/adapters/ethers5.test.ts`, `packages/thirdweb/src/utils/hashing/hashTypedData.ts`, `packages/thirdweb/src/wallets/coinbase/coinbase-web.test.ts`, `packages/thirdweb/src/transaction/serialize-transaction.ts`, `packages/thirdweb/src/transaction/serialize-transaction.test.ts`, `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-06 22:22:07 +00:00
jnsdls 406c885e96 move /terms, /privacy-policy to framer, remove /mission (#5647)
closes: DASH-558, DASH-559

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on the removal of outdated pages and components related to terms of service and privacy policy, while also updating links and redirects to reflect new URLs.

### Detailed summary
- Deleted several files: `tos.tsx`, `mission.tsx`, `privacy.tsx`, and multiple component files.
- Updated links in `footerLinks.tsx` for "Privacy Policy" and "Terms of Service".
- Changed URLs in `LoginPage.tsx` and `connect-wallet/index.tsx` for privacy and terms.
- Added redirects in `redirects.js` for `/tos` to `/terms`, `/privacy` to `/privacy-policy`, and `/mission` to `/home`.
- Removed references to `Mission` and legacy pages in `page-id.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-06 20:11:27 +00:00
jnsdls a9c30e98c5 remove a bunch of <Flex> (#5646)
closes: DASH-557

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the layout of various components in the application from using `Flex` elements to using `div` elements with Tailwind CSS classes for styling, improving consistency and readability.

### Detailed summary
- Changed `Flex` components to `div` with Tailwind CSS classes in `nft-property.tsx`.
- Updated layout in `external-links-fieldset.tsx` to use `fieldset` and `div`.
- Modified `engine-wallet-config.tsx` to replace `Flex` with `div`.
- Refactored `engine-relayer.tsx` to use `div` instead of `Flex`.
- Updated `ContractTokensPage.tsx` to use `div` for layout.
- Changed `ContractExplorerPage.tsx` layout from `Flex` to `div`.
- Refactored `proposal.tsx` to replace `Flex` with `div`.
- Updated `EngineSystemMetrics.tsx` to use `div` instead of `Flex`.
- Changed layout in `airdrop-tab.tsx` to replace `Flex` with `div`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-06 19:08:46 +00:00
jnsdls e92d960b2f remove unused internal tool (#5645)
closes: DASH-556

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on removing files related to RPC validation within the dashboard application, indicating a potential refactor or removal of unnecessary functionality.

### Detailed summary
- Deleted the file `apps/dashboard/src/hooks/chains/useRpcValidation.ts`
- Removed the file `apps/dashboard/src/app/(dashboard)/chain/validate/page.tsx`
- Eliminated the file `apps/dashboard/src/app/(dashboard)/chain/validate/ChainValidation.tsx`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-06 18:56:00 +00:00
saminacodes b30a814f5d [Portal] Feature: Modified overview and added components (#5547)
## Problem solved

Short description of the bug fixed or feature added. PROT-926

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing documentation for various smart contracts by adding new components and updating existing content. It introduces new `ContractDeployCard` elements to highlight modular contract options and expands the description of certain contracts.

### Detailed summary
- Updated `VALID_ISSUE_PREFIXES` in `.github/workflows/issue.yml` to include `PROT`.
- Added `ContractDeployCard` components in multiple `.mdx` files for:
  - `Modular Token`
  - `Modular Edition Drop`
  - `Modular Open Edition`
  - `Modular Token Drop`
  - `Modular NFT Collection`
  - `Modular NFT Drop`
  - `Modular Edition`
- Revised introduction and features sections in `apps/portal/src/app/contracts/page.mdx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-06 17:40:48 +00:00
kien-ngo 0aa24165ce [SDK] Add erc20Value to buyFromListing transaction (#5630)
CNCT-2555

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the `erc20Value` parameter to the `buyFromListing` transaction, enhancing the functionality for transactions involving ERC20 tokens. It also includes tests to ensure proper handling of ERC20 transactions in the marketplace.

### Detailed summary
- Added `erc20Value` to `buyFromListing` to handle ERC20 transactions.
- Implemented a test case for the new `erc20Value` functionality.
- Deployed an ERC20 contract for testing purposes.
- Verified the correct approval transaction is generated for ERC20 purchases.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-06 05:19:43 +00:00
Winston YeoandGitHub fbb2ec93a0 fix: defaultChainId should be validated in refine (#5638) 2024-12-06 16:03:10 +13:00
jnsdls 5070e76d35 update next & react versions (#5640)
closes: CNCT-2563

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates various dependencies to ensure compatibility with `react 19`, including explicitly setting peer dependencies and updating package versions across multiple files.

### Detailed summary
- Updated `@types/react` and `@types/react-dom` to `19.0.0`.
- Changed `react` and `react-dom` versions to `19.0.0`.
- Updated `next` versions from `15.0.3` to `15.0.4`.
- Updated `shiki` versions from `1.22.2` to `1.24.0`.
- Updated `@next/eslint-plugin-next` and `@next/mdx` versions to `15.0.4`.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-06 02:15:40 +00:00
Joaquim VergesandGitHub d1716fc793 feat: Support ERC6492 smart account signatures (#5641) 2024-12-06 15:14:36 +13:00
jnsdls ed0886a89f use social SDK for publisher page (#5639)
closes: DASH-547

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on removing unused components and code, updating the handling of publisher profiles, and enhancing the user interface components related to account and publisher display.

### Detailed summary
- Deleted unused files: `MetaIcon.tsx`, `MediumIcon.tsx`, `TelegramIcon.tsx`, `edit-profile.tsx`, `masked-avatar.tsx`, `PublisherSocials.tsx`.
- Updated `retry` option to `false` in several `queryOptions`.
- Refactored publisher profile fetching and display logic.
- Introduced `replaceDeployerAddress` function for address formatting.
- Updated `ProfileUI` to use `ProfileHeader` component.
- Enhanced `ContractPublisher` component with `AccountProvider`.
- Removed console logging and unused variables throughout the code.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-06 01:58:33 +00:00
Joaquim VergesandGitHub 7bbc173037 [Documentation] Refactor: Reorganize Connect sidebar and simplify guides (#5625) 2024-12-06 14:53:46 +13:00
Joaquim VergesandGitHub 5574c15ec8 feat: erc7579 modular accounts (#5487) 2024-12-06 14:27:11 +13:00
jnsdls b2b95a5924 fixes: DASH-541 (#5636) 2024-12-05 23:00:23 +00:00
jnsdls 0babe2f675 update dependencies (#5635)
closes: DASH-545

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating various package dependencies in multiple projects and making minor code adjustments for improved functionality and compatibility.

### Detailed summary
- Updated `@cloudflare/workers-types` from `4.20241127.0` to `4.20241205.0`.
- Changed `chainId` handling in `iframe-wallet.ts` to use `Number.parseInt(BigInt(...).toString())`.
- Updated `@tanstack/react-query` from `5.62.1` to `5.62.2` across multiple `package.json` files.
- Updated `lucide-react` from `0.462.0` to `0.468.0` across multiple `package.json` files.
- Updated `tailwindcss` from `3.4.15` to `3.4.16` across multiple `package.json` files.
- Updated `next-themes` from `0.4.3` to `0.4.4` in several projects.
- Updated `knip` from `5.39.0` to `5.39.2` in multiple `package.json` files.
- Updated `abitype` from `1.0.6` to `1.0.7`.
- Updated `framer-motion` from `11.12.0` to `11.13.1`.
- Updated `@coinbase/wallet-sdk` from `4.2.3` to `4.2.4`.
- Updated `viem` from `2.21.53` to `2.21.54`.
- Updated `storybook` dependencies from `8.4.6` to `8.4.7`.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-05 23:00:21 +00:00
gregfromstl a7d0ecbf4e [Apps] Chore: Add jakub as code owner (#5637)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `CODEOWNERS` file to include a new owner, `@jakubkrehel`, for specific apps. This change reflects the addition of `@jakubkrehel` to the ownership of the `apps/dashboard/`, `apps/playground-web/`, and `apps/wallet-ui/` directories.

### Detailed summary
- Added `@jakubkrehel` as an owner for:
  - `apps/dashboard/`
  - `apps/playground-web/`
  - `apps/wallet-ui/`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-05 22:40:23 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
f98365ce95 Version Packages (#5602)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-06 10:54:48 +13:00
d1aa3805bf TokenPaymaster (BASE_USDC, CELO_USD, LISK_LSK) (#5634)
Co-authored-by: 0xFirekeeper <[email protected]>
2024-12-06 10:23:39 +13:00
Joe-Thirdweb c186f635f1 Superchain Grant Updates (#5633)
## Problem solved
 - Adding Lisk Mainnet to the available grants
- Adding Arena -Z to the coming soon List
![image](https://github.com/user-attachments/assets/22d67963-0bdb-4737-9bbb-36ac591cc3a8)

## Linear ticket
DASH-544

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces `Lisk` as a new entry in the onboarding process and modifies the `cta` structure in the `utils.ts` file. It also adds an `ArenaZ` entry to the `superchains` array while removing a previous `Lisk` entry.

### Detailed summary
- Added `Lisk` to the chain mapping in `ApplyForOpCreditsForm.tsx`.
- Commented out the previous `cta` structure in `utils.ts` and replaced it with `OP_CTA`.
- Set `gasSponsored` to `true` in `utils.ts`.
- Added `ArenaZ` to the `superchains` array in `superchain.tsx`.
- Removed the previous `Lisk` entry from the `superchains` array in `superchain.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-05 21:08:03 +00:00
jnsdls 0f4dfd12b9 remove /community and add redirect (#5616)
closes: DASH-519
2024-12-05 19:23:03 +00:00
MananTank 026f7126b7 [Dashboard] Remove unused assets (#5629)
DASH-537
2024-12-05 17:18:57 +00:00
MananTank 15ec331ba6 Replace /connect page with framer (#5628)
Implements DASH-536
2024-12-05 17:18:55 +00:00
Joaquim VergesandGitHub b4eed8abee docs: Update Connect wallet sign-in method URLs (#5619) 2024-12-05 19:43:08 +13:00
gregfromstl 279cb6f9a7 [SDK] Feature: Propagate error message from failed sign in (#5621)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the user interface for error handling during the sign-in process in the `SignatureScreen` component of the `thirdweb` wallet. It propagates error messages to the UI, improving user feedback when sign-in fails.

### Detailed summary
- Updated `walletId` parameter to accept `Wallet` or `string` in `is-ecosystem-wallet.ts`.
- Changed state management in `SignatureScreen.tsx` to include an `error` state.
- Modified sign-in logic to set error messages on failure.
- Enhanced UI to display error messages and loading state.
- Added `data-testid` attributes for testing.
- Updated tests in `SignatureScreen.test.tsx` to cover new error handling scenarios and UI changes.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-05 05:20:26 +00:00
MananTank 91f3b4bdc7 [Dashboard] Fix all crashing stories in storybook (#5610)
Fixes DASH-493

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the billing and checkout functionalities within the dashboard application. It introduces new props for redirecting to checkout and billing portals, updates UI components, and replaces the `CustomConnectWallet` with a `ConnectButton`.

### Detailed summary
- Updated `TransactionButton` to streamline className handling.
- Added `redirectToCheckout` prop in various components including `PageContent`, `OnboardingUI`, and `PlanInfoCard`.
- Introduced `RedirectBillingCheckoutAction` type in `billing.ts`.
- Replaced `CustomConnectWallet` with `ConnectButton` in several components.
- Enhanced `BillingPricing` and `PricingCard` components to accept `redirectToCheckout`.
- Added stubs for `redirectToBillingPortal` in story files for testing.
- Improved UI consistency across billing-related components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-05 05:07:28 +00:00
kien-ngo 73e3a684a5 [Dashboard] Fix Aidrop button in ERC1155 being disabled (#5623) 2024-12-05 04:57:01 +00:00
ElasticBottle c893239582 [SDK] Fix: Enable default smart wallet chain for ecosystem page (#5596)
https://linear.app/thirdweb/issue/CNCT-2522/unable-to-log-in-to-ecosystem-wallet-and-xai-connect

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a fallback chain option for ecosystem smart accounts in the `thirdweb` wallet, enhancing the configuration options for users.

### Detailed summary
- Added `defaultChainId` to `SmartAccountOptions` type.
- Updated `smartAccountOptions` to use `defaultChainId`.
- Modified error messages to clarify chain requirements.
- Added new form field for `defaultChainId` in the `AuthOptionsForm`.
- Enhanced tests to cover scenarios with `defaultChainId`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-05 04:04:07 +00:00
gregfromstl 13d63ab062 [SDK] Fix: Hide sign in with wallet button when linking (#5620)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on improving the `ConnectWalletSocialOptions` component by conditionally rendering the "Sign in with Wallet" button based on the `isLinking` prop, and it adds tests to verify this behavior.

### Detailed summary
- Added condition to hide the "Sign in with Wallet" button when `isLinking` is true in `ConnectWalletSocialOptions.tsx`.
- Created tests for `ConnectWalletSocialOptions` in `ConnectWalletSocialOptions.test.tsx`:
  - Tests rendering the button when enabled and not linking.
  - Tests that the button is not rendered when `isLinking` is true.
  - Tests that clicking the button calls `handleWalletLogin`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-05 02:49:59 +00:00
gregfromstl 33c23e789e [SDK] Fix: Remove auth from useConnectModal props as it's not currently supported (#5618)
Fixes #5615

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on removing the `auth` property from the `useConnectModal` options in the `thirdweb` package, as it is currently unsupported.

### Detailed summary
- Removed the `auth` property from `UseConnectModalOptions` in `packages/thirdweb/src/react/web/ui/ConnectWallet/useConnectModal.tsx`.
- Updated documentation to reflect the removal of the `auth` prop.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-04 20:36:42 +00:00
kien-ngo 1a2390b15b [SDK] Fix tsdocs for isERC20 (#5609)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `isERC20` function in the `isERC20.ts` file to retrieve the contract's ABI and extract function selectors before checking if the contract is an ERC20.

### Detailed summary
- Removed direct usage of `isERC20` with a contract.
- Added import of `resolveContractAbi` from `thirdweb/contract`.
- Introduced a new step to resolve the contract's ABI.
- Extracted function selectors from the ABI.
- Updated `isERC20` call to use the extracted selectors.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-04 20:21:50 +00:00
2007b9c7a5 Replaced deprecated reference to privateKeyAccount in login.ts (#5607)
Signed-off-by: Captain Unknown <[email protected]>
Co-authored-by: greg <[email protected]>
2024-12-04 11:49:05 -08:00
jnsdls 9d8ecce8f3 fix metadata base to set proper canonical urls (#5613)
fixes: DASH-492

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `metadata` in the `layout.tsx` file and modifying the sitemap configuration in `next-sitemap.config.js` to improve SEO and access control based on the environment.

### Detailed summary
- In `layout.tsx`:
  - Added `metadataBase` with URL `https://thirdweb.com`.
  - Introduced `alternates` with a `canonical` path set to `"./"`.

- In `next-sitemap.config.js`:
  - Updated access rules:
    - Allowed access if `VERCEL_ENV` is `"production"`.
    - Disallowed access to all if not in production, except for specific paths (`/team` and `/team/*`).

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-04 18:20:35 +00:00
jnsdls e7670290e6 bump thirdweb cjs size limit (#5612)
fixes: CNCT-2534
2024-12-04 17:45:47 +00:00
jnsdls 85b02796bf remove /events page (#5603)
closes: DASH-518
2024-12-04 17:39:28 +00:00
FirekeeperandGitHub 982bb954ae chore: avoid extra fetch for zk chains (#5611) 2024-12-04 08:13:14 -08:00
MananTank 1d2b3c79cb [Portal] Fix table of contents sidebar not updating on page change (#5608)
Fixes DASH-467
2024-12-04 15:39:11 +00:00
ElasticBottle 68ad62f1d5 [SDK] Fix: Type wallet doesn't exists in getUser (#5593)
https://linear.app/thirdweb/issue/CNCT-2523/remapping-of-siwe-wallet-type-in-typescript-sdk

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `getUser` function in the `Profiles` to align with TypeScript types and enhancing its test coverage.

### Detailed summary
- Updated the `type` in `getUser` to correctly classify profile types as either "wallet" or their original type.
- Added unit tests to handle various scenarios: missing secret key, missing query parameters, and handling fetch errors.
- Verified correct API URL calls for different query parameters (email, phone, id, externalWalletAddress).
- Included tests for fetching user profiles and handling cases where no user is found.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-04 02:01:50 +00:00
Phillip HoandGitHub 1a99ea395c chore: Update CODEOWNERS for Portal (#5601)
Signed-off-by: Phillip Ho <[email protected]>
2024-12-04 10:01:26 +08:00
Joaquim VergesandGitHub 29acc981a0 docs: Add EIP1193 extension documentation (#5600) 2024-12-04 14:52:25 +13:00
Jonas DanielsandGitHub 46bf321ffe add insight landing page (#5599) 2024-12-03 12:26:05 -08:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
4f19f77f16 Version Packages (#5549)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-03 21:49:27 +13:00
ElasticBottle 9b45aae699 fix: display appropriate error message on account status fetch failure outside of unauthorized access (#5595)
https://linear.app/thirdweb/issue/CNCT-2428/pro-upcade-ecosystem-wallet-restriction-not-working

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving error handling in the `get-enclave-user-status.ts` file by changing the error message thrown when fetching the account status fails. It updates the error message to provide more clarity based on the response.

### Detailed summary
- Updated the error message in `get-enclave-user-status.ts` from `result.error` to `result.message` for clarity when fetching account status fails.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-03 08:00:42 +00:00
Joaquim VergesandGitHub 3b751430a6 docs: Update useConnect example with client param (#5550) 2024-12-03 20:59:50 +13:00
Joaquim VergesandGitHub b117cb1927 feat: Add warning for rejected sponsorship policies (#5577) 2024-12-03 20:56:06 +13:00
joaquim-verges b7c8854327 feat: Support Expo 52 and React Native 0.76 (#5594)
## Problem solved

Fixes CNCT-2510

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating dependencies and improving compatibility with `Expo 52` and `React Native 0.76`, including adjustments to package versions and installation commands.

### Detailed summary
- Added support for `Expo 52` and `React Native 0.76`.
- Updated `expo-web-browser` version to `14.0.1`.
- Modified `expo-application` version to allow `5 || 6`.
- Updated installation commands from `npx expo:run` to `npx expo run`.
- Added `react-native-passkey` dependency.
- Adjusted peer dependencies in `package.json` files.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-03 04:22:04 +00:00
gregfromstl c3d7b662c4 [SDK] Fix: Account switching with connected smart wallets (#5592)
Fixes #5537

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving wallet connection handling in the `thirdweb` project, specifically when switching signer accounts and simplifying connection logic for smart wallets.

### Detailed summary
- Updated `biome.json` to add `"noUselessElse": "off"`.
- Modified wallet connection logic in `packages/thirdweb/src/wallets/manager/index.ts` for better handling of active wallets.
- Added tests for connection management in `packages/thirdweb/src/wallets/manager/connection-manager.test.ts`.
- Removed environment variable logging across multiple API routes.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-03 01:46:31 +00:00
jnsdls ea855c66cb trusted partner program & remove /contracts (#5591)
fixes: DASH-503

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on the removal of several components and pages related to contracts in the dashboard, along with updates to routing configurations.

### Detailed summary
- Deleted the following files:
  - `contracts.tsx`
  - `Stats.tsx`
  - `CaseStudyStatic.tsx`
  - `ContractInteractionSection.tsx`
  - `LandingCaseStudyStaticSection.tsx`
- Updated `page-id.ts` by modifying the `ContractsLanding` constant.
- Modified `framer-rewrites.js` to add new routes:
  - `/nebula`
  - `/trusted-partner-program`
  - `/trusted-partner-program/:partner_slug`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-02 22:40:33 +00:00
MananTank 125de5fc31 Migrate TransactionButton to shadcn + tailwind (#5556)
DASH-496

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating various components in the codebase to replace the `isLoading` prop with `isPending` for better clarity and consistency in handling loading states.

### Detailed summary
- Replaced `isLoading` with `isPending` in multiple components including `delegate-button.tsx`, `claim-button.tsx`, and `proposal-button.tsx`.
- Updated the loading state handling in `TransactionButton` and related components.
- Adjusted styles and props for better UI consistency.
- Modified tooltip labels and button texts to reflect the new loading state terminology.

> The following files were skipped due to too many changes: `apps/dashboard/src/components/buttons/MismatchButton.tsx`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-02 21:45:36 +00:00
Jonas DanielsandGitHub 00d6529c9a update typedoc (#5555) 2024-12-02 13:43:50 -08:00
DustinandGitHub a2163fcbd8 Update page.mdx (#5552) 2024-12-02 13:23:45 -08:00
Jonas DanielsandGitHub 5c55314ae5 update dependencies (#5554) 2024-12-02 13:08:38 -08:00
MananTank e19870910b Remove icon from get started with contracts step card tabs (#5557)
DASH-502
2024-12-02 20:47:12 +00:00
Jonas DanielsandGitHub 009d31b05b remove and redirect old landing pages (#5553) 2024-12-02 12:43:08 -08:00
DustinTurska 149ee051de Dustin/engine playground (#5507)
## Problem solved

FIxes [DASH-495](https://linear.app/thirdweb/issue/DASH-495/engine-playground)

Short description of the bug fixed or feature added

Added Engine Section to playground
-Airdrop
-Mint
-Webhooks

Updated AppSidebar `expanded: false` to show `otherLinks` section - previously this was unseen by users and there was no scroll option

Create EngineAPIHeader for Engine CTA and utm link updates

Slack [thread](https://thirdwebdev.slack.com/archives/C07U1LM6S2W/p1731687004602369) for initiative

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new features and updates to the `playground-web` application, including new API routes for minting and airdropping tokens, enhancements to the UI components, and the addition of new environment variables for build processes.

### Detailed summary
- Added environment variables for `ENGINE_ACCESS_TOKEN`, `ENGINE_BACKEND_WALLET`, and `ENGINE_URL`.
- Introduced new dependencies: `@thirdweb-dev/engine` and `timeago.js`.
- Updated `navLinks.ts` to collapse sections and added a new `Engine` section.
- Created new pages for `Webhooks`, `Airdrop`, and `Minting` with respective UI components.
- Implemented API routes for transaction status, minting, and airdropping.
- Enhanced the `EngineAPIHeader` component to display dynamic content.
- Added polling functionality for transaction status updates in the `Sponsorship` and `AirdropERC20` components.
- Introduced pagination for transaction results in `ClaimTransactionResults` components.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-02 18:08:07 +00:00
kien-ngo 4ae50f56ba [Dashboard] Remove chakra-ui from snapshot-upload (#5543)
part of DASH-388

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the return types in the `convertFiatToCrypto` and `convertCryptoToFiat` functions to return objects instead of plain numbers. Additionally, it modifies the `SnapshotUpload` component to replace `Link` elements with `a` tags and adjusts the layout for better styling.

### Detailed summary
- Changed return type of `convertFiatToCrypto` to `{ result: 0.0000057 }`.
- Changed return type of `convertCryptoToFiat` to `{ result: 3404.11 }`.
- Replaced `Link` components with `a` tags in `SnapshotUpload`.
- Adjusted layout and styling in `SnapshotUpload` for improved design.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-02 13:33:43 +00:00
kien-ngo ebf94a66dc [Dashboard] Remove tw-components stuff (1) (#5540)
part of DASH-388
2024-12-02 11:45:19 +00:00
kien-ngo 57fa96b268 [SDK] Add 2 new Pay functions: convertFiatToCrypto and convertCryptoToFiat (#5457)
CNCT-2369
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces two new functions for converting between fiat and crypto currencies in the `thirdweb` package, along with corresponding tests and endpoints.

### Detailed summary
- Added `convertFiatToCrypto` and `convertCryptoToFiat` functions.
- Created endpoints for fiat to crypto and crypto to fiat conversions.
- Implemented tests for both conversion functions, covering various scenarios and error handling.
- Updated documentation with examples for the new functions.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-02 10:21:57 +00:00
Joaquim VergesandGitHub 1e9a6c7d8a fix: Handle zero maxPriorityFeePerGas in 712 transactions (#5531) 2024-12-02 15:10:15 +13:00
Prithvish BaidyaandGitHub 8d47654d57 feat: edit documentation for Account Abstraction and add Smart Backend Wallets (#5516) 2024-12-02 14:52:31 +13:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
1d80944752 Version Packages (#5506)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-02 14:50:45 +13:00
Joaquim VergesandGitHub 93379251b7 fix: improve transaction cost estimation for pay modal (#5548) 2024-12-02 14:30:52 +13:00
Phillip HoandGitHub 8aa454cbbb chore: Add promptTokens and completionTokens fields (#5542) 2024-12-02 08:07:37 +08:00
MananTank 393d0cfb50 Fix Portal > Contracts overview page links (#5541)
Fixes: DASH-487

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating references to smart contract interaction links throughout the application, simplifying the URLs to point directly to `/contracts` instead of specific interaction overview pages.

### Detailed summary
- Updated `href` in `page.tsx` from `/contracts/interact/overview` to `/contracts`.
- Changed references in `interact-blockchain/page.mdx` to point to `/contracts`.
- Modified links in `contracts/page.mdx` to `/contracts`.
- Adjusted links in `sdk.tsx` to `https://portal.thirdweb.com/contracts`.
- Updated SDK documentation links in `ipfs/page.mdx` to `/contracts`.
- Changed SDK references in `gas/page.mdx` to `/contracts`.
- Updated redirects in `redirects.mjs` for `/sdk`, `/sdk/how-it-works`, and `/sdk/getting-started` to `/contracts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-01 18:15:48 +00:00
GWSzeto e2754dfa5e updated to use contractInfo name (#5536)
https://linear.app/thirdweb/issue/DASH-489/modules-ui-bug-with-erc20-modules-showing-tokenid

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the handling of different ERC token types in various components of a dashboard application. It replaces boolean flags with string identifiers for token types, enhancing clarity and maintainability.

### Detailed summary
- Replaced boolean flags (`isErc721`, `isErc20`) with string identifiers (`name`) for token types in multiple components.
- Updated metadata upload logic to use `props.contractInfo.name` for conditional checks.
- Refactored the `uploadMetadata`, `setTransferable`, and `mint` functions to use the new string identifiers.
- Modified UI components to use `Select` for token type selection instead of checkboxes.
- Adjusted condition checks for enabling transfer and minting based on the updated token type handling.
- Updated the `ClaimableModule` to handle ERC20 and ERC721 claims with the new string-based approach.
- Ensured consistent handling of token decimals and claim conditions based on token type.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-29 14:11:03 +00:00
Joe-ThirdwebandGitHub e87eb2ff35 Joe - Adding Chain claim updates (#5534) 2024-11-27 12:09:07 -08:00
gregfromstl 7488102d20 [SDK] Feature: Adds Multiwrap and LoyaltyCard Extensions (#5529)
CNCT-2438

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces enhancements to the `thirdweb` library by adding support for a new `LoyaltyCard` extension, improving event handling, and updating the `github_checks` workflow to validate PR branches for issue references.

### Detailed summary
- Added `ignore` pattern in `codecov.yml`.
- Updated `issue.yml` to check PR body and branch name for valid issue references.
- Implemented `LoyaltyCard` extension with deployment support and event handling.
- Added new functions for `TokensMinted`, `TokensUnwrapped`, and `TokensWrapped` events.
- Updated `Multiwrap` and `LoyaltyCard` ABIs.
- Added tests for deploying `LoyaltyCard` and other ERC721 types.

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/erc721/__generated__/Multiwrap/write/unwrap.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/Multiwrap/write/wrap.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/LoyaltyCard/write/mintWithSignature.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/Multiwrap/write/initialize.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/LoyaltyCard/write/initialize.ts`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-27 15:52:00 +00:00
gregfromstl 9d3c8ac507 [SDK] Chore: Sets coverage thresholds (#5530)
CNCT-2485

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the code coverage settings and the GitHub Actions workflow for better integration with Codecov.

### Detailed summary
- Updated `codecov.yml` to set `target` coverage to `80%` instead of `auto`.
- Modified `.github/workflows/CI.yml`:
  - Changed the step name from `Upload coverage reports to Codecov` to `Code Coverage`.
  - Specified the `directory` for coverage reports as `packages/`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-27 11:58:19 +00:00
Manan TankandGitHub f64e0253d7 [Dashboard] Remove unused assets (#5528) 2024-11-26 15:45:15 -08:00
gregfromstl d3139b2f6a [SDK] Fix: Remove and Prevent console.log (#5527)
CNCT-2483

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on removing `console.log` statements from various files to clean up the code and improve maintainability. It also modifies the linter configuration to adjust rules related to console usage.

### Detailed summary
- Removed `console.log` statements from multiple test and implementation files.
- Adjusted linter configuration to allow specific console warnings only.
- Updated `biome.json` to include new linter rules for console usage.
- Cleaned up unused imports related to `DEBUG` constants.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-26 22:34:43 +00:00
MananTank cedd9c8e0a Update metadata for explore page (#5522)
DASH-474

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the metadata for the `Explore` page in the dashboard application. It modifies the `title` and `description` to better reflect the content of the page, specifically focusing on Ethereum smart contract templates for web3 developers.

### Detailed summary
- Added a new `title`: "List of smart contracts for EVM Developers".
- Added a new `description`: "A list of Ethereum smart contract templates for web3 developers, including the most popular evm smart contracts for dapps, NFTs and more."
- Updated the `metadata` object to use the new `title` and `description`.
- Updated the `openGraph` object to use the new `title` and `description`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-26 22:24:55 +00:00
MananTank b9f85f8d51 Update stripe redirect links to handle subdomains (#5526)
Fixes: DASH-479

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring the billing components to use a `redirectUrl` instead of `redirectPath`, streamlining the URL handling for billing processes in the application.

### Detailed summary
- Removed `getAbsoluteUrlFromPath` function.
- Updated `PlanInfoCard.tsx` to include `redirectPath` in `BillingPortalButton`.
- Changed `CheckoutButtonProps` and `BillingPortalButtonProps` to use `redirectUrl`.
- Modified `CheckoutButton` and `BillingPortalButton` to utilize `getRedirectUrl` for URL generation.
- Added `getRedirectUrl` function to construct URLs based on the current origin.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-26 20:51:29 +00:00
jnsdls 69ecac3fe7 fix fee sharing percentage (#5525)
fixes DASH-476

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the fee-sharing information in the `PayConfig.tsx` component of the dashboard, increasing the percentage shared with users.

### Detailed summary
- Changed the fee-sharing percentage from 30% to 70% in the text:
  - From: "We share 30% of this fee with you."
  - To: "We share 70% of this fee with you."

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-26 20:33:37 +00:00
gregfromstl ee2b8e5be2 [Portal] Docs: Fix detectMethod example (#5519)
CNCT-2479

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `detectExtension.ts` file to change the way the `hasDecimals` variable checks for the presence of the `decimals` method in a contract. It replaces the method signature with a specific available selector.

### Detailed summary
- Replaced the method signature `"function decimals() view returns (uint8)"` with the `availableSelectors` array containing `["0x313ce567"]` in the `detectMethod` call.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-26 20:07:17 +00:00
Jonas DanielsandGitHub 497e550112 fix postbuild step (#5524) 2024-11-26 12:06:38 -08:00
Jonas DanielsandGitHub 0a6b0ec5f8 update dependencies (#5523) 2024-11-26 12:05:40 -08:00
MananTank 708c35361a Fix home link in dashboard footer (#5521)
DASH-475
2024-11-26 18:46:21 +00:00
MananTank 9ef8b39c16 Improve loading state for code block (#5520)
DASH-473
2024-11-26 18:32:56 +00:00
kien-ngo 2ae404db46 [Dashboard] Parse ENS value to evm address on uploading snapshots (#5518)
dash-472
2024-11-26 18:17:19 +00:00
kien-ngo 480fb4e8ec [SDK] Fix UI issue when assetTabs is set to an empty array (#5517)
CNCT-2476
2024-11-26 07:36:42 +00:00
Jonas DanielsandGitHub d86c6ef4df update dependencies (#5515) 2024-11-25 22:05:37 -08:00
Phillip HoandGitHub 1ad6983d4e feat: test webhook and delete wallet (#5489) 2024-11-26 11:12:05 +08:00
46ef3e6c4a Chain Page Verification for Shido Network (#5279)
Co-authored-by: Jonas Daniels <[email protected]>
2024-11-25 17:52:15 -08:00
GWSzeto a98550d229 [Dashboard] Feature: Modules UI changes (#5437)
https://linear.app/thirdweb/issue/DASH-469/small-changes-for-modules-ui

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the functionality and user experience of the `Transferable`, `Claimable`, and `Royalty` components in the dashboard application, particularly by adding support for ERC20 tokens and improving form handling for royalties.

### Detailed summary
- Added support for `isErc20` state in `Transferable` and `Claimable` components.
- Updated UI to display messages related to transfer restrictions and accounts.
- Introduced `SequentialTokenIdFieldset` to handle token ID inputs.
- Changed royalty handling from BPS to percentage in `Royalty` component.
- Improved form validation and error messaging for royalty inputs.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-25 23:06:58 +00:00
gregfromstl 0e98b094ae [CI] Chore: Improve Linear Issue Check Syntax (#5508)
CNCT-2462
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces a new GitHub Actions workflow named `Linked Issue`, which checks for valid issue references in the pull request body. It ensures that the body contains an issue ID with specified prefixes before allowing the pull request to proceed.

### Detailed summary
- Added a new workflow file named `issue.yml`.
- Set the workflow to trigger on `pull_request` events (opened, edited).
- Defined an environment variable `VALID_ISSUE_PREFIXES` with values "CNCT|DASH".
- Created a job named `linear` that runs on `ubuntu-latest`.
- Implemented a step to check for linked issue references in the PR body using a regex.
- If no valid reference is found, the workflow fails with a specific error message.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-25 19:37:37 +00:00
Phillip HoandGitHub 46c3abb5c0 feat: Select Engine versions (#5479) 2024-11-25 20:54:38 +08:00
kien-ngo d1845f3d60 [SDK] Chain headless components (#5495)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces headless components related to blockchain chain management in the `thirdweb` library, including `ChainProvider`, `ChainIcon`, and `ChainName`. It also adds tests for these components and updates documentation to reflect their usage.

### Detailed summary
- Added headless components: `ChainProvider`, `ChainIcon`, `ChainName`.
- Introduced `TokenIconProps` interface.
- Updated `react.ts` to export new components and their props.
- Added documentation for `ChainProvider`, `ChainIcon`, and `ChainName` in `page.mdx`.
- Implemented tests for `TokenSymbol`, `ChainProvider`, `TokenProvider`, `ChainName`.
- Enhanced `ChainProvider` and `ChainIcon` components with new props and functionalities.
- Updated `ChainName` component to support custom name resolvers and formatting functions.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-25 10:41:55 +00:00
gregfromstl dfc824d3da [Dashboard] Feature: RPC Chart (#5504)
CNCT-2395

<img width="1161" alt="Screenshot 2024-11-22 at 9 52 09 PM" src="https://github.com/user-attachments/assets/e46f1645-11bb-42d5-abcf-147852a3e8ce">

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring the analytics data handling by shifting the source of types from the `@/api/analytics` module to a new `types/analytics` module. This change enhances type definitions and improves code organization.

### Detailed summary
- Changed import paths for various analytics types to `types/analytics`.
- Added new interfaces in `apps/dashboard/src/types/analytics.ts` for `WalletStats`, `WalletUserStats`, `InAppWalletStats`, `EcosystemWalletStats`, `UserOpStats`, `RpcMethodStats`, and `AnalyticsQueryParams`.
- Updated multiple components and utilities to utilize the new type definitions.
- Implemented a new RPC method usage function in `apps/dashboard/src/@/api/analytics.ts`.
- Added `RpcMethodBarChartCard` component to visualize RPC method usage in `apps/dashboard/src/app/team/[team_slug]/[project_slug]/page.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-24 23:12:31 +00:00
arcoraven 7dd4298aee feat: add docs on custom chains (#5505)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces support for custom chains in the `thirdweb Engine`, enhancing functionality by allowing users to add and manage their own EVM chains, including RPC URL overrides and related metadata.

### Detailed summary
- Added new section for `Custom Chains` in the documentation.
- Included images related to adding custom chains.
- Provided detailed instructions on overriding chain RPC URLs.
- Added examples for API requests to manage custom chains.
- Specified limitations and additional guidance for using custom chains.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-24 09:18:38 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
de2a7ba6f5 Version Packages (#5503)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-23 17:24:16 +13:00
gregfromstl ac42c4538e [SDK] Feature: Export contract deployment utilities (#5501)
CNCT-2441

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new utility functions and enhances existing ones to improve the management of infrastructure contracts and initialization processes within the `thirdweb` framework.

### Detailed summary
- Added `getInitializeTransaction` for preparing contract initialization transactions.
- Added `getOrDeployInfraForPublishedContract` to manage infrastructure for published contracts.
- Documented various functions with detailed JSDoc comments.
- Enhanced `getDeployedCloneFactoryContract` and `getDeployedInfraContract` with clearer descriptions.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-23 02:51:19 +00:00
MananTank adda60c1e2 [Dashboard] Migrate MarkdownRenderer to shadcn+tailwind (#5502)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `MarkdownRenderer` component by updating its styling and structure, as well as adding comprehensive Storybook stories for better documentation and testing.

### Detailed summary
- Replaced padding props with a `className` in `MarkdownRenderer`.
- Updated styles for `inline-code` component.
- Added Storybook stories for `MarkdownRenderer`, including examples and parameters for desktop and mobile views.
- Improved the structure of the `MarkdownRenderer` component, including class-based styling and code highlighting features.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-23 01:49:57 +00:00
MananTank eb728869eb Update Free plan button copy and styles in onboarding plan selection screen (#5500)
<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new component called `TextDivider` and integrates it into the `OnboardingChoosePlan` component. It also makes adjustments to the layout and button styles within `OnboardingChoosePlan`.

### Detailed summary
- Added `TextDivider` component in `TextDivider.tsx` for displaying a horizontal divider with text.
- Updated `OnboardingChoosePlan` to include `TextDivider` with the text "OR".
- Changed the grid gap from `md:gap-4` to `md:gap-5`.
- Replaced the previous button with a new styled button in `OnboardingChoosePlan`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-23 00:21:17 +00:00
YashandGitHub 7456422936 change text for trusted forwarder form (#5494) 2024-11-22 13:17:26 -08:00
saminaandGitHub aaa2dda48a added migration guide (#5496) 2024-11-22 13:15:35 -08:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
be3570b2bf Version Packages (#5490)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-22 13:14:24 -08:00
Nacho IacovinoandGitHub 8f98a08bb6 thirdweb should be lowercase (#5497)
Signed-off-by: Nacho Iacovino <[email protected]>
2024-11-22 13:13:56 -08:00
ElasticBottle 6b6f61705d Winston/cnct 2363 export private key not working with connectbutton (#5498)
https://linear.app/thirdweb/issue/CNCT-2363/export-private-key-not-working-with-connectbutton

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the ability to export private keys for enclave wallets upon initial login, enhancing wallet management functionality.

### Detailed summary
- Added `connectLocale` prop to the `PrivateKey` component.
- Implemented `useEffect` to handle postMessage for private key export.
- Changed base domain retrieval to use `getThirdwebBaseUrl`.
- Updated `ModalHeader` title to use localized string.
- Set iframe ID dynamically based on wallet ID.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-22 20:18:24 +00:00
MananTank 91cea2d7b7 [Dashboard] Fix stripe redirect for onboarding flow (#5499)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding a `redirectPath` prop across various components in the onboarding and billing sections of the application, enhancing navigation after specific actions.

### Detailed summary
- Added `redirectPath` prop to `LazyOnboardingUI` in `LoginPage.tsx`.
- Introduced `redirectPath` in `OnboardingChoosePlan` component.
- Passed `redirectPath` from `OnboardingUI` to `OnboardingChoosePlan`.
- Updated `PricingCard` to accept and utilize `redirectPath`.
- Implemented `redirectPath` in the `BillingPricing` component for `PricingCard` instances.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-22 19:59:22 +00:00
kien-ngo d9a63a6d35 [SDK] Fix props for TokenIcon component (#5493)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing the issue where properties were not being passed correctly to the `TokenIcon` component.

### Detailed summary
- Updated the return statement in the `Token/icon.tsx` file.
- Changed `return <img src={iconQuery.data} alt={restProps.alt} />;` to `return <img src={iconQuery.data} {...restProps} alt={restProps.alt} />;` to ensure all `restProps` are included in the rendered `img` element.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-22 15:52:19 +00:00
kien-ngo 24f4e5acf5 [Dashboard] Fix JSON donwload in upload-step.tsx (#5491)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `UploadStep` component in `upload-step.tsx` to replace `Heading` and `Link` components with standard HTML elements like `p` and `a`, enhancing simplicity and readability.

### Detailed summary
- Replaced `Heading` components with `p` elements for text display.
- Changed `Link` components to `a` elements for file downloads.
- Updated class names for styling consistency.
- Simplified the conditional rendering structure.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-22 14:09:40 +00:00
joaquim-verges b5baeae821 feat: Expose ABI decoding utilities (#5482)
## Problem solved

Fixes CNCT-2431

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `thirdweb` package by exposing utilities to decode errors and function data, improving the overall functionality and usability of the library.

### Detailed summary
- Added `decodeError`, `decodeFunctionData`, and `decodeFunctionResult` utilities in `packages/thirdweb/src/utils/abi/`.
- Updated `packages/thirdweb/src/exports/utils.ts` to export new decoding utilities.
- Skipped the test for getting events by `blockHash` in `packages/thirdweb/src/event/actions/get-events.test.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-22 08:22:44 +00:00
MananTank c02104d843 [Portal] Fix reference page static generation (#5484)
NOTE:

This will not build - Recently the sidebar categories have been updated in the reference pages and this is creating issues with static build. Need to fix those errors

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on making adjustments to various files, including changing limits on data retrieval, modifying the structure of TypeScript types, and cleaning up the formatting of documentation.

### Detailed summary
- Changed `-limit` from `50` to `20` in `apps/portal/src/app/changelog/ghost.ts`.
- Removed `classes`, `variables`, `types`, and `enums` from `subgroups` in `apps/portal/src/app/references/components/TDoc/utils/subgroups.ts`.
- Cleaned up documentation text in `apps/portal/src/app/typescript/v5/chain/page.mdx`.
- Reformatted `PageProps` type definition in `apps/portal/src/app/references/components/TDoc/PageLayout.tsx` for better readability.
- Updated return type of `generateStaticParams` function to be more explicit in `apps/portal/src/app/references/components/TDoc/PageLayout.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-22 08:18:17 +00:00
MananTank c0ab87dd5e [Dashboard] Feature: Send UTM params when logging into dashboard (#5400)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on collecting and managing `utm_` cookies for tracking purposes during user login and middleware processing. It enhances the handling of cookies to ensure `utm_` parameters are captured and forwarded appropriately in API requests and redirects.

### Detailed summary
- Added collection of `utm_` cookies in `auth-actions.ts`.
- Modified the `doLogin` function to include `utmCookies` in the request body.
- Implemented logic in `middleware.ts` to capture `utm_` parameters from URL and set them as cookies.
- Updated redirect and rewrite functions to include `cookiesToSet` for managing cookies in responses.
- Ensured cookies are set in the response for various redirect scenarios.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-22 08:03:42 +00:00
MananTank f0c077c259 Move onboarding components to app router folder (#5481)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR reorganizes the onboarding-related components and types in the `apps/dashboard/src/app/login/onboarding` directory, improving the structure and imports. It also updates several import paths and refactors components for better clarity.

### Detailed summary
- Moved onboarding-related files to `apps/dashboard/src/app/login/onboarding`.
- Updated import paths for `isOnboardingComplete` to reflect the new structure.
- Refactored `PricingCard` import in `AccountForm.tsx` and `ChoosePlan.tsx`.
- Added `FeatureItem` component in `PricingCard`.
- Updated `useSkipOnboarding` and `ConfirmEmail` for new import paths.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-22 07:49:25 +00:00
MananTank 6e6d90756a [Dashboard] Onboarding UI adjustments + use doLogout server action instead of fetch (#5480)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring the logout functionality across various components by replacing direct API calls with a centralized `doLogout` function. It also includes some UI adjustments and enhancements.

### Detailed summary
- Removed direct API call to `/api/auth/logout` in favor of `doLogout()` in multiple components.
- Updated styles for various UI elements, including `AccountForm` and `OnboardingChoosePlan`.
- Adjusted layout and class names for better responsiveness and appearance.
- Added `Aurora` component for visual effects in the `LoginAndOnboardingPage`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-22 07:49:24 +00:00
jnsdls e9ea47630f [Dashboard] Feature: Integrate ecosystem creation with Stripe billing (#5488)
### TL;DR
Refactored ecosystem creation flow to use server actions and removed the confirmation dialog.

### What changed?
- Created a new server action `createEcosystem` to handle ecosystem creation
- Extracted `BASE_URL` constant for reusability
- Removed the confirmation dialog from the creation form
- Simplified form submission to directly create ecosystems
- Added more specific error handling with user-friendly toast messages
- Changed component props to use `teamSlug` instead of `ecosystemLayoutPath`

### How to test?
1. Navigate to the ecosystem creation page
2. Fill out the ecosystem form with a name and logo
3. Select permission type (PARTNER_WHITELIST or ANYONE)
4. Submit the form
5. Verify redirect to Stripe billing portal
6. Verify appropriate error messages display for various error scenarios

### Why make this change?
To streamline the ecosystem creation process by implementing server-side actions and providing better error handling. This change improves the user experience by removing the extra confirmation step while maintaining secure server-side processing of ecosystem creation.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `EcosystemCreatePage` and related components to streamline the creation of ecosystems, updating function signatures, and improving the handling of the creation process.

### Detailed summary
- Removed `ecosystemLayoutPath` prop from `EcosystemCreatePage`.
- Added `teamSlug` prop to `EcosystemCreatePage` and `CreateEcosystemForm`.
- Updated `createEcosystem` function to handle authentication and API calls.
- Enhanced error handling in the `CreateEcosystemForm`.
- Removed unused imports and state management related to confirmation dialogs.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-22 07:44:14 +00:00
jnsdls d98c133604 [Dashboard] Redirect /solutions/chains to /solutions/ecosystem (#5486) 2024-11-22 00:12:04 +00:00
MananTank 63c5277629 Update Nebula Waitlist Page UI and invite link (#5485)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `NebulaWaitListPageUI` and related components by adding a `teamId` prop to improve link sharing functionality. It modifies how the invite link is generated and displayed, allowing users to share a personalized link tied to their team.

### Detailed summary
- Updated `Story` to pass `teamId="foo"` to `NebulaWaitListPageUI`.
- Modified `NebulaWaitListPageUI` to accept `teamId` as a prop.
- Enhanced `ShareButton` to accept `teamId` and generate a personalized invite link.
- Changed tooltip label for the share button to "Copy Invite Link".
- Updated footer in `NebulaWaitListPageUI` to include the personalized `ShareButton` and a message encouraging sharing.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-21 23:40:49 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
d66568467d Version Packages (#5465)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-21 10:05:59 -08:00
arcoraven 6bd968362a chore: Allow optional includeUsage (default: true) (#5477)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces an optional `includeUsage` parameter to the `CoreServiceConfig` type and updates API URL construction to utilize this parameter, defaulting to `true`. This allows for more flexible API calls regarding usage data.

### Detailed summary
- Added optional `includeUsage` parameter to `CoreServiceConfig`.
- Updated `fetchKeyMetadataFromApi` to use `includeUsage` in the API URL.
- Updated `fetchAccountFromApi` to use `includeUsage` in the API URL for both wallet and account endpoints.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-21 04:50:27 +00:00
Joaquim VergesandGitHub 17488b8139 [Documentation] Refactor: React guides (#5375) 2024-11-21 15:37:20 +13:00
MananTank 776f5aaeda [Dashboard] User Onboarding Revamp (#5471)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the onboarding process and account management in the application. It introduces better handling of team retrieval, login redirection, and email confirmation, while also refining the UI components related to these features.

### Detailed summary
- Added optional chaining for `firstTeam` retrieval.
- Introduced `loginRedirect` function for consistent login handling.
- Created `getValidAccount` to enforce login and onboarding checks.
- Improved `Onboarding` components for better user experience.
- Enhanced email confirmation flow with clearer messaging.
- Updated various components to use new account and team management functions.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-21 01:18:01 +00:00
DustinandGitHub ecaa304a81 Update contact-us form (#5474) 2024-11-20 15:37:31 -08:00
Jonas DanielsandGitHub 377f46c303 cleanup unused (#5476) 2024-11-20 15:22:11 -08:00
MananTank b52049c20a [Dashboard] Improve team overview page load perf + UI adjustments (#5475)
Move the chart data fetching inside suspense boundary with loading fallback to speed up page load

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the layout and structure of several components in the dashboard, enhancing the user interface by adjusting styles and adding new features like loading states. It also refines the `TeamOverviewPage` to better handle data and display.

### Detailed summary
- Updated styles in `range-selector.tsx` for improved layout.
- Added `w-full` class in `EmptyState.tsx` for full-width section.
- Adjusted gap sizes in `AnalyticsHeader.tsx`.
- Modified `TeamOverviewPage` to include a loading state using `Suspense`.
- Introduced `OverviewPageContent` function to manage content rendering.
- Enhanced conditionals to simplify rendering logic in `TeamOverviewPage`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-20 22:29:19 +00:00
MananTank a67e980ac3 [Dashboard] Feature: Add account settings page with Name and Email fields (#5461)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the account settings functionality, including email confirmation and account updates, while improving error handling and user interactions.

### Detailed summary
- Added a new route for `/account/settings`.
- Improved onboarding logic for email confirmation.
- Updated waitlist joining logic to handle responses better.
- Enhanced `joinTeamWaitlist` and `updateAccount` actions with better error handling.
- Implemented email confirmation with OTP in `confirmEmailWithOTP`.
- Improved `AccountSettingsPage` to include email update functionalities.
- Added UI components for email verification and account updates.
- Refined error handling in various components for better user feedback.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-20 21:00:48 +00:00
AmineAfia 4c8333d4a3 [Dashboard] Feature: Add initial insight UI (#5435)
## Problem solved
BLOCK-436

This PR adds an initial UI for insight to give visibility to insight in the platform. The first three blueprints are Data APIs available for all users. The next iteration will add the ability to create a new blueprint.

![CleanShot 2024-11-15 at [email protected]](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/dGj3ureqJk84bcvq1s10/8d0fb6d9-f80b-414a-925d-e6ed68aa6bfb.png)

---

## PR-Codex overview
This PR introduces a new `Insight` page under the project structure, adding components for displaying blueprints, including a header and an explorer. It also implements authentication redirection and a loading state for better user experience.

### Detailed summary
- Added a new route for `Insight` in `layout.tsx`.
- Created `BlueprintsPageHeader` component for the `Insight` page.
- Implemented `Page` component with authentication check and redirection logic.
- Developed `BlueprintsPage` component to display blueprints with a loading state.
- Created `getProjectBlueprints` function to fetch blueprint data.
- Added `BlueprintsExplorer` component to list blueprints with a fallback message.
- Implemented `BlueprintCard` for individual blueprint display.
- Included loading spinner in `Loading` component.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->

Linear Ticket: https://linear.app/thirdweb/issue/BLOCK-436/implement-initial-insight-ui

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a new `Insight` page to the dashboard for a project, featuring a `BlueprintsPage` that displays blueprints and a header. It includes authentication checks and a redirect to the login page if the user is not authenticated.

### Detailed summary
- Added a new route for `Insight` in `layout.tsx`.
- Created `Page` component in `page.tsx` with authentication check.
- Added `BlueprintsPageHeader` component for the `Insight` page.
- Implemented `BlueprintsPage` to display billing alerts and blueprints.
- Created `getProjectBlueprints` function to fetch blueprint data.
- Developed `BlueprintsExplorer` component to list blueprints.
- Added `BlueprintCard` component to display individual blueprints.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->

Linear Ticket: https://linear.app/thirdweb/issue/BLOCK-436/implement-initial-insight-ui

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `Insight` feature to the dashboard, which includes a dedicated page for insights with blueprints and a header component. It also implements authentication checks and displays billing alerts.

### Detailed summary
- Added a new route for `Insight`.
- Created `Page` component with authentication check and redirection.
- Introduced `BlueprintsPage` component displaying billing alerts and blueprints.
- Implemented `BlueprintsPageHeader` with a disabled button.
- Added `BlueprintsExplorer` for listing blueprints.
- Defined `BlueprintCard` for individual blueprint display.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
2024-11-20 14:34:39 +01:00
e95ddcdd3e [Dashboard] Feature: Integrate billing v2 init (#5432)
Co-authored-by: Manan Tank <[email protected]>
2024-11-20 00:14:37 -08:00
kien-ngo 7973d6450c [React] Feature: Headless UI Token components (#5433)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new components related to token management in a React application, including `TokenProvider`, `TokenName`, `TokenSymbol`, and `TokenIcon`. These components allow users to fetch and display token-related data such as name, symbol, and icon.

### Detailed summary
- Added `Token` section in the sidebar with links to token components.
- Created `TokenProvider` for managing token data context.
- Implemented `TokenName`, `TokenSymbol`, and `TokenIcon` components for fetching and displaying token information.
- Exported new token-related types and components from `react.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-20 06:40:01 +00:00
kien-ngo 017b13f444 [SDK] Feature: ConnectedWalletDetails to use headless UI (#5429)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the wallet connection components in the `thirdweb` package, specifically enhancing the `ConnectButton` and `ConnectedWalletDetails` components by integrating `AccountProvider` and improving the handling of wallet details.

### Detailed summary
- Updated JSDoc comment in `useConnectedWalletDetails` to indicate its limited usage.
- Wrapped `ConnectedWalletDetails` with `AccountProvider` in `ConnectButtonInner`.
- Removed `useConnectedWalletDetails` from `ConnectedWalletDetails`.
- Enhanced `ConnectedWalletDetails` to use `AccountAvatar`, `AccountName`, and `AccountBalance` components.
- Updated props handling for connected account avatar and name in `ConnectedWalletDetails`.
- Refactored balance display logic in `ConnectedWalletDetails` to use `AccountBalance`.
- Modified `DetailsModal` to utilize `AccountProvider` and improved wallet avatar handling.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-20 05:37:00 +00:00
kien-ngo 901c3a102b [SDK] Feature: Account components (#5388)
cnct-2137

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `Account` component suite to the `thirdweb` library, enhancing user account management with features like account name, address, avatar, and balance display. It also marks existing `NFT` components as `@beta`.

### Detailed summary
- Added `Account` components: `AccountName`, `AccountAddress`, `AccountAvatar`, `AccountBalance`, and `AccountBlobbie`.
- Updated existing `NFT` components to `@beta`.
- Introduced tests for new `Account` components.
- Enhanced `AccountProvider` for context management.
- Updated documentation for new components and props.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-20 05:37:00 +00:00
saminacodes 3253a532f8 added 7 new guides for contracts (#5467)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on restructuring and enhancing the documentation for various modular contract types in the `pre-built-modular` section, including updates to navigation, descriptions, and deployment steps.

### Detailed summary
- Renamed `Pre-built Contracts` to `Pre-built Modular` in the sidebar.
- Added detailed documentation for:
  - `NFT Drop`
  - `Token`
  - `Token Drop`
  - `Edition Drop`
  - `Open Edition`
  - `Edition`
  - `NFT Collection`
- Included images and steps for deploying each contract type.
- Updated links and metadata for better navigation and user experience.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
https://linear.app/thirdweb/issue/DEVX-1828/7-guides-for-contracts
<!-- end pr-codex -->
2024-11-20 01:36:57 +00:00
joaquim-verges 0e5d120909 [Documentation] Refactor: Update tsdoc references (#5374)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring the `NFT` component and its related functionalities to improve performance, enhance control over fetching logic, and simplify usage by removing the need for `React.Suspense`. It also introduces new props for better loading and error handling.

### Detailed summary
- Deleted several test files and an unused `NFT.tsx` file.
- Introduced `NFTProvider`, `NFTMedia`, `NFTName`, and `NFTDescription` components.
- Added `loadingComponent` and `fallbackComponent` props for better handling of loading states and errors.
- Updated references in tests to use new component structure.
- Renamed and adjusted documentation comments to reflect new functionality.
- Improved sidebar organization by updating links and names for consistency.
- Enhanced utility functions and hooks for better NFT data fetching and context management.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-20 00:11:28 +00:00
gregfromstl f368793375 [SDK] Fix: PayEmbed Error State (#5463)
CNCT-2385

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving error handling and user experience in the `BuyScreen` and `TransactionModeScreen` components of the `thirdweb` package. It adds error states for loading issues and modifies error messages for better clarity.

### Detailed summary
- Updated error message for missing account in `useBuyTxStates.ts`.
- Introduced an error state in `BuyScreen` for `supportedDestinationsQuery` failures.
- Added loading and error handling in `TransactionModeScreen` for transaction cost and chain data.
- Enhanced user feedback with `ErrorState` and `LoadingScreen` components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-19 23:15:21 +00:00
gregfromstl b5227c9a8f [SDK] Fix: Adds overrides to createNewPack (#5464)
CNCT-2230

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the ability to override transaction values in the `createNewPack` function within the `thirdweb` package.

### Detailed summary
- Added `WithOverrides` type to the `options` parameter in `createNewPack` and `getCreatePackParams` functions.
- Updated the function signatures to accept overrides for transaction options.
- Included `overrides` in the parameters for creating pack details.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-19 23:02:02 +00:00
ElasticBottle 0998fc737b [Portal] Docs: Winston/cnct 2314 consolidate documentation for in app wallets and ecosystem (#5443)
https://linear.app/thirdweb/issue/CNCT-2314/consolidate-documentation-for-in-app-wallets-and-ecosystem

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on restructuring and updating the documentation and components related to `thirdweb` wallets, including `In-App`, `Ecosystem`, and `External Wallets`. It includes deletions of outdated files and additions of new guides and features.

### Detailed summary
- Deleted multiple outdated `.mdx` files related to `In-App Wallet` and `Ecosystem` documentation.
- Added new images and updated asset paths for wallet-related components.
- Introduced a new `AuthList` component to display various authentication methods.
- Updated wallet security documentation to reflect changes in architecture.
- Enhanced the sidebar for better navigation of wallet-related topics.
- Revised various guides to improve clarity on wallet integration and user management.
- Added detailed sections on wallet pregeneration and linking multiple identities.
- Updated the `sign-in methods` documentation with clearer instructions and links.

> The following files were skipped due to too many changes: `apps/portal/src/app/connect/sidebar.tsx`, `apps/portal/src/app/connect/wallet/faq/page.mdx`, `apps/portal/src/app/connect/wallet/user-management/get-user-profiles/page.mdx`, `apps/portal/redirects.mjs`, `apps/portal/src/app/connect/wallet/security/assets/ecosystem-scoped.svg`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-19 22:30:55 +00:00
3df0541582 Update webauthn to v2 (#5458)
Co-authored-by: Joaquim Verges <[email protected]>
2024-11-20 11:29:40 +13:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
2591c75b56 Version Packages (#5410)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-19 10:53:46 -08:00
GWSzeto 55edd4cb8e [Dashboard] Feature: Updated Mintable Modules (#5404)
https://linear.app/thirdweb/project/[modular-contracts]-modules-ui-c7a2be28299d/overview
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the `Mintable` functionality in the dashboard and improving the handling of URIs in the `MintableERC721` and `MintableERC1155` modules. It also refines role management for minting processes.

### Detailed summary
- Changed the condition in `module-instance.tsx` to check for "Mintable" instead of "Mintable-ignore".
- Updated `mintWithRole.ts` in both `MintableERC721` and `MintableERC1155` to conditionally process `nfts` and set `baseURI`.
- Simplified import statements in `Mintable.tsx`.
- Modified `hasMinterRole` and `grantRoleTx` to use a more concise syntax for role checking and granting in `Mintable.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-19 18:31:34 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e0eea33d06 chore(deps-dev): bump cross-spawn from 7.0.5 to 7.0.6 in the npm_and_yarn group (#5455)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 14:50:55 -08:00
MananTank d7e36a8afd Add turbo defaults to inputs in turbo config (#5454)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `inputs` in various tasks defined in `turbo.json` to include a new variable `$TURBO_DEFAULT$`, enhancing the configuration for better management of dependencies.

### Detailed summary
- Updated `inputs` for `thirdweb#update-version` to include `$TURBO_DEFAULT$`.
- Modified `inputs` for `test`, `storybook`, `test:legacy`, `e2e`, and `e2e:legacy` to include `$TURBO_DEFAULT$`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-18 22:17:57 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
bcbfb2065f Bump ox from 0.1.3 to 0.2.1 (#5449)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 10:46:14 +13:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
261102b798 Bump react-hook-form from 7.52.0 to 7.53.2 (#5451)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 10:45:50 +13:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
42910372fc Bump codecov/codecov-action from 4 to 5 (#5453)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 10:45:22 +13:00
1554e377eb [Portal] Fix: link to ThirdwebExtensions full reference (#5446)
Signed-off-by: Alec Ananian <[email protected]>
Signed-off-by: greg <[email protected]>
Co-authored-by: greg <[email protected]>
2024-11-19 10:40:47 +13:00
kien-ngo 510be22cb6 [SDK] Fix: Wallet avatar styles in ConnectButton and Modal (#5422)
i just want my cat back

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the styling of the `img` elements in the `DetailsModal` component to ensure they maintain aspect ratio and are responsive.

### Detailed summary
- Changed the `width` of the first `img` to `"100%"` and added `objectFit: "cover"`.
- Updated the second `img` to have `height` and `width` set to `"100%"`, along with `objectFit: "cover"`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-18 20:03:03 +00:00
gregfromstl d4430d4b2f [SDK] Feature: Export prepareMethod (#5439)
CNCT-2381

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a new export to the `contract.ts` file, enhancing the available utilities for contract interactions.

### Detailed summary
- Added export for `prepareMethod` from `../utils/abi/prepare-method.js`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-18 19:40:23 +00:00
MananTank ed58c4c930 [SDK] Fix useSetActiveWallet code example in JSDoc (#5444)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on renaming a variable for clarity in the `useSetActiveWallet` hook implementation within the `useSetActiveWallet.ts` file.

### Detailed summary
- Renamed the variable `setActiveAccount` to `setActiveWallet` for consistency with the hook name.
- Updated the usage of the variable to `await setActiveWallet(wallet);` to reflect the new name.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-18 19:22:24 +00:00
gregfromstl 8e22cf8812 [Ecosystem Portal] Fix: WalletConnect Connection (#5438)
CNCT-2258

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `wallet-ui` application, introducing multi-tenancy support, updating configurations, and improving code quality with better imports and utility functions.

### Detailed summary
- Removed unused files: `erc20.ts`, `Erc20Token.ts`
- Added `isMultiTenant` utility for environment checks
- Updated `README.md` for ecosystem portal
- Enhanced routing with ecosystem ID in redirects
- Introduced new configuration files for `knip` and `biome`
- Updated ESLint rules and configurations
- Refactored image handling to use a new `Image` component
- Streamlined various imports across components and hooks

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-18 19:16:57 +00:00
0xFirekeeper 565dbb9ef3 [Docs] .NET & Unity as of 2.9/5.10 (#5445)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating the documentation for the `Thirdweb .NET SDK`, adding new methods, modifying existing ones, and improving sidebar navigation. It also removes outdated pages and refines descriptions for better clarity.

### Detailed summary
- Deleted `getemail` and `getphonenumber` action pages.
- Updated the reference link for `ThirdwebExtensions`.
- Added documentation for `EcosystemWallet.GetEcosystemDetails` and `EcosystemWallet.GetUserDetails`.
- Modified sidebar links, replacing `GetEmail` and `GetPhoneNumber` with `GetUserDetails` and `GenerateExternalLoginLink`.
- Added documentation for `EcosystemWallet.GenerateExternalLoginLink`.
- Updated `IThirdwebWallet.Transfer` method description and usage examples.
- Revised wallet connection methods in `ThirdwebManager`, updating method names and descriptions.
- Improved `Child Prefabs` section, renaming and clarifying modal usage.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-18 19:10:52 +00:00
Joaquim VergesandGitHub f01de732fb feat: Support ERC-6492 signature verification on zksync chains (#5440) 2024-11-18 21:44:23 +13:00
Jonas DanielsandGitHub a00233d1ba Chore: Update dependencies (#5430) 2024-11-15 15:16:27 -08:00
GiselleNessi acc7303c05 [Portal] Docs: Update Pay Docs (#5425)
Updated Pay docs to clarify KYC in FAQs

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the content in the `page.mdx` file to clarify the KYC requirements for using the 'Buy with Fiat' feature in the `Pay` application.

### Detailed summary
- Revised explanation of KYC requirements for `Buy with Fiat`.
- Changed text to specify that KYC is required only for the first purchase, with no further requirements for subsequent purchases on the same platform.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-15 23:09:21 +00:00
kien-ngo 304f2e6b8e [Portal] Feature: Contract deploy button (#5434)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the `ContractDeployCard` component to the application, allowing users to deploy contracts with a specified name and link. It enhances the user interface by providing a structured card layout for contract deployment.

### Detailed summary
- Added `ContractDeployCard` component.
- Accepts `contractName`, optional `description`, and `href` props.
- Displays a title, description, and a "Deploy Now" link.
- Utilizes `Link` from `next/link` for navigation.
- Includes usage documentation in the code comments.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-15 23:05:56 +00:00
MananTank 5585defbe4 Fix position:relative not supported on <tr> in webkit (safari) (#5431)
We use position:relative on tr to contain the absolutely position anchor link inside - to make the whole row clickable, but that does not work on webkit ( safari )

Relevant article on the topic:
https://mtsknn.fi/blog/relative-tr-in-safari/
2024-11-15 08:21:01 +00:00
gregfromstl 10ca0bcd47 [SDK] Fix: Limit WC chains connected to 10 for max payload size (#5427)
CNCT-2231

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a validation check for the `chains` option in the WalletConnect integration, ensuring that no more than 10 chains can be specified. If more than 10 chains are provided, a warning is logged, and only the first 10 chains are used.

### Detailed summary
- Added a check for `options.chains` to limit the number of chains to a maximum of 10.
- Implemented a warning message if more than 10 chains are specified, informing the user of the truncation.
- Used `slice(0, 10)` to return only the first 10 chains if the limit is exceeded.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-15 01:01:30 +00:00
gregfromstl 7b21f1b632 [SDK] Feature: Steam Auth (#5415)
CNCT-2198

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces `Steam` as a new authentication option across various components and files, enhancing the authentication capabilities of the application.

### Detailed summary
- Added `Steam` as an authentication option in multiple files.
- Updated `types.ts` and `oauthSignIn.ts` to include `Steam`.
- Added `STEAM_ICON` in `svgs.ts` for UI representation.
- Updated connection options in `ConnectWalletMiniPlayground.tsx`.
- Modified documentation to include `Steam` in social logins.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-15 00:43:57 +00:00
gregfromstl f7a4a466d5 [SDK] Fix: Connect to correct chain with guest account (#5426)
CNCT-2370

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds support for the `chain` property in the `connectOptions` object within the `ConnectWalletSocialOptions.tsx` file, enhancing the flexibility of wallet connections based on the provided chain.

### Detailed summary
- Added `chain: props.chain` to the `connectOptions` object.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-15 00:35:02 +00:00
MananTank 895b4d145f Catch localStorage getItem and setItem unhandled errors (#5397)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing error handling for `localStorage` operations across various components, ensuring that unhandled errors do not disrupt functionality.

### Detailed summary
- Wrapped `localStorage.setItem` and `localStorage.getItem` calls in `try-catch` blocks to handle potential errors.
- Updated `ThemeSwitcher`, `RightSection`, `useLocalStorage`, `Banner`, and `webLocalStorage` to ignore errors gracefully.
- Maintained existing functionality while improving robustness.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-15 04:08:18 +05:30
ElasticBottle e958e75df5 feat: add custom auth demo in playground (#5418)
https://linear.app/thirdweb/issue/CNCT-2364/custom-auth-demo-in-playground

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `CustomLoginForm` component for handling user authentication via email in the `in-app-wallet` feature. It allows users to log in with a custom authentication endpoint while integrating with existing wallet functionalities.

### Detailed summary
- Added `CustomLoginForm` component in `custom-login-form.tsx`.
- Utilized `useMutation` for handling login requests with an email.
- Implemented email input and submission handling in the `CustomLoginForm`.
- Updated `page.tsx` to include `CustomLoginForm` with a new section for custom authentication UI.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-14 20:50:09 +00:00
MananTank b620deecfe Show last 50 changelogs in portal instead of last 100 (#5423)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on modifying the parameters for fetching changelog entries in the `ghost.ts` file, specifically adjusting the limit of results returned.

### Detailed summary
- Changed the `-limit` parameter from `100` to `50` to reduce the number of results fetched.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-14 19:45:23 +00:00
GWSzeto 5218313b19 fix: transferable module restriction (#5420)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on modifying the `isRestricted` prop in the `Transferable` component to invert its boolean value based on the `isTransferEnabledQuery.data`.

### Detailed summary
- Changed the `isRestricted` prop from `isRestricted={!!isTransferEnabledQuery.data}` to `isRestricted={!isTransferEnabledQuery.data}`.
- Other props remain unchanged, including `isPending`, `adminAddress`, `update`, and `isOwnerAccount`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-14 18:31:22 +00:00
MananTank 731089b29d Fix claim condition form loading state (#5421)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the conditional rendering logic in the `claim-conditions-form` component to use `claimConditionsQuery.isPending` instead of `isFetchingData`, improving clarity on the loading state of the data.

### Detailed summary
- Changed the condition from `if (isFetchingData)` to `if (claimConditionsQuery.isPending)` in `index.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-14 18:20:28 +00:00
GWSzeto 92e55c8b3d [Dashboard] Feature: Updated Claimable (#5413)
- tokenId and setToken introduced at the parent level ClaimableModule
- Claim Conditions are fetched at the parent level

https://linear.app/thirdweb/issue/DES-251/claimable-erc721-erc1155-erc20

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `ClaimableModule` functionality by refining claim conditions, improving token ID handling, and updating UI components for better user experience.

### Detailed summary
- Updated claim condition checks for `ClaimableModule`.
- Added `tokenId` state management in `ClaimableModule`.
- Modified claim condition logic to handle ERC721 and ERC1155 tokens.
- Enhanced UI with a new checkbox for "No Claim Condition Set".
- Improved currency selection logic in `CurrencySelector`.
- Refined `pricePerUnit` handling in `claimable.stories.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-14 18:08:54 +00:00
MananTank 5de5c44985 Only show Nebula tab if already on waitlist, automatically join waitlist on Nebula page visit (#5419)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `ShareButton` component and refactors the handling of the Nebula waitlist across various pages, enhancing user experience with waitlist functionalities and error handling.

### Detailed summary
- Added `ShareButton` component for sharing waitlist links.
- Refactored `TeamLayout` to conditionally render the `Nebula` path based on waitlist status.
- Updated `NebulaWaitListPage` to handle team fetching and waitlist joining.
- Replaced `JoinNebulaWaitlistPage` with `NebulaWaitListPage`.
- Simplified storybook stories for waitlist pages.
- Improved error handling for waitlist status fetching.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-14 16:47:46 +00:00
gregfromstl 3488281958 [CI] Chore: Update PR stale time to 7 days (#5417)
CNCT-2336

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the configuration for stale issues and pull requests in the `.github/workflows/stale.yml` file, reducing the inactivity duration before marking them as stale and the time before they are closed.

### Detailed summary
- Changed `days-before-stale` from 30 to 7.
- Changed `days-before-close` from 5 to 2.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-14 05:56:10 +00:00
ianandGitHub c93755e6f6 [Documentation] Feature: Add page for supported chains on insight (#5412) 2024-11-13 18:05:38 -08:00
gregfromstl 55a00c441e [Documentation] Fix: Rename framworks.svg to frameworks.svg (#5403) (#5416)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on modifications to the SVG file located at `apps/portal/public/icons/feature-cards/framworks.svg`, likely to update the design or improve the icon representation.

### Detailed summary
- Updated the SVG file `framworks.svg` to reflect design changes.
- Adjusted the dimensions and paths within the SVG for better rendering.
- Enhanced visual elements to improve clarity and aesthetics.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-14 01:01:38 +00:00
dirtycajunrice 761417cc1a [Documentation] Feature: Unreal Docs (#5363)
## Problem solved
Updated Docs for Unreal Engine

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily updates the `@dirtycajunrice/klee` dependency, enhances the sidebar structure for Unreal Engine blueprints, and adds new functionalities for building hrefs and contract interactions in the application.

### Detailed summary
- Updated `@dirtycajunrice/klee` from `^1.0.1` to `^1.0.5`.
- Introduced `hrefBuilder` function in `util.ts` to construct href links.
- Added `blueprints` and `cpp` link groups in the sidebar.
- Updated various blueprint pages with new content and structure.
- Enhanced contract interaction nodes for reading and writing contracts.

> The following files were skipped due to too many changes: `apps/portal/src/app/unreal-engine/blueprints/engine/nodes.ts`, `apps/portal/src/app/unreal-engine/blueprints/in-app-wallet/nodes.ts`, `apps/portal/src/app/unreal-engine/blueprints/smart-wallet/nodes.ts`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-14 00:52:12 +00:00
MananTank f331f01225 Add /nebula framer rewrite in dashboard (#5414)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the routing paths in the `apps/dashboard/framer-rewrites.js` file by adding a new route and modifying existing ones.

### Detailed summary
- Added the route `"/nebula"`.
- Changed the `"/connect/sign-in"` route to `"/connect/sign-in"` (no change).
- Modified the `"/contracts/modular-contracts"` route.
- Modified the `"/contracts/explore"` route.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-13 22:43:22 +00:00
joaquim-verges 7bbe60f2be [Dashboard] Fix: Only use paymaster for sophon testnet chain (#5392)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the handling of transactions for the `sophon` testnet, specifically for zk chains. It introduces a special case for transactions that ensures the use of an EIP-712 transaction format along with a paymaster.

### Detailed summary
- Removed the general check for zk chains on testnets.
- Added a specific condition for the `sophon` testnet (chain ID `531050104`).
- Ensured that transactions on the `sophon` testnet always use EIP-712 format and include paymaster data.
- Simplified the transaction handling by removing unnecessary error handling logic.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-13 20:29:31 +00:00
gregfromstl 9f9b67da5f [Dashboard] Feature: Adds github as a login option (#5411)
CNCT-2357

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces wallet integration into the login functionality of the application, allowing users to connect using various wallet options.

### Detailed summary
- Added wallet integration by importing `createWallet` and `inAppWallet` from `thirdweb/wallets`.
- Defined a `wallets` array containing multiple wallet options including `inAppWallet` and various `createWallet` instances.
- Updated the `CustomConnectEmbed` component to utilize the new `wallets` array for authentication.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-13 20:14:24 +00:00
MananTank 24a53e3b82 [Dashboard] Refactor: Migrate usage/storage page to shadcn+tailwind (#5408)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `storage` section of the dashboard by introducing new components for guides, SDK integration, and file management, along with refactoring existing code for improved structure and readability.

### Detailed summary
- Deleted `TWQueryTable.tsx` and `RelevantDataSection.tsx`.
- Added `GuideSection` and `SDKSection` components for documentation and SDK integration.
- Introduced a new `GuidesSection` function to display links and videos.
- Refactored `YourFilesSection` to use a table format and improved pagination.
- Replaced `ChakraProviderSetup` with a simpler layout in the main `Page` component.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-13 19:21:51 +00:00
MananTank 9ea155e4f4 [Dashboard] Refactor: Migrate CodeSegment to shadcn/tailwind + Improved UI (#5407)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the code related to `CodeSegment` and `CodeEnvironment`, moving them to a new location and updating their usage across various components. It also introduces a new `CodeSegment` component with improved functionality.

### Detailed summary
- Deleted `types.ts` and `CodeSegment.tsx` from `contract-tabs`.
- Introduced `CodeSegment` and `CodeEnvironment` in `code-segment.client.tsx`.
- Updated imports in multiple files to use the new `CodeSegment` and `CodeEnvironment`.
- Enhanced `CodeSegment` to manage code snippets for different environments.
- Added stories for `CodeSegment` in `code-segment.stories.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-13 19:21:51 +00:00
MananTank fae444da66 [Dashboard] Feature: Add Nebula Waitlist page (#5406)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new feature for managing a "Nebula" waitlist within a team dashboard. It adds new routes, components, and API functions to facilitate joining the waitlist and fetching its status.

### Detailed summary
- Added a new route for `Nebula` under the team and project slugs.
- Implemented `JoinNebulaWaitlistPage` component for handling waitlist interactions.
- Created `joinTeamWaitlist` API function for server-side waitlist management.
- Added `getTeamNebulaWaitList` API function to fetch waitlist status.
- Updated existing pages to integrate the new waitlist functionality.
- Enhanced UI components for displaying waitlist status and actions.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-13 19:11:05 +00:00
jnsdls b30c4d0484 [Dashboard] Fix: Handle null publisher profile (#5372) 2024-11-13 18:42:44 +00:00
iuwqyir 6b853df3d2 adds documentation to insight and adds it to chainslist (#5376)
## Problem solved

[BLOCK-325
](https://linear.app/thirdweb/issue/BLOCK-325/add-insight-to-thirdweb-chainslist)

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the `Insight` feature into the application, enhancing blockchain data querying capabilities. It includes new components, routes, and metadata to support the functionality, along with the addition of icons and documentation for better user guidance.

### Detailed summary
- Added `Insight` link in `Header.tsx`.
- Updated `chain.ts` and `metadata.ts` to include `Insight`.
- Implemented `InsightSection` in `page.tsx`.
- Created `sidebar` for `Insight` in `sidebar.tsx`.
- Developed `Layout` for `Insight` in `layout.tsx`.
- Added `InfraInsightIcon` in `index.ts`.
- Created `InsightIcon` in `icons` directory.
- Introduced `Insight` pages in `page.mdx`, `blueprints/page.mdx`, `get-started/page.mdx`, and `use-cases/page.mdx`.
- Added SVG for `Insight` icon in `public/og/icons`.
- Enhanced documentation for `Insight` with use cases and blueprints.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-13 18:02:11 +00:00
Toomas OosaluandGitHub e841bfe081 remove nebula from service list (#5409) 2024-11-13 09:21:20 -08:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
e0c641c9cd Version Packages (#5352)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-14 05:57:00 +13:00
a1fc436a92 [SDK] Feature: Adds EIP-1193 Adapter (#5354)
Co-authored-by: gregfromstl <[email protected]>
2024-11-14 04:36:11 +13:00
kien-ngo b30177c518 [Dashboard] Remove tw-components <Badge /> (#5370)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the usage of the `Badge` component across various files, simplifying its props and styling. It also removes the `Badge` component from some files and updates imports accordingly.

### Detailed summary
- Deleted `badge.tsx` file.
- Removed `Badge` imports and usage in several components, replacing them with simpler implementations.
- Updated `Badge` usage to use class names for styling instead of props in multiple components.
- Adjusted the `Badge` component's props to reduce complexity and improve readability.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-13 02:15:42 +00:00
iuwqyir 040e478ad6 add nebula service definition (#5401)
## Problem solved

https://linear.app/thirdweb/issue/BLOCK-412/add-api-key-scope

Added Nebula service scope to the service definitions and included it in the hidden services list.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the `nebula` service scope to the project and updates the related configurations and validations accordingly. It also modifies the pull request body check to include the `BLOCK` keyword.

### Detailed summary
- Added `nebula` service scope in `packages/service-utils/src/core/services.ts` with properties: `name`, `title`, and `description`.
- Updated `HIDDEN_SERVICES` in `apps/dashboard/src/components/settings/ApiKeys/validations.ts` to include `nebula`.
- Modified the pull request body check in `.github/workflows/linear.yml` to include `BLOCK`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-12 22:51:51 +00:00
ElasticBottle 6771cfed62 Winston/cnct 2311 pro cannot sign transaction with in app wallet (#5390)
## Problem solved

https://linear.app/thirdweb/issue/CNCT-2311/pro-cannot-sign-transaction-with-in-app-wallet

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the transaction signing process in the `enclave-wallet` by ensuring proper type checks for various transaction properties, specifically handling cases for `bigint` and `number` types.

### Detailed summary
- Updated the handling of `tx.value`, `tx.gas`, `tx.nonce`, `tx.maxPriorityFeePerGas`, and `tx.gasPrice` to check their types before processing.
- Ensured that `tx.value`, `tx.gas`, and `tx.maxPriorityFeePerGas` are only processed if they are of type `bigint`.
- Adjusted the handling of `tx.nonce` to support both `number` and fallback to `eth_getTransactionCount`.
- Maintained a 10% buffer for `tx.gas` calculations.
- Updated the assignment of `transaction.maxFeePerGas` and `transaction.type` based on the presence of `tx.maxFeePerGas`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-12 22:15:04 +00:00
MananTank ff188fd49d Replace prism+chakra Code component with shiki+tailwind (#5393)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring code related to code blocks in the UI by replacing the `CodeBlock` component with a new `CodeClient` component and introducing a `PlainTextCodeBlock` for plain text display. It also updates styles and dependencies.

### Detailed summary
- Removed `CodeBlock` component from various files.
- Introduced `CodeClient` component for enhanced code rendering.
- Added `PlainTextCodeBlock` for displaying plain text.
- Updated styles in `globals.css` for dark mode support.
- Added new utility functions for code formatting.
- Updated dependencies in `package.json` and `pnpm-lock.yaml`.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-12 21:58:05 +00:00
gregfromstl 512eeb5cf0 fix: unstoppable domains test (#5389)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR modifies the test suite for resolving addresses with `Unstoppable Domain`. It updates the test structure to conditionally run based on the presence of `TW_SECRET_KEY` and retains the existing test logic.

### Detailed summary
- Changed `describe` to conditionally run with `describe.runIf(process.env.TW_SECRET_KEY)`.
- Retained the test for resolving a valid address.
- Retained the test for handling a non-existent domain name.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-12 20:57:25 +00:00
gregfromstl a1707f66f3 [SDK] Fix: Add JSDoc documentation for getSocialIcon function (#5395)
CNCT-2324

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the documentation for the `getSocialIcon` function, providing a detailed JSDoc comment that explains its purpose, parameters, return value, and includes usage examples.

### Detailed summary
- Added a JSDoc comment for the `getSocialIcon` function.
- Described the function's purpose, parameters, return value, and provided usage examples.
- Changed the return type of `getSocialIcon` to explicitly specify it returns a `string`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-12 20:13:54 +00:00
MananTank f31801e790 ignore invalid module search param in deploy page (#5396)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the handling of the `module` parameter in the `searchParams` to support both an array and a string. It ensures that the code correctly processes the `module` regardless of its type.

### Detailed summary
- Updated `module` type in `searchParams` to allow both `string[]` and `string`.
- Modified the logic to handle `searchParams.module` as a string or an array.
- Ensured that `modules` is derived correctly from `moduleParam`, defaulting to an empty array if no valid modules are found.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-12 19:52:35 +00:00
gregfromstl ef56304195 [SDK] Feature: Adds Ox for Hex and Bytes Utilities (#5366)
CNCT-2296

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `thirdweb` package to replace internal utility functions with a new library called `ox`, enhancing code efficiency and maintainability.

### Detailed summary
- Removed several utility files related to encoding and hex operations.
- Integrated `ox` library for hex and byte operations.
- Updated tests to reflect changes in utility functions.
- Increased size limits in `.size-limit.json`.
- Modified hash verification logic in `verify-hash.ts`.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-12 19:40:31 +00:00
MananTank daae1dce85 Update condition for showing verify email button in faucet claim section (#5394)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the email verification logic for claiming from the faucet in the `FaucetButton` component. It changes the condition to check for both unconfirmed email and the absence of a confirmed email.

### Detailed summary
- Modified the condition to check if `emailConfirmedAt` is falsy and if `unconfirmedEmail` is truthy.
- Removed the previous check for `accountQuery.data.status === "noCustomer"`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-12 19:29:20 +00:00
Joaquim VergesandGitHub afb6343198 feat: add lens sepolia, zero testnet, and treasure topaz chains (#5391) 2024-11-13 04:32:55 +13:00
kien-ngo 7d34a8f50c Add Drop page for minting NFTs with partners (#5307)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `Dashboard` layout and functionality for NFT drops, including improved metadata handling, wallet connection, and minting features.

### Detailed summary
- Added `AppFooter` and `ErrorProvider` in `DashboardLayout`.
- Introduced `DropPageData` type in `data.ts`.
- Enhanced `NftMint` component with quantity selection and custom address options.
- Integrated OpenGraph image generation for NFT drops.
- Updated `CustomConnectWallet` to accept `chain` prop.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-12 14:39:19 +00:00
MananTank 9584885f42 Updated 404 page in dashboard, Add to App router (#5387)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/cb7fcb59-0d12-4072-a426-3c9863302d1f.png)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on creating a new `NotFound` page component and refactoring the existing 404 page to utilize this new component, improving code organization and reusability.

### Detailed summary
- Added `NotFoundPage` component in `apps/dashboard/src/components/not-found-page.tsx`.
- Created a structured layout for the 404 error message with links.
- Refactored the `PageNotFound` component in `apps/dashboard/src/pages/404.tsx` to use the new `NotFoundPage`.
- Removed unused imports and components related to the old 404 page design.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-11 22:46:19 +00:00
MananTank c6310e60d5 Move deploy multiple and publish multiple pages to app router + migrate to shadcn/tailwind (#5381)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on the removal of several components and hooks related to contract deployment and publishing, while introducing new pages and components for handling these processes more effectively, including improved loading states and contract metadata handling.

### Detailed summary
- Deleted several files related to contract hooks and components.
- Introduced `DeployMultipleContractsPage` and `PublishMultipleContractsPage` for contract deployment and publishing.
- Added `SanctionedAddressesChecker` to handle blocked wallet addresses.
- Updated `DeployableContractTable` to fetch and display contract metadata.
- Refactored `ContractIdImage` to utilize fetched metadata directly.
- Changed table structure in `DeployableContractTable` to use new UI components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-11 20:42:42 +00:00
MananTank dc0ea8a286 Catch fetchDeployMetadata error and redirect to 404 (#5380)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances error handling in the `page.tsx` files for the `publish` and `deploy` routes. It introduces checks to call `notFound()` when metadata cannot be fetched, improving user experience by handling cases where the requested data is unavailable.

### Detailed summary
- In `apps/dashboard/src/app/(dashboard)/contracts/publish/[publish_uri]/page.tsx`:
  - Added a check for `publishMetadataFromUri` and called `notFound()` if it is not present.

- In `apps/dashboard/src/app/(dashboard)/contracts/deploy/[compiler_uri]/page.tsx`:
  - Added a check for `metadata` and called `notFound()` if it is not present.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-11 18:28:30 +00:00
MananTank e4b40080f4 Remove invalid modules loading spinner in contract deploy page (#5379)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on simplifying the conditional rendering of the `ModularContractDefaultModulesFieldset` component by removing unnecessary nested ternary operators and improving code readability.

### Detailed summary
- Removed nested ternary operator for rendering `ModularContractDefaultModulesFieldset`.
- Simplified the condition to check if `modules` exists and has length greater than 0.
- Streamlined the rendering logic for better readability.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-11 16:13:04 +00:00
kien-ngo a1b518c676 [Dashboard] Remove tw-components Button from contract action-buttons (#5369)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the button components across various files to standardize the usage of the `Button` component from the `@/components/ui/button` module, updating properties for consistency, and improving the UI elements.

### Detailed summary
- Replaced `Button` imports from `tw-components` with `@/components/ui/button`.
- Changed `colorScheme` to `variant` for button styling.
- Updated `isDisabled` to `disabled` for button state management.
- Added `className="gap-2"` for consistent spacing.
- Modified button content to include icons before text.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-11 00:09:22 +00:00
kien-ngo 8c1fa1b7b4 [Dashboard] Remove tw-components from claim condition UI (#5368)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the user interface and functionality of the `claim-conditions` components in the dashboard application. It enhances accessibility, updates styling, and refines the input handling for claim conditions.

### Detailed summary
- Updated `MaxClaimablePerWalletInput` to use `className` for styling and added a `target` attribute to the `Link`.
- Simplified `CustomFormControl` by replacing `Heading` with `FormLabel`.
- Changed `Text` components to `p` tags in `PricePreview` for better semantic structure.
- Refactored `QuantityInputWithUnlimited` to use new UI components and improved props handling.
- Enhanced `ClaimConditionsPhase` layout with Tailwind CSS classes, replacing Chakra UI components.
- Updated button styles and functionalities, including the removal button and editing toggle.
- Improved readability and structure of the phase details display.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-11 00:09:20 +00:00
kien-ngo 453e45bd52 [Dashboard] Remove tw-components from marketplace components (#5367)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing the `tw-components` library's `Text` and `Heading` components with standard HTML elements like `<p>` and `<div>` to simplify the code structure and improve styling consistency across various components in the dashboard.

### Detailed summary
- Replaced `Text` components with `<p>` in `csv-data-table.tsx`, `ContractDirectListingsPage.tsx`, and `ContractEnglishAuctionsPage.tsx`.
- Changed `Heading` components to `<p>` in multiple files for consistency.
- Updated button variants from `solid` to `default` in `marketplace-table.tsx`.
- Removed unnecessary imports of `Text` and `Heading` from `tw-components` in several files.
- Adjusted styling classes for better alignment and consistency.
- Enhanced layout structure in the `ListingDrawer` and `CreateListingsForm` components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-11 00:09:18 +00:00
MananTank 07af647067 Migrate profile page to tailwind and Move to app router and use RSCs (#5364)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on updating the profile management features within the application. It introduces new functionalities for resolving addresses and fetching published contracts while enhancing the user interface for profile editing.

### Detailed summary
- Removed unused files from the project.
- Updated `replaceDeployerAddress` to include a specific address replacement.
- Changed `PlaygroundMenu` to use `useDashboardRouter`.
- Enhanced `getSortedDeployedContracts` to handle mainnet filtering.
- Made `mapThirdwebPublisher` an exportable function.
- Added `resolveAddressAndEns` for address resolution.
- Introduced `PublishedContracts` component to display published contracts.
- Modified `DeployedContracts` to simplify contract listing logic.
- Updated `ProfileUI` to fetch and display publisher profiles.
- Enhanced `EditProfile` component for better profile editing experience.
- Improved `PublisherSocials` to streamline social media links.
- Added loading states and error handling in various components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-09 01:44:53 +00:00
gregfromstl 535e1df9a3 [Dashboard] Fix: More Analytics Cleanup (#5365)
CNCT-2294

https://github.com/user-attachments/assets/29e5e8e7-ff03-46ff-aa68-4f8e13fe323f

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring components and improving the organization of analytics-related files. It updates titles in story files, introduces new components, and modifies existing ones to enhance functionality and maintainability.

### Detailed summary
- Updated story titles in `Stat`, `BarChart`, `PieChart`, `EmptyState`, and `CombinedBarChartCard` components.
- Added `InAppWalletStats`, `EcosystemWalletStats`, and `UserOpStats` types for better analytics data handling.
- Refactored `createUserOpStatsStub` to return `UserOpStats[]`.
- Enhanced `BarChart` and `CombinedBarChartCard` to support currency formatting.
- Introduced `EmptyStateCard` component for better UI handling of no data scenarios.
- Removed deprecated `UserOpStatsByChain` type and updated related functions.
- Improved data fetching functions to align with new analytics structure.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-09 00:54:41 +00:00
jnsdls a9375ce593 update homepage routing and redirects (#5362) 2024-11-08 21:55:41 +00:00
60eec0344d feat: use paymaster for all zk testnet chains (#5358)
Co-authored-by: 0xFirekeeper <[email protected]>
2024-11-09 09:59:39 +13:00
MananTank 2e641f816a Migrate usage page to tailwind, render on server + Improved UI (#5361)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/e0bad265-504c-4eab-811c-ece0607a6852.png)
2024-11-08 20:21:50 +00:00
MananTank c8ad066cf2 Dashboard storybook minor cleanup + fix crashing stories (#5359)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on updating the titles in various story files to follow a consistent naming convention, improving UI component integration, and enhancing the use of the `getThirdwebClient()` function across multiple components.

### Detailed summary
- Updated titles in story files for consistency.
- Modified `StatBreakdownCard` to use a max width.
- Integrated `getThirdwebClient()` in multiple components.
- Adjusted `AccountTeamsUI` and `TeamRow` to accept `client` as a prop.
- Enhanced theme handling in the Storybook preview.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-08 18:07:30 +00:00
kien-ngo 0bba41446b [Dashboard] Fix padding issue on NFT tab buttons (#5357)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the environment configuration and modifies a component in the dashboard application to enhance functionality and maintainability.

### Detailed summary
- Added `ANALYTICS_SERVICE_URL` to the `.env.example` file.
- Updated `REDIS_URL` in the `.env.example` file.
- Refactored the `ButtonGroup` component in `token-id.tsx` to streamline the JSX structure by removing unnecessary line breaks and attributes.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-08 09:39:12 +00:00
kien-ngo 6dda1c242e [Dashboard] Fix overflow on team overview page (#5356)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on modifying the layout of the `PieChartCard` component in the `Analytics` section of the dashboard. It changes a `div` class to improve the responsiveness and wrapping behavior of the child elements.

### Detailed summary
- Changed the class of a `div` from `flex-nowrap` to `flex-wrap` to allow child elements to wrap in the `PieChartCard`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-08 09:01:21 +00:00
jnsdls 6b1f4184a4 update deps and fix turbopack build? (#5345)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating various package dependencies and adjusting import paths in multiple files, ensuring compatibility and improvements in the application.

### Detailed summary
- Updated `@cloudflare/workers-types` to version `4.20241106.0`.
- Adjusted import paths in `engine-list.tsx` and `publish-submit.tsx`.
- Updated several dependencies in `package.json` files across multiple apps:
  - `@aws-sdk` packages to version `3.687.0`.
  - `@tanstack/react-query` to version `5.59.20`.
  - `next` to version `15.0.3`.
  - `eslint-config-next` to version `15.0.3`.
- Modified scripts in `dashboard/package.json` for build optimizations.
- Updated `@next/mdx` to version `15.0.3`.
- Various other minor dependency updates across packages.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-08 06:03:18 +00:00
gregfromstl 9910a0230a [Dashboard] Feature: Team Analytics Page (#5353)
CNCT-2291

https://github.com/user-attachments/assets/163c5eb5-c4dc-4d0f-a6aa-099a321148e8

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring components related to analytics in the dashboard. It replaces the `ProjectOverviewHeader` with an `AnalyticsHeader`, updates various components to enhance functionality, and introduces new analytics-related features.

### Detailed summary
- Deleted `Steps.tsx` and `HomeProductCard.tsx`.
- Replaced `ProjectOverviewHeader` with `AnalyticsHeader` in various files.
- Updated `projectStub` function to remove the export.
- Introduced new components for analytics: `UsersChartCard`, `WalletDistributionCard`, `AuthMethodDistributionCard`, `TotalSponsoredCard`, and `UserOpUsageCard`.
- Enhanced `EmptyState` component styling and functionality.
- Adjusted imports to reflect new component paths.
- Added new fetching functions for analytics data: `getWalletConnections`, `getInAppWalletUsage`, `getUserOpUsage`, and `getWalletUsers`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-08 05:42:02 +00:00
ElasticBottle 9572db007a [Dashboard]: fix client ID not being passed correctly to in app wallet user content (#5355)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `Page` component in the `in-app-wallets/users` directory by adding error handling for project retrieval and updating the `clientId` property passed to `InAppWalletUsersPageContent`.

### Detailed summary
- Imported `notFound` from `next/navigation`.
- Fetched the `project` using `getProject` based on `team_slug` and `project_slug`.
- Added a check to call `notFound()` if the `project` is not found.
- Updated `clientId` prop in `InAppWalletUsersPageContent` to use `project.publishableKey`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-08 04:15:45 +00:00
gregfromstl 5de541878c [SDK] Feature: Include chain ID in analytics events (#5343)
CNCT-2138

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding the `chainId` to various components and functions within the `thirdweb` package, enhancing analytics tracking and wallet creation processes by including chain-specific information.

### Detailed summary
- Added `chainId` to `TransactionModal.tsx` for analytics.
- Updated `ConfirmationScreen.tsx` to use `fromToken.chainId`.
- Included `chainId` in wallet creation functions across multiple wallet types.
- Modified `trackConnect` to accept `chainId` in its arguments.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-08 01:44:33 +00:00
Joaquim VergesandGitHub 46d0b4bdc0 fix: use maxFeePerGas for Pay gas estimations (#5349) 2024-11-08 14:26:54 +13:00
Joaquim VergesandGitHub 1e7e32f2cb feat: Support sophon testnet (#5335) 2024-11-08 14:10:52 +13:00
gregfromstl d34357e0a9 [Dashboard] Fix: Cleanup dashboard UI (#5344)
CNCT-2282

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring components related to analytics and charts in the dashboard, removing unused components, improving data handling, and enhancing UI elements for better responsiveness and clarity.

### Detailed summary
- Deleted `ConnectSDKCard.tsx` and `ConnectAnalyticsDashboard.tsx` files.
- Removed the `Analytics` link from the sidebar.
- Enhanced `PieChartCard` and `BarChart` components with better data mapping and UI adjustments.
- Updated `RangeSelector` to handle local state for range and interval.
- Removed unused API functions related to wallet usage.
- Improved data filtering logic in `WalletDistributionCard` and `AuthMethodDistributionCard`.
- Adjusted image rendering for better layout consistency in charts.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-08 00:32:04 +00:00
arcoraven 03ce8816ce fix: Engine wallet selector dropdown (#5347)
https://linear.app/thirdweb/issue/INFRA-409/fix-engine-wallet-dropdown-bug-in-dashboard

<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the backend wallet management by refining wallet type options and improving the user interface for wallet actions. It introduces restrictions on importing smart backend wallets and updates the icons in the wallet management table.

### Detailed summary
- Added a comment to disallow importing smart backend wallets.
- Filtered `EngineBackendWalletOptions` to exclude keys starting with "smart:".
- Replaced `Trash2Icon` with `PencilIcon` for the edit action in the `BackendWalletsTable`.
- Updated logic for checking wallet configuration to simplify conditions.
- Improved `onValueChange` handler in `CreateBackendWalletButton`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-07 23:22:49 +00:00
gregfromstl 2d99708c45 fix: flaky test (#5346)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on modifying the test for switching chains in the `smart-wallet-integration.test.ts` file. It simplifies the test by removing the transaction execution and balance verification, only asserting that the wallet's chain ID matches the expected value.

### Detailed summary
- Removed the creation of the `baseSepoliaEdition` contract instance.
- Eliminated the transaction sending and confirmation logic.
- Removed balance checking for the `baseSepoliaEdition` contract.
- Added an assertion to check if the wallet's current chain ID matches `baseSepolia.id`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-07 21:45:29 +00:00
MananTank aa46e27d7c Replace legacy dashboard with Teams and Projects dashboard (#5327)
## Changes Summary

### Huge changes
* Delete all `/dashboard/**` pages and make the `/team` the default
* Rename all the links `/dashboard/**` to the new equivalent + Setup redirects

### New pages Added in team and account layouts
* `/account/contracts`
* `/team/<team-slug>/~/contracts`
* `/account/devices`
* new team overview page
* `/team/<team-slug>/~/usage/storage`

### Pages Moved
* Engine pages moved from project to team
* Ecosystem pages moved from project to team
* Team's projects page moved to /projects ( `/team/<team-slug>/~/projects` )

### Links to these pages removed for now (page not deleted) in new dashboard because they are not yet ready
* `/account/wallets`, `/account/settings`

### Minor changes
* Add the `AutoConnect` component directly where we render `ThirdwebProvider` so it is always triggered and not only when certain components are rendered, and remove AutoConnect at component level
* Move `/chain/validate` to app router inside (dashboard) layout
* Remove unnecessary breadcrumb on /explore base page
* Various UI adjustments / improvements
* Add billing alerts on top of all team, project, account pages

### Fixes
* Fix theme switcher not working sometimes in app router
* Engine pages crashing in team dashboard
* Revert color changes done in a recent a PR, fix colors in project header, app footer done.
* Fix Team avatar not resolving IPFS
* Fix various react warnings
* Fix missing Overview tab on the ecosystem page

### Improvements
* Reduced redirects on in-app-wallets and connect analytics page by making the landing page the default. For example: render analytics on `/connect/in-app-wallets` instead of landing on `/connect/in-app-wallets` and then redirecting to `/connect/in-app-wallets/analytics` and then rendering the page )
2024-11-07 20:26:29 +00:00
gregfromstl 9f9410a77a [Dashboard] Feature: Project Overview (Analytics) Page (#5340)
CNCT-2182
CNCT-2180
CNCT-2177
CNCT-2179
CNCT-2178
CNCT-2176

https://github.com/user-attachments/assets/5c676ec4-ca2f-4796-880a-944636f9f0d5

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the analytics components in the dashboard by introducing new stats interfaces, updating existing components to utilize these stats, and improving the layout and functionality of various charts and cards.

### Detailed summary
- Added `WalletUserStats` interface.
- Updated `ProjectOverviewHeader` to accept `interval` and `range`.
- Enhanced `Stat` component to display trends with badges.
- Introduced `PieChart`, `BarChart`, and `CombinedBarChartCard` components.
- Updated `EmptyState` messaging.
- Improved layout in several components for better responsiveness.
- Added new stories for `PieChartCard`, `StatBreakdownCard`, and others in Storybook.
- Refactored data fetching functions to support new stats.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-07 18:33:42 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
2579525ec5 Version Packages (#5333)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-07 10:31:32 -08:00
joaquim-verges 1db950e678 fix: make encryption key optional for custom auth wallets (#5341)
## Problem solved

fixes CNCT-2269

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on making the `encryptionKey` optional for in-app and ecosystem wallets' custom authentication methods, enhancing security by discouraging hardcoding sensitive information.

### Detailed summary
- Updated `SingleStepAuthArgsType` to make `encryptionKey` optional for both `jwt` and `auth_endpoint` strategies.
- Removed hardcoded `encryptionKey` from various authentication examples in documentation.
- Emphasized the use of environment variables or user input for `encryptionKey`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-07 17:49:53 +00:00
gregfromstl 3a65faea2b [Portal] Docs: adds SiteEmbed and SiteLink to docs (#5334)
CNCT-2266

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a new section titled "Advanced" to the sidebar in the `sidebar.tsx` file, which includes links to UI components. This enhances the navigation structure, providing users with easier access to specific features.

### Detailed summary
- Added a new section `Advanced` to the sidebar.
- Set `isCollapsible` to `false` for the `Advanced` section.
- Included a `links` array under `Advanced` with a link to `UI Components`.
- Mapped `SiteEmbed` and `SiteLink` to create individual links with names, hrefs, and icons.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-07 17:32:43 +00:00
kien-ngo 164b70b9f4 [Dashboard] Fix falsy logic when updating Royalties and PlatformFees (#5342)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refining the validation logic for platform fees and royalties in the settings components by removing default values and error handling that were previously in place. This aims to enhance clarity and enforce valid user input.

### Detailed summary
- Removed default values for `platform_fee_basis_points` and `platform_fee_recipient` in `platform-fees.tsx`.
- Removed error handling for invalid `platform_fee_basis_points` and `platform_fee_recipient` in `platform-fees.tsx`.
- Removed default values for `seller_fee_basis_points` and `fee_recipient` in `royalties.tsx`.
- Removed error handling for invalid `seller_fee_basis_points` and `fee_recipient` in `royalties.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-07 17:07:38 +00:00
kien-ngo b2adc8d671 [Dashboard] Remove tw-components Drawer (#5337)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing the `Drawer` component with a `Sheet` component in the `TransactionDetailsDrawer`. It also updates the props and layout to accommodate this change, enhancing the user interface for displaying transaction details.

### Detailed summary
- Deleted `drawer.tsx` file.
- Removed `export * from "./drawer"` from `index.ts`.
- Replaced `Drawer` component with `Sheet` in `TransactionDetailsDrawer`.
- Updated props to include `setSelectedTransaction`.
- Adjusted layout and styling for the new `Sheet` component.
- Maintained functionality for transaction details display.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-07 22:45:25 +07:00
kien-ngo 7b88a08610 [Dashboard] Remove Drawer from Snapshot upload (#5336)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the `SnapshotUpload` component by refactoring its structure, enhancing the CSV upload functionality, and updating the UI to utilize a `Sheet` component instead of a `Drawer`. It also modifies the `CsvDataTable` for better rendering.

### Detailed summary
- Replaced `Drawer` with `Sheet` in `SnapshotUpload`.
- Added `snapshotIndex`, `index`, and `setOpenSnapshotIndex` props to `SnapshotUpload`.
- Updated the `CsvDataTable` rendering logic for better structure.
- Enhanced the CSV upload instructions and requirements display.
- Modified button styles for consistency and responsiveness.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-07 22:45:24 +07:00
kien-ngo 5216befe60 [Dashboard] Abstract code for CSV upload form (#5324)
DASH-372

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the CSV upload functionality by refactoring components to use a new `useCsvUpload` hook, which centralizes CSV processing logic. It introduces a `CsvDataTable` component for displaying data and improves address validation in the airdrop and snapshot upload processes.

### Detailed summary
- Introduced `CsvDataTable` component for displaying CSV data.
- Refactored `AirdropUpload` and `SnapshotUpload` to use `useCsvUpload` hook.
- Centralized CSV parsing logic in `csvParser` functions.
- Improved address validation and error handling in CSV uploads.
- Removed redundant address checking functions from `AirdropUpload` and `SnapshotUpload`.
- Enhanced pagination and UI updates in CSV data tables.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-07 22:45:24 +07:00
ElasticBottle f81c1afeef [Dashboard]: enable download of all user data at once (#5320)
https://linear.app/thirdweb/issue/DASH-398/enish-cant-download-wallet-addresses-from-dashboard

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `useEmbeddedWallets` hook by adding a new function, `fetchAccountList`, and introduces a new hook, `useAllEmbeddedWallets`, for fetching wallet data. It also improves the CSV download functionality in the `InAppWalletUsersPageContent` component.

### Detailed summary
- Added `fetchAccountList` function to handle API calls for fetching wallet accounts.
- Introduced `useAllEmbeddedWallets` hook for batch fetching wallet data across multiple pages.
- Updated `useEmbeddedWallets` to use `fetchAccountList`.
- Enhanced CSV download logic to handle cases when no wallets are available.
- Integrated loading spinner in the download button to indicate pending actions.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-07 12:57:15 +00:00
kien-ngo 022e403125 [Dashboard] Remove MenuItem from tw-components (#5339)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on the removal of the `MenuItem` component from various files and updates related to `buttonSizesMap` and `PossibleButtonSize` type definitions.

### Detailed summary
- Deleted `MenuItem` export from `tw-components/menu.tsx`.
- Removed `MenuItem` import from `tw-components` in `DowngradeDialog.tsx` and `claim-conditions-form/index.tsx`.
- Changed `export const buttonSizesMap` to `const buttonSizesMap` in `button.tsx`.
- Updated `export type PossibleButtonSize` to `type PossibleButtonSize` in `button.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-07 05:31:09 +00:00
kien-ngo ea2815d33f [Dashboard] Remove TableContainer from tw-components (#5338)
DASH-417
2024-11-07 05:04:37 +00:00
kien-ngo 734707e28b [Dashboard] Remove Drawer from UpdateProfile section (#5323)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refining the profile editing interface in the dashboard. It replaces the `Drawer` component with a `Sheet` component for a more modern design and updates the profile avatar size, among other improvements in the form handling and UI elements.

### Detailed summary
- Changed `className` of `PublisherAvatar` from `"size-30"` to `"size-20"`.
- Replaced `Drawer` with `Sheet` for editing profiles.
- Updated button components and form structure for better usability.
- Enhanced error handling and notifications using `toast`.
- Simplified state management for the profile editing UI.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-06 23:34:39 +00:00
kien-ngo 1d3d016e0d [Dashboard] Remove <Drawer /> from SetSharedMetadata form (#5322)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `NFTSharedMetadataButton` and `SharedMetadataForm` components to replace the `Drawer` component from `@chakra-ui/react` with a `Sheet` component from `@/components/ui/sheet`. This change enhances the UI/UX for setting NFT metadata.

### Detailed summary
- Replaced `Drawer` with `Sheet` in `NFTSharedMetadataButton`.
- Updated state management from `useDisclosure` to `useState` for controlling visibility.
- Modified `SharedMetadataForm` to accept a `setOpen` prop for closing the `Sheet`.
- Removed `Drawer` specific components and replaced them with `Sheet` components.
- Updated transaction handling to use `sendAndConfirmTx` instead of `mutate`.
- Enhanced error handling with `toast` notifications for user feedback.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-06 23:34:38 +00:00
Stanley SzetoandGitHub d831cbf5ca Add UI for Mintable, Royalty, Claimable, Transferable, BatchMetadata and OpenEdition modules (#5219)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the functionality and UI of various components in the dashboard application, including forms, modules, and UI elements, while also introducing new dependencies and improving existing code structure.

### Detailed summary
- Updated `ContractEditModulesPageClient` to check for `localhost` chain.
- Added `gap-3` to `FormControl` class.
- Introduced `publisherAddress` in `useForm` default values.
- Refactored `CustomConnectWallet` for better prop handling.
- Added `helperText` to `FormFieldSetup`.
- Improved error message display spacing.
- Updated `DatePickerWithRange` for consistent styling.
- Changed `TransactionError` type to export.
- Enhanced error handling with `ErrorBoundary` in `ModuleCard`.
- Introduced new `useAllModuleContractInfo` hook for fetching module data.
- Added `PropertiesFormControl` for managing NFT attributes.
- Implemented various storybook components for UI consistency.
- Integrated `OpenEditionMetadata` and `Royalty` modules with improved form handling.
- Added loading states and notifications for asynchronous operations.
- Introduced `BatchMetadata` and `Claimable` modules with enhanced functionality.

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/BatchMetadata.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/Transferable.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/Mintable.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/Royalty.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/Claimable.tsx`, `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-06 14:54:43 -08:00
jnsdls 0ad80db089 fix postbuild cache (#5332) 2024-11-06 14:24:14 -08:00
MananTank ad77293e06 Fix missing description meta tag, add og:site_name in portal (#5331)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a `description` field and a `siteName` property to the metadata returned by the `createMetadata` function in the `metadata.ts` file.

### Detailed summary
- Added `description: obj.description` to the returned object in `createMetadata`.
- Added `siteName: "thirdweb docs"` to the returned object in `createMetadata`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-06 22:10:16 +00:00
gregfromstl f5f5ae63b4 [SDK] Feature: Adds SiteLink component (#5326)
Completes CNCT-2259

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the `SiteLink` component to facilitate wallet-aware linking between thirdweb-enabled sites, enhancing user experience by sharing wallet state seamlessly. It also updates the `SiteEmbed` component documentation and includes tests for the new `SiteLink`.

### Detailed summary
- Updated comment for `SiteEmbed` to reflect wallet connection usage.
- Added `SiteLink` component for creating links with wallet parameters.
- Provided usage example for `SiteLink` in documentation.
- Implemented tests for `SiteLink` to verify functionality and error handling.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-06 21:57:03 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
15358d7a0f Bump happy-dom from 15.10.1 to 15.10.2 in the npm_and_yarn group (#5329)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-06 12:54:26 -08:00
jnsdls 11d287b65b fix: DASH-410 (#5328)
FIXES: DASH-410

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on improving error handling and code clarity in the `apps/dashboard` project. It modifies the `package.json` script for development, enhances JWT response validation, and adjusts value handling in a hook for better consistency.

### Detailed summary
- Updated the `dev` script in `apps/dashboard/package.json` to remove `--turbopack`.
- Added error handling for missing JWT in `apps/dashboard/src/@/constants/thirdweb.client.ts`.
- Changed return value handling to ensure it returns a `BigInt` in `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_components/claim-conditions/claim-conditions-form/hooks.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-06 19:40:18 +00:00
Jonas DanielsandGitHub 562978fdc4 update dependencies (#5318) 2024-11-06 11:27:26 -08:00
kien-ngo d31e3dabf8 [Dashboard] Update supported chains for Moralis (#5319)
DASH-404
2024-11-06 18:05:08 +00:00
MananTank 882f59b24d Fix Select selection not working on mobile device - radix fix no longer required (#5321)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on simplifying the `ref` handling in the `SelectPrimitive.Content` component of the `select.tsx` file by removing a custom `ref` function and replacing it with a direct assignment. It also enhances the component's class names for better styling based on its state.

### Detailed summary
- Removed custom `ref` handling logic.
- Directly assigned `ref` to `SelectPrimitive.Content`.
- Updated `className` with various state-based styles for animations and positioning.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-06 16:37:51 +00:00
kien-ngo d8e7fae9c7 [SDK] Test coverage (#5316)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding new tests and enhancing the `padBytes` function in the `to-bytes.ts` file, along with implementing various utility functions for byte manipulation. It includes comprehensive test cases for hex strings, Uint8Arrays, and other conversions.

### Detailed summary
- Added JSDoc comment to `padBytes` function and exported it for testing.
- Introduced tests for `byteSize`, `assertSize`, `charCodeToBase16`, and `isHex` functions.
- Created tests for `padBytes`, `toBytes`, `boolToBytes`, `hexToBytes`, `numberToBytes`, and `stringToBytes` in `to-bytes.test.ts`.
- Enhanced test coverage for hex string conversions and error handling in byte manipulation functions.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-06 07:08:46 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
a0454793c9 Version Packages (#5310)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-06 20:00:04 +13:00
Joaquim VergesandGitHub b633293ef1 feat: auto-migrate in-app wallets to enclave system (#5217) 2024-11-06 19:12:45 +13:00
kien-ngo d65387bb3d [Dashboard] Fix ERC20 claim conditions (#5284)
Fix various issues with ERC20 claim conditions since we up'd it to v5 on the dashboard

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the handling of `tokenDecimals` for ERC20 tokens in the claim conditions form, ensuring that the application correctly manages and displays the maximum claimable supply and per wallet limits based on the token's decimal precision.

### Detailed summary
- Updated `MaxClaimableSupplyInput` and `MaxClaimablePerWalletInput` to disable inputs if `tokenDecimals` is not available.
- Changed `tokenDecimals` type from `number` to `number | undefined`.
- Enhanced fetching logic for `tokenDecimals` in the claim conditions form.
- Added error handling for missing `tokenDecimals` when submitting forms.
- Introduced conversion functions for handling ERC20 values in wei and display format.
- Updated `toBigInt` function to return `bigint | undefined`.
- Adjusted `toUnlimited` function to maintain clarity on unlimited values.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-06 05:26:50 +00:00
kien-ngo 418e3e487d [Dashboard] Update simplehash supported networks (#5317)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `alchemySupportedChainIdsMap` in the `apps/dashboard/src/lib/wallet/nfts/types.ts` file by adding new supported chains.

### Detailed summary
- Added new entries to `alchemySupportedChainIdsMap`:
  - `"sei"` with key `[1329]`
  - `"sei-atlantic-2"` with key `[1328]`
  - `"shape"` with key `[360]`
  - `"apechain"` with key `[33139]`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-06 03:48:47 +00:00
kien-ngo 9fb2a713c4 [Dashoard] Remove modular contracts beta tags (#5314)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `displayName` and removing the `isBeta` flag for the `modular-contracts` entry in the `explore.ts` file, indicating a shift from a beta status to a more stable release.

### Detailed summary
- Changed `displayName` from "Modular Contracts (Beta)" to "Modular Contracts".
- Removed the `isBeta` property set to `true`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-06 01:06:02 +00:00
ElasticBottle 87e736dacc [js] fix enclave wallet signing (#5315)
https://linear.app/thirdweb/issue/CNCT-2099/enclaves-malform-contract-call-transactions

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing an error related to ecosystem signing with data in the `thirdweb` wallet implementation. It adjusts how transaction details are processed, particularly the `to` and `data` fields.

### Detailed summary
- Updated the `to` field in the transaction object to use `getAddress(tx.to)` instead of a fallback to `undefined`.
- Changed the `data` field assignment to directly use `tx.data` without transformation.
- The rest of the transaction fields remain unchanged.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-06 00:58:34 +00:00
saminaandGitHub d7f161bcd3 added features and deprecated interact (#5313) 2024-11-05 16:06:41 -08:00
gregfromstl 880c3453ee [Dashboard] Feature: Overview Page Empty State (#5312)
Completes:
- CNCT-2181
- CNCT-2175

Adds the Project Overview page empty state, set to "Coming Soon" copy for now

![Screenshot 2024-11-05 at 12 44 44 PM](https://github.com/user-attachments/assets/25289323-777c-41a6-b51d-2a7cf795bb37)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on enhancing UI components, improving type exports, and refining styles across various files in the application. It introduces new features and fixes, particularly in the `ProjectOverviewHeader` and `EmptyState` components, while updating SVG assets.

### Detailed summary
- Updated `className` styles in `DatePickerWithRange` and `app-footer`.
- Exported `DurationId` type in `date-range-selector`.
- Added background styling in `layout.tsx`.
- Made `projectStub` function exportable.
- Adjusted CSS variables for light and dark themes in `globals.css`.
- Modified routing in `TeamOverviewPage` and `ProjectOverviewPage`.
- Enhanced `RangeSelector` to handle computed ranges.
- Introduced `EmptyState` and `ProjectOverviewHeader` components with new UI elements.
- Added new SVG assets for various icons.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-05 21:53:29 +00:00
joaquim-verges 180d563139 feat(dashboard): add default account factories table (#5308)
## Problem solved

Fixes CNCT-2225

![CleanShot 2024-11-05 at [email protected]](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/GGPGC1k4LEcpDtkOsVBe/d6321c9a-f6d9-42cd-af14-41165c2ace6d.png)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `AccountFactories` component by introducing a section for default account factories and a table to display them. It improves user guidance on deploying custom factories and organizes the layout for better clarity.

### Detailed summary
- Added a section for default account factories with a description and link.
- Introduced `TWTable` to display default account factories (`AccountFactory (v0.6)` and `AccountFactory (v0.7)`).
- Created a new section for user account factories with relevant information and a link.
- Defined `DefaultFactory` type and created table columns using `createColumnHelper`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-05 20:30:22 +00:00
kien-ngo 43b7c27b34 [Dashboard] Improve faucet claim (#5226)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the functionality of the `Faucet` feature in the dashboard application. It introduces new environment variables, updates modal components to allow for state management, and improves API endpoints for better user authentication and request handling.

### Detailed summary
- Added `REDIS_URL` and updated `TURNSTILE_SECRET_KEY` in `.env.example`.
- Updated `turbo.json` to include new environment variables.
- Modified `OnboardingModal` to accept `onOpenChange` prop for state management.
- Enhanced API routes to check for email verification before allowing faucet claims.
- Improved error handling for wallet connections and request limits.
- Updated `FaucetButton` to show onboarding modal for email verification.
- Added caching logic for user requests to prevent abuse.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-05 20:17:54 +00:00
MananTank 6469fd5236 Fix newly added pages not awaiting the params and searchParams (#5311) 2024-11-05 18:36:39 +00:00
kien-ngo 6030bf17c2 [Dashboard] Fix NFT supply info (#5309)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `SupplyCards` component by updating how supply data is fetched and displayed, specifically by introducing the `startTokenId` and refining the calculation of unclaimed supply.

### Detailed summary
- Added `startTokenId` to the imports from `thirdweb/extensions/erc721`.
- Changed `claimedSupplyQuery` to `nextTokenIdQuery`.
- Introduced `startTokenIdQuery` for calculating the real total supply.
- Updated unclaimed supply calculation to use `realTotalSupply`.
- Adjusted loading states and displayed values for total supply and unclaimed supply.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-05 17:35:04 +00:00
gregfromstl 41158b17af [Actions] Chore: Removes outdated stale github action (#5283)
This github action is no longer used and has been replaced by `workflows/stale.yml`

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on the removal of the `.github/stale.yml` configuration file, which is used to manage stale issues and pull requests in the repository.

### Detailed summary
- Deleted the file `.github/stale.yml`
- This action may affect how stale issues and pull requests are tracked and managed in the repository.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-05 17:00:38 +00:00
gregfromstl 5cc5c9327f [React SDK] Feature: Adds SiteEmbed component (#5298)
CNCT-2213

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `SiteEmbed` React component that allows embedding thirdweb-supported sites with wallet connection support. It enhances the user experience by maintaining wallet connection states across different sites.

### Detailed summary
- Added `SiteEmbed` component for embedding thirdweb sites.
- Updated `getUrlToken` to include `authCookie`.
- Enhanced `useAutoConnectCore` to save `authCookie` if available.
- Created tests for `SiteEmbed` component, ensuring iframe rendering and error handling.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-05 16:46:09 +00:00
arcoraven cc47b7bca4 feat: Add smart backend wallet types (#5303)
https://linear.app/thirdweb/issue/INFRA-404/add-sbw-to-dashboard

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the backend wallet functionality within the application. It introduces new wallet types, updates wallet configuration handling, and refines the user interface for better usability.

### Detailed summary
- Added `"SMART_BACKEND_WALLETS"` to the wallet type constants.
- Introduced new `EngineBackendWalletType` options for smart wallets.
- Updated `EngineBackendWalletOptions` with smart wallet configurations.
- Changed `tabContent` to use `Partial<Record<EngineBackendWalletType, React.ReactNode>>`.
- Enhanced wallet type selection logic based on smart wallet support.
- Added `FormDescription` to provide information on backend wallet types.
- Updated form validation to include smart wallet configurations.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-05 08:09:01 +00:00
jnsdls 6b04d75bb2 update dependencies (#5306) 2024-11-05 07:36:08 +00:00
kien-ngo 93a382be92 [Dashboard] Add function comments to Explorer (#5273)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/VtULqGKSp33n0VHOzNJK/0d2b9601-7778-4773-83e0-39ae17820bbe.png)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new component, `ContractFunctionComment`, which fetches and displays comments for contract functions. It also refactors the `contract-function.tsx` file to utilize this new component, improving the organization and clarity of the code.

### Detailed summary
- Added `ContractFunctionComment` component to fetch and display function comments.
- Integrated `ContractFunctionComment` into `ContractFunctionInner` in `contract-function.tsx`.
- Imported `lazy` from `react` for lazy loading of `ContractFunctionComment`.
- Implemented logic to extract comments from Solidity source code using regex.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-05 06:47:03 +00:00
Jonas DanielsGitHubJoaquim Vergesgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
0d23638db0 next15 (#5152)
Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-04 22:07:21 -08:00
jnsdls 0a3b59cd9c remove hackathon pages (#5305) 2024-11-05 04:37:59 +00:00
jnsdls 2b730b2496 update dependencies (#5304)
<!-- start pr-codex -->

## PR-Codex overview
This PR primarily focuses on updating various package dependencies across multiple applications and packages to their latest versions, enhancing stability and security.

### Detailed summary
- Updated `@tanstack/react-query` from `5.59.16` to `5.59.19` in multiple packages.
- Updated `@aws-sdk/client-kms`, `@aws-sdk/client-lambda`, and `@aws-sdk/credential-providers` to newer versions.
- Updated `@hookform/resolvers` from `^3.9.0` to `^3.9.1`.
- Updated `cmdk` from `^1.0.0` to `^1.0.4`.
- Updated `sonner` from `^1.5.0` to `^1.7.0`.
- Updated `framer-motion` from `11.11.10` to `11.11.11`.
- Updated `input-otp` from `^1.2.4` to `^1.4.1`.
- Updated `next-plausible` from `^3.12.0` to `^3.12.3`.
- Updated `react-dropzone` from `^14.2.9` to `^14.3.5`.
- Updated `recharts` from `^2.13.0` to `^2.13.3`.
- Updated `@storybook` packages from `8.3.6` to `8.4.1`.
- Updated `@coinbase/wallet-sdk` from `4.1.0` to `4.2.0`.
- Updated `@mobile-wallet-protocol/client` from `0.1.1` to `0.1.2`.
- Updated `knip` from `5.34.2` to `5.36.2`.
- Updated `happy-dom` from `^15.7.4` to `^15.9.0`.
- Updated `msw` from `^2.5.2` to `^2.6.0`.
- Updated `typedoc` from `0.26.10` to `0.26.11`.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-05 03:21:42 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
fff3c3881a Version Packages (#5301)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-05 16:20:48 +13:00
Joaquim VergesandGitHub 75cbe64a86 fix: force wallet chain switch in Pay UI (#5302) 2024-11-05 15:53:56 +13:00
jnsdls f79ddf82b7 move /deploy and /smart-contracts to framer (#5300)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on deleting several pages and components from the `dashboard` application and updating the redirects in `redirects.js`. It also modifies the `PRODUCTS` and `SOLUTIONS` lists, removing specific entries and their corresponding links.

### Detailed summary
- Deleted multiple files from `apps/dashboard/src/pages` and `apps/dashboard/src/components`.
- Updated `apps/dashboard/redirects.js` with new redirect rules for several routes.
- Removed entries related to `Interact`, `Sponsored Transactions`, and `Minting` from `PRODUCTS`.
- Adjusted `PageId` enum by removing references to deleted pages.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-05 02:43:33 +00:00
kien-ngo c63fefda51 [SDK] Add tests for chain utils (#5280)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `CUSTOM_CHAIN_MAP` and `convertLegacyChain` function to be exported for testing purposes. It also adds new tests for chain handling, including legacy chain conversion and caching functionality.

### Detailed summary
- Exported `CUSTOM_CHAIN_MAP` for testing.
- Exported `convertLegacyChain` function.
- Added a `legacyChain` object for testing.
- Created tests for:
  - `getChainSymbol`
  - `getChainDecimals`
  - `getChainNativeCurrencyName`
  - `convertLegacyChain`
  - `defineChain` with a legacy chain.
  - Caching functionality with `cacheChains`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-05 01:38:45 +00:00
kien-ngo f98059c426 [SDK] Optimize ERC20 transferBatch (#5256)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on optimizing the `transferBatch` functionality for ERC20 tokens by improving the way transfers are processed, allowing for batching of transfers to the same recipient, and enhancing the test coverage for these changes.

### Detailed summary
- Added `optimizeTransferContent` function to group transfers by recipient.
- Refactored `transferBatch` to use optimized transfer content.
- Updated tests to verify optimized transfers and ensure correctness.
- Increased token minting in tests from 100 to 200 tokens.
- Enhanced test cases to validate optimized transfer behavior.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-05 01:29:32 +00:00
jnsdls 70ed73e705 add new framer rewrite paths and organize with comments (#5299) 2024-11-05 01:03:05 +00:00
MananTank 5398cb4745 Make reason form field optional in delete engine form (#5297)
Fixes: DASH-381
2024-11-04 22:03:32 +00:00
MananTank 2eaf7732ff Fix /dashboards path redirecting to /login (#5291)
Fixes: DASH-395
2024-11-04 21:17:31 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
c0b87503a4 Version Packages (#5285)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-05 09:28:50 +13:00
joaquim-verges 58fb28de29 fix: respect bundlerUrl in waitForUserReceipt (#5277)
## Problem solved

Fixes CNCT-2217

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the `thirdweb` package by updating configurations, modifying wallet functionalities, enhancing chain checks, and refining tests for wallet balance functionality.

### Detailed summary
- Updated `limit` in `.size-limit.json` from `500 B` to `600 B`.
- Changed `options` to `bundlerOptions` in `waitForUserOpReceipt` call.
- Added additional chain IDs in `isZkSyncChain.ts`.
- Implemented fallback to RPC stack check in `isZkSyncChain.ts`.
- Renamed test case from "should work for un-named token" to "should work for native currency" in `getWalletBalance.test.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-04 20:01:42 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
322e4496cf Version Packages (#5251)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-04 13:39:11 +13:00
gregfromstl 06604162a1 [SDK] Feature: Configure analytics URL (#5270)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the ability to configure the analytics endpoint for the `thirdweb` package, enhancing flexibility in specifying where analytics data is sent.

### Detailed summary
- Added a new configuration option for `analytics` in `apps/playground-web/src/lib/client.ts`.
- Replaced the hardcoded `ANALYTICS_ENDPOINT` URL with a dynamic URL using `getThirdwebBaseUrl` in `packages/thirdweb/src/analytics/track/index.ts`.
- Introduced a default value for `analytics` in `packages/thirdweb/src/utils/domains.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-02 07:22:53 +00:00
gregfromstl 7d36418e0f [Dashboard] Fix: MAU date range (#5271)
Fixes CNCT-2185

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the date range for fetching in-app wallet usage statistics from the start of the current month to the last 30 days, improving the relevance of the data displayed.

### Detailed summary
- In `layout.tsx`:
  - Changed `from` date in `getInAppWalletUsage` from the start of the current month to 30 days ago using `subDays`.

- In `header.tsx`:
  - Updated `from` date in `getInAppWalletUsage` similarly to 30 days ago with `subDays`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-02 02:23:26 +00:00
kien-ngo 412fb5da08 [Dashboard] Remove Drawer from ERC1155 udpate-metadata form (#5269)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on updating the user interface components related to NFT actions, enhancing text alignment, and improving metadata update functionality by replacing a `Drawer` with a `Sheet` for better user experience.

### Detailed summary
- Corrected typo from `Aidrop` to `Airdrop` in `airdrop-tab.tsx` and `airdrop-button.tsx`.
- Added `className="text-left"` to `SheetTitle` in several components for consistent text alignment.
- Replaced `Drawer` with `Sheet` in `update-metadata-tab.tsx` to improve UI.
- Modified state management for opening/closing the metadata update sheet.
- Enhanced error handling and user feedback with `toast` notifications in `update-metadata-form.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-02 01:54:50 +00:00
kien-ngo c3f240489c [Dashboard] Remove Drawer & cleanup marketplace listing form (#5265)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `CreateListingButton` and `CreateListingsForm` components to replace the `Drawer` component with a `Sheet` component for better user interface interaction in the marketplace.

### Detailed summary
- Replaced `Drawer` with `Sheet` in `CreateListingButton`.
- Updated state management for opening/closing the form.
- Modified button and form structure to align with `Sheet` component.
- Added `actionText` and `setOpen` props to `CreateListingsForm`.
- Introduced toast notifications for transaction promises in `CreateListingsForm`.
- Implemented a fixed button section for form submission and cancellation.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-02 01:54:48 +00:00
kien-ngo 54840759b8 [Dashboard] Remove Drawer from LazyMint form (#5264)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `NFTLazyMintButton` and `LazyMintNftForm` components to replace the `Drawer` UI component with a `Sheet` component for a better user interface experience during the NFT minting process.

### Detailed summary
- Replaced `Drawer` with `Sheet` in `NFTLazyMintButton`.
- Added `SheetTrigger` and `SheetContent` to manage the button and form display.
- Introduced `setOpen` state in `NFTLazyMintButton` to control the `Sheet`.
- Modified `LazyMintNftForm` to accept `setOpen` prop for closing the `Sheet`.
- Updated success and error handling with `toast` notifications instead of modal context.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-02 01:54:47 +00:00
kien-ngo 9d1f75d63a [Dashboard] Remove Drawer from mintTo form (#5263)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `NFTMintButton` and `NFTMintForm` components to replace the `Drawer` component from `@chakra-ui/react` with a `Sheet` component for improved UI consistency and functionality.

### Detailed summary
- Replaced `Drawer` with `Sheet` in `NFTMintButton`.
- Updated `SheetContent` class properties for better responsiveness.
- Changed `SheetTitle` to have `text-left` class.
- Added `setOpen` prop to `NFTMintForm` to control visibility.
- Enhanced error handling with `toast` notifications.
- Refined form structure and validation messages in `NFTMintForm`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-02 01:54:46 +00:00
kien-ngo 21d794c7b8 [Dashboard] Remove chakra: BatchUpload drawer + other minor changes (#5259)
Made the BatchUpload drawer more clean looking basically

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the `ClaimConditions` and `BatchLazyMint` components in the dashboard by refining input handling, restructuring layouts, and enhancing user interaction through better feedback and state management.

### Detailed summary
- Changed `isDisabled` prop to `disabled` in `PhaseNameInput`.
- Restructured layout in `ClaimConditions` for better spacing and organization.
- Updated `BatchLazyMintButton` to use `Sheet` instead of `Drawer`.
- Improved state management in `BatchLazyMintButton` for opening and closing the sheet.
- Refactored `BatchLazyMint` to use a `<form>` instead of `<Container>`.
- Simplified file upload instructions and requirements in `UploadStep`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-02 01:54:45 +00:00
gregfromstl e3c0af28f7 [SDK] Fix: Track chain ID on transaction events (#5272)
Fixes [CNCT-2184](https://linear.app/thirdweb/issue/CNCT-2184)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces modifications to the `trackTransaction` function across multiple files in the `thirdweb` package, adding support for `chainId` in transaction tracking.

### Detailed summary
- Added `chainId: tx.chainId` to `trackTransaction` in:
  - `packages/thirdweb/src/wallets/injected/index.ts`
  - `packages/thirdweb/src/wallets/in-app/core/wallet/enclave-wallet.ts`
  - `packages/thirdweb/src/wallets/in-app/web/lib/iframe-wallet.ts`
  - `packages/thirdweb/src/wallets/coinbase/coinbaseWebSDK.ts`
  - `packages/thirdweb/src/wallets/wallet-connect/controller.ts`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-02 01:41:33 +00:00
gregfromstl 66798886cf [Dashboard] Feature: Adds ecosystem analytics (#5254)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances the `Ecosystem` analytics feature by introducing new components for wallet statistics, improving data fetching, and updating routing. It refines the structure for better maintainability and adds new functionalities for displaying wallet usage insights.

### Detailed summary
- Added `EcosystemWalletStats` interface.
- Introduced `EcosystemPermissionsPage` and `EcosystemAnalyticsPage` components.
- Implemented `RangeSelector` for date range selection.
- Updated routing to redirect to analytics.
- Enhanced data fetching for wallet usage.
- Refactored paths for type imports.
- Improved `InAppWalletUsersChartCard` for better data visualization.
- Added error handling and loading states for analytics components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-02 01:18:06 +00:00
gregfromstl 842ea50cbe [Global] Chore: Automate stale issues and PRs (30 days to stale, then 5 days till closing) (#5262)
<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a GitHub Actions workflow to automatically close stale issues and pull requests after a specified period of inactivity.

### Detailed summary
- Introduced a new workflow in `.github/workflows/stale.yml` named 'Close stale issues and PRs'.
- Configured the workflow to trigger on a schedule using a cron job.
- Set the job to run on `ubuntu-latest`.
- Utilized `actions/stale@v9` for managing stale issues and PRs.
- Configured messages for stale issues and PRs.
- Defined `days-before-stale` as 30 and `days-before-close` as 5.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-02 01:04:26 +00:00
gregfromstl 8bd2a99a22 [Actions] Chore: Rename Issue Check (#5268)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces a new workflow in the `.github/workflows/linear.yml` file that ensures pull requests contain a linked issue in their body.

### Detailed summary
- Added a new workflow named `Check for linked issue in pull request body`.
- Configured the workflow to trigger on `pull_request` events.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-02 00:58:26 +00:00
Jonas DanielsandGitHub 7a9713e877 add /solutions/consumer-apps to framer rewrites (#5266) 2024-11-01 16:23:49 -07:00
Jonas DanielsandGitHub 1c6c1bf890 move /engine and /solutions/gaming to framer (#5261) 2024-11-01 14:14:07 -07:00
edwardysun f81ffa9fa6 Check for linear in PR description (#5216)
## Problem solved

Fixes https://linear.app/thirdweb/issue/ENG-2/better-enforce-linear-use

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a GitHub Actions workflow to check the pull request body for specific keywords ("CNCT" or "DASH"). If these keywords are found, it confirms a linked issue; otherwise, it fails the check.

### Detailed summary
- Added a workflow named `Check for "linear" in pull request body` in `.github/workflows/linear.yml`.
- Configured the workflow to trigger on `pull_request` events (opened and edited).
- Implemented a job `check_linear_in_pr_body` to verify the presence of keywords in the PR body.
- Utilized `curl` to fetch the PR body and `grep` to search for keywords.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-01 21:05:21 +00:00
kien-ngo 88e96dee44 [Dashboard] Fix ContractCheckList (#5249)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `ContractChecklist` component by incorporating additional checks for ERC721 and ERC20 claim conditions, ensuring that the logic correctly reflects the type of contract being interacted with.

### Detailed summary
- Added `isErc721` to the dependency array of `useMemo` for `hasERC721ClaimConditions`.
- Added `isErc20` to the dependency array of `useMemo` for `hasERC20ClaimConditions`.
- Updated the conditional check for `hasERC721ClaimConditions` to also verify `isErc721`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-01 20:53:29 +00:00
saminacodes ccbf2d2c22 fixed broken link and broken image (#5241)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `link` and `image` properties for specific projects in the `PROJECT_SHOWCASE_DATA` array within the `project-showcase-constants.ts` file.

### Detailed summary
- Updated `link` for the gaming project from `@goatgamingbot` to `https://goatgaming.com/`.
- Changed `image` for the `storychain` project from `ipfs://Qmau1mgrzahdfEtJFU9i2pSKMM7AwHav6tQCVEdJARUFpb` to `ipfs://QmUUBdNHa7ZoiRQicNathMY6G8GTBA4S9cRY1RRBXAKpYi`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-01 19:12:24 +00:00
joaquim-verges baf21980be fix: use stringify helper for bigint serialization (#5253)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing `JSON.stringify` with `stringify` in various parts of the codebase to improve bigint serialization handling.

### Detailed summary
- Updated error handling in `bundler.ts` to use `stringify`.
- Modified payload serialization in `verify-jwt.ts`, `native/helpers/errors.ts`, and others to use `stringify`.
- Changed data storage and retrieval methods in various files to utilize `stringify`.
- Adjusted JWT encoding in `encode-jwt.ts` to use `stringify`.
- Enhanced error messages and responses across multiple files by replacing `JSON.stringify` with `stringify`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-01 18:57:21 +00:00
kien-ngo 7a86344941 [SDK] Consolidate more tests - reduce contract deployment (#5258)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on cleaning up and enhancing tests related to `ERC721` and `ERC1155` contracts in the `thirdweb` package. It includes the removal of obsolete tests and the addition of new functionality checks, particularly around contract deployment and NFT minting.

### Detailed summary
- Deleted obsolete test files for `ERC721` and `ERC20`.
- Updated `mintAdditionalSupplyToBatch.test.ts` to include checks for contract names.
- Enhanced tests for `DropERC1155` and `TokenERC1155` to verify deployed names.
- Removed tests for `deployERC721` that were reliant on secret keys.
- Added new tests for minting NFTs in `token721.test.ts`, covering both object and string inputs.
- Ensured compatibility checks for NFT functions in the new tests.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-01 18:37:33 +00:00
kien-ngo c621c13f11 [SDK] Options to custonize ViewAssets's tabs (#5126)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the ability to customize the display order of asset tabs in the `ConnectButton` component, allowing users to prioritize "NFTs" over "Tokens". It also includes updates to the documentation and type definitions to support this feature.

### Detailed summary
- Added customization for asset tab order in `ConnectButton`.
- Default order shows "Tokens" first; can be changed to `["nft", "token"]`.
- Updated type definitions to include `assetTabs` in `ConnectButtonProps`.
- Modified `ViewAssets` to dynamically render tabs based on `assetTabs`.
- Documentation updated to reflect changes in tab customization.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-01 18:23:42 +00:00
Jonas DanielsandGitHub 004cac04aa Update free wallets promo code to FREEWALLETS24 (#5260) 2024-11-01 11:23:05 -07:00
gregfromstl 57553b784e [Dashboard] Feature: Breakdown sponsored transactions by chain ID (#5252)
![Screenshot 2024-10-31 at 12 41 52 PM](https://github.com/user-attachments/assets/1eb6234c-9c5a-4e82-9ab7-4252dc1c1a8c)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `SponsoredTransactionsChartCard` component to handle user operation statistics by chain, improving data visualization and functionality.

### Detailed summary
- Changed `UserOpStats` to `UserOpStatsByChain` in `createUserOpStatsStub`.
- Updated chart data structure to support multiple chains.
- Modified `SponsoredTransactionsChartCard` to visualize data by chain.
- Enhanced data aggregation and display logic.
- Updated chart configuration to include dynamic chains.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-01 18:01:28 +00:00
gregfromstl 13fc6f5854 [Dashboard] Docs: Adds basic code organization instructions (#5255)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `README.md` file for the `dashboard` application to include guidelines on code structure and style, particularly focusing on component organization and data fetching practices.

### Detailed summary
- Added a section on code structure and style guide.
- Specified that components should be placed in a `components` folder next to their respective app pages.
- Clarified where to place reused components and low-level components.
- Recommended using RSC for data fetching.
- Suggested keeping data fetching functions in the same file as their components unless reused across multiple components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-01 17:49:25 +00:00
kien-ngo b03dc57072 [SDK] Improve ERC721 claimToBatch (#5257)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors the validation logic in the `claimToBatch.ts` file to improve error handling for missing recipient addresses and claim quantities. It replaces the use of `findIndex` with a `for` loop for more straightforward validation.

### Detailed summary
- Removed the use of `findIndex` for checking missing recipient addresses and claim quantities.
- Added a `for` loop to iterate through `options.content` for validation.
- Updated error messages to reflect the index of the item directly within the loop.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-11-01 10:47:05 +00:00
Joaquim VergesandGitHub f40d2474e6 feat: enable smart account chain switching between zk/non-zk (#5250) 2024-10-31 22:25:32 +13:00
Joaquim VergesandGitHub ae217a3a60 feat: add ecosystem URL display in header (#5248) 2024-10-31 22:06:12 +13:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
7791a992b6 Version Packages (#5247)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-31 21:53:28 +13:00
Joaquim VergesandGitHub 82c8726c10 fix: respect custom paymaster callback (#5246) 2024-10-31 21:35:51 +13:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
60629e3cf3 Version Packages (#5215)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-31 15:43:37 +13:00
Joaquim VergesandGitHub 178d407e6f feat: add support for custom singlePhase drops (#5244) 2024-10-31 15:29:15 +13:00
MananTank 7e1cb6d8d8 Fix in-app wallet analytics chart on legacy dashboard (#5243)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the parameters used in the `Page` component within the `analytics` directory to reflect a change in the expected data structure, specifically changing from `project_slug` to `clientId`.

### Detailed summary
- Updated the `params` type in the `Page` function from `{ team_slug: string; project_slug: string }` to `{ clientId: string }`.
- Changed the prop passed to `<InAppWalletAnalytics />` from `clientId={params.project_slug}` to `clientId={params.clientId}`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-30 23:58:20 +00:00
MananTank c2a90542d7 Add loading.tsx for connect pages (#5240)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on standardizing loading pages across various components in the dashboard by introducing a `GenericLoadingPage`. It also refines data fetching error handling and enhances the `InAppWalletsHeader` and `InAppWallets` pages with improved stats handling.

### Detailed summary
- Deleted multiple `layout.tsx` files.
- Added `"use client"` directive to various loading components.
- Implemented `GenericLoadingPage` for consistent loading UI.
- Improved error handling in `getInAppWalletUsage` function.
- Enhanced `InAppWalletsHeader` with Promise.all for stats fetching.
- Updated `InAppWallets` pages to handle empty stats gracefully.
- Added footer section to several pages for better UX.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-30 23:40:45 +00:00
Joaquim VergesandGitHub 802d3bfd4b fix: sanitize block explorer URLs (#5237) 2024-10-31 12:36:59 +13:00
MananTank 09b1912eb9 Shorten publisher address in OG image on published contract page (#5242)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `publishedContractOGImageTemplate` function to conditionally shorten the display of the `publisher` address if it is a valid blockchain address.

### Detailed summary
- Added import for `isAddress` and `shortenAddress` from `thirdweb`.
- Updated the rendering of the `publisher` in the `<h2>` element to check if it is a valid address using `isAddress`.
- If valid, it displays the shortened address using `shortenAddress`; otherwise, it displays the full `publisher` name.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-30 22:38:24 +00:00
MananTank 975cd0b384 Add BurnMintERC677 in popular contracts section (#5239)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `apps/dashboard/src/data/explore.ts` file by adding a new entry to a list of addresses or identifiers related to third-party contracts.

### Detailed summary
- Added the entry `0xaF3202F6bAEbA50d37e0d4B0b870455EDF198D7c/BurnMintERC677` to the existing list of third-party contracts.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-30 22:03:59 +00:00
MananTank 436f6b79b5 Fix MaskedAvatar and PublisherAvatar sizing issues, improved loading & fallback states (#5238)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on updating the `PublisherAvatar` component usage across several files, replacing the `boxSize` prop with a `className` prop for styling. Additionally, it enhances the `Img` component with improved loading behavior.

### Detailed summary
- Replaced `boxSize` with `className` in `PublisherAvatar` components in:
  - `apps/dashboard/src/components/explore/publisher/index.tsx`
  - `apps/dashboard/src/pages/profile/[profileAddress].tsx`
  - `apps/dashboard/src/components/contract-components/publisher/publisher-header.tsx`
  - `apps/dashboard/src/pages/community/ambassadors.tsx`
- Updated `MaskedAvatar` component to use `className` instead of `boxSize`.
- Modified `MaskedAvatar` component's rendering logic to use a new `Img` component.
- Enhanced `Img` component with a loading state and error handling using a `ref`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-30 22:03:58 +00:00
MananTank df8b2f6f90 Fix enum lint warning in dashboard (#5234)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors the code to replace the usage of `AccountStatus` and `AccountPlan` enums with `accountStatus` and `accountPlan` constants, improving consistency and clarity throughout the codebase.

### Detailed summary
- Replaced `AccountStatus` enum with `accountStatus` constant object.
- Replaced `AccountPlan` enum with `accountPlan` constant object.
- Updated all references to use `accountStatus` and `accountPlan` instead of enums.
- Adjusted conditions and logic to align with the new structure.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-30 18:48:10 +00:00
950ce60ec2 feat(dashboard): Adds analytics to in-app-wallets page (#5232)
Co-authored-by: gregfromstl <[email protected]>
2024-10-31 07:38:00 +13:00
MananTank 3658b3fece Fix theming class hydration warning on html element (#5233)
This is the correct way to fix this
https://github.com/pacocoursey/next-themes?tab=readme-ov-file#with-app

` suppressHydrationWarning` property only applies one level deep, so it won't block hydration warnings on other child elements of `<html>`
2024-10-30 16:35:51 +00:00
Joaquim VergesandGitHub 686d0c3c05 feat: respect custom bundler URL for gas fees (#5231) 2024-10-30 23:14:17 +13:00
ElasticBottle 9425e9ef42 Winston/don't use iframe for jwt or custom auth endpoint validation (#5229)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR consolidates authentication methods in the `thirdweb` package by introducing a common endpoint for custom JWT and custom auth, enhancing code organization and reducing redundancy.

### Detailed summary
- Changed `getSessionHeaders` to no longer export it.
- Introduced `ecosystem` parameter in various functions.
- Replaced direct `fetch` calls with `getClientFetch` for consistency.
- Simplified the `loginWithAuthToken` method to accept an optional `recoveryCode`.
- Unified handling of authentication strategies in `InAppWebConnector`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-30 05:48:20 +00:00
Joaquim VergesandGitHub 556e11373c Revert "[Dashboard] Feature: Adds analytics to in-app-wallets page (#5186) (#5228) 2024-10-30 14:19:12 +13:00
6e87a866b2 [Dashboard] Feature: Adds analytics to in-app-wallets page (#5186) (#5227)
Co-authored-by: gregfromstl <[email protected]>
2024-10-30 14:02:15 +13:00
iuwqyir 043ee92598 unhide insight service (#5190)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR removes an entry from the `HIDDEN_SERVICES` array in the `validations.ts` file, indicating a potential update in the handling of API keys.

### Detailed summary
- Removed `"insight"` from the `HIDDEN_SERVICES` array in the `validations.ts` file.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-29 22:41:11 +00:00
DustinandGitHub 89df3b5fa9 Soneium manito op grant update (#5222) 2024-10-30 10:18:32 +13:00
kien-ngo c9f52e9239 [Dashboard] chore: Update OS Page (#5223)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds new contributors to the list in the `open-source.tsx` file for the dashboard page.

### Detailed summary
- Added new contributors to the list:
  - `iuwqyir`
  - `GWSzeto`
  - `Joe-Thirdweb`
  - `AmineAfia`
  - `catalyst17`
  - `dirtycajunrice`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-29 20:01:54 +00:00
kien-ngo 519349b5cf [Dashboard] chore: add spacing for TUrnstile captcha (#5182)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the styling of the `Turnstile` component within the `FaucetButton.tsx` file by adding a margin-top class.

### Detailed summary
- Added the `className="mt-4"` to the `Turnstile` component in `FaucetButton.tsx` to apply a top margin for improved spacing.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-29 18:22:54 +00:00
MananTank 71a21e185e Fix page crash caused by BillingAlert component (#5220)
Fixes: DASH-356
2024-10-29 18:12:20 +00:00
kien-ngo c8b5780627 [Dashboard] Fix contract source code page (#5218)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the error handling for resolving the contract ABI in the `page.tsx` file by changing the promise handling from `then` to `catch`, ensuring that any errors in resolving the ABI will result in `undefined` being assigned.

### Detailed summary
- Changed the promise handling for `resolveContractAbi(contract)`:
  - From using `.then(() => undefined)` to `.catch(() => undefined)` to properly handle errors.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-29 15:01:29 +00:00
ElasticBottle 68ce724ff6 [Dashboard]: Update in app wallet user api (#5187)
## Problem solved

Updates the dashboard so that list of in app wallet will pull from thirdweb RDS.
NOTE: NEED TO UPDATE ENV VAR AFTER DEPLOYEMENT

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `thirdweb` wallet integration by exposing the `WalletUser` type, updating API endpoints, and improving the handling of embedded wallets in the dashboard. It also refines wallet user data display and pagination in the user interface.

### Detailed summary
- Exposed `WalletUser` type in `packages/thirdweb/src/exports/wallets.ts`.
- Updated API host URL in `apps/dashboard/src/constants/urls.ts`.
- Modified `embeddedWallets` function to include `page` parameter.
- Refactored `useEmbeddedWallets` to support pagination and improved error handling.
- Changed data structure in `useEmbeddedWallets` to return `users` and `totalPages`.
- Updated wallet user display logic in `apps/dashboard/src/components/embedded-wallets/Users/index.tsx`.
- Removed deprecated `withinDays` function from `apps/dashboard/src/utils/date-utils.ts`.
- Enhanced CSV download functionality to include all users and relevant details.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-29 02:36:37 +00:00
Joaquim VergesandGitHub ad4af68d1d perf: optimize passkey authentication for iOS 15 (#5214) 2024-10-29 14:18:43 +13:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
8861982877 Version Packages (#5188)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-29 14:13:02 +13:00
Joaquim VergesandGitHub 07ea65bcd8 feat: improve ecosystem smart account handling (#5212) 2024-10-29 13:25:21 +13:00
jnsdls 6cb66c675a remove all farcaster frame logic for the moment (#5213)
<!-- start pr-codex -->

## PR-Codex overview
This PR primarily focuses on the removal of multiple files related to Farcaster frames and the `@coinbase/onchainkit` package, as well as some metadata updates in the `package.json` and `pnpm-lock.yaml` files.

### Detailed summary
- Deleted various files related to Farcaster frames and their functionality.
- Removed the `shortenAddress` function from `apps/dashboard/src/utils/string.ts`.
- Updated `package.json` to remove `@coinbase/onchainkit` dependency.
- Cleaned up `pnpm-lock.yaml` by removing references to deleted packages and dependencies.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 23:59:34 +00:00
jnsdls ddec3dadcc Refactor Farcaster frame validation (#5211) 2024-10-28 23:24:52 +00:00
jnsdls ac78881711 update dependencies (#5210)
<!-- start pr-codex -->

## PR-Codex overview
This PR primarily focuses on updating various package dependencies across multiple `package.json` files, ensuring compatibility with newer versions and fixing potential issues.

### Detailed summary
- Updated `vitest` from `2.1.3` to `2.1.4`.
- Updated `lucide-react` from `0.453.0` to `0.454.0` in multiple apps.
- Updated `shiki` from `1.22.0` to `1.22.2` in multiple apps.
- Updated AWS SDK packages to `3.679.0` for `client-kms`, `3.680.0` for `client-lambda`, and `3.679.0` for `credential-providers`.
- Updated `tsx` from `4.19.1` to `4.19.2`.
- Updated `@playwright/test` from `1.47.2` to `1.48.2`.
- Updated `@types/color` from `^3.0.6` to `4.2.0`.
- Updated `knip` from `^5.33.3` to `5.34.2`.
- Updated `@vitest/coverage-v8` and `@vitest/ui` to `2.1.4`.
- Updated `msw` from `^2.4.12` to `^2.5.2`.
- Updated `react-native-svg` from `15.7.1` to `15.8.0`.
- Updated `viem` from `2.21.34` to `2.21.35`.
- Adjusted various package resolutions in `pnpm-lock.yaml`.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 23:24:50 +00:00
MananTank be0a4fcf90 Remove unused envs from dashboard .env.example (#5209)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `.env.example` file for the `dashboard` application by removing deprecated or unnecessary environment variable entries.

### Detailed summary
- Removed the comment regarding `PAYMENTS_ADMIN_SECRET` and its associated empty value.
- Deleted the line to disable telemetry (`NEXT_TELEMETRY_DISABLED`).
- Removed the comment and empty value for `NEXT_PUBLIC_TRENCH_2_API_ENDPOINT`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 22:27:38 +00:00
MananTank 0b3fe51184 Fix turbo env variable warnings for dashboard build on vercel (#5208)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `env` configuration in the `turbo.json` file to include additional environment variables necessary for the build process.

### Detailed summary
- Added multiple environment variables to the `env` array in the `thirdweb-dashboard#build` section:
  - `MORALIS_API_KEY`
  - `ETHERSCAN_KEY`
  - `SSR_ALCHEMY_KEY`
  - `BEEHIIV_API_KEY`
  - `GITHUB_API_TOKEN`
  - `LUMA_API_KEY`
  - `HUBSPOT_ACCESS_TOKEN`
  - `API_ROUTES_CLIENT_ID`
  - `DASHBOARD_SECRET_KEY`
  - `SIMPLEHASH_API_KEY`
  - `NEYNAR_API_KEY`
  - `THIRDWEB_ENGINE_URL`
  - `THIRDWEB_ACCESS_TOKEN`
  - `THIRDWEB_ENGINE_ACCESS_TOKEN`
  - `DEGEN_THIRDWEB_ENGINE_WALLET`
  - `THIRDWEB_ENGINE_WALLET`
  - `UNTHREAD_TRIAGE_CHANNEL_ID`
  - `UNTHREAD_EMAIL_INBOX_ID`
  - `UNTHREAD_FREE_TIER_ID`
  - `UNTHREAD_GROWTH_TIER_ID`
  - `UNTHREAD_PRO_TIER_ID`
  - `REDIS_URL`
  - `UNTHREAD_API_KEY`
  - `CHAINSAW_API_KEY`
  - `ANALYTICS_SERVICE_URL`
  - `ANALYTICS_SERVICE_API_KEY`
  - `DISABLE_FAUCET_CHAIN_IDS`
  - `API_SERVER_SECRET`
  - `TURNSTILE_SECRET_KEY`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 22:14:56 +00:00
Joaquim VergesandGitHub adeda1ef76 feat: enhance TransactionButton and add buy support check (#5207) 2024-10-29 10:41:01 +13:00
0xFirekeeper fb5115a90f [Docs] Unity as of 5.7.0 (#5195)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating the documentation for the `Unity SDK`, including changes to wallet options, sidebar navigation, and the introduction of build instructions. It also replaces an image and adds new sections for configuration and debugging.

### Detailed summary
- Removed `thirdwebmanager.png` and updated image imports.
- Changed title in `page.mdx` from "Unity SDK (v5)" to "Unity SDK".
- Expanded wallet options to include `Github` and `Twitch`.
- Added new `Build Instructions` section in `page.mdx`.
- Updated sidebar to include `Build Instructions` and `Migrate from v4`.
- Revised `Client Settings` and added `Preferences`, `Misc`, and `Debug` sections.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 21:28:29 +00:00
MananTank a5ffc54a25 Fix error thrown from PublishedBy card on localhost chain (#5198)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `ContractOverviewPageClient` component by removing the `PublishedByClient` function and its associated logic, while setting the `publishedBy` prop to `undefined`. This prepares for a future implementation of a fully client-rendered version.

### Detailed summary
- Removed the import statements for `useThirdwebClient`, `useQuery`, and `useActiveAccount`.
- Deleted the `PublishedByClient` function and its logic.
- Updated the `publishedBy` prop in `ContractOverviewPageClient` to `undefined`.
- Added a TODO comment for future implementation of a fully client-rendered version of `publishedBy` and `ContractCard`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 21:16:01 +00:00
MananTank 286aa30bfc Include chain overrides for all chains and not just custom chains in RSCs (#5197)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the code in the `getContractFromParams.ts` file to improve readability. It mainly involves reordering and aligning the code without changing the logic.

### Detailed summary
- Removed unnecessary line breaks for better readability.
- Maintained the structure of the `if` statements and the `try-catch` block.
- Ensured consistent formatting for the `chainOverrides.find` function.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 21:15:59 +00:00
joaquim-verges bb4435233f feat: set default domain for thirdweb auth (#5196)
## Problem solved

Addresses CNCT-2132

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `domain` configuration in the `createAuth` function for the `thirdwebAuth` object, changing its default value to "thirdweb.com".

### Detailed summary
- Updated the `domain` property in `createAuth` from an empty string to "thirdweb.com".

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 20:49:42 +00:00
Captain UnknownandGitHub aa0f397778 Fixed a redundant return statement in isLoggedIn() & a typo (#5194)
Signed-off-by: Captain Unknown <[email protected]>
2024-10-28 13:47:24 -07:00
MananTank 7185364e4b redirect /team/~/... to /team/<first-team-slug>/... (#5158)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds functionality to redirect requests from `/team/~/...` to `/team/<first_team_slug>/...`, enhancing user navigation by ensuring that users are directed to the first team's slug instead of a placeholder.

### Detailed summary
- Added a check for the path starting with `team` and `~`.
- Implemented a call to `getTeams()` to retrieve the list of teams.
- If a team exists, modified the path to use the first team's slug.
- Redirects the request to the new path format.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 18:37:45 +00:00
MananTank efc8bb7fd1 Fix hsl color preview and improved color-picker UI for connect playground (#5193)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the color selection functionality in the `ColorInput` component by integrating a new `Popover` UI from `@radix-ui/react-popover` and a color picker from `react-pick-color`. It also updates the dependencies in `package.json`.

### Detailed summary
- Removed the `ColorInput.module.css` file.
- Added `@radix-ui/react-popover` and `react-pick-color` to `package.json`.
- Updated `ColorInput` component to use `Popover` for color selection.
- Integrated `ColorPicker` within the `PopoverContent`.
- Refactored `onChange` handling in `ColorInput`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 18:25:26 +00:00
MananTank 74d113cf16 Move engine page components to app router folder in teams layout (#5145)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on restructuring the file organization and import paths for various components within the dashboard application, specifically related to engine functionalities. It also includes updates to stylesheets and components for better modularity.

### Detailed summary
- Updated import paths for several components to a new directory structure.
- Refactored components like `EngineAdmins`, `EngineRelayer`, `EngineExplorer`, etc., to use relative imports from the new structure.
- Adjusted CSS imports for `swagger-ui.css` and other styles.
- Updated story files for `RecentEngineAlerts` and `ManageEngineAlerts` to reflect new paths.
- Modified `EngineSystemMetrics` component imports for better organization.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 18:12:36 +00:00
MananTank 486cd4a255 Fix API key creation on embed page (#5192)
Fixes: DASH-340

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `CreateAPIKey` functionality by introducing prefill options for the API key creation process, improving the user interface for creating API keys, and adding a modal for better user experience.

### Detailed summary
- Added `CreateAPIKeyPrefillOptions` type.
- Introduced `DesktopAPIKeyWordingWithPrefill` story.
- Updated `CreateAPIKeyDialogProps` to include `prefill`.
- Modified `CreateAPIKeyDialogUI` to accept and use `prefill`.
- Enhanced `CreateAPIKeyForm` to utilize prefill values.
- Integrated `LazyCreateAPIKeyDialog` in the `EmbedSetup` component.
- Updated button behavior to show modal for creating API keys.
- Improved user prompts for signing in when no active account is detected.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 18:00:39 +00:00
MananTank 68011d5c76 Add Logged Out Variant of Team Header (#5160)
## Problem solved

Short description of the bug fixed or feature added
2024-10-28 17:48:34 +00:00
MananTank 939e7ab820 Render contract pages on client side for localhost chain (#5185)
Fixes: DASH-348
2024-10-28 17:36:30 +00:00
MananTank 59953f714a Fix MintSupplyTab Amount form field error (#5191)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the validation and input handling for the minting amount in the `MintSupplyTab` component. It ensures that the amount is coerced to a number type and specifies the input type for better user experience.

### Detailed summary
- Changed `amount` validation from `z.number()` to `z.coerce.number()` to ensure the input is coerced to a number.
- Updated the `Input` component to include `type="number"` for the amount field, enhancing user input handling.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 16:35:17 +00:00
GWSzeto 7aab5caf98 Change Modules table to cards UI (#5051)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `ModuleCard` component and its associated storybook entries, enhancing the UI for displaying module information in a dashboard. It also refactors the `InstalledModulesTable` to utilize the new `ModuleCard` component for better modularity and readability.

### Detailed summary
- Added `ModuleCard` component in `module-card.tsx`.
- Created storybook entries for `ModuleCard` in `module-card.stories.tsx`.
- Refactored `InstalledModulesTable` to render `ModuleCard` instead of a table.
- Removed unused skeleton and row components from `InstalledModulesTable`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 14:28:48 +00:00
Joaquim VergesandGitHub 83a2412941 Revert "[Dashboard] Feature: Adds analytics to in-app-wallets page (#5186) (#5189) 2024-10-28 20:47:08 +13:00
Joaquim VergesandGitHub 84571efaf8 feat: redesign payment selection flow for Buy screen (#5176) 2024-10-28 20:15:19 +13:00
771acd1abe Fix op estimation edge case (#5184)
Co-authored-by: Joaquim Verges <[email protected]>
2024-10-28 15:42:14 +13:00
gregfromstl 2bf65c05b2 [Dashboard] Feature: Adds analytics to in-app-wallets page (#5186)
<img width="1106" alt="Screenshot 2024-10-25 at 4 02 59 PM" src="https://github.com/user-attachments/assets/8b559170-2d5e-4810-8a29-55f155448e40">

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the in-app wallets feature by adding tracking capabilities, restructuring components, and improving analytics. It introduces new interfaces, updates existing components, and removes unnecessary elements to streamline functionality and improve user experience.

### Detailed summary
- Added `InAppWalletStats` interface.
- Introduced `TRACKING_CATEGORY` constants for analytics.
- Updated components to utilize new tracking categories.
- Removed `AnalyticsCallout` from layout.
- Replaced `Separator` with `<div className="h-5" />` for spacing.
- Enhanced analytics pages to fetch and display wallet usage data.
- Implemented new routing for in-app wallet analytics.
- Updated `InAppWalletUsersChartCard` for better data visualization.
- Improved the structure of the `Tabs` component for navigation.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-28 01:30:34 +00:00
Edward SunandGitHub a365dd8ee9 Add a case study to project showcase (#5183) 2024-10-25 12:17:05 -07:00
Edward SunandGitHub 363b63384a [Very minor patch] Add case study button to card (#5181) 2024-10-25 11:45:47 -07:00
Edward SunandGitHub 4ec2aa8dbd Project showcase patches (#5178) 2024-10-25 10:45:34 -07:00
MananTank 63bbb4c42a Fix page crash when using useTxNotifications on pages without ChakraProvider, restore latest sentry version (#5179)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating dependencies and modifying the error message presentation in the `errorParser.tsx` file. It upgrades several `@sentry` packages and refines the structure of the error messages displayed to users.

### Detailed summary
- Updated `@sentry/nextjs` from `8.34.0` to `8.35.0`.
- Changed the `PLEASE_REACH_OUT_MESSAGE` structure from using `<Text>` to a `<span>`.
- Updated the class name for the `<Link>` from `font-bold` to `font-semibold`.
- Modified error message rendering in `parseErrorToMessage` to use `<span>` instead of `<Text>`.
- Updated several `@sentry` internal dependencies to version `8.35.0` across `pnpm-lock.yaml`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-25 17:38:21 +00:00
kien-ngo 4cb7f8f97f [Dashboard] DASH-347 | Claim issue with EditionDrop (#5177)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `ClaimTabERC1155` component by removing the `useTxNotifications` hook and replacing success/error handling with `toast.promise`. This improves user feedback during transaction processes.

### Detailed summary
- Removed the `useTxNotifications` hook and its related success/error callbacks.
- Introduced `toast.promise` for handling promises related to approving ERC20 tokens and claiming NFTs.
- Improved error handling with `console.error` for better debugging.
- Updated success/error messages for user feedback.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-25 17:10:53 +00:00
9dfe4af679 Biz hackweek - Project Showcase (#5118)
Co-authored-by: samina <[email protected]>
2024-10-25 09:52:30 -07:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
b5bbecd182 Version Packages (#5173)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-25 21:26:53 +13:00
Joaquim VergesandGitHub bafa0e83c3 feat: set initial balance for Anvil proxy in tests (#5174) 2024-10-25 20:58:30 +13:00
kien-ngo 5dc1899541 [SDK] Improve Vote contract tests (#5156)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing validation for the `minVoteQuorumRequiredPercent` parameter in the `deploy-vote.ts` file and updating corresponding tests to ensure correct functionality.

### Detailed summary
- Added validation for `minVoteQuorumRequiredPercent` in `deploy-vote.ts`.
- Included checks for NaN, range (0-100), and integer-like values.
- Updated tests in `deploy-vote.test.ts` to handle new validation logic.
- Adjusted test descriptions and assertions in `vote.test.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-25 03:59:18 +00:00
kien-ngo 4b183518af [SDK] Improve Split contract tests (#5155)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding tests for the `split` functionality of a smart contract in the `thirdweb` package, ensuring that the contract behaves as expected when deployed and queried for recipient addresses and their share percentages.

### Detailed summary
- Deleted several test files related to `deploy-split` and recipient functions.
- Introduced a new test suite for the `split` contract in `split.test.ts`.
- Added tests for:
  - Deployment of the split contract.
  - Retrieving all recipient addresses.
  - Retrieving all recipients and their share percentages.
  - Retrieving the split percentage for an individual recipient.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-25 03:59:17 +00:00
joaquim-verges e8f952a191 feat: always add URI to SIWE payload (#5172)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on ensuring that a URI is always included in the SIWE payload by modifying the logic in the `generate-login-payload.ts` file and updating the corresponding test.

### Detailed summary
- In `generate-login-payload.ts`, the `uri` field is updated to default to `options.domain` if `options.login?.uri` is not provided.
- In `generate-login-payload.test.ts`, the test case for `uri` is changed to use `"example.com"` instead of `undefined`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-25 02:45:35 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
132ccd3535 Version Packages (#5171)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-25 13:06:16 +13:00
gregfromstl f23911e1da chore: service utils changeset (#5169)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on reducing the strictness of the parsing for published event actions in the `@thirdweb-dev/service-utils` package.

### Detailed summary
- Updated the `@thirdweb-dev/service-utils` package to a patch version.
- Modified the parsing logic for published event actions to be less strict, allowing for more flexible handling of events.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-24 23:30:33 +00:00
gregfromstl cd22bca3d8 [Dashboard] Fix: Exclude testnet $ from total sponsored (#5166)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on improving the handling of analytics data in the `useUserOpUsageAggregate` function by incorporating chain data and refining the conditional rendering in the `stat.tsx` component.

### Detailed summary
- In `stat.tsx`, changed the conditional rendering to check for `value !== undefined` instead of `value &&`.
- In `useApi.ts`, imported `useAllChainsData` for accessing chain data.
- Added `chainStore` to hold all chains data.
- Modified `userOpStats` type to include `chainId`.
- Implemented a check to skip testnets in aggregated stats based on `chainId`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-24 23:05:37 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
e4b6d87dd8 Version Packages (#5168)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-25 12:04:19 +13:00
Joaquim VergesandGitHub 158c2b6e8e feat: respect theme accentColor for default connect UI icons (#5163) 2024-10-25 11:52:08 +13:00
MananTank 52229be96a Revert @sentry/nextjs to 8.34.0 to fix page crash on tx rejection (#5167)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on downgrading the `@sentry/nextjs` package from version `8.35.0` to `8.34.0` and updating the corresponding dependencies in the `pnpm-lock.yaml` file.

### Detailed summary
- Downgraded `@sentry/nextjs` from `8.35.0` to `8.34.0` in `apps/dashboard/package.json`.
- Updated related dependencies in `pnpm-lock.yaml` to reflect the version change for `@sentry/nextjs` and its internal packages.
- Adjusted versions for several other `@sentry` packages to `8.34.0`.
- Removed unnecessary version specifications in `pnpm-lock.yaml`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-24 22:37:50 +00:00
gregfromstl 012f3defda Update service-utils event publishing to accept any source (#5162)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `usageEventSchema` in `packages/service-utils/src/core/usage.ts` by changing the type of the `source` field from an enumeration to a string, allowing for more flexibility in the values that can be assigned to `source`.

### Detailed summary
- Changed the `source` field in `usageEventSchema` from `z.enum` to `z.string()`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-24 22:25:10 +00:00
MananTank 8e43e340a7 Handle isContractDeployed error on contract page (#5165)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving error handling when checking if a contract is deployed. It ensures that if the contract check fails, it will not throw an error but instead return `false`.

### Detailed summary
- Modified `isValidContract` assignment to handle errors gracefully by using `.catch(() => false)` instead of letting the promise reject.
- Ensured that the flow continues to call `notFound()` if the contract is not valid.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-24 21:49:22 +00:00
gregfromstl 74e52c000e [Dashboard] Feature: Adds chain ID to total sponsored analytics (#5161)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces an interface `UserOpStatsByChain` and updates the `TotalSponsoredChartCard` component to handle user operation statistics by blockchain. It enhances chart data handling and visualization, allowing for better representation of sponsored gas across different chains.

### Detailed summary
- Added `UserOpStatsByChain` interface in `useApi.ts`.
- Updated `TotalSponsoredChartCard` to use `UserOpStatsByChain[]`.
- Modified chart data structure to accommodate multiple chains.
- Implemented logic to categorize and display "others" in charts.
- Adjusted CSV export to include unique chain data.
- Improved chart rendering with dynamic colors and data keys based on chains.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-24 21:02:08 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
120f965941 Version Packages (#5117)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-25 09:03:57 +13:00
kien-ngo cf36a33c3f [Dashboard] Update erc1155 airdrop form (#5127)
- [x] Remove tw-component's Drawer
- [x] Consolidate some shared code
- [x] Remove an useEffect

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the airdrop functionality in a dashboard application, improving the handling of token and NFT airdrops by consolidating interfaces and components.

### Detailed summary
- Renamed `ERC20AirdropAddressInput` to `AirdropAddressInput`.
- Updated `AirdropUploadERC20` to `AirdropUpload`.
- Adjusted state management for airdrop data.
- Simplified CSV data processing.
- Enhanced error handling during transaction processes.
- Replaced modal with `Sheet` component for airdrop interface.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-24 19:39:52 +00:00
joaquim-verges 2fdb69dd44 optimize: improve mintAdditionalSupplyTo efficiency (#5148)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on optimizing the `mintAdditionalSupplyTo` function in the `erc1155` extension by modifying how the token URI is handled during the minting process.

### Detailed summary
- Removed the retrieval of the existing token URI from the contract.
- Set the `uri` field to an empty string, indicating the contract will maintain the existing token URI.
- Kept the `to`, `tokenId`, and `amount` fields unchanged.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-24 08:41:20 +00:00
Joaquim VergesandGitHub 06c0cf3898 chore: update @mobile-wallet-protocol/client to 0.1.1 (#5151) 2024-10-24 21:07:55 +13:00
Joaquim VergesandGitHub 47b1bbbd7c feat: enable sign in with wallet for ecosystems (#5153) 2024-10-24 21:06:47 +13:00
kien-ngo 53e9d8bc1d [SDK] Consolidate ERC1155 Drop tests (#5137)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring tests for the `erc1155` extension, updating account references, and adding new test cases for metadata updates and claim conditions.

### Detailed summary
- Deleted `claimTo.test.ts` and `updateMetadata.test.ts`.
- Updated account references from `TEST_ACCOUNT_A` to `TEST_ACCOUNT_C`.
- Added a test case for updating metadata.
- Added a test case to verify claiming without payment for the primary fee recipient.
- Ensured `getActiveClaimCondition` works correctly with new test cases.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-24 06:01:54 +00:00
jnsdls 9fadbcc17a update dependencies (#5150)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating dependencies across multiple packages, including `@thirdweb-dev/react-native-adapter`, `@thirdweb-dev/service-utils`, and `thirdweb`, along with making type exports consistent in various modules.

### Detailed summary
- Updated `@cloudflare/workers-types` from `4.20241011.0` to `4.20241022.0`.
- Updated `@biomejs/biome` from `1.9.3` to `1.9.4`.
- Updated `turbo` from `2.1.3` to `2.2.3`.
- Updated `@tanstack/react-query` from `5.59.13` to `5.59.16` across multiple packages.
- Updated `lucide-react` from `0.452.0` to `0.453.0` across multiple packages.
- Updated `tailwindcss` from `3.4.13` to `3.4.14` across multiple packages.
- Updated `react-native` from `0.75.3` to `0.76.0`.
- Changed exports from `export { type ... }` to `export type { ... }` in several files for consistency.
- Updated multiple AWS SDK dependencies to `3.678.0`.
- Updated `viem` from `2.21.25` to `2.21.34`.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-24 01:15:46 +00:00
gregfromstl c04b93e705 [Dashboard] Feature: AA analytics tab (#5149)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the analytics dashboard for account abstraction by updating components, improving data handling, and adding new features for user operation statistics and wallet usage.

### Detailed summary
- Updated `clientId` handling in `ConnectAnalyticsDashboard` and `AccountAbstractionPage`.
- Introduced `connectLayoutSlug` prop in `ConnectAnalyticsDashboard`.
- Added `IntervalSelector` and `DateRangeSelector` components for better date management.
- Refactored `ConnectAnalyticsDashboardUI` to include `AccountAbstractionSummary`.
- Enhanced `TotalSponsoredChartCard` and `SponsoredTransactionsChartCard` with new chart states.
- Moved `createUserOpStatsStub` to a new location and cleaned up unused code.
- Improved data aggregation for user operation statistics in `useUserOpUsageAggregate`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-24 00:25:00 +00:00
Jonas DanielsandGitHub e6e994479f move landing page to framer (#5146) 2024-10-23 17:00:11 -07:00
arcoraven cf61115064 chore: add knowledge base link (#5147)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `supportLinks` array in the `Header.tsx` file to improve the naming of existing links and to add a new link for the Knowledge Base.

### Detailed summary
- Changed the name of the first link from `"Support Site"` to `"Get thirdweb support"`.
- Added a new link for the Knowledge Base with the name `"Knowledge Base"` and the URL `https://support.thirdweb.com`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-23 23:31:43 +00:00
Joaquim VergesandGitHub 60d2190e95 feat: smart account options for ecosystems (#5136) 2024-10-24 12:16:52 +13:00
MananTank 3cf0039c58 Move support ticket creation to /support/create-ticket page (#5144)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on restructuring the support ticket creation process in the dashboard application. It removes the old `CreateTicket` component and replaces it with a new implementation, enhancing user navigation and support form functionality.

### Detailed summary
- Deleted `create-ticket.client.tsx`.
- Updated `SupportPage` to replace `<CreateTicket />` with a button linking to `/support/create-ticket`.
- Created a new `Page` component for the support ticket creation, including authentication check and breadcrumb navigation.
- Introduced a new `CreateTicket` component with dynamic support form imports and form handling.
- Added form reset and submission handling in `CreateTicket`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-23 20:01:35 +00:00
kien-ngo 4841ff382a [Dashboard] Add some informative badges to the Explorer (#5138)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/VtULqGKSp33n0VHOzNJK/1670002e-3123-4770-b29c-fdc84dce88dd.png)
2024-10-23 18:51:06 +00:00
MananTank d580fe05e3 Customize faucet claim amount for various chains (#5143)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating the `FaucetButton` and related components to use dynamic claim amounts based on the `chainId`, replacing hardcoded values with a function that retrieves the appropriate amount.

### Detailed summary
- Changed `amount` type from `string` to `number` in `FaucetButton.tsx`.
- Introduced `customClaimAmounts` and `defaultClaimAmount` in `claim-amount.ts`.
- Updated `FaucetSection` and `GetFundsFromFaucet` to use `getFaucetClaimAmount`.
- Modified API response in `route.ts` to return dynamic claim amounts.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-23 17:33:34 +00:00
MananTank 7a1099b601 Make rows in contract table actual links to allow opening in new tab with cmd click (#5142)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `DeployedContractsPageHeader` and related components by improving the link handling for contract names and refining the UI elements in the contract table.

### Detailed summary
- Updated `DeployedContractsPageHeader` to use a new `Button` import.
- Added `linkOverlay` prop to `AsyncContractNameCell`.
- Enhanced link styling in `AsyncContractNameCell` with conditional classes.
- Passed `linkOverlay` prop when rendering `AsyncContractNameCell` in the contract table.
- Simplified event handling in `ContractTableRow`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-23 17:09:16 +00:00
MananTank 4e5fdcf415 Fix claim condition loading state + UI tweaks (#5141)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `ClaimConditionsForm` component in the `claim-conditions` files to improve layout and loading state handling.

### Detailed summary
- Updated `Flex` component properties in `claim-conditions.tsx` for layout consistency.
- Added a loading spinner in `claim-conditions-form/index.tsx` to handle fetching state.
- Removed the previous spinner implementation for a cleaner loading experience.
- Adjusted `flexDir` property for better responsiveness.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-23 16:57:37 +00:00
MananTank eaeb53218c Show 404 on invalid contract address in contract page (#5140)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `Layout` component by adding a validation check to ensure that the `contractAddress` parameter is a valid address using `isAddress`. If the address is invalid, it returns a "not found" response.

### Detailed summary
- Imported `isAddress` from `thirdweb/utils`.
- Added a check to validate `props.params.contractAddress` using `isAddress`.
- If the address is invalid, the function returns `notFound()`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-23 16:52:11 +00:00
MananTank 09b7404985 Show 404 on deprecated chain contract page (#5139)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the handling of contract metadata and checking for deprecated chains in the `layout.tsx` file. It ensures that the correct contract information is used and adds a condition to handle deprecated chain statuses.

### Detailed summary
- Added a check for `chainMetadata.status` to call `notFound()` if the status is "deprecated".
- Updated the `isValidContract` check to use `contract` from `info` instead of the previous variable.
- Rearranged the destructuring of `contract` and `chainMetadata` for clarity.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-23 16:52:10 +00:00
Joaquim VergesandGitHub 3c77c6b2c8 fix: correct indentation in useSendTransaction example (#5133) 2024-10-23 19:46:54 +13:00
kien-ngo 71aa2578c3 [SDK] Consolidate tests to avoid excessive deployERC1155Contract (#5135)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring and enhancing the test coverage for the `erc1155` extension of the `thirdweb` package. It removes outdated tests, introduces new tests, and updates existing ones to improve functionality verification.

### Detailed summary
- Removed multiple test files related to `erc1155` functions.
- Updated `lazyMint.test.ts` to use `DROP1155_CONTRACT`.
- Added a test for `isGetNFTsSupported` in `drop1155.test.ts`.
- Simplified and enhanced tests in `mintAdditionalSupplyToBatch.test.ts`.
- Introduced new tests for `updateTokenURI`, minting, and `getOwnedTokenIds` in `token1155.test.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-23 06:37:09 +00:00
kien-ngo c32576fb47 [SDK] ERC721 claimToBatch extension (#5124)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the `claimToBatch` functionality for the `ERC721` extension, allowing multiple claims in a single transaction. It includes tests to ensure the optimization of claim content and the correct processing of batch claims.

### Detailed summary
- Added `claimToBatch` function in `claimToBatch.ts` for batch claiming NFTs.
- Introduced `ClaimToBatchParams` type to define batch claim structure.
- Implemented `optimizeClaimContent` function to consolidate identical recipient claims.
- Created tests for `claimToBatch` and `optimizeClaimContent` in `claimToBatch.test.ts`.
- Verified the functionality of `isClaimToSupported` in the test suite.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-23 03:39:12 +00:00
kien-ngo d522343e04 [SDK] Optimize mintAdditionalSupplyToBatch (#5125)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on optimizing the `mintAdditionalSupplyToBatch` extension by introducing a new function to batch minting requests that share the same recipient and token ID, reducing the number of transactions required.

### Detailed summary
- Added `WithOverrides` to `MintAdditionalSupplyToBatchParams`.
- Implemented `optimizeMintBatchContent` function to consolidate minting requests.
- Updated `mintAdditionalSupplyToBatch` to use optimized NFT data.
- Added a test for `optimizeMintBatchContent` to verify its functionality.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-23 03:15:05 +00:00
gregfromstl 4f22e2b190 [SDK] Feature: Track transactions and SIWE (#5086)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the analytics tracking for wallet connections and transactions within the `thirdweb` library. It refines the tracking methods by introducing specific tracking functions for connections and payments, enhancing the data sent for analytics.

### Detailed summary
- Deleted `track.ts` file.
- Updated import paths for `trackConnect` and `trackPayEvent` in several files.
- Introduced `trackConnect` and `trackPayEvent` functions with detailed parameters.
- Added tracking functionality to wallet connection methods in `in-app` and `coinbase` wallets.
- Enhanced error handling and data structure in tracking functions.
- Added tests for `trackConnect`, `trackPayEvent`, and `trackLogin` functionalities.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-23 00:37:33 +00:00
gregfromstl 319a203a4e [SDK] Fix: Prevent Duplicated RDNS Values from WalletConnect (#5129)
Fixes #5116

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating wallet metadata and image assets for various wallets in the `thirdweb` project. It includes changes to wallet IDs, homepages, image IDs, and mobile app links, ensuring accurate information for wallet integration.

### Detailed summary
- Removed the file `lovely-items-live.md`.
- Updated `native` and `universal` links for `finance.plena` and `finance.openwallet`.
- Changed `image_id` for `Crypto.com`, `Status`, `Coin98`, and others.
- Added new wallet entries for `com.daffione`, `com.beexo`, `id.plumaa`, `io.owallet`, and `com.ipmb`.
- Updated `getWalletInfo` method to include new wallets and remove `org.nitrogen` and `com.brave.wallet`.
- Added new images for several wallets as base64 encoded data.
- Updated the count of supported wallets in `wallet-ids.ts` and `wallet-infos.ts`.

> The following files were skipped due to too many changes: `packages/thirdweb/src/wallets/__generated__/wallet/com.coin98/image.ts`, `packages/thirdweb/src/wallets/__generated__/wallet/app.status/image.ts`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-23 00:25:29 +00:00
MananTank cdb907f175 Remove Gas estimator link in footer (#5134)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on modifying the `app-footer.tsx` component by removing the `Gas Estimator` link from the footer.

### Detailed summary
- Removed the `Link` component for `Gas Estimator`.
- The remaining `Link` component for `chainlist` retains its class names and attributes.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-22 23:50:57 +00:00
joaquim-verges 364d97e97e feat: auto-resolve entrypoint address from factory (#5123)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `smartWallet` integration to automatically resolve the entrypoint address from the account factory when available, enhancing usability and simplifying the configuration for users.

### Detailed summary
- Replaced `ENTRYPOINT_ADDRESS_v0_7` with `DEFAULT_ACCOUNT_FACTORY_V0_7` in the `smartWallet` configuration.
- Updated documentation to reflect changes in how to use the `smartWallet` with the factory.
- Added logic to resolve the entrypoint address from the factory if not provided.
- Introduced a new function `getEntrypointFromFactory` to fetch the entrypoint address from the account factory contract.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-22 21:54:20 +00:00
gregfromstl 795e9c13a4 [Service Utils] Feature: add ecosystem headers to extractAuthorizationData (#5083)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new ecosystem headers to the `extractAuthorizationData` function in the `service-utils` package, enhancing the authorization process by including `ecosystemId` and `ecosystemPartnerId`.

### Detailed summary
- Added `ecosystemId` and `ecosystemPartnerId` to the type definitions in `index.ts`.
- Updated `extractAuthorizationData` to retrieve `ecosystemId` and `ecosystemPartnerId` from headers and URL search parameters in `cf-worker/index.ts` and `node/index.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-22 21:24:33 +00:00
MananTank 0b510f881b Handle contract page crash if contract is not deployed (#5132)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving error handling in the `ContractOverviewPage` and validating contract existence in the `layout.tsx`. It introduces an `ErrorBoundary` around the `PublishedBy` component and checks if a contract is deployed before rendering the layout.

### Detailed summary
- Wrapped the `PublishedBy` component in an `ErrorBoundary` in `ContractOverviewPage.tsx`.
- Added a check for contract deployment using `isContractDeployed` in `layout.tsx`.
- Implemented a `notFound()` call if the contract is not deployed, with a TODO for future improvements.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-22 21:09:06 +00:00
kien-ngo 5351d4e407 [SDK] minor fix for test (#5122)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors the test for the `mintToBatch` function, changing its execution context and updating the minting logic to utilize `mintAdditionalSupplyToBatch`. It also modifies the structure of the NFT data being tested.

### Detailed summary
- Changed `describe` to use `describe.runIf(process.env.TW_SECRET_KEY)`.
- Updated minting function from `mintToBatch` to `mintAdditionalSupplyToBatch`.
- Adjusted parameters for minting NFTs.
- Modified the expected NFT details in the final assertion.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-22 20:26:10 +00:00
gregfromstl 0cafa33a18 [SDK] Feature: GitHub Auth (#5062)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces GitHub authentication support across various components of the application, enhancing the social login options for users.

### Detailed summary
- Added `GitHub` to authentication options in `types.ts`.
- Included `GitHub` in the social login forms and icons.
- Updated the `InAppWebConnector` to handle `GitHub` authentication.
- Defined `GITHUB_ICON` SVG for branding.
- Integrated `githubIconUri` for wallet icons.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-22 19:44:00 +00:00
gregfromstl dd77c7f57c Analytics UI Empty States (#5121)
<img width="968" alt="Screenshot 2024-10-21 at 6 23 23 PM" src="https://github.com/user-attachments/assets/86000f33-2041-4d3a-b084-b6367e61f032">

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `DocLink` component for better link handling and integrating it into various chart components for improved user guidance on wallet connections and transactions.

### Detailed summary
- Added `DocLink` component in `DocLink.tsx`.
- Refactored `ConnectSDKCard` to use `DocLink` instead of its previous implementation.
- Modified `EmptyChartState` to accept `children` for customizable content.
- Integrated `DocLink` into multiple chart components, providing links for wallet integration guidance.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-22 19:21:27 +00:00
MananTank 9c3ff94f29 Move ContractCard and PublishedBy components to RSC (#5097) 2024-10-22 18:44:47 +00:00
Joaquim VergesandGitHub 45fcfb1dae feat: support smart account options for ecosystem wallets (#5091) 2024-10-22 22:25:00 +13:00
Joaquim VergesandGitHub 788eefd1d5 refactor: simplify API fetch error handling in aa-chains route (#5119) 2024-10-22 22:24:06 +13:00
kien-ngo f8c981c0ca [SDK] ERC1155 extension: mintAdditionalSupplyToBatch (#5036)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new ERC1155 extension called `mintAdditionalSupplyToBatch`, allowing users to mint additional supplies of NFTs in a single transaction. It also modifies existing minting logic for better handling of asynchronous operations.

### Detailed summary
- Added new extension `mintAdditionalSupplyToBatch` in `mintAdditionalSupplyToBatch.ts`.
- Updated `mintToBatch.ts` for improved async handling and data processing.
- Created tests for `mintAdditionalSupplyToBatch` in `mintAdditionalSupplyToBatch.test.ts`.
- Updated export statements in `erc1155.ts` to include the new function.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-22 06:30:29 +00:00
kien-ngo 1628fa2a79 [SDK] Improve general test cases (#5054)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new tests for resolving Unstoppable Domains and updates the `mintToBatch` test for `ERC1155` contracts, including the handling of NFT retrieval and ensuring proper error handling.

### Detailed summary
- Added a test case in `resolveName.test.ts` to check error handling for addresses without a domain.
- Updated the `mintToBatch.test.ts` to use `describe.runIf` for conditional execution.
- Refactored the `mintToBatch` test to include NFT retrieval and validation after minting.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-22 06:18:22 +00:00
joaquim-verges 0e26a88e7f fix: resolve ecosystem image URL using thirdweb storage (#5120)
## Problem solved

Fixes CNCT-2087

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `Layout` component in the `layout.tsx` file by improving the way the ecosystem image URL is resolved using `resolveScheme`, ensuring proper handling of the image source.

### Detailed summary
- Added import for `resolveScheme` from `thirdweb/storage`.
- Added import for `client` from `../../../lib/client`.
- Updated the `src` attribute of the `<img>` tag to use `resolveScheme({ uri: ecosystem.imageUrl, client })` instead of directly using `ecosystem.imageUrl`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-22 00:52:15 +00:00
joaquim-verges 50f98d7486 portal: show all supported chains in AA docs (#5090)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `Document` component by adding the `AAChainList` feature, which fetches and displays account abstraction chains. It also improves the API route for fetching chain data.

### Detailed summary
- Added `AAChainList` component in `apps/portal/src/components/Document/AAChainList.tsx`.
- Implemented `getChains` function to fetch account abstraction chains.
- Updated API route in `apps/portal/src/app/api/aa-chains/route.ts` to fetch services and chains.
- Integrated `AAChainList` in the `page.mdx` for displaying available chains.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-21 23:14:11 +00:00
joaquim-verges 40aeb529ac test: add environment check for ERC1155 mintToBatch tests (#5115)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR modifies the test for the `mintToBatch` function in the `ERC1155 Edition` to include conditional execution based on the presence of a `TW_SECRET_KEY`. It also refactors the test structure, improving readability and organization.

### Detailed summary
- Changed `describe` to conditionally run based on `process.env.TW_SECRET_KEY`.
- Refactored the test structure for `mintToBatch`.
- Moved the `sendAndConfirmTransaction` call inside the test.
- Added detailed NFT validation after minting.
- Removed redundant code and improved clarity.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-21 23:00:13 +00:00
kumaryash90 e7bbc321c2 Fix auto verification of contracts (#5099)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the export of the `verifyContract` function from `ContractSourcesPage.tsx` and integrates it into the `CustomContractForm` component to send a verification request after deploying a contract.

### Detailed summary
- Changed `verifyContract` from a local function to an exported function in `ContractSourcesPage.tsx`.
- Imported `verifyContract` into `custom-contract.tsx`.
- Added a call to `verifyContract` in the `CustomContractForm` after contract deployment.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-21 22:09:39 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8f157aa43f chore(deps-dev): bump @vitejs/plugin-react from 4.3.2 to 4.3.3 (#5114)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 14:54:09 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a437baa57a chore(deps): bump @shazow/whatsabi from 0.15.3 to 0.15.4 (#5113)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 14:27:29 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4331ed1f04 chore(deps): bump framer-motion from 11.11.8 to 11.11.9 (#5112)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 14:12:37 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5c896b0fd5 chore(deps-dev): bump msw from 2.4.11 to 2.4.12 (#5107)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 14:06:36 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
16aa7b7918 chore(deps-dev): bump typedoc from 0.26.9 to 0.26.10 (#5106)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 14:01:41 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
341d312679 chore(deps-dev): bump @storybook/test from 8.3.5 to 8.3.6 (#5100)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 14:00:25 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3aff548a10 chore(deps-dev): bump @types/papaparse from 5.3.14 to 5.3.15 (#5103)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 14:00:13 -07:00
MananTank 002c545d0e Handle published contract page server side errors (#5098)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving error handling and null checks in the `published-contract` related components of the dashboard application. It ensures that appropriate actions are taken when data is missing, enhancing the application's robustness.

### Detailed summary
- Added null checks for `publishedContracts` in multiple files.
- Implemented `notFound()` calls when `publishedContractVersions` or `publishedContracts` are missing.
- Enhanced error handling in `getPublishedContractsWithPublisherMapping.ts` with try-catch.
- Updated `publisherAddress` resolution logic for better clarity.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-21 20:29:44 +00:00
MananTank bc5b543269 Fix all resolveScheme unhandled errors (#5096)
Fixes: DASH-333
2024-10-21 19:36:51 +00:00
MananTank 1a45f21abb Handle page crash when rendering NFTs with unexpected title, description values (#5095)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces error handling components to display messages for unexpected values in the NFT-related pages, enhancing user experience by providing feedback when data does not meet expectations.

### Detailed summary
- Added `react-error-boundary` to handle errors.
- Created `UnexpectedValueErrorMessage` component for displaying error messages.
- Integrated error handling in `TokenIdPage`, `NFTName`, and `NFTDescription` components.
- Updated `NFTGetAllTable` to use `UnexpectedValueErrorMessage` for invalid data.
- Wrapped NFT cell rendering in `ErrorBoundary` to catch errors.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-21 16:42:20 +00:00
kien-ngo d59ab13ce8 [Dashboard] Add Media URI to token page (#5088)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `TokenIdPage` component by adding a section to display the media URI of an NFT, including a button to copy the URI and a link to view it externally.

### Detailed summary
- Added a conditional rendering block to display the media URI if `nft.metadata.image` exists.
- Included a `GridItem` for the "Media URI" heading.
- Added a `CopyTextButton` to copy the media URI.
- Added a button with a link to the media URI, featuring an `ExternalLinkIcon`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-21 13:44:06 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
221f95b4f8 Version Packages (#5093)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-21 23:17:57 +13:00
Joaquim VergesandGitHub 223c497f49 fix: ensure smart accounts are deployed before validating signatures (#5092) 2024-10-21 23:08:43 +13:00
Joaquim VergesandGitHub 541bee5b34 fix: update useProfiles when connecting to different account (#5089) 2024-10-21 22:40:31 +13:00
MananTank df128bfc17 Open Share Modal after applying freewallets coupon (#5085)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new modal component, `ShareFreeWalletsModal`, to facilitate sharing free wallet offers via social media or email. It also updates the `CouponCard` to handle coupon applications and trigger the modal.

### Detailed summary
- Added `ShareFreeWalletsModal` component for sharing options.
- Created Storybook stories for `ShareFreeWalletsModal` in `share-free-wallets-modal.stories.tsx`.
- Updated `ApplyCouponCard` to include an additional parameter for coupon application callback.
- Integrated lazy loading for `ShareFreeWalletsModal` in `CouponCard`.
- Implemented state management for modal visibility in `CouponSection`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-19 18:31:07 +00:00
kien-ngo f2d10853f1 [Dashboard] Remove AddressCopyButton (#5077)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on removing the `AddressCopyButton` component from various files and replacing it with `CopyTextButton` and `CopyAddressButton` components to optimize bundle size and improve code consistency.

### Detailed summary
- Deleted `AddressCopyButton.tsx` file.
- Removed all imports of `AddressCopyButton` from multiple files.
- Replaced instances of `AddressCopyButton` with `CopyTextButton` in `webhooks-table.tsx` and `token-id.tsx`.
- Replaced `AddressCopyButton` with `CopyAddressButton` in `transaction-timeline.tsx` and `contract-subscriptions-table.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-19 08:52:15 +00:00
kien-ngo a68830ca67 [Dashboard] Edition's Mint tab to have custom recipient (#4981)
<img width="1211" alt="image" src="https://github.com/user-attachments/assets/35a4a06f-6170-4757-a901-73eb43e0af89">

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `mint-supply-tab` component by integrating a new form validation schema using `zod`, improving the user experience with better form handling, and updating the imports for consistency.

### Detailed summary
- Added `zod` for form validation.
- Created `mintAdditionalSupplyFormSchema` to validate recipient address and mint amount.
- Refactored form handling to use the new validation schema.
- Updated the form structure with `Form`, `FormField`, and related components.
- Replaced old form submission logic with a new `onSubmit` function.
- Improved user feedback with toast notifications for transaction status.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-19 08:40:16 +00:00
MananTank 5da500edca Add noUncheckedIndexedAccess: true in dashboard tsconfig and fix all issues (#5084)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces various enhancements and bug fixes across multiple files, focusing on improving type safety, handling undefined values, and refining conditions to prevent errors. It also updates the handling of cookies, contract metadata, and native token definitions.

### Detailed summary
- Added `"noUncheckedIndexedAccess": true` in `tsconfig.json`.
- Updated cookie retrieval to check for `_val` in `SyncStoreToCookies.tsx`.
- Modified ecosystem redirection condition in `EcosystemLandingPage.tsx`.
- Added checks for undefined chains in `allChains.ts`.
- Improved handling of optional values in various components.
- Enhanced error handling for uploaded files in `IconUpload.tsx`.
- Refactored native token definitions for better clarity and maintainability.
- Checked for existence of items before accessing properties in several components.
- Ensured consistent handling of optional chaining to avoid runtime errors.
- Updated metadata handling in various contract-related components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-19 02:46:44 +00:00
kien-ngo 4542a48933 [Dashboard] Add tokenURI section to the NFT page (#5035)
<img width="1172" alt="image" src="https://github.com/user-attachments/assets/bef8ec5b-b453-43e1-bc90-f7156b3dd578">

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `TokenIdPage` component by adding functionality for displaying and copying the token URI of an NFT. It introduces a `CopyTextButton` and a link that opens the token URI in a new tab, improving user interaction and accessibility.

### Detailed summary
- Added import for `CopyTextButton`.
- Added import for `ExternalLinkIcon`.
- Introduced `Link` from `next/link`.
- Added `token URI` section in the UI.
- Implemented `CopyTextButton` to copy the `nft.tokenURI`.
- Added a button with a link that opens the `nft.tokenURI` in a new tab.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-18 23:58:59 +00:00
Vasiliy GualotoandGitHub 17127d7763 Docs(update): Correcting the Modular contract getting started tutoria… (#5074) 2024-10-18 16:14:38 -07:00
MananTank 0dbb174e50 Mention missing Unreal Engine in various copy (#5082)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the descriptions in two files to include `Unreal Engine` as a supported platform alongside `Unity` and `React Native` for social logins and smart contract integrations.

### Detailed summary
- Updated the text in `apps/dashboard/src/components/embedded-wallets/Configure/index.tsx` to include `Unreal Engine` in the supported platforms for social logins.
- Modified the `description` in `apps/dashboard/src/pages/interact.tsx` to add `Unreal Engine` as a supported platform for smart contract integrations.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-18 17:18:50 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
0a1d59d789 Version Packages (#5069)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-18 10:18:08 -07:00
MananTank a04cda1e5a Improve chain page Open graph metadata + image (#5081)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the Open Graph metadata and improving the layout of the `chainPage` component in the dashboard application.

### Detailed summary
- In `layout.tsx`, added an `openGraph` object containing `title` and `description`.
- In `opengraph-image.tsx`, added the `objectFit` property with the value `"contain"` for image styling.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-18 17:00:19 +00:00
gregfromstl 67a363f624 [SDK] Fix: ConnectEmbed SIWE Revalidation (#5080)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing revalidation issues related to `siwe` authentication in the `ConnectEmbed` component by updating mutation keys to include the `activeAccount` address.

### Detailed summary
- Updated `mutationKey` for the `login` mutation to include `activeAccount?.address`.
- Updated `mutationKey` for the `logout` mutation to include `activeAccount?.address`.
- Added `gcTime`, `placeholderData`, and `refetchOnWindowFocus` options in the hook configuration.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-18 16:23:33 +00:00
kien-ngo 1cd11a86f7 [Dashboard] Remove unnecessary chakra-ui Tabs in Listing sheet (#5076)
Remove unnecessary Tabs, just put the button at the bottom, since there's ever been only 1 tab anyway

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/VtULqGKSp33n0VHOzNJK/53a75b30-20b2-471c-9566-4b022a96b616.png)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the marketplace components by removing unused files and consolidating the listing cancellation functionality into a single component, `CancelTab`. It also enhances the `ListingDrawer` component with improved UI elements for displaying asset information.

### Detailed summary
- Deleted `CancelDirectListing.tsx` and `CancelEnglishAuction.tsx`.
- Introduced `CancelTab` for handling cancellation of listings and auctions.
- Updated `ListingDrawer` to use `CancelTab`.
- Replaced `useTxNotifications` with `toast` for transaction feedback.
- Added `CopyAddressButton` and `CopyTextButton` for better user interaction.
- Refactored asset details display in `ListingDrawer` for improved readability.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-18 07:46:39 +00:00
iuwqyir 9da5cd7d49 Add insight service and expose cacheOptions for node auth (#5072)
## Problem solved

This update adds the "insight" scope to API keys and exposes cacheOptions for node authentication. It also includes the "insight" service in the SERVICE_DEFINITIONS object and adds it to the HIDDEN_SERVICES array. The authorizeNode function now accepts an optional cacheOptions parameter, allowing for more flexible caching strategies in node authentication.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `@thirdweb-dev/service-utils` by adding an `insight` service, modifying the `CacheOptions` type, and updating the `authorizeNode` function to accept `cacheOptions`. It also includes changes to the `HIDDEN_SERVICES` constant.

### Detailed summary
- Added `insight` service with properties `name`, `title`, and `description`.
- Updated `HIDDEN_SERVICES` to include `insight`.
- Changed `CacheOptions` from a local type to an exported type.
- Modified `authorizeNode` to accept `cacheOptions` as an argument.
- Updated the call to `authorize` to include `cacheOptions`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-18 07:12:12 +00:00
kien-ngo 0dd1438012 [Dashboard] Add Cloudflare Turnstile to Faucet page (#5067)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces support for Cloudflare Turnstile captcha validation in the faucet functionality of the dashboard application, enhancing security during fund claims. It also updates dependencies and configuration for the new feature.

### Detailed summary
- Added `TURNSTILE_SITE_KEY` constant to `env.ts`.
- Updated `package.json` to include `@marsidev/react-turnstile`.
- Modified `.env.example` to add `NEXT_PUBLIC_TURNSTILE_SITE_KEY` and `TURNSTILE_SECRET_KEY`.
- Updated `next.config.js` to allow scripts from Cloudflare.
- Enhanced `POST` handler in `route.ts` to validate `turnstileToken`.
- Updated `FaucetButton.tsx` to integrate Turnstile captcha and form handling.
- Introduced `claimFaucetSchema` for form validation using `zod`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-18 05:42:42 +00:00
joaquim-verges 0f4e6622e0 feat: add custom auth options to ecosystem settings (#5075)
## Problem solved

![CleanShot 2024-10-18 at 14.59.26.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/GGPGC1k4LEcpDtkOsVBe/73287a0a-c367-4a6e-9897-5df7c2935df6.png)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `Ecosystem` type and its related components by adding support for custom authentication options, including headers and endpoints, and updating the mutation logic to accommodate these changes.

### Detailed summary
- Added `customAuthOptions` to the `Ecosystem` type.
- Updated `useUpdateEcosystem` to accept `Ecosystem` directly.
- Modified mutation logic to handle the new `Ecosystem` structure.
- Introduced `CustomAuthOptionsForm` for managing custom authentication endpoints and headers.
- Enhanced UI components to reflect new functionality.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-18 04:47:34 +00:00
kien-ngo e67a300410 [Dashboard] Update support email to include wallet address (DASH-75) (#5055)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors the `prepareEmailBody` function to accept a single `props` object instead of multiple parameters. It also updates the function to include `name` and `walletAddress`, while modifying the email body to reflect these changes.

### Detailed summary
- Changed `prepareEmailBody` to accept a single `props` object.
- Added `name` and `walletAddress` to the `props` object.
- Updated the email body to include `# Name: ${name}` and `# Wallet address: ${walletAddress}`.
- Modified the call to `prepareEmailBody` to pass a structured object instead of separate arguments.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-17 21:23:34 +00:00
MananTank 00a6a56158 Move Contract page components to app router folder #2 (no code change) (#5073)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors the structure of the dashboard application, changing the import paths for several components and pages to a more localized format. It also moves certain components related to contract management and permissions to new locations.

### Detailed summary
- Updated import paths for various pages and components to local paths.
- Moved `ContractSplitPage` to `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/split/ContractSplitPage.tsx`.
- Moved `DistributeButton` to `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/split/components/distribute-button.tsx`.
- Moved `ContractProposalsPage` to `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/proposals/ContractProposalsPage.tsx`.
- Moved `ContractEditModulesPage` to `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/ContractEditModulesPage.tsx`.
- Moved `ContractPermissionsPage` to `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/permissions/ContractPermissionsPage.tsx`.
- Moved `ContractExplorerPage` to `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/explorer/ContractExplorerPage.tsx`.
- Moved `ContractSettingsPage` to `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/settings/ContractSettingsPage.tsx`.
- Updated import statements in `events-feed.tsx` and `permissions/index.tsx` to reflect new paths.
- Adjusted type imports in various components to align with the new structure.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-17 21:03:42 +00:00
MananTank 7855c3ea8a Move Contract page components to app router folder (no code change) (#5071)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on restructuring the file organization and imports within the `dashboard` application. It moves components to a more cohesive structure, enhancing maintainability and clarity.

### Detailed summary
- Updated imports to use relative paths instead of absolute paths.
- Renamed several component files for consistency.
- Moved `CancelDirectListing` and `CancelEnglishAuction` to a new structure under `components`.
- Adjusted imports in various `page.tsx` files to reflect new component paths.
- Consolidated marketplace-related components under a unified structure.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-17 20:22:08 +00:00
GWSzeto 6597cb6525 fix: small typo (#5070)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on correcting the links in the `page.mdx` file related to modular contracts in the portal documentation.

### Detailed summary
- Fixed the link for `Create Core Contract` from `create-core-contact` to `create-core-contract`.
- Fixed the link for `Create Module Contract` from `create-module-contact` to `create-module-contract`.
- Removed the link for `Deploy Modular Contract`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-17 19:19:16 +00:00
MananTank fbd9853697 Add extra info on page crashing errors to identify them in Sentry dashboard (#5068)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances error handling in the application by integrating `Sentry` with additional context for captured exceptions, specifically tagging the errors and providing extra information about the crashed page and router.

### Detailed summary
- In `global-error.tsx`, modified `Sentry.captureException` to use `Sentry.withScope` for better error context.
- Added tags and extra data (e.g., `crashedPage`, `boundary`, `router`) to the captured exceptions.
- In `_error.tsx`, implemented similar changes for handling errors with `contextData`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-17 19:02:15 +00:00
MananTank b01faacd99 Catch failed to post tracking errors (#5065)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving error handling in the `track.ts` file by catching errors during tracking operations to prevent them from being reported to error services.

### Detailed summary
- Modified the promise chain in `track.ts` to catch errors by adding a `.catch(() => {});` statement.
- Updated the changelog in `changeset/rotten-weeks-raise.md` to reflect the change in error handling for tracking operations.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-17 18:48:28 +00:00
MananTank ef6b4f48ef Add reason string on abort() method in fetch util (#5063)
Fixes: DASH-323

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving error handling in the `abort` method of the `AbortController` by adding a reason string. This change aims to prevent the `AbortError: signal is aborted without reason` errors and updates tests to reflect the new error message.

### Detailed summary
- Updated the `abort` method in `fetch.ts` to include a reason string: `controller?.abort("timeout")`.
- Changed the expected error message in `download.test.ts` from "This operation was aborted" to "timeout" for two test cases.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-17 18:35:23 +00:00
MananTank c5a2cdb3b6 Fix Cannot read properties of undefined (reading 'message') in errorParser.tsx (#5066)
Fixes: DASH-326
2024-10-17 18:24:12 +00:00
MananTank 5dd0c91d3e catch and handle error in TokenClaimButton (#5064)
Fixes: DASH-324
2024-10-17 18:12:22 +00:00
kien-ngo f8f90fd3ab [Dashboard] Fix prepareEvent code snippet (#5052)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on removing redundant lines of code related to the `preparedEvent` declaration in the `code-overview.tsx` file.

### Detailed summary
- Removed duplicate declarations of `preparedEvent` that included `contract` and `signature: "{{function}}"`.
- Streamlined the `getContractEvents` function call by eliminating unnecessary lines.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-17 11:22:13 +00:00
joaquim-verges 63037f1bf1 fix: ensure valid block explorer URL for address links (#5061)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `href` attribute in the `metadata-header.tsx` file to ensure that the URL for the block explorer correctly appends the address, handling cases where the URL may or may not end with a trailing slash.

### Detailed summary
- Modified the `href` attribute to check if `validBlockExplorer.url` ends with a `/`.
- If it does not, a `/` is added before appending `address/${address}`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-17 05:45:07 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
b205f1d298 Version Packages (#5050)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-17 16:58:17 +13:00
Joaquim VergesandGitHub cb6a0537d8 chore: update chains (#5059) 2024-10-17 16:41:49 +13:00
gregfromstl 772604eee2 Fix: Pass iframe data on every call (#5053)
## Problem solved

This removes any assumptions of the iframe's local storage persistence.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing the flaky authentication state in Progressive Web Apps (PWAs) by enhancing the `InAppWalletIframeCommunicator` and `IframeCommunicator` classes to properly manage local storage and client information.

### Detailed summary
- Added `localStorage`, `clientId`, and `ecosystem` as parameters to `IFrameCommunicatorProps`.
- Modified the constructor of `IframeCommunicator` to accept and assign `localStorage`, `clientId`, and `ecosystem`.
- Updated `onIframeLoadedInitVariables` to retrieve authentication data from `localStorage`.
- Enhanced message posting to include initialization data with every request to handle storage resets.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-17 03:05:07 +00:00
gregfromstl 6e4cd214a3 [Dashboard] Feature: AA Analytics (#5060)
![Screenshot 2024-10-16 at 6 26 17 PM](https://github.com/user-attachments/assets/0aa9b2f3-2891-4078-9251-7ba60a45f8df)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the analytics dashboard by adding user operation statistics, improving chart components, and correcting minor naming inconsistencies.

### Detailed summary
- Fixed spelling of `DailyConnections` in `DailyConnectionsChartCard`.
- Updated the title of `DailyConnections` in its story file.
- Introduced `userOpStats` functions and types in `useApi.ts` and `storyUtils.ts`.
- Integrated `userOpUsage` and `aggregateUserOpUsage` in `ConnectAnalyticsDashboard`.
- Added `TotalSponsoredChartCard` and `SponsoredTransactionsChartCard` components with user operation stats.
- Modified `ConnectAnalyticsDashboardUI` to include new user operation metrics.
- Enhanced chart data handling for user operations in `TotalSponsoredChartCard` and `SponsoredTransactionsChartCard`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-17 01:59:46 +00:00
MananTank 77380200bb Fix Account Factories table stuck in loading state (#5058)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `enabled` property in the `AccountFactories` component's logic to check for the presence of data in `contractListQuery` more accurately.

### Detailed summary
- Changed the condition for the `enabled` property from checking `!!contractListQuery.data?.length` to `!!contractListQuery.data`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-16 21:48:35 +00:00
MananTank 85e7d15f22 Sentry config fixes for dashboard (#5056)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the configuration for `Sentry` in the `next.config.js` file and modifies the `turbo.json` to include an environment variable for `SENTRY_AUTH_TOKEN`. It also refines the `Sentry` setup options for better functionality and logging.

### Detailed summary
- Added `"env": ["SENTRY_AUTH_TOKEN"]` to `turbo.json`.
- Updated `Sentry` configuration in `apps/dashboard/next.config.js`:
  - Changed `silent` from `true` to `false`.
  - Added `authToken: process.env.SENTRY_AUTH_TOKEN`.
- Retained other `Sentry` options with no changes.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-16 21:23:44 +00:00
gregfromstl 3a141e742c [SDK] Feature: Twitch Login (#5047)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a `Twitch` authentication strategy across various components in the `thirdweb` package, enhancing social login options for users.

### Detailed summary
- Added `Twitch` as a new authentication option in multiple files.
- Updated `socialAuthOptions` to include `Twitch`.
- Integrated `Twitch` icon in UI components.
- Modified authentication logic to handle `Twitch` sign-in.
- Updated relevant types and constants for `Twitch`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 23:34:57 +00:00
MananTank 5f09091a23 Move claim condition components in app router folder (no code change) (#5049)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on restructuring the file organization of the `claim-conditions` components, moving them from a nested path to a more streamlined directory. It also updates import paths accordingly.

### Detailed summary
- Moved `claim-conditions` components to `_components` directory.
- Updated import paths in several files to reflect the new structure.
- Adjusted the layout of the `ClaimConditions` component to use `w-full`.
- Removed the import of `SnapshotUpload` from its old path and imported it from the new location.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 23:04:18 +00:00
MananTank d08b9be3c5 Move /nfts and /nfts/<tokenId> page components in app router folder (No code change) (#5048)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on restructuring the file paths and imports within the NFT dashboard components to improve organization and maintainability.

### Detailed summary
- Updated import paths for `TokenIdPage` and `ContractNFTPage` in the `page.tsx` files.
- Moved components from `contract-ui/tabs/nfts` to `app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/[tokenId]/components`.
- Added `useChainSlug` import in `table.tsx`.
- Refactored `airdrop-tab.tsx` to import `AirdropAddressInput` and `AirdropUpload` from local path.
- Adjusted import paths for `NftProperty` and `useNFTDrawerTabs` in `token-id.tsx`.
- Updated dynamic imports for several components in `useNftDrawerTabs.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 22:50:41 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
cb64067f47 Version Packages (#5030)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-16 11:49:41 +13:00
MananTank 2ed3be210c Move /analytics contract page in app router folder (no code change) (#5046)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the import path for the `ContractAnalyticsPage` component in the `page.tsx` file located in the analytics tab of the dashboard. It simplifies the import by using a relative path.

### Detailed summary
- Changed the import path for `ContractAnalyticsPage` from a long relative path to a simplified relative import (`"./ContractAnalyticsPage"`).
- No other significant changes are noted in the diff.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 22:27:27 +00:00
MananTank 0159983a99 Move /accounts contract page in app router folder (no code change) (#5044)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the structure of account-related components in the dashboard, improving import paths for better clarity and maintainability.

### Detailed summary
- Updated the import path for `AccountsPage` in `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/accounts/page.tsx`.
- Removed an unnecessary import of `useChainSlug` in `accounts-table.tsx` and replaced it with a direct import.
- Added `useChainSlug` import in `accounts-table.tsx` from a new path.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 22:27:25 +00:00
joaquim-verges ec10e81624 fix: improve wallet linking for ecosystems (#5045)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing wallet connection functionality by integrating ecosystem wallet support across various components in the `thirdweb` package.

### Detailed summary
- Updated `ConnectWalletSocialOptions.tsx` to include `ecosystem` in wallet connection.
- Modified `PassKeyLogin.tsx` to add `ecosystem` handling during signup.
- Enhanced `WalletAuth.tsx` to support ecosystem wallets.
- Improved `SocialLogin.tsx` by incorporating `ecosystem` in login methods.
- Adjusted `OTPLoginUI.tsx` to manage `ecosystem` data during authentication processes.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 22:17:24 +00:00
MananTank eaf303bc45 Move account-permissions page components in app router folder (No code change) (#5043)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring import statements for better path clarity and consistency in the `account-signers.tsx` and `account-signer.tsx` files.

### Detailed summary
- Updated import path for `AccountSigners` in `page.tsx` from a relative path to a more concise one.
- Adjusted the import path for `useAllChainsData` in `account-signer.tsx` to reflect a simpler structure.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 22:13:21 +00:00
MananTank 0b671fe8fc Move Account Page components in app router folder (No Code Change) (#5042)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the code structure for better organization and maintainability, particularly in the `account` section of the dashboard. It modifies import paths and updates component references.

### Detailed summary
- Changed import path for `AccountPage` in `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/account/page.tsx`.
- Updated import path for `NFTCards` in `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/account/components/nfts-owned.tsx`.
- Modified import paths for `useV5DashboardChain` and `StoredChain` in `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/account/components/deposit-native.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 22:02:47 +00:00
MananTank e701fbf0d3 Migrate Marketplace listing cards on overview page to shadcn/tailwind (#5041)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on updating the styling and structure of components in the `MarketplaceDetails` and `ListingCards` sections, replacing certain components with new ones and enhancing the layout.

### Detailed summary
- Changed `rounded-xl` to `rounded-lg` in `nft-media.tsx`.
- Replaced `TrackedLink` with `TrackedLinkTW` in `MarketplaceDetails.tsx`.
- Removed unused imports from `MarketplaceDetails.tsx`.
- Updated layout in `ListingCards` with a new grid structure.
- Enhanced `Skeleton` components with `SkeletonContainer` for better loading states.
- Improved styling and structure of listing items.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 21:44:53 +00:00
MananTank ccff347d96 Migrate Marketplace Listing Stats on Contract Overview page to shadcn+tailwind (#5040)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring components in the `MarketplaceDetails.tsx` and `listing-stats.tsx` files to replace instances of the `Flex` component with standard `div` elements, while also introducing a new `StatCard` component for displaying statistics.

### Detailed summary
- Replaced `Flex` components with `div` elements in `DirectListingCards`, `EnglishAuctionCards`, and `MarketplaceDetails`.
- Introduced a new `StatCard` component in `listing-stats.tsx` for displaying statistics.
- Updated the rendering of total listings, direct listings, and English auctions to use `StatCard`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 21:02:38 +00:00
MananTank 0cf478e33f Migrate ContractCheckList Card to shadcn + StepsCard UI adjustment (#5039)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the styling and structure of the `StepsCard` component in the dashboard by modifying the layout and updating the child elements to use `<p>` tags instead of `<Text>`, along with adjusting some class names for better styling consistency.

### Detailed summary
- Increased the gap in the `flex` container from `gap-5` to `gap-7`.
- Changed the margin-bottom of a `div` from `mb-3` to `mb-1`.
- Replaced `<Text>` components with `<p>` elements for children content in multiple steps.
- Updated `Link` components with new class names for consistent styling.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 21:02:36 +00:00
MananTank 52d89ceb6d Move contract overview page components to app router folder (No code changes) (#5038)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the structure of the dashboard components by relocating several components to a new directory structure under `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components`.

### Detailed summary
- Moved `NFTCards` import in `nfts-owned.tsx` to a new path.
- Updated `NFTCards` import in `NFTDetails.tsx` to the new path.
- Added `getAllRoleMembers` import in `PermissionsTable.tsx` from a new path.
- Moved `getAllRoleMembers` import to a new path in `PermissionsTable.tsx`.
- Added `useContractFunctionSelectors` import in `ContractChecklist.tsx` from a new path.
- Moved `useContractFunctionSelectors` import to a new path in `ContractChecklist.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 21:02:35 +00:00
jnsdls 60a80ef304 remove all leftover react-icons refrerences (#5031)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on replacing instances of `react-icons` with `lucide-react` icons across various components in the application, enhancing the icon usage consistency and potentially improving performance.

### Detailed summary
- Removed `react-icons` in favor of `lucide-react` icons in multiple components.
- Updated imports and icon usage in `EditPage`, `SponsorshipPolicies`, `GuideShowcase`, `InstalledModulesTable`, and others.
- Added a new `GithubIcon` component in `GithubButtonLink`.
- Modified the `StatusCheck` component to use `lucide-react` icons for status representation.
- Adjusted icon properties and classes for better styling and consistency.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 17:25:48 +00:00
arcoraven 82474486eb feat: Engine delete modal now prompts to permanently delete, calls new route (#4998)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on renaming and modifying the functionality related to deleting cloud-hosted engines in the `useEngine` hook and its usage in the `EngineInstancesTable`. The changes include updates to input types, function names, and UI elements for clarity and consistency.

### Detailed summary
- Renamed `RemoveCloudHostedInput` to `DeleteCloudHostedInput`.
- Changed `instanceId` to `deploymentId` in the input type.
- Renamed `useEngineRemoveCloudHosted` to `useEngineDeleteCloudHosted`.
- Updated API endpoint in the mutation function.
- Changed UI labels from "Remove" to "Delete" and "Cancel Engine Subscription" to "Permanently Delete Engine".
- Added feedback textarea in the delete confirmation modal.
- Enhanced alert messages for irreversible actions.
- Updated handling of deletion confirmation acknowledgment.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 16:46:07 +00:00
kien-ngo 958bedd724 [Dashboard] Remove react-icons (1) (#5034)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the icon components throughout the application, replacing icons from `react-icons` with `lucide-react` icons for a more consistent design and possibly improved performance.

### Detailed summary
- Replaced `FiArrowRight` with `MoveRightIcon` in `guide-showcase.tsx`.
- Replaced `BiChevronDown` with `ChevronDownIcon` in `NetworkSelectorButton.tsx`.
- Replaced `FiCalendar` and `FiClock` with `CalendarIcon` and `ClockIcon` in `DevRelEvent.tsx`.
- Replaced `IoCheckmarkCircle` and `AiOutlineDollarCircle` with `CircleCheckIcon` and `CircleDollarSignIcon` in `FeatureItem.tsx`.
- Replaced `AiOutlineCode` and `CgFileDocument` with `FileTextIcon` and `SquareTerminalIcon` in `CodeSelector.tsx`.
- Replaced various `react-icons` in `IpfsUploadDropzone.tsx` with `lucide-react` icons.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 14:03:40 +00:00
kien-ngo 3fe33a6ca0 [SDK] ERC1155 extension: mintToBatch (#5032)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds the `mintToBatch` function to the `ERC1155` extension, allowing multiple tokens to be minted in a single transaction. It includes new tests to ensure the functionality works as expected.

### Detailed summary
- Introduced `mintToBatch` function in `mintToBatch.ts`.
- Added `MintToBatchParams` type definition.
- Updated `erc1155.ts` to export `mintToBatch` and `MintToBatchParams`.
- Created tests for `mintToBatch` in `mintToBatch.test.ts` to validate minting multiple tokens.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 08:14:41 +00:00
joaquim-verges 1994d9e52d feat: support for enclave migration in React Native (#4992)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `thirdweb` package by introducing support for enclave wallet migration in React Native and updating relevant dependencies, including `@thirdweb-dev/react-native-adapter`.

### Detailed summary
- Added support for enclave wallet migration in React Native.
- Updated dependency versions for `@thirdweb-dev/react-native-adapter` and `thirdweb`.
- Changed how `ecosystemId` is handled in multiple files to use an object structure.
- Enhanced error handling in wallet recovery functions.
- Updated `ConnectedButton`, `ConnectedModal`, and other UI components to accept `client` prop.
- Introduced migration functionality in `migrateToEnclaveWallet`.
- Refactored wallet-related actions to improve code consistency and structure.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 08:10:05 +00:00
kien-ngo 44b2634d4c [Dashboard] Marketplace Listing drawer -> Sheet (#5008)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors the `ListingDrawer` component by replacing the `Drawer` component with the `Sheet` component, streamlining the layout and improving the structure of the user interface.

### Detailed summary
- Removed `Drawer` component and replaced it with `Sheet` and `SheetContent`.
- Adjusted properties for `Sheet` to manage open state and layout.
- Updated class names for `SheetContent` to maintain styling consistency.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 02:49:27 +00:00
kien-ngo 2e6361cc48 [Dashboard] Remove react-icons (3) (#5007)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating several components in the application to replace icons from `react-icons` with those from `lucide-react` and `@chakra-ui/react`, enhancing the visual consistency and modernizing the UI.

### Detailed summary
- Replaced `BsFillLightningChargeFill` with `ZapIcon` in `cta-buttons.tsx`.
- Updated `BsLightningCharge` to `ZapIcon` in `AnyEVM.tsx`.
- Added `InfoIcon` alongside `Trash2Icon` in `contract-subscriptions-table.tsx`.
- Replaced `FiInfo` with `InfoIcon` in `transaction-timeline.tsx`.
- Swapped `MdMarkEmailRead` with `MailCheckIcon` in `NewsletterSection.tsx`.
- Changed `IoIosInformationCircleOutline` to `InfoIcon` in `system-metrics/index.tsx`.
- Replaced `FaChartArea` with `ChartAreaIcon` in `system-metrics/index.tsx`.
- Updated `FiInfo` to `InfoIcon` in `transactions-table.tsx`.
- Changed `FiArrowLeft` to `MoveLeftIcon` and `FiArrowRight` to `MoveRightIcon` in `transactions-table.tsx`.
- Replaced multiple instances of `FiInfo` with `InfoIcon` in `TransactionDetailsDrawer`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 02:42:14 +00:00
kien-ngo d6f2acb7ac [Dashboard] Remove react-icons (2) (#5006)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating various components to replace icon imports from `react-icons` with icons from `lucide-react`. Additionally, it modifies the icon usage in several tables to enhance the UI consistency.

### Detailed summary
- Replaced `BsArrowRight` with `MoveRightIcon` in `RelevantDataSection`.
- Updated trash icons from `FiTrash` to `Trash2Icon` in:
  - `KeypairsTable`
  - `WebhooksTable`
  - `ContractSubscriptionTable`
  - `AdminsTable`
  - `EngineInstancesTable`
  - `RelayersTable`
  - `AccessTokensTable`
  - `BackendWalletsTable`
- Added `PencilIcon` in `AdminsTable`, `EngineInstancesTable`, `RelayersTable`, and `AccessTokensTable` for edit actions.
- Adjusted icon rendering to JSX syntax (`<IconName />`) for consistency across tables.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 02:42:13 +00:00
kien-ngo f6cf5b5c86 [Dashboard] Remove react-icons (1) (#5005)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing several instances of icon imports from `react-icons` with new icons from `lucide-react` across various components in the project, enhancing the consistency and modern look of the UI.

### Detailed summary
- Replaced `AiOutlineInfoCircle` with `CirclePlusIcon` in `FormItem.tsx`.
- Replaced `AiOutlinePlusCircle` with `CirclePlusIcon` in multiple buttons: `AddAdminButton`, `AddAccessTokenButton`, `AddKeypairButton`, `AddWebhookButton`, `AddRelayerButton`, `AddContractSubscriptionButton`.
- Updated icons in `SettingDetectedState` from `VscExtensions` to `Grid2x2XIcon` and `FiExternalLink` to `ExternalLinkIcon`.
- Replaced `BsShieldFillCheck` with `ShieldCheckIcon` and `FiArrowRight` with `MoveRightIcon` in `PublishedContractTable`.
- Updated `ModalSizeButton` to use `ListIcon` and `Rows3Icon` instead of `FaRectangleList` and `RiFileListFill`.
- In `PublishedContract`, replaced icons: `BiPencil` with `PencilIcon`, `VscCalendar` with `CalendarDaysIcon`, `VscBook` with `BookOpenTextIcon`, and `VscServer` with `ServerIcon`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 02:42:11 +00:00
kien-ngo 7bfad6ee74 [Dashboard] Mobile menu drawer -> Sheet (#4999)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `MobileMenu` component in the `apps/dashboard/src/components/product-pages/common/nav/MobileMenu.tsx` file by replacing the `Drawer` component with a new `Sheet` component for improved UI handling.

### Detailed summary
- Removed `display` prop from `MobileMenu` in `Topnav.tsx`.
- Changed `MobileMenu` from using `useDisclosure` to `useState` for open state management.
- Replaced `Drawer` with `Sheet` for menu display.
- Updated `IconButton` size in `MobileMenu`.
- Adjusted `onItemClick` handlers to close the menu using `setOpen(false)`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 02:42:10 +00:00
kien-ngo 6faf63ff95 [SDK] Fix upload reveal batch (#5009)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing the upload logic for creating delayed reveal batches in the `thirdweb` package. It improves the handling of file uploads and the calculation of starting file numbers for batches, ensuring proper functionality during NFT batch creation and reveal.

### Detailed summary
- Updated `createDelayedRevealBatch` to use `Promise.all` for concurrent uploads and token ID retrieval.
- Added logic to calculate the starting file number for batch uploads.
- Removed mock implementations for certain functions in the test file.
- Enhanced test cases to verify proper creation and revealing of NFT batches.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-15 01:54:28 +00:00
jnsdls da9f1964e4 update dependencies (#5029)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating dependencies across multiple packages, including `@aws-sdk/client-lambda`, `@radix-ui/react-*` components, and various development tools. It also includes a code change to handle `htmlStyle` in the `RenderCode` component.

### Detailed summary
- Updated `@aws-sdk/client-lambda` to `3.670.0`.
- Updated various `@radix-ui/react-*` components to the latest versions.
- Increased the `limit` in `.size-limit.json` for `thirdweb` from `105 kB` to `110 kB`.
- Updated `typescript` and `vitest` versions across multiple packages.
- Code change in `RenderCode` to handle cases where `token.htmlStyle` is undefined.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-14 22:52:59 +00:00
MananTank 96d4ad1849 Move Dashboard landing page to App router + Migrate to shadncn/tailwind (#4996)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring components in the `dashboard` section of the application, updating imports, and improving the layout and functionality of the `Changelog`, `HomeProductCard`, and `OnboardingSteps` components.

### Detailed summary
- Removed obsolete `Dashboard` constants.
- Updated `Link` import in `Changelog` from `tw-components` to `next/link`.
- Adjusted `Changelog` component to include a wider `Skeleton`.
- Modified `HomeProductCard` to use `next/image` and `next/link`.
- Enhanced `OnboardingSteps` to use a new structure for steps and modified the rendering logic.
- Changed step keys to a constant object format.
- Improved layout and styling for various components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-14 20:53:27 +00:00
MananTank 92fbb18ae9 Move Deployed Contracts Page to App Router (#4995)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the contract deployment and management features in the dashboard application. It introduces new components, improves layouts, and refines data handling for better user experience.

### Detailed summary
- Updated layout in `deploy.tsx` and `layout.tsx` to use flexbox for better responsiveness.
- Added `getAuthTokenWalletAddress` function in `getAuthToken.ts` for wallet address retrieval.
- Introduced `DeployedContractsPage` and `DeployedContractsTable` components for contract management.
- Refactored `DeployedContracts` component to accept contract list directly and handle loading state.
- Added `GetStartedWithContractsDeploy` component for user onboarding.
- Enhanced `DeployedContractsPageHeader` with import and deploy contract buttons.
- Improved sorting logic in `getSortedDeployedContracts.tsx`.
- Removed unused imports and cleaned up code for better readability.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-14 20:53:26 +00:00
MananTank 6ceb24b0d6 Show Payment Modal when applying a coupon if account has no validPayment method setup (#5011)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `ApplyCouponCard` and `CouponSection` components by introducing new props for handling payment setup. It allows the UI to conditionally display messages and trigger payment modals based on the payment status.

### Detailed summary
- Added `isPaymentSetup` and `onAddPayment` props to `ApplyCouponCardUI`.
- Updated `ApplyCouponCard` to handle new props.
- Modified the `onSubmit` method to check payment setup status.
- Enhanced `CouponSection` to receive and use new props.
- Replaced modal handling with state management in `Billing`.
- Updated `CouponSection` to trigger payment modal when needed.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-14 20:41:47 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e06b40ee67 chore(deps): bump react-dropzone from 14.2.3 to 14.2.9 (#5022)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 13:40:26 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f0d6212ef8 chore(deps): bump @radix-ui/react-accordion from 1.2.0 to 1.2.1 (#5024)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 13:39:05 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
52254865d3 chore(deps): bump @radix-ui/react-switch from 1.1.0 to 1.1.1 (#5020)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 13:31:41 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
068a83d9bd chore(deps): bump use-debounce from 10.0.3 to 10.0.4 (#5018)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 13:31:25 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
744c839cfa chore(deps): bump @radix-ui/react-popover from 1.1.1 to 1.1.2 (#5017)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 13:31:07 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7470677509 chore(deps-dev): bump vite from 5.4.8 to 5.4.9 (#5016)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 13:30:01 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c70777e4a7 chore(deps): bump @aws-sdk/credential-providers from 3.658.1 to 3.670.0 (#5014)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 13:29:42 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
06219c92cb chore(deps-dev): bump typedoc from 0.26.7 to 0.26.9 (#5015)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 13:29:22 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d845d3e58d chore(deps-dev): bump eslint-plugin-tailwindcss from 3.17.4 to 3.17.5 (#5013)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 13:29:03 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6fb8141e24 chore(deps): bump @radix-ui/react-select from 2.1.1 to 2.1.2 (#5012)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 13:28:49 -07:00
arcoraven 4672475ced feat: Support multiple wallets in Engine dashboard (#4956)
- Adds support for configuring creds for AWS + GCP independently
- Moves all touched UI to tailwind
- Import / Create wallet buttons allow selecting the wallet type
- Unrelated: Moved version upgrade button to the new enpdoint. Will deprecate the old one.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the engine configuration components to improve how instances and wallet configurations are handled, enhancing the overall clarity and functionality of the engine's wallet management features.

### Detailed summary
- Removed `instanceUrl` prop in favor of `instance` for components.
- Introduced `LocalConfig` component for local wallet configuration.
- Added support for multiple wallet types with `EngineBackendWalletOptions`.
- Updated wallet configuration forms to use a unified `Form` component.
- Improved error handling and user feedback for wallet operations.
- Enhanced dialog components for creating and importing backend wallets.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-14 19:42:57 +00:00
MananTank 926d823129 Fix ColorInput label click not triggering correct input in playground (#5010)
Fixes: DASH-315
2024-10-14 16:28:25 +00:00
kien-ngo 50e359d58b [SDK] Improve ERC1155 test coverage (#4985)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing test coverage for the ERC20 and ERC1155 extensions in the `thirdweb` package. It introduces conditional test execution based on the presence of a secret key and adds new tests to verify specific functionalities.

### Detailed summary
- Updated `describe` blocks to conditionally run tests based on `process.env.TW_SECRET_KEY` for multiple test files.
- Added tests for `isLazyMintSupported` in `erc1155: lazyMint`.
- Added tests for `isMintAdditionalSupplyToSupported` in `erc1155: mintAdditionalSupplyTo`.
- Added tests for `mintTo` functionality in `erc1155: mintTo`.
- Added tests for `isGetNFTsSupported` in `ERC1155 getNFTs`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-13 23:30:34 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
a1a6574c22 Version Packages (#5003)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-14 10:22:26 +13:00
gregandGitHub 98f358d63a fix: throw if no token is found in local storage (#4961) 2024-10-14 09:17:58 +13:00
db5457fa87 [SDK / Wallet UI] URI Connection (#4997)
Co-authored-by: Joaquim Verges <[email protected]>
2024-10-14 09:17:00 +13:00
Joaquim VergesandGitHub df0388d83b feat: expose auth options on useConnectModal (#5004) 2024-10-14 09:12:56 +13:00
kien-ngo 9685a85274 [SDK] Expose stuff for UD extensions, improve test (#4962)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `thirdweb` SDK by exposing new functionalities related to `UnstoppableDomains`, specifically the `namehash`, `reverseNameOf`, and `exists` methods, along with related error handling and utility functions.

### Detailed summary
- Added `namehash` and `reverseNameOf` functions to `UnstoppableDomains`.
- Introduced `exists` function to check the existence of a tokenId.
- Updated `resolveAddress` to utilize `exists` for validation.
- Added error handling for non-existent domain names in tests.
- Exported new types and functions from `unstoppable-domains`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-13 08:18:44 +00:00
joaquim-verges cd2c0f3868 feat: handle zksync direct deploys in deployContract (#5002)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `thirdweb` library with new features and bug fixes, particularly for zkSync deployments and improvements to various ERC1155 and ERC721 modules.

### Detailed summary
- Added support for zkSync direct deploys in `deployContract`.
- Updated `SequentialTokenIdERC1155` to include `startTokenId` in its module.
- Modified event signatures for `BatchMetadataUpdate` in both ERC721 and ERC1155.
- Increased test retry count and max concurrency in `vitest.config.ts`.
- Introduced new methods for batch metadata handling, including `getBatchIndex` and `getMetadataBatch`.
- Added `setBaseURI` functionality for both `BatchMetadataERC721` and `BatchMetadataERC1155`.
- Created parameter encoding functions for `updateTokenIdERC1155`.
- Enhanced error handling and configuration retrieval methods in modules.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-13 06:30:11 +00:00
Joaquim VergesandGitHub 4f346e69e3 docs: update read-contract usage examples and explanations (#5001) 2024-10-12 22:13:53 +13:00
MananTank f9f536568e Remove scrollIntoView for activeTab (#5000)
Its creating issues with scrolling on iOS
2024-10-12 05:55:59 +00:00
MananTank 79f029cdae Only Show Top wallets in Connect Analytics, merge rest to Others + Remove dynamically generated colors (#4994)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the wallet analytics dashboard by improving the display of wallet statistics, adding new wallet types, and refining the chart configurations for better visualization of wallet usage data.

### Detailed summary
- Updated `globals.css` to remove redundant CSS variables.
- Added new wallet types in `storyUtils.ts`.
- Adjusted container widths in several story components to a maximum width of `1150px`.
- Enhanced `WalletConnectorsChartCard` to show top wallets and aggregate others.
- Updated chart configuration to handle "Others" category in both `WalletConnectorsChartCard` and `WalletDistributionChartCard`.
- Changed `ChartToShow` type to include `totalConnections` and `uniqueWalletsConnected`.
- Modified data handling in `WalletDistributionChartCard` to aggregate wallet stats correctly.
- Updated rendering logic to reflect changes in chart data and labels.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-12 00:00:18 +05:30
gregfromstl 2914a50b84 Chore: deprecate iframe (#4991)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on deprecating two authentication strategies in the `types.ts` file related to in-app wallets. The strategies for `iframe_email_verification` and `iframe` are marked as deprecated, which indicates they should not be used in future implementations.

### Detailed summary
- Added `@deprecated` comment to the `iframe_email_verification` strategy.
- Added `@deprecated` comment to the `iframe` strategy.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-11 16:46:44 +00:00
MananTank 1b559bf224 Add bottom padding to Sidebar (#4993)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on modifying the padding class in the `Sidebar.tsx` component to enhance the layout.

### Detailed summary
- Changed the class from `pt-7` to `py-7` in the `div` element, which adjusts the vertical padding (top and bottom) instead of just the top padding.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-11 15:12:09 +00:00
Joaquim VergesandGitHub 982219a939 feat: add troubleshooting guide for React Native (#4990) 2024-10-11 13:36:03 +13:00
MananTank bed3561070 Update Banner copy (#4989)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the text of the `label` prop in the `AnnouncementBanner` component to provide a clearer and more concise message about the promotional offer for in-app wallets.

### Detailed summary
- Updated `label` prop in the `AnnouncementBanner` from:
  - 'Get 12 months of unlimited in-app wallets by applying the "FREEWALLETS" coupon in the billing dashboard'
  - To: 'Claim 12 months of free in-app wallets. Use code "FREEWALLETS". Redeem offer by October 31st!'

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-10 19:39:01 +00:00
MananTank 99adbe24ca Add Unlimited wallets Banner, Add Team & Legacy dashboard links in headers (#4971)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on removing the `DashboardTypeBanner` component and replacing it with the `UnlimitedWalletsBanner` in various files. It also introduces a new tooltip in the `SecondaryNav` and makes minor adjustments to the `BillingHeader` and `AnnouncementBanner`.

### Detailed summary
- Deleted `DashboardTypeBanner` component.
- Replaced instances of `TryTeamsUIBanner` and `TeamsUIBanner` with `UnlimitedWalletsBanner`.
- Added a tooltip in `SecondaryNav` for switching to the legacy dashboard.
- Simplified `BillingHeader` by changing the heading style.
- Updated `AnnouncementBanner` to include a new `UnlimitedWalletsBanner` function.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-10 18:45:43 +00:00
MananTank d7e34f23e6 Add Date Range and Interval Selector on Connect Analytics page (#4988)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the date range selection functionality in the `PayAnalytics` and `ConnectAnalyticsDashboard` components by incorporating the `subDays` function and restructuring the date range handling.

### Detailed summary
- Added `subDays` import from `date-fns` for date calculations.
- Refactored `getLastNDaysRange` to use `subDays` for calculating past dates.
- Moved and restructured the `presets` rendering logic in `Filters` for clarity.
- Introduced `DateRangeSelector` and `IntervalSelector` components in `ConnectAnalyticsDashboard`.
- Replaced `useMemo` with `useState` for managing date ranges in `ConnectAnalyticsDashboard`.
- Simplified date range handling and interval type selection.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-10 18:37:23 +00:00
arcoraven e06cc9b920 chore: New Engine Docs link, add some AA issues to troubleshooting guide (#4982)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the API documentation links throughout the application to point to the new `thirdweb-engine.apidocumentation.com` URLs, ensuring that users access the correct and up-to-date API references.

### Detailed summary
- Updated `API Reference` link in `sidebar.tsx`.
- Changed API reference links in `page.mdx` files for:
  - `See API reference` section.
  - `Update Chain Configuration` instructions.
  - `Cancel Transaction` references.
  - `Contract Subscriptions` references.
  - `Retry Transaction` and `Cancel` instructions.
  - `Reset Nonce` instructions.
- Added new content regarding `UserOps` and error handling.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-10 17:39:01 +00:00
MananTank ec5336695b Fix unhandled server error on certain deprecated chain slugs (#4986)
Fixes: DASH-311
2024-10-10 16:25:03 +00:00
MananTank e7dd1864f9 Fix View all analytics link in contract overview page (#4987)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the URL structure in the `Analytics.tsx` component to ensure the correct routing format for the analytics link.

### Detailed summary
- Changed the `href` attribute of the `Link` component from `${chainSlug}/${contractAddress}/analytics` to `/${chainSlug}/${contractAddress}/analytics` to include a leading slash.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-10 16:19:02 +00:00
kien-ngo ba9a7d4148 [Dashboard] Remove react-icons (2) (#4983)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating icon imports from `react-icons` to `lucide-react` across several components, enhancing consistency and potentially reducing bundle size.

### Detailed summary
- Replaced `FiMenu` with `MenuIcon` in `MobileMenu.tsx`.
- Replaced `FiSearch` with `SearchIcon` in `HackathonFooter.tsx`.
- Replaced `FiArrowRight` with `MoveRightIcon` in `TWQueryTable.tsx`.
- Replaced `BsFillLightningChargeFill` with `ZapIcon` in `HomePageCard.tsx` and `HeroSection.tsx`.
- Replaced `BsShieldCheck` with `ShieldCheckIcon` in `PublishedContract`.
- Replaced `FiArrowRight` and `FaEllipsisVertical` with `MoveRightIcon` and `EllipsisVerticalIcon` in `TWTable.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-10 14:50:37 +00:00
kien-ngo c776943d4e [Dashboard] Remove react-icons (1) (#4980)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating icon imports in various components, replacing some icons from `react-icons` with corresponding icons from `lucide-react`, and modifying the icon usage in the `HomePageCodeBlock`, `CustomContractForm`, `PublisherSocials`, `EventsFeedItem`, and `FileInput` components.

### Detailed summary
- Replaced `BsLightning` with `ZapIcon` in `HomePageCodeBlock`.
- Replaced `FiHelpCircle` with `InfoIcon` in `CustomContractForm`.
- Replaced `FiGlobe` with `GlobeIcon` in `PublisherSocials`.
- Replaced `FiCopy` with `CopyIcon` and `FiChevronDown` with `ChevronDownIcon` in `EventsFeedItem`.
- Replaced `FiUpload` with `UploadIcon` and `FiImage` with `ImageIcon` in `FileInput`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-10 14:50:33 +00:00
kien-ngo abcbcd0b64 [Dashboard] Fix HStack (#4984)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the layout of various components in the dashboard by adding `items-center` and `gap-2` classes to `div` elements with the `flex` class. This improves vertical alignment and spacing between elements.

### Detailed summary
- Added `items-center` and `gap-2` classes to multiple `div` elements in:
  - `airdrop-upload.tsx`
  - `AccountForm.tsx`
  - `snapshot-upload.tsx`
  - `index.tsx`
  - `Steps.tsx`
  - `DowngradeDialog.tsx`
  - `PlanCard.tsx`
  - `batch-table.tsx`
  - `UsagePage.tsx`
  - `Header.tsx`
  - `Plan.tsx`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-10 14:39:51 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
3d201fc603 Version Packages (#4975)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-10 21:40:11 +13:00
kien-ngo f3fee565f9 [SDK] Improve test coverage for ERC20 extensions (#4963)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding unit tests for various functionalities related to ERC20 contracts, including metadata retrieval, contract validation, and batch token transfers.

### Detailed summary
- Added tests for `getCurrencyMetadata` to validate ERC20 contracts and return correct metadata.
- Implemented tests for `isERC20` to check contract validity against USDT, USDC, and an NFT contract.
- Created tests for `transferBatch` to verify token transfers to multiple recipients.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-10 02:32:36 +00:00
gregandGitHub ec0f8d20bb [React Native SDK] Fix: Remove device share if recovering private key fails (#4976) 2024-10-10 15:27:59 +13:00
Joaquim VergesandGitHub ccd4cd6f59 fix: overestimate zksync gas limit for paymaster extra gas (#4979) 2024-10-10 12:35:47 +13:00
MananTank bd0dbb7033 Team Member Settings Page updates (#4978)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `TeamMembersSettingsPage` by adding an alert for unavailable features, updating the logic for invite permissions, and refining member management with improved filtering and sorting functionalities.

### Detailed summary
- Added an `Alert` component in `TeamMembersSettingsPage` to notify users about feature availability.
- Changed the condition for `inviteEnabled` in `InviteSection` to check for non-free plans.
- Updated member management logic to filter and sort members based on roles.
- Modified the `ManageMembersSection` to use filtered member lists for display and actions.
- Adjusted the `createMemberStub` function to accept a `createdHours` parameter.
- Updated storybook examples to reflect changes in team plans and permissions.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-09 22:46:10 +00:00
kien-ngo f5b82308ee [Dashboard] Fix minor layer issues (#4928)
Before:
![image](https://github.com/user-attachments/assets/5429077d-24ee-4641-8025-137a67ab187d)

After:
![image](https://github.com/user-attachments/assets/72784965-1708-48a9-b614-970697ad40b9)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the layout and styling of components in the `supply-cards.tsx` and `page.tsx` files to enhance the visual structure and responsiveness of the dashboard interface.

### Detailed summary
- In `supply-cards.tsx`, changed the layout from a row (`flex-row`) to a column (`flex-col`) for better alignment.
- In `page.tsx`, modified the layout to use `flex-col` with additional styling adjustments, including:
  - Updated heading class from `font-bold text-xl` to `font-semibold text-2xl tracking-tight`.
  - Adjusted the container to use a grid layout for better responsiveness.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-09 22:27:50 +00:00
joaquim-verges 7c103431c4 feat: add Soneium Minato chain definition (#4977)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding a new blockchain definition for `soneiumMinato` and updating the in-app wallet component to link with `Metamask` and `Passkey`.

### Detailed summary
- Added `soneiumMinato` chain definition in `packages/thirdweb/src/chains/chain-definitions/soneium-minato.ts`.
- Updated `packages/thirdweb/src/exports/chains.ts` to export `soneiumMinato`.
- Modified `apps/playground-web/src/components/in-app-wallet/profile-sections.tsx` to include buttons for linking `Metamask` and `Passkey`, replacing the `Coinbase Wallet` button.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-09 21:54:57 +00:00
ElasticBottle 6a4b776ecc chore: don't override auth token / client id when hitting in app wall… (#4974)
…et url

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `thirdweb` dashboard by allowing account linking and improving the authorization logic in the `fetch.ts` file.

### Detailed summary
- Updated the authorization check in `fetch.ts` to exclude URLs from in-app wallets when sending the `authToken`.
- Introduced a new function `isInAppWalletUrl(url: string): boolean` to determine if a URL is from an in-app or embedded wallet.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-09 18:30:50 +00:00
MananTank e29d80a9ec Spacing adjustments on account-abstraction policies form (#4973)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the layout and readability of the `SponsorshipPolicies` component in the `AccountAbstractionSettingsPage` by adjusting the spacing in flex containers and modifying text formatting for better clarity.

### Detailed summary
- Updated `div` elements to include `gap-6 lg:gap-12` for improved spacing.
- Changed text formatting to use `<br />` for line breaks instead of plain text.
- Made similar adjustments across multiple sections, including global spend limits and restrict to specific chains.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-09 18:06:20 +00:00
MananTank 0c5b0bf007 Add /unlimited-wallets framer path in rewrites, format js files with biome (#4972)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating configuration settings, version numbers, and making minor adjustments in the codebase, including enhancing the `FRAMER_PATHS` and refining error messages in the UI.

### Detailed summary
- Added `editor.defaultFormatter` for `[javascript]` in `.vscode/settings.json`.
- Updated `version` from `5.61.3` to `5.61.4` in `packages/thirdweb/package.json`.
- Expanded `FRAMER_PATHS` in `apps/dashboard/next.config.js`.
- Added a new entry in `packages/thirdweb/CHANGELOG.md` for version `5.61.4`.
- Modified error message handling in `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.tsx`.
- Changed fetch URL string formatting in `apps/dashboard/next-sitemap.config.js`.
- Renamed `_path` to `path` in the `transform` function of `apps/dashboard/next-sitemap.config.js`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-09 17:25:28 +00:00
MananTank 9adf6e6b25 Prefill Promo code on coupon card from search param + scroll into view (#4968)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces functionality for pre-filling a coupon code in the `ApplyCouponCard` component based on URL search parameters and enhances the user experience by scrolling into view when a coupon code is present.

### Detailed summary
- Added `BadgeContainer` for pre-filled coupon code display in `ApplyCouponCard.stories.tsx`.
- Utilized `useSearchParams` to retrieve the coupon code from the URL in `CouponCard.tsx`.
- Enhanced `ApplyCouponCardUI` to accept `prefillPromoCode` and `scrollIntoView` props.
- Implemented scrolling behavior to focus on the form when a coupon code is present.
- Wrapped `ApplyCouponCard` in a `Suspense` component to manage loading states effectively.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-09 17:10:31 +00:00
MananTank 9330401645 Include search params when redirecting to login page (#4967)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the login flow by preserving search parameters in the URL when redirecting to the login page and updating the `useLoggedInUser` hook to handle login state more effectively.

### Detailed summary
- Added `searchParamsString` to include query parameters in the login redirect.
- Updated `useLoggedInUser` to redirect based on `isLoggedIn` status instead of `redirectTo`.
- Introduced `buildLoginPath` function to construct login URLs.
- Removed unused `pathname` from `EnsureLoginPayload`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-09 17:10:30 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
6527123e99 Version Packages (#4970)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-09 09:37:48 -07:00
MananTank 3446b4cabf Remove accidentally added file path in Pay UI (#4969)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the user interface by removing unnecessary text from the error message displayed in the Pay UI of the `BuyScreen` component.

### Detailed summary
- Updated the error message in the `BuyScreen` component to remove extra text.
- The error message now simply states "Minimum amount is {errorMsg.minAmount}" without additional, redundant details.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-09 16:07:07 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
f83d2667be Version Packages (#4966)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-09 23:33:57 +13:00
Joaquim VergesandGitHub 24981a7f60 fix: respect raw accountSalt passed as hex (#4965) 2024-10-09 23:15:58 +13:00
kien-ngo f2c40bdadc [SDK] Improve test coverage for ERC721 extensions (#4964)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `erc721` extension by adding error handling, improving test coverage, and refining contract interactions, particularly regarding token URIs and contract support checks.

### Detailed summary
- Updated `getNFT.ts` to check for trimmed `uri`.
- Added new imports in test files for contracts and wallets.
- Implemented tests for unsupported contract methods in `getOwnedTokenIds.test.ts`.
- Added support check tests in `getNFTs.test.ts`.
- Created a test for default URI handling in `getNFT.test.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-09 04:12:48 +00:00
MananTank 26e3c57e8f Complete various TODOs in team layout (#4959)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on enhancing the handling of team images across various components in the dashboard. It updates the `src` attributes for `GradientAvatar` and `ProjectAvatar` components to use the appropriate team images, while also improving the `InviteSection` button functionality.

### Detailed summary
- Updated `src` for `GradientAvatar` in `TeamSelectionUI.tsx` to use `team.image`.
- Modified `className` for `Img` in `ProjectAvatar.tsx` to include an additional `border-border` class.
- Changed `src` for `titleAvatarIcon` in `TeamSettingsSidebar.tsx` to use `props.team.image`.
- Updated the `Upgrade` button in `InviteSection.tsx` to be a link to billing settings.
- Set `src` for `GradientAvatar` in `TeamHeaderUI.tsx` and `TeamHeaderMobileUI.tsx` to use `currentTeam.image`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-08 23:59:42 +00:00
gregfromstl 89bcb92619 [SDK] Test: Replace deprecated checkContractWalletSignature use (#4949)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating the function used to verify wallet signatures in the `smart-wallet-integration.test.ts` file. The change improves clarity by renaming `checkContractWalletSignature` to `verifySignature` and modifies the way the contract is obtained.

### Detailed summary
- Renamed the function from `checkContractWalletSignature` to `verifySignature`.
- Changed the way the contract is constructed by removing the `getContract` call and directly using the parameters `address`, `chain`, and `client`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-08 22:22:20 +00:00
MananTank 74cd019f8a Add SelectWithSearch + Improved Single Network Selector component (#4957)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/4586e4df-ba4e-4d02-b594-61c61c81f446.png)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors the network selection components by replacing `NetworkDropdown` with `SingleNetworkSelector` across multiple files, enhancing the network selection UI and functionality.

### Detailed summary
- Removed `NetworkDropdown` from various components.
- Introduced `SingleNetworkSelector` to replace `NetworkDropdown`.
- Updated props for `SingleNetworkSelector` to improve chain selection.
- Refactored related imports to point to the new component location.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-08 22:11:19 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
f5d2d35aaa Version Packages (#4960)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-09 10:55:47 +13:00
Joaquim VergesandGitHub 4170c60ca6 fix: export fetchKeyMetadataFromApi from service-utils (#4958) 2024-10-09 10:49:19 +13:00
MananTank c723aa9d5b Improved Multi Network Selector component (#4953)
Fixes: DASH-298

Its _blazingly fast_

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/bf448bb9-716e-4c47-8930-0e75e5d32905.png)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `NetworkDropdown` component into a new `MultiNetworkSelector` component, enhancing the multi-selection capabilities for network options while improving the overall code structure and functionality.

### Detailed summary
- Renamed `NetworkDropdown` to `MultiNetworkSelector` for multi-selection functionality.
- Updated `NetworksFieldset` and `AccountAbstractionSettingsPage` to utilize `MultiNetworkSelector`.
- Enhanced `MultiSelect` component with a `searchPlaceholder` prop and improved search functionality.
- Added `overrideSearchFn` and `renderOption` props to `MultiSelect` for customizable option rendering.
- Introduced `data-scrollable` attribute in `ScrollShadow` for better scrolling behavior.
- Improved styling and layout adjustments in various components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-08 21:33:20 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
33c2f56d3d Version Packages (#4950)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-09 10:08:26 +13:00
Joaquim VergesandGitHub eff129ab9a feat: export fetchKeyMetadataFromApi and remove checkPolicy options (#4955) 2024-10-09 09:13:24 +13:00
joaquim-verges 8efe536482 feat: add account factory 0.7 to explore (#4951)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces support for new account factories and updates documentation regarding custom account factories and Entrypoint v0.7. It enhances the `smartWallet` function and provides clearer information on available account factory options.

### Detailed summary
- Added support for `thirdweb.eth/AccountFactory_0_7` and `thirdweb.eth/ManagedAccountFactory_0_7`.
- Updated documentation to include usage of custom account factories with the `smartWallet` function.
- Included examples for using v0.7 Entrypoint with `smartWallet`.
- Revised default account factory information in the documentation to specify v0.6 and v0.7 options.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-08 19:43:51 +00:00
GWSzeto 5c4c570176 fix: small typo in the getting started docs (#4954)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on modifying the initialization of `callbackFunctions` and `fallbackFunctions` in the `create-module-contract` function to use dynamic arrays instead of single instances.

### Detailed summary
- Changed `config.callbackFunctions` from a single `CallbackFunction` to a dynamic array of `CallbackFunction` with size 1.
- Changed `config.fallbackFunctions` from a single `FallbackFunction` to a dynamic array of `FallbackFunction` with size 2.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-08 19:38:47 +00:00
Joaquim VergesandGitHub ea36c54118 feat: allow overriding callGasLimit for userops (#4948) 2024-10-09 07:25:47 +13:00
cf37bb5e54 Bump @storybook/test from 8.3.4 to 8.3.5 (#4943)
Co-authored-by: dependabot <[email protected]>
2024-10-08 10:32:20 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Manan Tank
fbab9f75d0 Bump @changesets/cli from 2.27.8 to 2.27.9 (#4941)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Manan Tank <[email protected]>
2024-10-08 10:32:08 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Manan Tank
96943e69f1 Bump @storybook/addon-interactions from 8.3.4 to 8.3.5 (#4940)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Manan Tank <[email protected]>
2024-10-08 10:31:57 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Manan Tank
6d84a5d81a Bump @shazow/whatsabi from 0.14.1 to 0.15.2 (#4942)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Manan Tank <[email protected]>
2024-10-08 10:31:32 -07:00
kien-ngo 4f6c364da2 [Dashboard] Add searchbar for Explorer (#4916)
Part of DASH-246

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a search functionality to filter displayed functions in the `ContractFunctionsPanel`. It enhances user experience by allowing users to search for specific functions using a search input.

### Detailed summary
- Added `SearchIcon` and `Input` components for search functionality.
- Implemented state management for keyword search using `useState` and `useDebounce`.
- Filtered functions based on the search input before rendering.
- Updated the layout to include the search input at the top of the functions list.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-08 17:13:42 +00:00
kien-ngo 0e900fe319 [Dashboard] Replace erc721 claim Drawer with Sheet (#4932)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `NFTClaimButton` component to replace the `Drawer` with a `Sheet` component for a better user interface. It enhances the form handling by integrating validation and error messaging for claiming NFTs.

### Detailed summary
- Removed the `Drawer` component and replaced it with a `Sheet`.
- Integrated `react-hook-form` for form handling.
- Added validation for the "To Address" and "Amount" fields.
- Implemented error messages for form validation.
- Added transaction handling logic for NFT claims.
- Used `TransactionButton` for submitting the claim.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-08 16:47:31 +00:00
MananTank 1adbc62477 Migrate Engine Overview page to shadcn/tailwind - Part1 (#4926)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `CreateBackendWalletButton` and `ImportBackendWalletButton` components to use a new dialog system, enhancing the user interface and improving code structure. It also introduces tooltips and updates form handling for better user experience.

### Detailed summary
- Replaced `Modal` with `Dialog` for `CreateBackendWalletButton` and `ImportBackendWalletButton`.
- Added `tooltip` prop in `FormFieldSetup`.
- Updated form handling for better state management and error display.
- Enhanced UI elements with improved styling and layout.
- Refactored wallet import and creation logic for clarity and maintainability.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-08 16:36:28 +00:00
kien-ngo 87c88546ec [Dashboard] Small update to allow open link with Explorer (#4930)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `InteractiveAbiFunction` component by adding support for displaying links for both IPFS URIs and traditional URLs. It introduces an `ExternalLinkIcon` and a new `Link` component for external links, improving user accessibility to resources.

### Detailed summary
- Added import for `ExternalLinkIcon` and `Link` from `next/link`.
- Modified the `language` prop in `CodeBlock` based on the response data type.
- Introduced a link for IPFS URIs that opens in a new tab.
- Added a link for traditional URLs with an icon, enhancing user interaction.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-08 16:26:08 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
d5039f4aa0 Version Packages (#4945)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-08 15:05:08 +13:00
Joaquim VergesandGitHub 7b7226f9c6 feat: export additional types from service-utils (#4946) 2024-10-08 14:33:58 +13:00
Joaquim VergesandGitHub 506764dabd feat: support showAllWallets prop in React Native Connect UI (#4933) 2024-10-08 11:19:54 +13:00
Joaquim VergesandGitHub a6449125b2 feat: add 'from' parameter to estimateGas example (#4938) 2024-10-08 11:19:27 +13:00
Joaquim VergesandGitHub 822ece45ec feat: add option to disable storing last passkey credentials (#4944) 2024-10-08 11:18:52 +13:00
MananTank fa826b5f1f Add Teams UI Banners (#4936)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `DashboardTypeCookieSetter` component to manage dashboard type cookies and updates various parts of the application to utilize this functionality. It also adds new banner components for improved user notifications.

### Detailed summary
- Added `DashboardTypeCookieSetter` component to set dashboard type cookies.
- Integrated `DashboardTypeCookieSetter` in `AppShell`, `RootTeamLayout`, and `AccountLayout`.
- Created `TeamsUIBanner` and `TryTeamsUIBanner` components for user announcements.
- Updated routing logic in `login/page.tsx` based on cookie value.
- Modified `AnnouncementBanner` for better usability and appearance.
- Added a new button in `HeroSection` to redirect based on cookie value.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-07 20:39:59 +00:00
MananTank dce2ca0e3d Fix MaskedAvatar component stuck in loading state (#4937)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on making minor adjustments to the text content in the `ambassadors.tsx` file and refining the handling of props in the `MaskedAvatar` component within `masked-avatar/index.tsx`.

### Detailed summary
- In `ambassadors.tsx`, added a space after "Meet the".
- In `masked-avatar/index.tsx`:
  - Changed `skeletonData` from `false` to `undefined`.
  - Changed `loadedData` from `isPending` to `src`.
  - Updated the render prop to use `v` instead of `src`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-07 19:28:23 +00:00
gregfromstl c6fbd60816 [SDK] Fix: pass gasPrice to injected provider (#4935)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces the handling of `gasPrice` in the transaction object within the `injected` wallet module.

### Detailed summary
- Added a new line to handle `gasPrice` in the transaction object.
- The `gasPrice` is conditionally converted to hexadecimal format using `numberToHex` if it exists.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-07 19:11:21 +00:00
kien-ngo 8e8011370b [Dashboard] Replace Reveal-NFT Drawer with Sheet (#4931)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing the `Drawer` component with a `Sheet` component in the `NFTRevealButton`. It enhances the user interface for revealing NFTs by implementing a form within the `Sheet` for batch selection and password input.

### Detailed summary
- Removed `Drawer` and `NFTRevealForm` components.
- Added `Sheet`, `SheetContent`, `SheetHeader`, `SheetTitle`, and `SheetTrigger` components.
- Integrated a form for batch selection and password input using `react-hook-form`.
- Implemented analytics tracking for the reveal action.
- Added error handling and toast notifications for transaction status.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-07 13:57:32 +00:00
0xFirekeeper 11de1f3ce2 [Portal] MAUI Template & Link Updates (#4929)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the `.NET SDK Portal` and its documentation, updating package versions, and adding new features related to MAUI integration, while also improving the sidebar navigation.

### Detailed summary
- Added `.NET SDK Portal` link to the sidebar in `sidebar.tsx`.
- Updated `Thirdweb` package version from `1.0.0` to `2.4.0` in `page.mdx`.
- Added `MAUI Integration` link to the sidebar in `sidebar.tsx`.
- Updated reference link for `Full Reference` in `sidebar.tsx`.
- Introduced new content for MAUI integration in `page.mdx`.
- Enhanced documentation with new constants and functions in `utils/page.mdx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-05 07:11:37 +00:00
kien-ngo 5c6f288d2a chore: Fix readContract docs (#4920)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `useReadContract` function calls in two files by adding a comma to the method definition for better syntax clarity.

### Detailed summary
- In `packages/thirdweb/src/transaction/read-contract.ts`:
  - Added a comma after the method definition for `tokenURI`.

- In `packages/thirdweb/src/react/core/hooks/contract/useReadContract.ts`:
  - Added a comma after the method definition for `tokenURI`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-05 02:08:10 +00:00
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
4660e0ceb8 Version Packages (#4907)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-05 12:06:15 +13:00
YashandGitHub 5211446f20 Cache create2 factory addresses (#4922) 2024-10-05 10:27:46 +13:00
joaquim-verges d4c423cd97 fix: handle 0n as from/to blocks in getContractEvents (#4919)
Fixes CNCT-1987

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the validation of `fromBlock` and `toBlock` parameters in the `getContractEvents` function to ensure they are explicitly defined before performing any calculations.

### Detailed summary
- Updated condition to check if `fromBlock` and `toBlock` are not `undefined` instead of truthy.
- Adjusted logic for setting `restParams.toBlock` and `restParams.fromBlock` based on the new checks.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-04 20:48:05 +00:00
dirtycajunrice b6bf3b923d Updated docs and replaced outdated speed-racer (#4903)
## Problem solved

* Updated Unreal Engine docs
* Replaced speed-racer references with tappyfowl
* Fixed all references of `unreal`  to `unreal-engine`

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on renaming the `unreal` module to `unreal-engine`, updating related paths, icons, and metadata throughout the codebase. It also introduces new wallet functionalities and modifies some documentation for clarity.

### Detailed summary
- Renamed `unreal` to `unreal-engine` across various files.
- Updated paths and references in `Header.tsx`, `layout.tsx`, and `sidebar.tsx`.
- Changed icon references from `UnrealIcon` to `UnrealEngineIcon`.
- Modified metadata functions to use `createUnrealEngineMetadata`.
- Added new wallet functionalities in `in-app-wallet` and `wallet-handles`.
- Updated documentation in multiple `.mdx` files to reflect changes.
- Deleted obsolete assets and files related to the old `unreal` structure.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`, `apps/portal/src/app/unreal-engine/blueprints/utilities/nodes.ts`, `apps/portal/src/app/unreal-engine/blueprints/in-app-wallet/nodes.ts`, `apps/portal/src/app/unreal/blueprints/smart-wallet/nodes.ts`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-04 20:37:17 +00:00
ElasticBottle 0f6b881bca docs: update fetching user details endpoint for ecosystems (#4918)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `getUser` functionality in the `thirdweb` SDK by adding support for querying user details via an external wallet address and ecosystem identifiers.

### Detailed summary
- Added support for querying user details using `externalWalletAddress` in `getUser`.
- Updated documentation for `getUser` to include `externalWalletAddress` as a query parameter.
- Modified examples in the documentation to demonstrate querying with `externalWalletAddress`.
- Updated user detail query parameters in documentation to reflect new options.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-04 19:54:38 +00:00
4dee169c3b Add ecosystem wallet security documentation (#4911)
Signed-off-by: Ian Mukherjee <[email protected]>
Signed-off-by: Joaquim Verges <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2024-10-05 08:53:52 +13:00
5dfde0f4ec Add guest mode documentation (#4910)
Signed-off-by: Ian Mukherjee <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2024-10-05 08:16:55 +13:00
MananTank b148fa0d65 Plug in Team settings page UI to API (#4888)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on enhancing the `Team` functionality by adding billing features, updating team settings, and refining the UI components to support new properties such as `billingEmail` and `image`. It also improves the update mechanisms for team attributes.

### Detailed summary
- Added `billingEmail` and `image` fields to the `Team` model.
- Updated the `TeamGeneralSettingsPage` to accept `authToken` instead of `client`.
- Implemented `updateTeam` function to handle team updates.
- Modified UI components to support new fields and update methods.
- Enhanced `FileInput` to handle fallback URLs.
- Refactored `TeamNameFormControl` and `TeamSlugFormControl` to utilize `updateTeamField` for updates.
- Integrated `resolveScheme` for avatar URL handling in `TeamAvatarFormControl`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-04 17:36:40 +00:00
MananTank 5c8766b5b6 Remove calls to 0.rpc on deploy page (#4925)
Fixes: DASH-268

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/4d64b356-b831-40e3-96a6-ed686b59a3e9.png)
2024-10-04 17:19:51 +00:00
MananTank 04f826923e Fix Get started with deploying contracts card buttons layout (#4923)
Current:

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/41286158-0065-465b-80a5-f61dd62af7b7.png)

Fixed:

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/be5b23ed-8159-421d-beb0-ca4dfc2f8c12.png)
2024-10-04 15:36:11 +00:00
kien-ngo c935fbf72d [Portal] Fix useChain in migrate docs (#4921)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the TypeScript SDK v5 cheatsheet to reflect changes in the wallet connection methods, specifically updating the references for the `Get Connected Chain` functionality.

### Detailed summary
- Updated the reference for `Get Connected Chain` from [`useSwitchActiveWalletChain()`] to [`useActiveWalletChain()`] in both `page.mdx` files.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-04 12:57:18 +00:00
Joaquim VergesandGitHub 63d0777e6f feat: add useLinkProfile hook and update profile linking docs + playground (#4906) 2024-10-04 21:18:32 +13:00
MananTank a94f98195b Show active coupon on billing page (#4917)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring and enhancing coupon-related components in the `Billing` section of the dashboard. It involves renaming components, improving props handling, and adding new functionalities for coupon application and management.

### Detailed summary
- Renamed `CouponCard` to `CouponSection` in `Billing/index.tsx`.
- Updated `SettingsCard` to use dynamic class names for buttons.
- Added new stories for `CouponDetailsCardUI` and `ApplyCouponCardUI`.
- Implemented optimistic updates for coupon application and deletion.
- Enhanced `CouponCard` to `ApplyCouponCard` with new props for coupon application.
- Introduced `CouponDetailsCardUI` for displaying active coupon details.
- Improved error handling and loading states in coupon-related components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-04 00:24:25 +00:00
kien-ngo 27375af91b [Dashboard] Remove react-icons (6) (#4915)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring components to improve code quality and consistency. It replaces some icon imports with new icons from `lucide-react`, adjusts class names for better styling, and introduces new components like `DotNetIcon` and `UnrealIcon`.

### Detailed summary
- Updated `className` in `airdrop-upload-erc20.tsx`.
- Replaced `FiChevronRight` with `ChevronRightIcon` in `MiniPlayground.tsx`.
- Added `DotNetIcon` and `UnrealIcon` components.
- Updated icon usage in `ConnectSDKCard.tsx` and `SnapshotUpload.tsx`.
- Refactored icons in `claim-conditions-form` and `snapshot-upload.tsx`.
- Adjusted layout and styling in various components for consistency.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 23:43:05 +00:00
arcoraven b2276e9b9f chore: move gas and timeout details to Engine FAQ (#4914)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating the documentation for transaction settings in the `Engine` feature. It clarifies the structure and usage of `txOverrides` for sending native currency and overriding gas settings, including examples and warnings about transaction timeouts.

### Detailed summary
- Changed keys in `txOverrides` from unquoted to quoted strings in the JSON structure.
- Added a section on sending native currency with examples.
- Introduced a section on overriding gas settings with examples.
- Included a warning about setting a timeout for transactions.
- Added a section on specifying transaction timeouts with examples.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 21:56:26 +00:00
MananTank b31ab5a371 Move /connect/account-abstraction to app router (#4896)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on implementing Account Abstraction features in the dashboard, enhancing the user interface, and integrating API key management for smart wallets.

### Detailed summary
- Removed `account-abstraction.tsx`.
- Added `getAASupportedAPIKeys` function to filter API keys for bundler services.
- Created `AccountAbstractionAPIKeysMenu` to manage API key selection.
- Implemented `PageHeader` for account abstraction context.
- Developed `OpChainAlert` to notify users about gas credits.
- Updated `Layout` with SEO metadata.
- Enhanced `SmartWallets` component to utilize a default tab.
- Created `Page` component to handle authentication and API key redirection.
- Added client ID specific page with account and API key validation.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 20:49:27 +00:00
MananTank b82011e764 Move /connect/in-app-wallets to app router (#4894)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `in-app-wallets` feature by adding new components and functionalities, including API key management and layout improvements.

### Detailed summary
- Added `getInAppWalletSupportedAPIKeys` function to fetch and filter API keys.
- Created `Layout` component with footer sections.
- Implemented `InAppWalletsAPIKeysMenu` for API key selection.
- Added `PageHeader` with description and link.
- Enhanced `Page` component to handle redirects and display API keys.
- Updated `EmbeddedWallets` component to use `defaultTab` prop instead of search params.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 20:49:26 +00:00
kien-ngo a7e285a90d [Dashboard] Remove react-icons (5) (#4904)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing icon imports from `react-icons` with `lucide-react` icons across various components in the dashboard application, enhancing the visual consistency and potentially improving performance.

### Detailed summary
- Replaced `FiEye` with `EyeIcon` in `reveal-button.tsx`.
- Replaced `FiCopy` with `CopyIcon` in `LatestEvents.tsx`.
- Replaced `BsLightningCharge` with `ZapIcon` in `GeneralCta.tsx`.
- Replaced `FiCheck` with `CheckIcon` in `address-input.tsx`.
- Replaced `FaXTwitter` with `XIcon` and `SiOpensea` with `OpenseaIcon` in `OpCreditsGrantedModal.tsx`.
- Replaced `FiX` with `XIcon` and caret icons with `ChevronDownIcon`, `ChevronUpIcon` in `phase.tsx`.
- Replaced `FiPlay` with `PlayIcon` and `FaCircleInfo` with `InfoIcon` in `interactive-abi-function.tsx`.
- Replaced `FiInfo` with `InfoIcon` in `list-form.tsx`.
- Replaced navigation icons in `accounts-table.tsx` with `Chevron` icons from `lucide-react`.
- Added `OpenseaIcon` component in `OpenseaIcon.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 20:29:57 +00:00
MananTank 615dd1e6a6 Move /connect/analytics to app router (#4893)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `Analytics` section of the dashboard by introducing a new `AnalyticsPageAPIKeysMenu`, updating the `ApiKeysMenu` component to use a more generic type, and improving the handling of API keys for better user experience.

### Detailed summary
- Removed `DashboardConnectAnalytics` from constants.
- Added `AnalyticsPageAPIKeysMenu` to manage API keys.
- Updated `ApiKeysMenu` to use a generic type for `apiKeys`.
- Modified selection logic in `ApiKeysMenu` to use `key` instead of `id`.
- Enhanced page redirection logic based on API keys availability.

> The following files were skipped due to too many changes: `apps/dashboard/tsconfig.tsbuildinfo`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 20:22:47 +00:00
kien-ngo 7cd39f07b4 [Dashboard] Remove react-icons (4) (#4900)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating various components in the dashboard to replace certain icon imports with `lucide-react` icons, enhancing the UI consistency and modernizing the iconography used throughout the application.

### Detailed summary
- Replaced `BiTransferAlt` with `ArrowLeftRightIcon` in `TransactionButton`.
- Replaced `IoChevronBack` with `ChevronLeftIcon` in `TokenIdPage`.
- Replaced `RiCheckboxMultipleBlankLine` with `FileStackIcon` in `BatchLazyMintButton`.
- Replaced `VscDebugDisconnect` with `UnplugIcon` in `MismatchButton`.
- Replaced `FiCopy` with `CopyIcon` in `PermissionsTable`.
- Replaced `FiCheckCircle` and `FiXCircle` with `CircleCheckIcon` and `CircleXIcon` in `VerifyContractModal`.
- Replaced `FiUpload` with `UploadIcon` in `AirdropTab`.
- Updated various components to use `lucide-react` icons instead of `react-icons`.
- Improved layout and styling in `AirdropUpload` and `AirdropTable` components.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 17:18:37 +00:00
kien-ngo 4b80b250b4 [Dashboard] Vote contract proposal drawer (#4899)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the proposal creation UI components, replacing a `Drawer` with a `Sheet` for better user experience, and enhancing the proposal submission process with improved form handling and error management.

### Detailed summary
- Deleted `proposal-form.tsx`.
- Modified `metadata-header.tsx` className for better styling.
- Replaced `Flex` components with `div` for layout in `page.tsx`.
- Refactored `ProposalButton` to use `Sheet` instead of `Drawer`.
- Added form handling with `react-hook-form` in `ProposalButton`.
- Implemented error handling and user feedback with `toast` in the proposal submission process.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 17:11:43 +00:00
MananTank 47f53879f8 Fix APIKey fetch in project layout (#4912)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new function, `getAPIKeyForProjectId`, to streamline the retrieval of API keys for projects. It replaces the previous usage of `getAPIKey` across multiple components, ensuring consistent handling of project IDs.

### Detailed summary
- Added `getAPIKeyForProjectId` function in `getAPIKeys.ts`.
- Replaced calls to `getAPIKey` with `getAPIKeyForProjectId` in:
  - `apps/dashboard/src/app/team/[team_slug]/[project_slug]/settings/page.tsx`
  - `apps/dashboard/src/app/team/[team_slug]/[project_slug]/settings/pay/page.tsx`
  - `apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/account-abstraction/page.tsx`
  - `apps/dashboard/src/app/team/[team_slug]/[project_slug]/settings/in-app-wallets/page.tsx`
  - `apps/dashboard/src/app/team/[team_slug]/[project_slug]/settings/account-abstraction/page.tsx`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 16:42:08 +00:00
kien-ngo 6ff85d32c5 [Dashboard] Remove react-icons (3) (#4898)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating icon imports from `react-icons` to `lucide-react` across multiple components, enhancing consistency and potentially improving performance.

### Detailed summary
- Replaced `FiX` with `XIcon` in `SmartWalletsBillingAlert`.
- Replaced `CircleAlert` with `CircleAlertIcon` in `AirdropTable`.
- Replaced `FiUpload` with `UploadIcon` in `IconUpload`.
- Updated `HackathonEarnFooter` to use `SearchIcon`.
- Replaced `BsLightningCharge` with `ZapIcon` in `Community`.
- Replaced `IoAlertCircleOutline` with `CircleAlertIcon` in `AirdropTable`.
- Updated pagination icons in `AirdropTable` to use `Chevron` icons from `lucide-react`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 16:07:58 +00:00
MananTank 37d62e2b06 Fix Engine /configuration page textarea populated with data (#4908)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `useForm` hook in two components, changing the prop from `defaultValues` to `values`. This change ensures that the form initializes with the provided values directly.

### Detailed summary
- In `cors.tsx`, changed `defaultValues` to `values` in the `useForm` hook.
- In `ip-allowlist.tsx`, changed `defaultValues` to `values` in the `useForm` hook.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 15:55:30 +00:00
kien-ngo 422a725092 [Dashboard] Fix airdrop erc20 scroll issue (#4909)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on modifying the `className` of the `SheetContent` component in the `airdrop-button.tsx` file to improve its styling by adding an `overflow-y-auto` class, allowing for vertical scrolling if the content exceeds the available space.

### Detailed summary
- Updated the `className` of the `SheetContent` component:
  - Added `overflow-y-auto` to enable vertical scrolling.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 14:39:36 +00:00
kien-ngo d1d3fdc732 [Dashboard] Remove react-icons (2) (#4885)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on replacing icon imports from `react-icons` with corresponding icons from `lucide-react` across multiple components, enhancing consistency and potentially reducing bundle size.

### Detailed summary
- Replaced `FiCopy` with `CopyIcon` in `AddressCopyButton`.
- Replaced `MdOutlineAccountBalanceWallet` with `WalletIcon` in `TransactionSimulator`.
- Replaced `FiMoon` and `FiSun` with `MoonIcon` and `SunIcon` in `ColorModeToggle`.
- Replaced `FiTrash` with `Trash2Icon` in `SettingsMetadata`.
- Added `PlusIcon` and `Trash2Icon` in `metadata.tsx`.
- Replaced `FiPlus` with `PlusIcon` in `permissions-editor.tsx`.
- Replaced `BsFillLightningChargeFill` with `ZapIcon` in `contact-us.tsx`.
- Replaced `BsFillLightningChargeFill` with `ZapIcon` in `contracts.tsx`.
- Replaced `IoChevronBack` with `ChevronFirstIcon` in `ContractPublishForm`.
- Replaced `IoChevronBack` with `ChevronLeftIcon` in `BatchLazyMint`.
- Replaced various `Md` icons with `Chevron` icons in `BatchTable`.
- Replaced `Chevron` icons in `airdrop-upload-erc20.tsx`.
- Replaced `FiExternalLink` with `MoveUpRightIcon` in `pricing.tsx`.
- Replaced `IoIosInformationCircleOutline` with `InfoIcon` in `pricing.tsx`.
- Replaced `IoCheckmarkCircle` with `CircleCheckIcon` in `pricing.tsx`.
- Replaced `AiOutlineDollarCircle` with `CircleDollarSignIcon` in `pricing.tsx`.
- Replaced `FiArrowRight` with `MoveRightIcon` in `marketplace-table.tsx`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 12:29:57 +00:00
kien-ngo a453d96aed [SDK] Unstoppable Domains resolvers (#4905)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on adding support for Unstoppable Domains within the `thirdweb` SDK, including new resolvers for names and addresses, and enhancing functionality through tests and constants.

### Detailed summary
- Added `UD_POLYGON_MAINNET` constant.
- Introduced functions: `resolveName`, `resolveAddress`, `reverseNameOf`, `getMany`, and `namehash`.
- Implemented tests for `resolveName` and `resolveAddress`.
- Added exports for new types and functions in `unstoppable-domains.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-10-03 09:57:36 +00:00
4388 changed files with 142991 additions and 859673 deletions
+6 -14
View File
@@ -1,26 +1,18 @@
# Order is important; the last matching pattern takes the most precedence.
# default ownership group
- @jnsdls @joaquim-verges @MananTank @gregfromstl
@thirdweb-dev/developer-tools
# packages
packages/thirdweb/ @joaquim-verges @gregfromstl @jnsdls
packages/thirdweb/ @thirdweb-dev/core-platform @thirdweb-dev/developer-tools
## specific thirdweb pieces
packages/thirdweb/src/react/ @joaquim-verges @gregfromstl @MananTank @jnsdls @edwardysun
packages/thirdweb/src/reactive/ @joaquim-verges @gregfromstl @MananTank @jnsdls
packages/thirdweb/src/gas/ @joaquim-verges @jnsdls
packages/thirdweb/src/pay/ @joaquim-verges @gregfromstl @MananTank @jnsdls @edwardysun
packages/service-utils/ @arcoraven @jnsdls @joaquim-verges
packages/eslint-config-thirdweb/ @jnsdls @joaquim-verges
packages/tw-tsconfig/ @jnsdls @joaquim-verges
packages/service-utils/ @thirdweb-dev/core-platform
packages/eslint-config-thirdweb/ @thirdweb-dev/core-platform @edwardysun
packages/tw-tsconfig/ @thirdweb-dev/core-platform @edwardysun
# apps
apps/ @jnsdls @joaquim-verges
apps/dashboard/ @jnsdls @MananTank @joaquim-verges
apps/playground-web/ @joaquim-verges @gregfromstl @jnsdls @joaquim-verges
apps/wallet-ui/ @gregfromstl @jnsdls @joaquim-verges @MananTank
apps/portal/ @gregfromstl @jnsdls @joaquim-verges @MananTank
apps/ @thirdweb-dev/developer-tools @thirdweb-dev/core-platform
# .github folder + .changeset + turbo config is owned by jonas for now
scripts/ @jnsdls @joaquim-verges
+9 -3
View File
@@ -5,12 +5,18 @@
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
ignore:
- dependency-name: "@aws-sdk/client-kms"
versions: ["3.592.0"]
- dependency-name: "@aws-sdk/client-lambda"
versions: ["3.592.0"]
- dependency-name: "@aws-sdk/credential-providers"
versions: ["3.592.0"]
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
+6
View File
@@ -8,6 +8,12 @@ playground:
packages:
- changed-files:
- any-glob-to-any-file: "packages/**/*"
sdk:
- changed-files:
- any-glob-to-any-file: "packages/thirdweb/**/*"
portal:
- changed-files:
- any-glob-to-any-file: "apps/portal/**/*"
"Ecosystem Portal":
- changed-files:
- any-glob-to-any-file: "apps/wallet-ui/**/*"
+13 -2
View File
@@ -1,4 +1,15 @@
## Problem solved
<!--
Short description of the bug fixed or feature added
## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):
## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.
## How to test
Unit tests, playground, etc.
-->
-17
View File
@@ -1,17 +0,0 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 14
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
+4 -4
View File
@@ -44,7 +44,7 @@ jobs:
uses: ./.github/composite-actions/install
- name: Build Packages
run: pnpm build:packages
run: pnpm build
lint:
needs: optimize_ci
@@ -87,8 +87,8 @@ jobs:
- run: pnpm test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
- name: Code Coverage
uses: codecov/codecov-action@v5
with:
directory: packages/
flags: packages
@@ -112,7 +112,7 @@ jobs:
uses: ./.github/composite-actions/install
- name: Build Packages
run: pnpm build:packages
run: pnpm build
- name: Install Yarn (if needed)
if: matrix.package_manager == 'yarn'
+19
View File
@@ -0,0 +1,19 @@
name: Auto Author Assign
on:
pull_request:
types: [opened, reopened, ready_for_review, draft]
permissions:
pull-requests: write
jobs:
assign-author:
runs-on: ubuntu-latest
if: |
github.event.pull_request.author_association == 'MEMBER' ||
github.event.pull_request.author_association == 'OWNER' ||
github.event.pull_request.author_association == 'COLLABORATOR' ||
github.event.pull_request.author_association == 'CONTRIBUTOR'
steps:
- uses: toshimaru/[email protected]
+49
View File
@@ -0,0 +1,49 @@
name: Linked Issue
on:
pull_request:
types: [opened, edited, ready_for_review]
env:
VALID_ISSUE_PREFIXES: "CORE|TOOL|NEB|INFRA"
jobs:
linear:
name: Linear
runs-on: ubuntu-latest
steps:
- name: Check for linked issue
uses: actions/github-script@v7
with:
script: |
const pr = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number
});
// Check if contributor is external
const isInternalContributor = ['MEMBER', 'OWNER', 'COLLABORATOR'].includes(
context.payload.pull_request.author_association
);
// Automatically pass for external contributors
if (!isInternalContributor) {
console.log('External contributor detected - automatically passing check');
return;
}
const body = pr.data.body || '';
const branchName = pr.data.head.ref;
const issueRegex = new RegExp(`(${process.env.VALID_ISSUE_PREFIXES})-\\d+`, 'i');
const branchIssueRegex = new RegExp(`(${process.env.VALID_ISSUE_PREFIXES.toLowerCase()})-\\d+`, 'i');
if (!issueRegex.test(body) && !branchIssueRegex.test(branchName)) {
core.setFailed(
`No valid issue reference found. PR body or branch name must contain an issue ID with one of these prefixes: ${process.env.VALID_ISSUE_PREFIXES}`
);
return;
}
const matches = body.match(issueRegex) || branchName.match(branchIssueRegex);
console.log(`Found issue reference: ${matches[0]}`);
-8
View File
@@ -30,17 +30,9 @@ jobs:
# Do not use the GITHUB_TOKEN by default
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.35
- name: Install
uses: ./.github/composite-actions/install
- name: Build
run: pnpm build
- name: Create @nightly release
run: |
pnpm version-packages:nightly
-8
View File
@@ -31,17 +31,9 @@ jobs:
# Do not use the GITHUB_TOKEN by default
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.35
- name: Install
uses: ./.github/composite-actions/install
- name: Build
run: pnpm build:release
- name: Create release Pull Request or publish to NPM
id: changesets
uses: changesets/action@v1
+15
View File
@@ -0,0 +1,15 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue has been inactive for 7 days. It is now marked as stale and will be closed in 2 days if no further activity occurs.'
stale-pr-message: 'This PR has been inactive for 7 days. It is now marked as stale and will be closed in 2 days if no further activity occurs.'
days-before-stale: 7
days-before-close: 2
+50
View File
@@ -0,0 +1,50 @@
name: TypeDoc
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment
concurrency:
group: "typedoc"
cancel-in-progress: true
jobs:
build:
name: "Generate TypeDoc"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
uses: ./.github/composite-actions/install
- name: Run TypeDoc
run: pnpm typedoc
- name: Update Gist
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GIST_TOKEN }}
script: |
const fs = require('fs');
const content = fs.readFileSync('./packages/thirdweb/typedoc/parsed.json', 'utf8');
const gistId = '678fe1f331a01270bb002fee660f285d';
await github.rest.gists.update({
gist_id: gistId,
files: {
'data.json': {
content: content
}
}
});
console.log(`Permalink: https://gist.githubusercontent.com/raw/${gistId}/data.json`);
+2
View File
@@ -29,3 +29,5 @@ packages/*/typedoc/*
*storybook.log
storybook-static
.aider*
tsconfig.tsbuildinfo
+1 -1
View File
@@ -1 +1 @@
20
22
+11 -1
View File
@@ -21,5 +21,15 @@
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
},
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[css]": {
"editor.defaultFormatter": "biomejs.biome"
},
"eslint.workingDirectories": [
{ "pattern": "./packages/*/" },
{ "pattern": "./apps/*/" }
]
}
+11 -10
View File
@@ -75,15 +75,6 @@ GITHUB_API_TOKEN="ghp_..."
# Upload server url
NEXT_PUBLIC_DASHBOARD_UPLOAD_SERVER="https://storage.thirdweb-preview.com"
# Payments Admin Secret. For dev, get this value from paper-web-dev (on Zeet)'s "HASURA_ADMIN_SECRET_KEY" env var
PAYMENTS_ADMIN_SECRET=""
# Disable telemetry
NEXT_TELEMETRY_DISABLED=1
# Use trench for KYC
NEXT_PUBLIC_TRENCH_2_API_ENDPOINT=""
# Unthread variables - only required for submitting the support form in /support
UNTHREAD_API_KEY=""
UNTHREAD_TRIAGE_CHANNEL_ID=""
@@ -96,4 +87,14 @@ UNTHREAD_PRO_TIER_ID=""
NEXT_PUBLIC_DEMO_ENGINE_URL=""
# API server secret (required for thirdweb.com SIWE login). Copy from Vercel.
API_SERVER_SECRET=""
API_SERVER_SECRET=""
# Used for the Faucet page (/<chain_id>)
NEXT_PUBLIC_TURNSTILE_SITE_KEY=""
TURNSTILE_SECRET_KEY=""
REDIS_URL=""
ANALYTICS_SERVICE_URL=""
# Required for Nebula Chat
NEXT_PUBLIC_NEBULA_URL=""
+5 -1
View File
@@ -34,6 +34,11 @@ module.exports = {
message:
"Use useV5DashboardChain instead if you are using it inside a component",
},
{
selector: "CallExpression[callee.name='resolveScheme']",
message:
"resolveScheme can throw error if resolution fails. Either catch the error and ignore the lint warning or Use `resolveSchemeWithErrorHandler` / `replaceIpfsUrl` utility in dashboard instead",
},
],
"no-restricted-imports": [
"error",
@@ -54,7 +59,6 @@ module.exports = {
"FormHelperText",
"FormErrorMessage",
"MenuGroup",
"MenuItem",
"VStack",
"HStack",
"AspectRatio",
+24 -17
View File
@@ -2,15 +2,13 @@ import type { Preview } from "@storybook/react";
import "@/styles/globals.css";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { MoonIcon, SunIcon } from "lucide-react";
import { ThemeProvider, useTheme } from "next-themes";
import { Inter as interFont } from "next/font/google";
// biome-ignore lint/style/useImportType: <explanation>
import React, { useState } from "react";
import React from "react";
import { useEffect } from "react";
import { Button } from "../src/@/components/ui/button";
// Note: Wrapping the Stoy with AppRouterProviders makes the storybook server time SUPER SLOW
// so let's just not have it there - all stories should be independent from context anyway and just rely on props
const queryClient = new QueryClient();
const fontSans = interFont({
@@ -31,9 +29,16 @@ const preview: Preview = {
decorators: [
(Story) => {
return (
<StoryLayout>
<Story />
</StoryLayout>
<ThemeProvider
attribute="class"
disableTransitionOnChange
enableSystem={false}
defaultTheme="dark"
>
<StoryLayout>
<Story />
</StoryLayout>
</ThemeProvider>
);
},
],
@@ -44,34 +49,36 @@ export default preview;
function StoryLayout(props: {
children: React.ReactNode;
}) {
const [theme, setTheme] = useState<"light" | "dark">("dark");
const { setTheme, theme } = useTheme();
useEffect(() => {
document.body.className = `font-sans antialiased ${fontSans.variable} ${theme === "dark" ? " dark" : ""}`;
}, [theme]);
document.body.className = `font-sans antialiased ${fontSans.variable}`;
}, []);
return (
<QueryClientProvider client={queryClient}>
<div className="min-h-screen flex flex-col bg-background text-foreground min-w-0">
<div className="flex justify-end p-4 border-b gap-2">
<div className="flex min-h-screen min-w-0 flex-col bg-background text-foreground">
<div className="flex justify-end gap-2 border-b p-4">
<Button
onClick={() => setTheme("dark")}
size="sm"
variant={theme === "dark" ? "default" : "ghost"}
variant={theme === "dark" ? "default" : "outline"}
className="h-auto w-auto rounded-full p-2"
>
<MoonIcon className="size-5" />
<MoonIcon className="size-4" />
</Button>
<Button
onClick={() => setTheme("light")}
size="sm"
variant={theme === "light" ? "default" : "ghost"}
variant={theme === "light" ? "default" : "outline"}
className="h-auto w-auto rounded-full p-2"
>
<SunIcon className="size-5" />
<SunIcon className="size-4" />
</Button>
</div>
<div className="grow flex flex-col min-w-0">{props.children}</div>
<div className="flex min-w-0 grow flex-col">{props.children}</div>
</div>
</QueryClientProvider>
);
+14 -1
View File
@@ -23,4 +23,17 @@ Some env vars can be overridden that are required for some external services to
To define env vars please create a `.env` file based on the `.env.example` template at the root level of the project. This file is ignored by git so you can safely add it to your local copy of the project.
**Add your thirdweb clientID and secret key to build a basic functioning version of the site.**
**Add your thirdweb clientID and secret key to build a basic functioning version of the site.**
## Code Structure and Style Guide
### Components
- Components should go in a `components` folder next to the app page they are used in.
- If a component is reused in multiple pages, it should go in the lowest level route folder it is used in. For example, if a chart component is used in all analytics subroutes `/analytics/...`, it should go in the `/analytics/components` folder.
- All low-level components such as buttons, inputs, etc. should be shadcn components found in `@/ui`.
- All composed components reused across all page routes are `blocks`, and should also go in the `@/ui` folder.
### Data fetching
- Use RSC wherever possible.
- Write data fetching code in its own function in the same file as the component it is used in, not exported.
- If the same data fetching function is used in multiple components, place it in a file in an `api` folder at the lowest level possible (just like components). If you need to do this you probable aren't organizing your components properly.
+45
View File
@@ -0,0 +1,45 @@
// add framer paths here
module.exports = [
// -- home
"/",
"/pricing",
"/bounties",
"/contact-us",
// -- product landing pages --
// -- connect
"/connect",
"/connect/sign-in",
"/connect/pay",
// -- nebula
"/nebula",
// --insight
"/insight",
// -- contracts
"/contracts",
"/contracts/modular-contracts",
"/contracts/explore",
"/contracts/deployment-tool",
// -- engine
"/engine",
// -- solutions pages --
"/solutions/gaming",
"/solutions/consumer-apps",
"/solutions/defi",
"/solutions/ecosystem",
// -- campaigns --
// "/unlimited-wallets", -- OFF for now
// -- TPP --
"/trusted-partner-program",
"/trusted-partner-program/:partner_slug",
// -- legal --
"/terms",
"/privacy-policy",
// -- community pages --
"/community/ambassadors",
"/community/startup-program",
// -- grants --
"/grant/superchain",
// -- templates --
"/templates",
"/templates/:template_slug",
];
+6 -1
View File
@@ -1,7 +1,12 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"next": true,
"ignore": ["src/@/components/ui/**"],
"ignore": [
"src/@/components/ui/**",
"src/components/notices/AnnouncementBanner.tsx",
"src/components/cmd-k-search/index.tsx",
"src/lib/search.ts"
],
"project": ["src/**"],
"ignoreBinaries": ["only-allow", "biome"],
"ignoreDependencies": ["@storybook/blocks", "@thirdweb-dev/service-utils"]
+1 -2
View File
@@ -1,6 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
+21 -6
View File
@@ -1,9 +1,10 @@
// @ts-check
/**
*
*/
async function fetchChainsFromApi() {
const res = await fetch(`https://api.thirdweb.com/v1/chains`, {
const res = await fetch("https://api.thirdweb.com/v1/chains", {
headers: {
"Content-Type": "application/json",
},
@@ -47,15 +48,21 @@ module.exports = {
policies: [
{
userAgent: "*",
[process.env.VERCEL_ENV !== "preview" &&
process.env.VERCEL_ENV !== "development"
? "allow"
: "disallow"]: "/",
// allow all if production
allow: process.env.VERCEL_ENV === "production" ? ["/"] : [],
// disallow all if not production
disallow:
process.env.VERCEL_ENV !== "production"
? ["/"]
: // disallow `/team` and `/team/*` if production
["/team", "/team/*"],
},
],
},
exclude: ["/chain/validate"],
transform: async (config, path) => {
transform: async (config, _path) => {
let path = _path;
// ignore og image paths
if (path.includes("_og")) {
return null;
@@ -75,8 +82,16 @@ module.exports = {
};
},
additionalPaths: async (config) => {
// eslint-disable-next-line @typescript-eslint/no-var-requires
const FRAMER_PATHS = require("./framer-rewrites");
const allChains = await fetchChainsFromApi();
return [
...FRAMER_PATHS.map((path) => ({
loc: path,
changefreq: config.changefreq,
priority: config.priority,
lastmod: config.autoLastmod ? new Date().toISOString() : undefined,
})),
...allChains.map((chain) => {
return {
loc: `/${chain.slug}`,
-226
View File
@@ -1,226 +0,0 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const ContentSecurityPolicy = `
default-src 'self';
img-src * data: blob:;
media-src * data: blob:;
object-src 'none';
style-src 'self' 'unsafe-inline' vercel.live;
font-src 'self' vercel.live assets.vercel.com framerusercontent.com;
frame-src * data:;
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;
connect-src * data: blob:;
worker-src 'self' blob:;
block-all-mixed-content;
`;
const securityHeaders = [
{
key: "X-DNS-Prefetch-Control",
value: "on",
},
{
key: "X-XSS-Protection",
value: "1; mode=block",
},
{
key: "X-Frame-Options",
value: "SAMEORIGIN",
},
{
key: "Referrer-Policy",
value: "origin-when-cross-origin",
},
{
key: "Content-Security-Policy",
value: ContentSecurityPolicy.replace(/\s{2,}/g, " ").trim(),
},
];
const redirects = require("./redirects");
// add framer paths here
const FRAMER_PATHS = ["/connect/sign-in", "/contracts/modular-contracts"];
/**
* @returns {import('next').RemotePattern[]}
*/
function determineIpfsGateways() {
// add the clientId ipfs gateways
const remotePatterns = [];
if (process.env.API_ROUTES_CLIENT_ID) {
remotePatterns.push({
protocol: "https",
hostname: `${process.env.API_ROUTES_CLIENT_ID}.ipfscdn.io`,
});
remotePatterns.push({
protocol: "https",
hostname: `${process.env.API_ROUTES_CLIENT_ID}.thirdwebstorage-staging.com`,
});
remotePatterns.push({
protocol: "https",
hostname: `${process.env.API_ROUTES_CLIENT_ID}.thirdwebstorage-dev.com`,
});
} else {
// this should only happen in development
remotePatterns.push({
protocol: "https",
hostname: "ipfs.io",
});
}
// also add the dashboard clientId ipfs gateway if it is set
if (process.env.NEXT_PUBLIC_DASHBOARD_CLIENT_ID) {
remotePatterns.push({
protocol: "https",
hostname: `${process.env.NEXT_PUBLIC_DASHBOARD_CLIENT_ID}.ipfscdn.io`,
});
remotePatterns.push({
protocol: "https",
hostname: `${process.env.NEXT_PUBLIC_DASHBOARD_CLIENT_ID}.thirdwebstorage-staging.com`,
});
remotePatterns.push({
protocol: "https",
hostname: `${process.env.NEXT_PUBLIC_DASHBOARD_CLIENT_ID}.thirdwebstorage-dev.com`,
});
}
return remotePatterns;
}
/** @type {import('next').NextConfig} */
const moduleExports = {
webpack: (config, { dev }) => {
if (config.cache && !dev) {
config.cache = Object.freeze({
type: "memory",
});
config.cache.maxMemoryGenerations = 0;
}
config.externals.push("pino-pretty");
config.module = {
...config.module,
exprContextCritical: false,
};
// Important: return the modified config
return config;
},
async headers() {
return [
{
// Apply these headers to all routes in your application.
source: "/(.*)",
headers: [
...securityHeaders,
{
key: "accept-ch",
value: "sec-ch-viewport-width",
},
],
},
];
},
async redirects() {
return redirects();
},
async rewrites() {
return [
{
source: "/thirdweb.eth",
destination: "/deployer.thirdweb.eth",
},
{
source: "/thirdweb.eth/:path*",
destination: "/deployer.thirdweb.eth/:path*",
},
...FRAMER_PATHS.map((path) => ({
source: path,
destination: `https://landing.thirdweb.com${path}`,
})),
];
},
images: {
dangerouslyAllowSVG: true,
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
remotePatterns: [
{
protocol: "https",
hostname: "**.thirdweb.com",
},
...determineIpfsGateways(),
],
},
reactStrictMode: true,
experimental: {
scrollRestoration: true,
webpackBuildWorker: true,
serverSourceMaps: false,
},
cacheMaxMemorySize: 0,
swcMinify: true,
compiler: {
emotion: true,
},
productionBrowserSourceMaps: false,
};
const { withSentryConfig } = require("@sentry/nextjs");
const { withPlausibleProxy } = require("next-plausible");
// we only want sentry on production environments
const wSentry =
process.env.NODE_ENV === "production" ? withSentryConfig : (x) => x;
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true",
});
module.exports = withBundleAnalyzer(
withPlausibleProxy({
customDomain: "https://pl.thirdweb.com",
scriptName: "pl",
})(
wSentry(
moduleExports,
{
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options
// Suppresses source map uploading logs during build
silent: true,
org: "thirdweb-dev",
project: "dashboard",
},
{
// For all available options, see:
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
// Upload a larger set of source maps for prettier stack traces (increases build time)
widenClientFileUpload: true,
// Transpiles SDK to be compatible with IE11 (increases bundle size)
transpileClientSDK: false,
// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
tunnelRoute: "/err",
// Hides source maps from generated client bundles
hideSourceMaps: true,
// Automatically tree-shake Sentry logger statements to reduce bundle size
disableLogger: true,
// Enables automatic instrumentation of Vercel Cron Monitors.
// See the following for more information:
// https://docs.sentry.io/product/crons/
// https://vercel.com/docs/cron-jobs
automaticVercelMonitors: false,
/**
* Disables the Sentry Webpack plugin on the server.
* See: https://github.com/getsentry/sentry-javascript/issues/10468#issuecomment-2004710692
*/
disableServerWebpackPlugin: true,
},
),
),
);
+227
View File
@@ -0,0 +1,227 @@
import type { SentryBuildOptions } from "@sentry/nextjs";
import type { NextConfig } from "next";
import type { RemotePattern } from "next/dist/shared/lib/image-config";
import FRAMER_PATHS from "./framer-rewrites";
import getRedirects from "./redirects";
const ContentSecurityPolicy = `
default-src 'self';
img-src * data: blob:;
media-src * data: blob:;
object-src 'none';
style-src 'self' 'unsafe-inline' vercel.live;
font-src 'self' vercel.live assets.vercel.com framerusercontent.com fonts.gstatic.com;
frame-src * data:;
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;
connect-src * data: blob:;
worker-src 'self' blob:;
block-all-mixed-content;
`;
const securityHeaders = [
{
key: "X-DNS-Prefetch-Control",
value: "on",
},
{
key: "X-XSS-Protection",
value: "1; mode=block",
},
{
key: "X-Frame-Options",
value: "SAMEORIGIN",
},
{
key: "Referrer-Policy",
value: "origin-when-cross-origin",
},
{
key: "Content-Security-Policy",
value: ContentSecurityPolicy.replace(/\s{2,}/g, " ").trim(),
},
];
function determineIpfsGateways() {
// add the clientId ipfs gateways
const remotePatterns: RemotePattern[] = [];
if (process.env.API_ROUTES_CLIENT_ID) {
remotePatterns.push({
protocol: "https",
hostname: `${process.env.API_ROUTES_CLIENT_ID}.ipfscdn.io`,
});
remotePatterns.push({
protocol: "https",
hostname: `${process.env.API_ROUTES_CLIENT_ID}.thirdwebstorage-staging.com`,
});
remotePatterns.push({
protocol: "https",
hostname: `${process.env.API_ROUTES_CLIENT_ID}.thirdwebstorage-dev.com`,
});
} else {
// this should only happen in development
remotePatterns.push({
protocol: "https",
hostname: "ipfs.io",
});
}
// also add the dashboard clientId ipfs gateway if it is set
if (process.env.NEXT_PUBLIC_DASHBOARD_CLIENT_ID) {
remotePatterns.push({
protocol: "https",
hostname: `${process.env.NEXT_PUBLIC_DASHBOARD_CLIENT_ID}.ipfscdn.io`,
});
remotePatterns.push({
protocol: "https",
hostname: `${process.env.NEXT_PUBLIC_DASHBOARD_CLIENT_ID}.thirdwebstorage-staging.com`,
});
remotePatterns.push({
protocol: "https",
hostname: `${process.env.NEXT_PUBLIC_DASHBOARD_CLIENT_ID}.thirdwebstorage-dev.com`,
});
}
return remotePatterns;
}
const SENTRY_OPTIONS: SentryBuildOptions = {
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options
org: "thirdweb-dev",
project: "dashboard",
// An auth token is required for uploading source maps.
authToken: process.env.SENTRY_AUTH_TOKEN,
// Suppresses source map uploading logs during build
silent: true,
// For all available options, see:
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
// Upload a larger set of source maps for prettier stack traces (increases build time)
widenClientFileUpload: true,
// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
tunnelRoute: "/err",
// Hides source maps from generated client bundles
hideSourceMaps: true,
// Automatically tree-shake Sentry logger statements to reduce bundle size
disableLogger: true,
// Enables automatic instrumentation of Vercel Cron Monitors.
// See the following for more information:
// https://docs.sentry.io/product/crons/
// https://vercel.com/docs/cron-jobs
automaticVercelMonitors: false,
};
const baseNextConfig: NextConfig = {
eslint: {
ignoreDuringBuilds: true,
},
productionBrowserSourceMaps: false,
experimental: {
webpackBuildWorker: true,
webpackMemoryOptimizations: true,
serverSourceMaps: false,
},
serverExternalPackages: ["pino-pretty"],
async headers() {
return [
{
// Apply these headers to all routes in your application.
source: "/(.*)",
headers: [
...securityHeaders,
{
key: "accept-ch",
value: "sec-ch-viewport-width",
},
],
},
];
},
async redirects() {
return getRedirects();
},
async rewrites() {
return [
{
source: "/thirdweb.eth",
destination: "/deployer.thirdweb.eth",
},
{
source: "/thirdweb.eth/:path*",
destination: "/deployer.thirdweb.eth/:path*",
},
// 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)
{
source: "/home",
destination: "/",
},
...FRAMER_PATHS.map((path) => ({
source: path,
destination: `https://landing.thirdweb.com${path}`,
})),
];
},
images: {
dangerouslyAllowSVG: true,
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
remotePatterns: [
{
protocol: "https",
hostname: "**.thirdweb.com",
},
...determineIpfsGateways(),
],
},
compiler: {
emotion: true,
},
reactStrictMode: true,
};
function getConfig(): NextConfig {
if (process.env.NODE_ENV === "production") {
// eslint-disable-next-line @typescript-eslint/no-var-requires
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true",
});
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { withPlausibleProxy } = require("next-plausible");
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { withSentryConfig } = require("@sentry/nextjs");
return withBundleAnalyzer(
withPlausibleProxy({
customDomain: "https://pl.thirdweb.com",
scriptName: "pl",
})(
withSentryConfig(
{
...baseNextConfig,
// @ts-expect-error - this is a valid option
webpack: (config) => {
if (config.cache) {
config.cache = Object.freeze({
type: "memory",
});
}
config.externals.push("pino-pretty");
config.module = {
...config.module,
exprContextCritical: false,
};
// Important: return the modified config
return config;
},
},
SENTRY_OPTIONS,
),
),
);
}
// otherwise return the base
return baseNextConfig;
}
export default getConfig();
+80 -82
View File
@@ -5,7 +5,7 @@
"scripts": {
"preinstall": "npx only-allow pnpm",
"dev": "next dev --turbo",
"build": "next build",
"build": "NODE_OPTIONS=--max-old-space-size=6144 next build",
"start": "next start",
"format": "biome format ./src --write",
"lint": "biome check ./src && knip && eslint ./src",
@@ -25,122 +25,120 @@
"@chakra-ui/react": "^2.8.2",
"@chakra-ui/styled-system": "^2.9.2",
"@chakra-ui/theme-tools": "^2.1.2",
"@coinbase/onchainkit": "^0.14.2",
"@emotion/react": "11.13.3",
"@emotion/styled": "11.13.0",
"@hookform/resolvers": "^3.9.0",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.0",
"@hookform/resolvers": "^3.9.1",
"@marsidev/react-turnstile": "^1.1.0",
"@n8tb1t/use-scroll-position": "^2.0.3",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-dialog": "1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-hover-card": "^1.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-radio-group": "^1.2.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@radix-ui/react-tooltip": "1.1.2",
"@sentry/nextjs": "8.32.0",
"@shazow/whatsabi": "^0.14.1",
"@stripe/react-stripe-js": "^2.7.3",
"@stripe/stripe-js": "^3.5.0",
"@tanstack/react-query": "5.56.2",
"@tanstack/react-table": "^8.17.3",
"@radix-ui/react-accordion": "^1.2.2",
"@radix-ui/react-alert-dialog": "^1.1.5",
"@radix-ui/react-avatar": "^1.1.2",
"@radix-ui/react-checkbox": "^1.1.3",
"@radix-ui/react-dialog": "1.1.5",
"@radix-ui/react-dropdown-menu": "^2.1.5",
"@radix-ui/react-hover-card": "^1.1.5",
"@radix-ui/react-label": "^2.1.1",
"@radix-ui/react-popover": "^1.1.5",
"@radix-ui/react-progress": "^1.1.1",
"@radix-ui/react-radio-group": "^1.2.2",
"@radix-ui/react-select": "^2.1.5",
"@radix-ui/react-separator": "^1.1.1",
"@radix-ui/react-slot": "^1.1.1",
"@radix-ui/react-switch": "^1.1.2",
"@radix-ui/react-tooltip": "1.1.7",
"@sentry/nextjs": "8.51.0",
"@shazow/whatsabi": "^0.19.0",
"@tanstack/react-query": "5.65.0",
"@tanstack/react-table": "^8.20.6",
"@thirdweb-dev/service-utils": "workspace:*",
"@vercel/og": "^0.6.2",
"abitype": "1.0.5",
"@vercel/functions": "^1.5.2",
"@vercel/og": "^0.6.5",
"abitype": "1.0.8",
"chakra-react-select": "^4.7.6",
"class-variance-authority": "^0.7.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"color": "^4.2.3",
"compare-versions": "^6.1.0",
"date-fns": "^3.6.0",
"date-fns": "4.1.0",
"fetch-event-stream": "0.1.5",
"flat": "^6.0.1",
"framer-motion": "11.9.0",
"framer-motion": "12.0.6",
"fuse.js": "7.0.0",
"input-otp": "^1.2.4",
"input-otp": "^1.4.1",
"ioredis": "^5.4.1",
"ipaddr.js": "^2.2.0",
"lottie-react": "^2.4.0",
"lucide-react": "0.441.0",
"next": "14.2.13",
"next-plausible": "^3.12.0",
"next-seo": "^6.5.0",
"next-themes": "^0.3.0",
"lucide-react": "0.474.0",
"next": "15.1.6",
"next-plausible": "^3.12.4",
"next-themes": "^0.4.4",
"nextjs-toploader": "^1.6.12",
"papaparse": "^5.4.1",
"openapi-types": "^12.1.3",
"p-limit": "^6.2.0",
"papaparse": "^5.5.1",
"pluralize": "^8.0.0",
"posthog-js": "1.67.1",
"prism-react-renderer": "^2.3.1",
"prismjs": "^1.29.0",
"qrcode": "^1.5.3",
"react": "18.3.1",
"react": "19.0.0",
"react-children-utilities": "^2.10.0",
"react-day-picker": "^8.10.1",
"react-dom": "18.3.1",
"react-dropzone": "^14.2.3",
"react-hook-form": "7.52.0",
"react-icons": "^5.2.1",
"react-intersection-observer": "^9.10.3",
"react-dom": "19.0.0",
"react-dropzone": "^14.3.5",
"react-error-boundary": "^4.1.2",
"react-hook-form": "7.54.2",
"react-markdown": "^9.0.1",
"react-responsive-carousel": "^3.2.23",
"react-table": "^7.8.0",
"recharts": "^2.12.7",
"recharts": "2.15.1",
"remark-gfm": "^4.0.0",
"server-only": "^0.0.1",
"sonner": "^1.5.0",
"shiki": "1.27.0",
"sonner": "^1.7.2",
"spdx-correct": "^3.2.0",
"swagger-ui-react": "^5.17.14",
"tailwind-merge": "^2.5.2",
"swagger-ui-react": "^5.18.2",
"tailwind-merge": "^2.6.0",
"tailwindcss-animate": "^1.0.7",
"thirdweb": "workspace:*",
"tiny-invariant": "^1.3.3",
"use-debounce": "^10.0.1",
"zod": "3.23.8"
"use-debounce": "^10.0.4",
"zod": "3.24.1"
},
"devDependencies": {
"@chakra-ui/cli": "^2.4.1",
"@chromatic-com/storybook": "2.0.2",
"@next/bundle-analyzer": "14.2.13",
"@next/eslint-plugin-next": "14.2.13",
"@playwright/test": "1.47.2",
"@storybook/addon-essentials": "8.3.4",
"@storybook/addon-interactions": "8.3.4",
"@storybook/addon-links": "8.3.4",
"@storybook/addon-onboarding": "8.3.4",
"@storybook/addon-viewport": "8.3.4",
"@storybook/blocks": "8.3.4",
"@storybook/nextjs": "8.3.4",
"@storybook/react": "8.3.4",
"@storybook/test": "8.3.4",
"@types/color": "^3.0.6",
"@types/node": "20.14.9",
"@types/papaparse": "^5.3.14",
"@chromatic-com/storybook": "3.2.4",
"@next/bundle-analyzer": "15.1.6",
"@next/eslint-plugin-next": "15.1.6",
"@playwright/test": "1.50.0",
"@storybook/addon-essentials": "8.5.2",
"@storybook/addon-interactions": "8.5.2",
"@storybook/addon-links": "8.5.2",
"@storybook/addon-onboarding": "8.5.2",
"@storybook/addon-viewport": "8.5.2",
"@storybook/blocks": "8.5.2",
"@storybook/nextjs": "8.5.2",
"@storybook/react": "8.5.2",
"@storybook/test": "8.5.2",
"@types/color": "4.2.0",
"@types/node": "22.10.10",
"@types/papaparse": "^5.3.15",
"@types/pluralize": "^0.0.33",
"@types/qrcode": "^1.5.5",
"@types/react": "^18.3.10",
"@types/react-dom": "^18",
"@types/react": "19.0.8",
"@types/react-dom": "19.0.3",
"@types/react-table": "^7.7.20",
"@types/spdx-correct": "^3.1.3",
"@types/swagger-ui-react": "^4.18.3",
"@types/swagger-ui-react": "^4.19.0",
"@typescript-eslint/eslint-plugin": "7.14.1",
"@typescript-eslint/parser": "7.14.1",
"autoprefixer": "^10.4.19",
"checkly": "^4.8.1",
"checkly": "^4.18.0",
"eslint": "8.57.0",
"eslint-config-biome": "1.8.4",
"eslint-plugin-react-compiler": "0.0.0-experimental-ca16900-20240916",
"eslint-plugin-storybook": "^0.9.0",
"knip": "^5.30.6",
"eslint-config-biome": "1.9.4",
"eslint-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
"eslint-plugin-storybook": "^0.11.1",
"knip": "5.43.5",
"next-sitemap": "^4.2.3",
"postcss": "8.4.47",
"storybook": "8.3.4",
"tailwindcss": "3.4.13",
"typescript": "5.6.2"
"postcss": "8.5.1",
"storybook": "8.5.2",
"tailwindcss": "3.4.17",
"typescript": "5.7.3"
}
}
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 187 KiB

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="110" height="26" fill="none" viewBox="0 0 110 26"><mask id="mask0_2_35" style="mask-type:luminance" width="109" height="24" x="0" y="1" maskUnits="userSpaceOnUse"><path fill="#fff" d="M108.813 1.04059H0.638809V24.2896H108.813V1.04059Z"/></mask><g mask="url(#mask0_2_35)"><path fill="#BABABA" d="M18.7903 1.15082V10.7742H4.95436V1.15082H0.638809V23.8326H4.95436V14.478H18.7858V23.8326H23.1102V1.15082H18.7903Z"/><path fill="#BABABA" d="M42.8989 1.15067H38.5396L28.1453 23.8324H32.5981L34.9195 18.7721H46.5234L48.8446 23.8324H53.3062L42.8989 1.15067ZM36.6304 15.0324L40.7237 6.14334L44.8103 15.0324H36.6304Z"/><path fill="#BABABA" d="M68.1987 24.2918C61.6795 24.2918 57.157 20.6473 57.157 14.0736V1.15067H61.4769V13.7731C61.4769 17.9171 64.1577 20.4399 68.2989 20.4525C72.4401 20.4653 74.964 17.5995 74.964 13.7731V1.15067H79.2403V14.0736C79.2403 20.4462 74.465 24.2918 68.1987 24.2918Z"/><path fill="#BABABA" d="M91.7863 1.10408L104.534 19.2482L104.619 1.23107L108.813 1.27975L108.538 23.9382L102.654 23.8706L90.4675 6.35707L90.2497 23.7457L86.0626 23.6991L86.3351 1.04059L91.7863 1.10408Z"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.3 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

@@ -1,12 +0,0 @@
<svg width="61" height="55" viewBox="0 0 61 55" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect y="0.0396118" width="61" height="54.9604" rx="14.495" fill="#0F0F0F"/>
<path d="M35.7733 34.4L31 31.3333L26.2267 34.4L27.6667 28.9067L23.28 25.3333L28.9467 24.9867L31 19.7333L33.0533 24.9867L38.72 25.3333L34.3333 28.9067M41.6667 28C41.6667 27.2928 41.9476 26.6145 42.4477 26.1144C42.9478 25.6143 43.6261 25.3333 44.3333 25.3333V20C44.3333 19.2928 44.0524 18.6145 43.5523 18.1144C43.0522 17.6143 42.3739 17.3333 41.6667 17.3333H20.3333C19.6261 17.3333 18.9478 17.6143 18.4477 18.1144C17.9476 18.6145 17.6667 19.2928 17.6667 20V25.3333C18.3739 25.3333 19.0522 25.6143 19.5523 26.1144C20.0524 26.6145 20.3333 27.2928 20.3333 28C20.3333 28.7073 20.0524 29.3855 19.5523 29.8856C19.0522 30.3857 18.3739 30.6667 17.6667 30.6667V36C17.6667 36.7073 17.9476 37.3855 18.4477 37.8856C18.9478 38.3857 19.6261 38.6667 20.3333 38.6667H41.6667C42.3739 38.6667 43.0522 38.3857 43.5523 37.8856C44.0524 37.3855 44.3333 36.7073 44.3333 36V30.6667C43.6261 30.6667 42.9478 30.3857 42.4477 29.8856C41.9476 29.3855 41.6667 28.7073 41.6667 28Z" fill="black"/>
<path d="M35.7733 34.4L31 31.3333L26.2267 34.4L27.6667 28.9067L23.28 25.3333L28.9467 24.9867L31 19.7333L33.0533 24.9867L38.72 25.3333L34.3333 28.9067M41.6667 28C41.6667 27.2928 41.9476 26.6145 42.4477 26.1144C42.9478 25.6143 43.6261 25.3333 44.3333 25.3333V20C44.3333 19.2928 44.0524 18.6145 43.5523 18.1144C43.0522 17.6143 42.3739 17.3333 41.6667 17.3333H20.3333C19.6261 17.3333 18.9478 17.6143 18.4477 18.1144C17.9476 18.6145 17.6667 19.2928 17.6667 20V25.3333C18.3739 25.3333 19.0522 25.6143 19.5523 26.1144C20.0524 26.6145 20.3333 27.2928 20.3333 28C20.3333 28.7073 20.0524 29.3855 19.5523 29.8856C19.0522 30.3857 18.3739 30.6667 17.6667 30.6667V36C17.6667 36.7073 17.9476 37.3855 18.4477 37.8856C18.9478 38.3857 19.6261 38.6667 20.3333 38.6667H41.6667C42.3739 38.6667 43.0522 38.3857 43.5523 37.8856C44.0524 37.3855 44.3333 36.7073 44.3333 36V30.6667C43.6261 30.6667 42.9478 30.3857 42.4477 29.8856C41.9476 29.3855 41.6667 28.7073 41.6667 28Z" fill="url(#paint0_linear_180_154)"/>
<defs>
<linearGradient id="paint0_linear_180_154" x1="46.2759" y1="27.6322" x2="21.6006" y2="41.3362" gradientUnits="userSpaceOnUse">
<stop stop-color="#3385FF"/>
<stop offset="0.791667" stop-color="#91B7F0"/>
<stop offset="1" stop-color="#95BBF2"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 284 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 KiB

@@ -1,30 +0,0 @@
<svg width="101" height="91" viewBox="0 0 101 91" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="101" height="91" rx="24" fill="#0F0F0F"/>
<g clip-path="url(#clip0_180_118)">
<path d="M77.0249 24.3656C79.1342 25.0833 80.872 26.6096 81.8559 28.6086C82.8399 30.6076 82.9895 32.9156 82.2718 35.0249C81.2704 37.9676 78.7916 39.9933 75.9498 40.5645L75.1379 42.9504C75.0183 43.302 74.7639 43.5916 74.4308 43.7556C74.0976 43.9196 73.7129 43.9445 73.3614 43.8249L68.0593 42.0207C67.7078 41.9011 67.4181 41.6467 67.2542 41.3136C67.0902 40.9804 67.0652 40.5957 67.1849 40.2442L67.9967 37.8583C66.0931 35.6724 65.3643 32.5551 66.3656 29.6125C67.0833 27.5032 68.6096 25.7654 70.6086 24.7814C72.6076 23.7974 74.9156 23.6479 77.0249 24.3656ZM72.9103 45.1504L72.4593 46.4759C72.3397 46.8275 72.0853 47.1171 71.7521 47.2811C71.419 47.4451 71.0343 47.47 70.6828 47.3504L68.0317 46.4483C67.6802 46.3287 67.3905 46.0743 67.2265 45.7412C67.0626 45.408 67.0376 45.0233 67.1572 44.6718L67.6083 43.3462L72.9103 45.1504ZM85.3738 34.6015L89.3504 35.9546L88.4483 38.6056L84.4717 37.2525L85.3738 34.6015ZM60.189 26.0318L64.1656 27.3849L63.2635 30.0359L59.287 28.6828L60.189 26.0318ZM80.6056 18.1891L79.2525 22.1656L76.6015 21.2635L77.9546 17.287L80.6056 18.1891ZM68.7679 17.8585L70.626 21.6558L68.1078 22.8843L66.2406 19.1135L68.7679 17.8585ZM83.7531 26.1078L87.5239 24.2407L88.7744 26.7811L84.9948 28.6305L83.7531 26.1078Z" fill="url(#paint0_linear_180_118)"/>
</g>
<path d="M62.125 35.4583C59.5812 34.6562 56.7854 34.3125 54.1042 34.3125C49.6354 34.3125 44.8229 35.2292 41.5 37.75C38.1771 35.2292 33.3646 34.3125 28.8958 34.3125C24.4271 34.3125 19.6146 35.2292 16.2917 37.75V71.3229C16.2917 71.8958 16.8646 72.4688 17.4375 72.4688C17.6667 72.4688 17.7812 72.3542 18.0104 72.3542C21.1042 70.8646 25.5729 69.8333 28.8958 69.8333C33.3646 69.8333 38.1771 70.75 41.5 73.2708C44.5937 71.3229 50.2083 69.8333 54.1042 69.8333C57.8854 69.8333 61.7812 70.5208 64.9896 72.2396C65.2187 72.3542 65.3333 72.3542 65.5625 72.3542C66.1354 72.3542 66.7083 71.7813 66.7083 71.2083V37.75C65.3333 36.7188 63.8437 36.0313 62.125 35.4583ZM62.125 66.3958C59.6042 65.5938 56.8542 65.25 54.1042 65.25C50.2083 65.25 44.5937 66.7396 41.5 68.6875V42.3333C44.5937 40.3854 50.2083 38.8958 54.1042 38.8958C56.8542 38.8958 59.6042 39.2396 62.125 40.0417V66.3958Z" fill="black"/>
<path d="M62.125 35.4583C59.5812 34.6562 56.7854 34.3125 54.1042 34.3125C49.6354 34.3125 44.8229 35.2292 41.5 37.75C38.1771 35.2292 33.3646 34.3125 28.8958 34.3125C24.4271 34.3125 19.6146 35.2292 16.2917 37.75V71.3229C16.2917 71.8958 16.8646 72.4688 17.4375 72.4688C17.6667 72.4688 17.7812 72.3542 18.0104 72.3542C21.1042 70.8646 25.5729 69.8333 28.8958 69.8333C33.3646 69.8333 38.1771 70.75 41.5 73.2708C44.5937 71.3229 50.2083 69.8333 54.1042 69.8333C57.8854 69.8333 61.7812 70.5208 64.9896 72.2396C65.2187 72.3542 65.3333 72.3542 65.5625 72.3542C66.1354 72.3542 66.7083 71.7813 66.7083 71.2083V37.75C65.3333 36.7188 63.8437 36.0313 62.125 35.4583ZM62.125 66.3958C59.6042 65.5938 56.8542 65.25 54.1042 65.25C50.2083 65.25 44.5937 66.7396 41.5 68.6875V42.3333C44.5937 40.3854 50.2083 38.8958 54.1042 38.8958C56.8542 38.8958 59.6042 39.2396 62.125 40.0417V66.3958Z" fill="url(#paint1_linear_180_118)"/>
<path d="M54.1042 48.0625C56.1208 48.0625 58.0687 48.2688 59.8333 48.6583V45.175C58.0229 44.8312 56.075 44.625 54.1042 44.625C50.2083 44.625 46.6792 45.2896 43.7917 46.5271V50.3312C46.3812 48.8646 49.9792 48.0625 54.1042 48.0625ZM43.7917 52.6229V56.4271C46.3812 54.9604 49.9792 54.1583 54.1042 54.1583C56.1208 54.1583 58.0687 54.3646 59.8333 54.7542V51.2708C58.0229 50.9271 56.075 50.7208 54.1042 50.7208C50.2083 50.7208 46.6792 51.4083 43.7917 52.6229ZM54.1042 56.8396C50.2083 56.8396 46.6792 57.5042 43.7917 58.7417V62.5458C46.3812 61.0792 49.9792 60.2771 54.1042 60.2771C56.1208 60.2771 58.0687 60.4833 59.8333 60.8729V57.3896C58.0229 57.0229 56.075 56.8396 54.1042 56.8396Z" fill="black"/>
<path d="M54.1042 48.0625C56.1208 48.0625 58.0687 48.2688 59.8333 48.6583V45.175C58.0229 44.8312 56.075 44.625 54.1042 44.625C50.2083 44.625 46.6792 45.2896 43.7917 46.5271V50.3312C46.3812 48.8646 49.9792 48.0625 54.1042 48.0625ZM43.7917 52.6229V56.4271C46.3812 54.9604 49.9792 54.1583 54.1042 54.1583C56.1208 54.1583 58.0687 54.3646 59.8333 54.7542V51.2708C58.0229 50.9271 56.075 50.7208 54.1042 50.7208C50.2083 50.7208 46.6792 51.4083 43.7917 52.6229ZM54.1042 56.8396C50.2083 56.8396 46.6792 57.5042 43.7917 58.7417V62.5458C46.3812 61.0792 49.9792 60.2771 54.1042 60.2771C56.1208 60.2771 58.0687 60.4833 59.8333 60.8729V57.3896C58.0229 57.0229 56.075 56.8396 54.1042 56.8396Z" fill="url(#paint2_linear_180_118)"/>
<defs>
<linearGradient id="paint0_linear_180_118" x1="85.5278" y1="28.3797" x2="59.0378" y2="31.7748" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint1_linear_180_118" x1="56.7914" y1="44.5086" x2="22.0689" y2="66.5178" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint2_linear_180_118" x1="56.6779" y1="49.3152" x2="43.6881" y2="55.0105" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<clipPath id="clip0_180_118">
<rect width="33.6036" height="33.6036" fill="white" transform="translate(63.825 11) rotate(18.7921)"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 5.5 KiB

@@ -1,12 +0,0 @@
<svg width="101" height="91" viewBox="0 0 101 91" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="101" height="91" rx="24" fill="#0F0F0F"/>
<path d="M31 58.3334H57.6667V56.5C57.6667 54.0556 56.4444 52.0834 54 50.5834C51.5556 49.0834 48.3333 48.3334 44.3333 48.3334C40.3333 48.3334 37.1111 49.0834 34.6667 50.5834C32.2222 52.0834 31 54.0556 31 56.5V58.3334ZM44.3333 45C46.1667 45 47.7367 44.3467 49.0433 43.04C50.35 41.7334 51.0022 40.1645 51 38.3334C51 36.5 50.3467 34.93 49.04 33.6234C47.7333 32.3167 46.1644 31.6645 44.3333 31.6667C42.5 31.6667 40.93 32.32 39.6233 33.6267C38.3167 34.9334 37.6644 36.5023 37.6667 38.3334C37.6667 40.1667 38.32 41.7367 39.6267 43.0434C40.9333 44.35 42.5022 45.0023 44.3333 45ZM24.3333 71.6667C22.5 71.6667 20.93 71.0134 19.6233 69.7067C18.3167 68.4001 17.6644 66.8312 17.6667 65V25C17.6667 23.1667 18.32 21.5967 19.6267 20.29C20.9333 18.9834 22.5022 18.3312 24.3333 18.3334H64.3333C66.1667 18.3334 67.7367 18.9867 69.0433 20.2934C70.35 21.6 71.0022 23.1689 71 25V40L84.3333 26.6667V63.3334L71 50V65C71 66.8334 70.3467 68.4034 69.04 69.71C67.7333 71.0167 66.1644 71.6689 64.3333 71.6667H24.3333Z" fill="black"/>
<path d="M31 58.3334H57.6667V56.5C57.6667 54.0556 56.4444 52.0834 54 50.5834C51.5556 49.0834 48.3333 48.3334 44.3333 48.3334C40.3333 48.3334 37.1111 49.0834 34.6667 50.5834C32.2222 52.0834 31 54.0556 31 56.5V58.3334ZM44.3333 45C46.1667 45 47.7367 44.3467 49.0433 43.04C50.35 41.7334 51.0022 40.1645 51 38.3334C51 36.5 50.3467 34.93 49.04 33.6234C47.7333 32.3167 46.1644 31.6645 44.3333 31.6667C42.5 31.6667 40.93 32.32 39.6233 33.6267C38.3167 34.9334 37.6644 36.5023 37.6667 38.3334C37.6667 40.1667 38.32 41.7367 39.6267 43.0434C40.9333 44.35 42.5022 45.0023 44.3333 45ZM24.3333 71.6667C22.5 71.6667 20.93 71.0134 19.6233 69.7067C18.3167 68.4001 17.6644 66.8312 17.6667 65V25C17.6667 23.1667 18.32 21.5967 19.6267 20.29C20.9333 18.9834 22.5022 18.3312 24.3333 18.3334H64.3333C66.1667 18.3334 67.7367 18.9867 69.0433 20.2934C70.35 21.6 71.0022 23.1689 71 25V40L84.3333 26.6667V63.3334L71 50V65C71 66.8334 70.3467 68.4034 69.04 69.71C67.7333 71.0167 66.1644 71.6689 64.3333 71.6667H24.3333Z" fill="url(#paint0_linear_180_159)"/>
<defs>
<linearGradient id="paint0_linear_180_159" x1="71.2201" y1="32.2917" x2="24.4068" y2="60.9531" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

@@ -1,17 +0,0 @@
<svg width="101" height="91" viewBox="0 0 101 91" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="101" height="91" rx="24" fill="#0F0F0F"/>
<g clip-path="url(#clip0_180_164)">
<path d="M45.5625 74.0001C44.9897 74.003 44.4297 73.831 43.9572 73.5071C43.4848 73.1832 43.1224 72.7229 42.9185 72.1876L38.4054 60.4516C38.314 60.2151 38.1742 60.0004 37.9949 59.8211C37.8156 59.6418 37.6009 59.502 37.3644 59.4106L25.625 54.894C25.0903 54.6888 24.6303 54.3262 24.3059 53.8542C23.9814 53.3822 23.8078 52.8228 23.8078 52.2501C23.8078 51.6773 23.9814 51.118 24.3059 50.6459C24.6303 50.1739 25.0903 49.8113 25.625 49.6061L37.361 45.0929C37.5975 45.0015 37.8122 44.8617 37.9915 44.6824C38.1708 44.5032 38.3106 44.2884 38.402 44.0519L42.9185 32.3126C43.1238 31.7778 43.4863 31.3179 43.9584 30.9934C44.4304 30.669 44.9897 30.4953 45.5625 30.4953C46.1353 30.4953 46.6946 30.669 47.1667 30.9934C47.6387 31.3179 48.0013 31.7778 48.2065 32.3126L52.7196 44.0485C52.811 44.285 52.9509 44.4998 53.1302 44.679C53.3094 44.8583 53.5242 44.9981 53.7607 45.0895L65.4287 49.5789C65.9852 49.7852 66.4646 50.1579 66.8017 50.6464C67.1388 51.1349 67.3172 51.7155 67.3125 52.309C67.3039 52.8718 67.1265 53.419 66.8034 53.8799C66.4802 54.3408 66.0262 54.6941 65.5 54.894L53.7641 59.4072C53.5276 59.4986 53.3128 59.6384 53.1336 59.8177C52.9543 59.997 52.8144 60.2117 52.723 60.4482L48.2065 72.1876C48.0027 72.7229 47.6403 73.1832 47.1678 73.5071C46.6954 73.831 46.1353 74.003 45.5625 74.0001ZM31.9688 35.9376C31.633 35.9375 31.305 35.8358 31.0282 35.6457C30.7514 35.4556 30.5386 35.1861 30.418 34.8727L28.508 29.9065C28.4666 29.7978 28.4028 29.6992 28.3206 29.617C28.2384 29.5348 28.1397 29.4709 28.0311 29.4295L23.0649 27.5196C22.7515 27.399 22.4821 27.1862 22.292 26.9093C22.102 26.6325 22.0002 26.3046 22.0002 25.9688C22.0002 25.633 22.102 25.3051 22.292 25.0283C22.4821 24.7514 22.7515 24.5387 23.0649 24.418L28.0311 22.5081C28.1396 22.4665 28.2382 22.4025 28.3203 22.3204C28.4025 22.2382 28.4665 22.1397 28.508 22.0311L30.401 17.1091C30.5077 16.8193 30.6914 16.5641 30.9323 16.3709C31.1732 16.1777 31.4622 16.0538 31.7683 16.0125C32.1357 15.9678 32.5075 16.0471 32.8248 16.2378C33.142 16.4284 33.3866 16.7195 33.5196 17.0649L35.4295 22.0311C35.4711 22.1397 35.5351 22.2382 35.6172 22.3204C35.6994 22.4025 35.7979 22.4665 35.9064 22.5081L40.8727 24.418C41.186 24.5387 41.4555 24.7514 41.6455 25.0283C41.8356 25.3051 41.9373 25.633 41.9373 25.9688C41.9373 26.3046 41.8356 26.6325 41.6455 26.9093C41.4555 27.1862 41.186 27.399 40.8727 27.5196L35.9064 29.4295C35.7978 29.4709 35.6992 29.5348 35.617 29.617C35.5348 29.6992 35.4709 29.7978 35.4295 29.9065L33.5196 34.8727C33.399 35.1861 33.1862 35.4556 32.9094 35.6457C32.6325 35.8358 32.3046 35.9375 31.9688 35.9376ZM67.3125 45.0001C66.9462 44.9999 66.5885 44.8888 66.2866 44.6813C65.9846 44.4739 65.7527 44.1797 65.6212 43.8378L63.0339 37.1123C62.9884 36.9938 62.9185 36.8861 62.8287 36.7964C62.7389 36.7066 62.6313 36.6367 62.5128 36.5912L55.7873 34.0038C55.4456 33.8722 55.1518 33.6401 54.9446 33.3382C54.7374 33.0363 54.6265 32.6787 54.6265 32.3126C54.6265 31.9464 54.7374 31.5888 54.9446 31.2869C55.1518 30.985 55.4456 30.7529 55.7873 30.6213L62.5128 28.0339C62.6313 27.9884 62.7389 27.9185 62.8287 27.8287C62.9185 27.739 62.9884 27.6313 63.0339 27.5128L65.602 20.8349C65.7192 20.5191 65.9199 20.241 66.1826 20.0302C66.4453 19.8193 66.7602 19.6836 67.0939 19.6375C67.4949 19.589 67.9005 19.6757 68.2465 19.8841C68.5926 20.0924 68.8591 20.4103 69.0038 20.7873L71.5912 27.5128C71.6367 27.6313 71.7066 27.739 71.7964 27.8287C71.8861 27.9185 71.9937 27.9884 72.1123 28.0339L78.8378 30.6213C79.1794 30.7529 79.4732 30.985 79.6805 31.2869C79.8877 31.5888 79.9986 31.9464 79.9986 32.3126C79.9986 32.6787 79.8877 33.0363 79.6805 33.3382C79.4732 33.6401 79.1794 33.8722 78.8378 34.0038L72.1123 36.5912C71.9937 36.6367 71.8861 36.7066 71.7964 36.7964C71.7066 36.8861 71.6367 36.9938 71.5912 37.1123L69.0038 43.8378C68.8724 44.1797 68.6404 44.4739 68.3385 44.6813C68.0366 44.8888 67.6789 44.9999 67.3125 45.0001Z" fill="black"/>
<path d="M45.5625 74.0001C44.9897 74.003 44.4297 73.831 43.9572 73.5071C43.4848 73.1832 43.1224 72.7229 42.9185 72.1876L38.4054 60.4516C38.314 60.2151 38.1742 60.0004 37.9949 59.8211C37.8156 59.6418 37.6009 59.502 37.3644 59.4106L25.625 54.894C25.0903 54.6888 24.6303 54.3262 24.3059 53.8542C23.9814 53.3822 23.8078 52.8228 23.8078 52.2501C23.8078 51.6773 23.9814 51.118 24.3059 50.6459C24.6303 50.1739 25.0903 49.8113 25.625 49.6061L37.361 45.0929C37.5975 45.0015 37.8122 44.8617 37.9915 44.6824C38.1708 44.5032 38.3106 44.2884 38.402 44.0519L42.9185 32.3126C43.1238 31.7778 43.4863 31.3179 43.9584 30.9934C44.4304 30.669 44.9897 30.4953 45.5625 30.4953C46.1353 30.4953 46.6946 30.669 47.1667 30.9934C47.6387 31.3179 48.0013 31.7778 48.2065 32.3126L52.7196 44.0485C52.811 44.285 52.9509 44.4998 53.1302 44.679C53.3094 44.8583 53.5242 44.9981 53.7607 45.0895L65.4287 49.5789C65.9852 49.7852 66.4646 50.1579 66.8017 50.6464C67.1388 51.1349 67.3172 51.7155 67.3125 52.309C67.3039 52.8718 67.1265 53.419 66.8034 53.8799C66.4802 54.3408 66.0262 54.6941 65.5 54.894L53.7641 59.4072C53.5276 59.4986 53.3128 59.6384 53.1336 59.8177C52.9543 59.997 52.8144 60.2117 52.723 60.4482L48.2065 72.1876C48.0027 72.7229 47.6403 73.1832 47.1678 73.5071C46.6954 73.831 46.1353 74.003 45.5625 74.0001ZM31.9688 35.9376C31.633 35.9375 31.305 35.8358 31.0282 35.6457C30.7514 35.4556 30.5386 35.1861 30.418 34.8727L28.508 29.9065C28.4666 29.7978 28.4028 29.6992 28.3206 29.617C28.2384 29.5348 28.1397 29.4709 28.0311 29.4295L23.0649 27.5196C22.7515 27.399 22.4821 27.1862 22.292 26.9093C22.102 26.6325 22.0002 26.3046 22.0002 25.9688C22.0002 25.633 22.102 25.3051 22.292 25.0283C22.4821 24.7514 22.7515 24.5387 23.0649 24.418L28.0311 22.5081C28.1396 22.4665 28.2382 22.4025 28.3203 22.3204C28.4025 22.2382 28.4665 22.1397 28.508 22.0311L30.401 17.1091C30.5077 16.8193 30.6914 16.5641 30.9323 16.3709C31.1732 16.1777 31.4622 16.0538 31.7683 16.0125C32.1357 15.9678 32.5075 16.0471 32.8248 16.2378C33.142 16.4284 33.3866 16.7195 33.5196 17.0649L35.4295 22.0311C35.4711 22.1397 35.5351 22.2382 35.6172 22.3204C35.6994 22.4025 35.7979 22.4665 35.9064 22.5081L40.8727 24.418C41.186 24.5387 41.4555 24.7514 41.6455 25.0283C41.8356 25.3051 41.9373 25.633 41.9373 25.9688C41.9373 26.3046 41.8356 26.6325 41.6455 26.9093C41.4555 27.1862 41.186 27.399 40.8727 27.5196L35.9064 29.4295C35.7978 29.4709 35.6992 29.5348 35.617 29.617C35.5348 29.6992 35.4709 29.7978 35.4295 29.9065L33.5196 34.8727C33.399 35.1861 33.1862 35.4556 32.9094 35.6457C32.6325 35.8358 32.3046 35.9375 31.9688 35.9376ZM67.3125 45.0001C66.9462 44.9999 66.5885 44.8888 66.2866 44.6813C65.9846 44.4739 65.7527 44.1797 65.6212 43.8378L63.0339 37.1123C62.9884 36.9938 62.9185 36.8861 62.8287 36.7964C62.7389 36.7066 62.6313 36.6367 62.5128 36.5912L55.7873 34.0038C55.4456 33.8722 55.1518 33.6401 54.9446 33.3382C54.7374 33.0363 54.6265 32.6787 54.6265 32.3126C54.6265 31.9464 54.7374 31.5888 54.9446 31.2869C55.1518 30.985 55.4456 30.7529 55.7873 30.6213L62.5128 28.0339C62.6313 27.9884 62.7389 27.9185 62.8287 27.8287C62.9185 27.739 62.9884 27.6313 63.0339 27.5128L65.602 20.8349C65.7192 20.5191 65.9199 20.241 66.1826 20.0302C66.4453 19.8193 66.7602 19.6836 67.0939 19.6375C67.4949 19.589 67.9005 19.6757 68.2465 19.8841C68.5926 20.0924 68.8591 20.4103 69.0038 20.7873L71.5912 27.5128C71.6367 27.6313 71.7066 27.739 71.7964 27.8287C71.8861 27.9185 71.9937 27.9884 72.1123 28.0339L78.8378 30.6213C79.1794 30.7529 79.4732 30.985 79.6805 31.2869C79.8877 31.5888 79.9986 31.9464 79.9986 32.3126C79.9986 32.6787 79.8877 33.0363 79.6805 33.3382C79.4732 33.6401 79.1794 33.8722 78.8378 34.0038L72.1123 36.5912C71.9937 36.6367 71.8861 36.7066 71.7964 36.7964C71.7066 36.8861 71.6367 36.9938 71.5912 37.1123L69.0038 43.8378C68.8724 44.1797 68.6404 44.4739 68.3385 44.6813C68.0366 44.8888 67.6789 44.9999 67.3125 45.0001Z" fill="url(#paint0_linear_180_164)"/>
</g>
<defs>
<linearGradient id="paint0_linear_180_164" x1="68.5904" y1="31.18" x2="23.4311" y2="53.2984" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<clipPath id="clip0_180_164">
<rect width="58" height="58" fill="white" transform="translate(22 16)"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 8.1 KiB

@@ -1,11 +0,0 @@
<svg width="101" height="91" viewBox="0 0 113 113" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M56.5 10.5938C31.1876 10.5938 10.5938 31.1876 10.5938 56.5C10.5938 81.8124 31.1876 102.406 56.5 102.406C81.8124 102.406 102.406 81.8124 102.406 56.5C102.406 31.1876 81.8124 10.5938 56.5 10.5938ZM71.7947 31.8188C74.9585 31.8231 78.0499 32.7653 80.6784 34.5261C83.3068 36.287 85.3543 38.7875 86.562 41.7117C87.7697 44.6359 88.0834 47.8525 87.4635 50.9549C86.8436 54.0573 85.3179 56.9064 83.0793 59.1419C80.8406 61.3775 77.9895 62.8992 74.8862 63.5149C71.7829 64.1305 68.5668 63.8123 65.6443 62.6006C62.7218 61.3889 60.224 59.338 58.4668 56.7071C56.7096 54.0762 55.7717 50.9835 55.7717 47.8197C55.7731 45.717 56.1887 43.6352 56.9947 41.6931C57.8008 39.7509 58.9814 37.9866 60.4693 36.5008C61.9572 35.0149 63.7231 33.8367 65.6664 33.0334C67.6096 32.23 69.692 31.8173 71.7947 31.8188ZM37.5637 37.6365C40.1523 37.64 42.6818 38.4108 44.8324 39.8515C46.9831 41.2922 48.6584 43.3381 49.6466 45.7307C50.6348 48.1233 50.8916 50.7551 50.3844 53.2936C49.8773 55.832 48.629 58.1632 46.7973 59.9924C44.9656 61.8216 42.6328 63.0667 40.0937 63.5704C37.5545 64.0742 34.9231 63.8139 32.5318 62.8224C30.1406 61.831 28.0969 60.153 26.6591 58.0004C25.2213 55.8478 24.4539 53.3172 24.4539 50.7286C24.4548 49.0081 24.7946 47.3046 25.4539 45.7154C26.1133 44.1263 27.0793 42.6826 28.2967 41.4668C29.5141 40.251 30.9591 39.287 32.5491 38.6298C34.1392 37.9726 35.8431 37.6351 37.5637 37.6365ZM20.8233 71.8455C26.2306 68.9123 33.154 67.4447 37.5637 67.4447C40.8742 67.4447 45.1382 68.1068 49.3338 69.6958C46.5213 71.2652 43.9861 73.2867 41.8299 75.6791C38.9188 78.9896 37.2481 82.9446 37.2481 86.8974V90.208C29.9383 86.0211 24.1771 79.5841 20.8233 71.8565V71.8455ZM56.5 95.3438C52.0311 95.3474 47.5955 94.576 43.3902 93.0639V87.0939C43.3902 75.4871 62.3155 69.6385 71.7947 69.6385C76.8709 69.6385 84.6794 71.3224 90.8215 74.6727C87.5163 80.9095 82.5754 86.1287 76.5289 89.7704C70.4824 93.412 63.5585 95.3387 56.5 95.3438Z" fill="black"/>
<path d="M56.5 10.5938C31.1876 10.5938 10.5938 31.1876 10.5938 56.5C10.5938 81.8124 31.1876 102.406 56.5 102.406C81.8124 102.406 102.406 81.8124 102.406 56.5C102.406 31.1876 81.8124 10.5938 56.5 10.5938ZM71.7947 31.8188C74.9585 31.8231 78.0499 32.7653 80.6784 34.5261C83.3068 36.287 85.3543 38.7875 86.562 41.7117C87.7697 44.6359 88.0834 47.8525 87.4635 50.9549C86.8436 54.0573 85.3179 56.9064 83.0793 59.1419C80.8406 61.3775 77.9895 62.8992 74.8862 63.5149C71.7829 64.1305 68.5668 63.8123 65.6443 62.6006C62.7218 61.3889 60.224 59.338 58.4668 56.7071C56.7096 54.0762 55.7717 50.9835 55.7717 47.8197C55.7731 45.717 56.1887 43.6352 56.9947 41.6931C57.8008 39.7509 58.9814 37.9866 60.4693 36.5008C61.9572 35.0149 63.7231 33.8367 65.6664 33.0334C67.6096 32.23 69.692 31.8173 71.7947 31.8188ZM37.5637 37.6365C40.1523 37.64 42.6818 38.4108 44.8324 39.8515C46.9831 41.2922 48.6584 43.3381 49.6466 45.7307C50.6348 48.1233 50.8916 50.7551 50.3844 53.2936C49.8773 55.832 48.629 58.1632 46.7973 59.9924C44.9656 61.8216 42.6328 63.0667 40.0937 63.5704C37.5545 64.0742 34.9231 63.8139 32.5318 62.8224C30.1406 61.831 28.0969 60.153 26.6591 58.0004C25.2213 55.8478 24.4539 53.3172 24.4539 50.7286C24.4548 49.0081 24.7946 47.3046 25.4539 45.7154C26.1133 44.1263 27.0793 42.6826 28.2967 41.4668C29.5141 40.251 30.9591 39.287 32.5491 38.6298C34.1392 37.9726 35.8431 37.6351 37.5637 37.6365ZM20.8233 71.8455C26.2306 68.9123 33.154 67.4447 37.5637 67.4447C40.8742 67.4447 45.1382 68.1068 49.3338 69.6958C46.5213 71.2652 43.9861 73.2867 41.8299 75.6791C38.9188 78.9896 37.2481 82.9446 37.2481 86.8974V90.208C29.9383 86.0211 24.1771 79.5841 20.8233 71.8565V71.8455ZM56.5 95.3438C52.0311 95.3474 47.5955 94.576 43.3902 93.0639V87.0939C43.3902 75.4871 62.3155 69.6385 71.7947 69.6385C76.8709 69.6385 84.6794 71.3224 90.8215 74.6727C87.5163 80.9095 82.5754 86.1287 76.5289 89.7704C70.4824 93.412 63.5585 95.3387 56.5 95.3438Z" fill="url(#paint0_linear_180_461)"/>
<defs>
<linearGradient id="paint0_linear_180_461" x1="84.3468" y1="34.6228" x2="12.8595" y2="69.6373" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 338 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 395 KiB

@@ -1,21 +0,0 @@
<svg width="91" height="81" viewBox="0 0 126 80" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_2_17)">
<path d="M4.79167 102.833C3.43403 102.833 2.29521 102.373 1.37521 101.453C0.45521 100.533 -0.00319312 99.3961 1.32137e-06 98.0417C1.32137e-06 96.684 0.460001 95.5452 1.38 94.6252C2.3 93.7052 3.43722 93.2468 4.79167 93.25H9.58333V30.9583C9.58333 28.3229 10.5225 26.066 12.4008 24.1877C14.2792 22.3094 16.5344 21.3718 19.1667 21.375H95.8333C98.4687 21.375 100.726 22.3142 102.604 24.1925C104.482 26.0708 105.42 28.3261 105.417 30.9583V93.25H110.208C111.566 93.25 112.705 93.71 113.625 94.63C114.545 95.55 115.003 96.6872 115 98.0417C115 99.3993 114.54 100.538 113.62 101.458C112.7 102.378 111.563 102.837 110.208 102.833H4.79167ZM50.3125 93.25H64.6875C65.3264 93.25 65.8854 93.0104 66.3646 92.5313C66.8438 92.0521 67.0833 91.4931 67.0833 90.8542C67.0833 90.2153 66.8438 89.6562 66.3646 89.1771C65.8854 88.6979 65.3264 88.4583 64.6875 88.4583H50.3125C49.6736 88.4583 49.1146 88.6979 48.6354 89.1771C48.1562 89.6562 47.9167 90.2153 47.9167 90.8542C47.9167 91.4931 48.1562 92.0521 48.6354 92.5313C49.1146 93.0104 49.6736 93.25 50.3125 93.25Z" fill="black"/>
<path d="M4.79167 102.833C3.43403 102.833 2.29521 102.373 1.37521 101.453C0.45521 100.533 -0.00319312 99.3961 1.32137e-06 98.0417C1.32137e-06 96.684 0.460001 95.5452 1.38 94.6252C2.3 93.7052 3.43722 93.2468 4.79167 93.25H9.58333V30.9583C9.58333 28.3229 10.5225 26.066 12.4008 24.1877C14.2792 22.3094 16.5344 21.3718 19.1667 21.375H95.8333C98.4687 21.375 100.726 22.3142 102.604 24.1925C104.482 26.0708 105.42 28.3261 105.417 30.9583V93.25H110.208C111.566 93.25 112.705 93.71 113.625 94.63C114.545 95.55 115.003 96.6872 115 98.0417C115 99.3993 114.54 100.538 113.62 101.458C112.7 102.378 111.563 102.837 110.208 102.833H4.79167ZM50.3125 93.25H64.6875C65.3264 93.25 65.8854 93.0104 66.3646 92.5313C66.8438 92.0521 67.0833 91.4931 67.0833 90.8542C67.0833 90.2153 66.8438 89.6562 66.3646 89.1771C65.8854 88.6979 65.3264 88.4583 64.6875 88.4583H50.3125C49.6736 88.4583 49.1146 88.6979 48.6354 89.1771C48.1562 89.6562 47.9167 90.2153 47.9167 90.8542C47.9167 91.4931 48.1562 92.0521 48.6354 92.5313C49.1146 93.0104 49.6736 93.25 50.3125 93.25Z" fill="url(#paint0_linear_2_17)"/>
</g>
<path d="M80.3073 75.8802L56.3125 51.7083C55.1319 52.1806 53.9372 52.5347 52.7283 52.7708C51.5194 53.0069 50.235 53.125 48.875 53.125C42.9722 53.125 37.9549 51.059 33.8229 46.9271C29.691 42.7951 27.625 37.7778 27.625 31.875C27.625 29.75 27.9201 27.7289 28.5104 25.8117C29.1007 23.8944 29.9271 22.0787 30.9896 20.3646L43.9167 33.2917L50.2917 26.9167L37.3646 13.9896C39.0764 12.9271 40.8921 12.1007 42.8117 11.5104C44.7312 10.9201 46.7524 10.625 48.875 10.625C54.7778 10.625 59.7951 12.691 63.9271 16.8229C68.059 20.9549 70.125 25.9722 70.125 31.875C70.125 33.2326 70.0069 34.5171 69.7708 35.7283C69.5347 36.9396 69.1806 38.1343 68.7083 39.3125L92.8802 63.3073L80.3073 75.8802Z" fill="url(#paint1_linear_2_17)"/>
<defs>
<linearGradient id="paint0_linear_2_17" x1="92.3797" y1="42.6942" x2="17.27" y2="94.6311" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint1_linear_2_17" x1="37.5" y1="14.5" x2="93" y2="83" gradientUnits="userSpaceOnUse">
<stop stop-color="white"/>
<stop offset="1" stop-color="#BFBFBF" stop-opacity="0"/>
</linearGradient>
<clipPath id="clip0_2_17">
<rect width="115" height="115" fill="white" transform="translate(0 7)"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

@@ -1,28 +0,0 @@
<svg width="101" height="91" viewBox="0 0 117 97" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1_2)">
<path d="M60.075 73.75L75.75 82.3V92.5H49.5C45.3375 92.5 42 89.1625 42 85V25C42 23.0109 42.7902 21.1032 44.1967 19.6967C45.6032 18.2902 47.5109 17.5 49.5 17.5H53.25V43.75L62.625 38.125L72 43.75V17.5H94.5C96.4891 17.5 98.3968 18.2902 99.8033 19.6967C101.21 21.1032 102 23.0109 102 25V57.025L96.375 53.95L60.075 73.75ZM117 73.75L96.375 62.5L75.75 73.75L96.375 85L117 73.75ZM83.25 81.5875V89.0875L96.375 96.25L109.5 89.0875V81.5875L96.375 88.75L83.25 81.5875Z" fill="black"/>
<path d="M60.075 73.75L75.75 82.3V92.5H49.5C45.3375 92.5 42 89.1625 42 85V25C42 23.0109 42.7902 21.1032 44.1967 19.6967C45.6032 18.2902 47.5109 17.5 49.5 17.5H53.25V43.75L62.625 38.125L72 43.75V17.5H94.5C96.4891 17.5 98.3968 18.2902 99.8033 19.6967C101.21 21.1032 102 23.0109 102 25V57.025L96.375 53.95L60.075 73.75ZM117 73.75L96.375 62.5L75.75 73.75L96.375 85L117 73.75ZM83.25 81.5875V89.0875L96.375 96.25L109.5 89.0875V81.5875L96.375 88.75L83.25 81.5875Z" fill="url(#paint0_linear_1_2)"/>
<mask id="mask0_1_2" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="34" height="34">
<path d="M34 0H0V34H34V0Z" fill="white"/>
</mask>
<g mask="url(#mask0_1_2)">
<path d="M13.8129 34.0002C13.4771 34.0019 13.1488 33.9011 12.8718 33.7112C12.5949 33.5214 12.3824 33.2515 12.2629 32.9377L9.61732 26.058C9.56373 25.9194 9.48176 25.7935 9.37667 25.6884C9.27157 25.5833 9.14567 25.5013 9.00704 25.4477L2.12536 22.8001C1.81189 22.6798 1.54226 22.4673 1.35207 22.1905C1.16188 21.9138 1.06007 21.586 1.06007 21.2502C1.06007 20.9144 1.16188 20.5865 1.35207 20.3098C1.54226 20.0331 1.81189 19.8206 2.12536 19.7003L9.00505 17.0546C9.14368 17.0011 9.26958 16.9191 9.37468 16.814C9.47977 16.7089 9.56174 16.583 9.61532 16.4444L12.2629 9.56268C12.3833 9.24921 12.5958 8.97958 12.8725 8.78939C13.1492 8.5992 13.4771 8.49739 13.8129 8.49739C14.1486 8.49739 14.4765 8.5992 14.7532 8.78939C15.0299 8.97958 15.2425 9.24921 15.3628 9.56268L18.0084 16.4424C18.062 16.581 18.144 16.7069 18.2491 16.812C18.3541 16.9171 18.4801 16.9991 18.6187 17.0526L25.4585 19.6843C25.7848 19.8053 26.0658 20.0238 26.2634 20.3101C26.461 20.5965 26.5656 20.9368 26.5629 21.2847C26.5578 21.6146 26.4538 21.9354 26.2644 22.2056C26.075 22.4758 25.8088 22.6829 25.5004 22.8001L18.6207 25.4457C18.482 25.4993 18.3561 25.5813 18.251 25.6864C18.146 25.7915 18.064 25.9174 18.0104 26.056L15.3628 32.9377C15.2433 33.2515 15.0309 33.5214 14.7539 33.7112C14.477 33.9011 14.1486 34.0019 13.8129 34.0002ZM5.84411 11.6877C5.64725 11.6877 5.45502 11.628 5.29273 11.5166C5.13045 11.4052 5.00573 11.2472 4.93501 11.0635L3.8154 8.15222C3.79114 8.08854 3.75368 8.03072 3.7055 7.98254C3.65732 7.93436 3.5995 7.89691 3.53583 7.87264L0.624582 6.75303C0.440888 6.6823 0.282933 6.55757 0.171526 6.39529C0.0601197 6.233 0.000488281 6.04078 0.000488281 5.84393C0.000488281 5.64709 0.0601197 5.45486 0.171526 5.29258C0.282933 5.1303 0.440888 5.00557 0.624582 4.93483L3.53583 3.81522C3.59944 3.79085 3.6572 3.75336 3.70537 3.70519C3.75354 3.65702 3.79103 3.59926 3.8154 3.53565L4.92505 0.6503C4.98763 0.480434 5.09532 0.330833 5.23654 0.217576C5.37776 0.104319 5.54717 0.0316871 5.72657 0.00748724C5.94196 -0.0186966 6.15993 0.0277736 6.3459 0.139529C6.53188 0.251284 6.67523 0.421928 6.75321 0.624401L7.87282 3.53565C7.8972 3.59926 7.93469 3.65702 7.98286 3.70519C8.03102 3.75336 8.08879 3.79085 8.15239 3.81522L11.0636 4.93483C11.2473 5.00557 11.4053 5.1303 11.5167 5.29258C11.6281 5.45486 11.6877 5.64709 11.6877 5.84393C11.6877 6.04078 11.6281 6.233 11.5167 6.39529C11.4053 6.55757 11.2473 6.6823 11.0636 6.75303L8.15239 7.87264C8.08872 7.89691 8.0309 7.93436 7.98272 7.98254C7.93454 8.03072 7.89709 8.08854 7.87282 8.15222L6.75321 11.0635C6.6825 11.2472 6.55778 11.4052 6.39549 11.5166C6.23321 11.628 6.04097 11.6877 5.84411 11.6877ZM26.5629 17.0002C26.3481 17.0001 26.1384 16.935 25.9614 16.8133C25.7844 16.6917 25.6485 16.5193 25.5714 16.3189L24.0547 12.3763C24.028 12.3068 23.987 12.2438 23.9344 12.1911C23.8818 12.1385 23.8187 12.0975 23.7492 12.0708L19.8067 10.5541C19.6064 10.4769 19.4342 10.3409 19.3127 10.1639C19.1912 9.98696 19.1262 9.77734 19.1262 9.56268C19.1262 9.34803 19.1912 9.13841 19.3127 8.96143C19.4342 8.78445 19.6064 8.64842 19.8067 8.57124L23.7492 7.05452C23.8187 7.02784 23.8818 6.98686 23.9344 6.93424C23.987 6.88161 24.028 6.81852 24.0547 6.74905L25.5601 2.8344C25.6289 2.64928 25.7465 2.48625 25.9005 2.36266C26.0545 2.23906 26.2391 2.15952 26.4347 2.13249C26.6697 2.10404 26.9075 2.1549 27.1104 2.27701C27.3132 2.39912 27.4695 2.58548 27.5543 2.80651L29.071 6.74905C29.0977 6.81852 29.1387 6.88161 29.1913 6.93424C29.2439 6.98686 29.307 7.02784 29.3765 7.05452L33.319 8.57124C33.5193 8.64842 33.6916 8.78445 33.813 8.96143C33.9345 9.13841 33.9995 9.34803 33.9995 9.56268C33.9995 9.77734 33.9345 9.98696 33.813 10.1639C33.6916 10.3409 33.5193 10.4769 33.319 10.5541L29.3765 12.0708C29.307 12.0975 29.2439 12.1385 29.1913 12.1911C29.1387 12.2438 29.0977 12.3068 29.071 12.3763L27.5543 16.3189C27.4773 16.5193 27.3413 16.6917 27.1643 16.8133C26.9873 16.935 26.7776 17.0001 26.5629 17.0002Z" fill="black"/>
<path d="M13.8129 34.0002C13.4771 34.0019 13.1488 33.9011 12.8718 33.7112C12.5949 33.5214 12.3824 33.2515 12.2629 32.9377L9.61732 26.058C9.56373 25.9194 9.48176 25.7935 9.37667 25.6884C9.27157 25.5833 9.14567 25.5013 9.00704 25.4477L2.12536 22.8001C1.81189 22.6798 1.54226 22.4673 1.35207 22.1905C1.16188 21.9138 1.06007 21.586 1.06007 21.2502C1.06007 20.9144 1.16188 20.5865 1.35207 20.3098C1.54226 20.0331 1.81189 19.8206 2.12536 19.7003L9.00505 17.0546C9.14368 17.0011 9.26958 16.9191 9.37468 16.814C9.47977 16.7089 9.56174 16.583 9.61532 16.4444L12.2629 9.56268C12.3833 9.24921 12.5958 8.97958 12.8725 8.78939C13.1492 8.5992 13.4771 8.49739 13.8129 8.49739C14.1486 8.49739 14.4765 8.5992 14.7532 8.78939C15.0299 8.97958 15.2425 9.24921 15.3628 9.56268L18.0084 16.4424C18.062 16.581 18.144 16.7069 18.2491 16.812C18.3541 16.9171 18.4801 16.9991 18.6187 17.0526L25.4585 19.6843C25.7848 19.8053 26.0658 20.0238 26.2634 20.3101C26.461 20.5965 26.5656 20.9368 26.5629 21.2847C26.5578 21.6146 26.4538 21.9354 26.2644 22.2056C26.075 22.4758 25.8088 22.6829 25.5004 22.8001L18.6207 25.4457C18.482 25.4993 18.3561 25.5813 18.251 25.6864C18.146 25.7915 18.064 25.9174 18.0104 26.056L15.3628 32.9377C15.2433 33.2515 15.0309 33.5214 14.7539 33.7112C14.477 33.9011 14.1486 34.0019 13.8129 34.0002ZM5.84411 11.6877C5.64725 11.6877 5.45502 11.628 5.29273 11.5166C5.13045 11.4052 5.00573 11.2472 4.93501 11.0635L3.8154 8.15222C3.79114 8.08854 3.75368 8.03072 3.7055 7.98254C3.65732 7.93436 3.5995 7.89691 3.53583 7.87264L0.624582 6.75303C0.440888 6.6823 0.282933 6.55757 0.171526 6.39529C0.0601197 6.233 0.000488281 6.04078 0.000488281 5.84393C0.000488281 5.64709 0.0601197 5.45486 0.171526 5.29258C0.282933 5.1303 0.440888 5.00557 0.624582 4.93483L3.53583 3.81522C3.59944 3.79085 3.6572 3.75336 3.70537 3.70519C3.75354 3.65702 3.79103 3.59926 3.8154 3.53565L4.92505 0.6503C4.98763 0.480434 5.09532 0.330833 5.23654 0.217576C5.37776 0.104319 5.54717 0.0316871 5.72657 0.00748724C5.94196 -0.0186966 6.15993 0.0277736 6.3459 0.139529C6.53188 0.251284 6.67523 0.421928 6.75321 0.624401L7.87282 3.53565C7.8972 3.59926 7.93469 3.65702 7.98286 3.70519C8.03102 3.75336 8.08879 3.79085 8.15239 3.81522L11.0636 4.93483C11.2473 5.00557 11.4053 5.1303 11.5167 5.29258C11.6281 5.45486 11.6877 5.64709 11.6877 5.84393C11.6877 6.04078 11.6281 6.233 11.5167 6.39529C11.4053 6.55757 11.2473 6.6823 11.0636 6.75303L8.15239 7.87264C8.08872 7.89691 8.0309 7.93436 7.98272 7.98254C7.93454 8.03072 7.89709 8.08854 7.87282 8.15222L6.75321 11.0635C6.6825 11.2472 6.55778 11.4052 6.39549 11.5166C6.23321 11.628 6.04097 11.6877 5.84411 11.6877ZM26.5629 17.0002C26.3481 17.0001 26.1384 16.935 25.9614 16.8133C25.7844 16.6917 25.6485 16.5193 25.5714 16.3189L24.0547 12.3763C24.028 12.3068 23.987 12.2438 23.9344 12.1911C23.8818 12.1385 23.8187 12.0975 23.7492 12.0708L19.8067 10.5541C19.6064 10.4769 19.4342 10.3409 19.3127 10.1639C19.1912 9.98696 19.1262 9.77734 19.1262 9.56268C19.1262 9.34803 19.1912 9.13841 19.3127 8.96143C19.4342 8.78445 19.6064 8.64842 19.8067 8.57124L23.7492 7.05452C23.8187 7.02784 23.8818 6.98686 23.9344 6.93424C23.987 6.88161 24.028 6.81852 24.0547 6.74905L25.5601 2.8344C25.6289 2.64928 25.7465 2.48625 25.9005 2.36266C26.0545 2.23906 26.2391 2.15952 26.4347 2.13249C26.6697 2.10404 26.9075 2.1549 27.1104 2.27701C27.3132 2.39912 27.4695 2.58548 27.5543 2.80651L29.071 6.74905C29.0977 6.81852 29.1387 6.88161 29.1913 6.93424C29.2439 6.98686 29.307 7.02784 29.3765 7.05452L33.319 8.57124C33.5193 8.64842 33.6916 8.78445 33.813 8.96143C33.9345 9.13841 33.9995 9.34803 33.9995 9.56268C33.9995 9.77734 33.9345 9.98696 33.813 10.1639C33.6916 10.3409 33.5193 10.4769 33.319 10.5541L29.3765 12.0708C29.307 12.0975 29.2439 12.1385 29.1913 12.1911C29.1387 12.2438 29.0977 12.3068 29.071 12.3763L27.5543 16.3189C27.4773 16.5193 27.3413 16.6917 27.1643 16.8133C26.9873 16.935 26.7776 17.0001 26.5629 17.0002Z" fill="url(#paint1_linear_1_2)"/>
</g>
</g>
<defs>
<linearGradient id="paint0_linear_1_2" x1="102.248" y1="38.1104" x2="42.7811" y2="65.85" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint1_linear_1_2" x1="27.3119" y1="8.89877" x2="0.839266" y2="21.8648" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<clipPath id="clip0_1_2">
<rect width="117" height="97" fill="white"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

@@ -1,12 +0,0 @@
<svg width="61" height="55" viewBox="0 0 61 55" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect y="0.0396118" width="61" height="54.9604" rx="14.495" fill="#0F0F0F"/>
<path d="M31 28C29.35 28 27.9375 27.4125 26.7625 26.2375C25.5875 25.0625 25 23.65 25 22C25 20.35 25.5875 18.9375 26.7625 17.7625C27.9375 16.5875 29.35 16 31 16C32.65 16 34.0625 16.5875 35.2375 17.7625C36.4125 18.9375 37 20.35 37 22C37 23.65 36.4125 25.0625 35.2375 26.2375C34.0625 27.4125 32.65 28 31 28ZM19 40V35.8C19 34.95 19.219 34.1685 19.657 33.4555C20.095 32.7425 20.676 32.199 21.4 31.825C22.95 31.05 24.525 30.4685 26.125 30.0805C27.725 29.6925 29.35 29.499 31 29.5C32.65 29.5 34.275 29.694 35.875 30.082C37.475 30.47 39.05 31.051 40.6 31.825C41.325 32.2 41.9065 32.744 42.3445 33.457C42.7825 34.17 43.001 34.951 43 35.8V40H19Z" fill="black"/>
<path d="M31 28C29.35 28 27.9375 27.4125 26.7625 26.2375C25.5875 25.0625 25 23.65 25 22C25 20.35 25.5875 18.9375 26.7625 17.7625C27.9375 16.5875 29.35 16 31 16C32.65 16 34.0625 16.5875 35.2375 17.7625C36.4125 18.9375 37 20.35 37 22C37 23.65 36.4125 25.0625 35.2375 26.2375C34.0625 27.4125 32.65 28 31 28ZM19 40V35.8C19 34.95 19.219 34.1685 19.657 33.4555C20.095 32.7425 20.676 32.199 21.4 31.825C22.95 31.05 24.525 30.4685 26.125 30.0805C27.725 29.6925 29.35 29.499 31 29.5C32.65 29.5 34.275 29.694 35.875 30.082C37.475 30.47 39.05 31.051 40.6 31.825C41.325 32.2 41.9065 32.744 42.3445 33.457C42.7825 34.17 43.001 34.951 43 35.8V40H19Z" fill="url(#paint0_linear_180_136)"/>
<defs>
<linearGradient id="paint0_linear_180_136" x1="44.7484" y1="27.5862" x2="20.4811" y2="38.3681" gradientUnits="userSpaceOnUse">
<stop stop-color="#3385FF"/>
<stop offset="0.791667" stop-color="#91B7F0"/>
<stop offset="1" stop-color="#95BBF2"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

@@ -1,12 +0,0 @@
<svg width="61" height="55" viewBox="0 0 61 55" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect y="0.0396118" width="61" height="54.9604" rx="14.495" fill="#0F0F0F"/>
<path d="M36.3333 40.625H24.6667C24.2799 40.625 23.909 40.4714 23.6355 40.1979C23.362 39.9244 23.2083 39.5534 23.2083 39.1667V27.6021L21.3125 29.0604C21.1776 29.1956 21.0173 29.3029 20.8409 29.376C20.6645 29.4492 20.4754 29.4869 20.2844 29.4869C20.0934 29.4869 19.9043 29.4492 19.7278 29.376C19.5514 29.3029 19.3912 29.1956 19.2562 29.0604L15.1292 25.0063C14.994 24.8713 14.8867 24.7111 14.8135 24.5347C14.7404 24.3582 14.7027 24.1691 14.7027 23.9781C14.7027 23.7871 14.7404 23.598 14.8135 23.4216C14.8867 23.2452 14.994 23.0849 15.1292 22.95L23.7042 14.375H26.125C26.125 15.9792 28.0792 17.2917 30.5 17.2917C32.9208 17.2917 34.875 15.9792 34.875 14.375H37.2958L45.8708 22.95C46.4396 23.5188 46.4396 24.4375 45.8708 25.0063L41.7437 29.1333C41.175 29.6875 40.2562 29.6875 39.6875 29.1333L37.7917 27.675V39.1667C37.7917 39.5534 37.638 39.9244 37.3645 40.1979C37.091 40.4714 36.7201 40.625 36.3333 40.625Z" fill="black"/>
<path d="M36.3333 40.625H24.6667C24.2799 40.625 23.909 40.4714 23.6355 40.1979C23.362 39.9244 23.2083 39.5534 23.2083 39.1667V27.6021L21.3125 29.0604C21.1776 29.1956 21.0173 29.3029 20.8409 29.376C20.6645 29.4492 20.4754 29.4869 20.2844 29.4869C20.0934 29.4869 19.9043 29.4492 19.7278 29.376C19.5514 29.3029 19.3912 29.1956 19.2562 29.0604L15.1292 25.0063C14.994 24.8713 14.8867 24.7111 14.8135 24.5347C14.7404 24.3582 14.7027 24.1691 14.7027 23.9781C14.7027 23.7871 14.7404 23.598 14.8135 23.4216C14.8867 23.2452 14.994 23.0849 15.1292 22.95L23.7042 14.375H26.125C26.125 15.9792 28.0792 17.2917 30.5 17.2917C32.9208 17.2917 34.875 15.9792 34.875 14.375H37.2958L45.8708 22.95C46.4396 23.5188 46.4396 24.4375 45.8708 25.0063L41.7437 29.1333C41.175 29.6875 40.2562 29.6875 39.6875 29.1333L37.7917 27.675V39.1667C37.7917 39.5534 37.638 39.9244 37.3645 40.1979C37.091 40.4714 36.7201 40.625 36.3333 40.625Z" fill="url(#paint0_linear_203_3)"/>
<defs>
<linearGradient id="paint0_linear_203_3" x1="48.599" y1="27.0474" x2="18.8528" y2="42.9546" gradientUnits="userSpaceOnUse">
<stop stop-color="#3385FF"/>
<stop offset="0.791667" stop-color="#91B7F0"/>
<stop offset="1" stop-color="#95BBF2"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 393 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 474 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 474 KiB

@@ -1,12 +0,0 @@
<svg width="61" height="55" viewBox="0 0 61 55" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect y="0.0396118" width="61" height="54.9604" rx="14.495" fill="#0F0F0F"/>
<path d="M26.125 40.625V33.3333C24.6181 33.2118 23.1412 33.0417 21.6946 32.8229C20.2479 32.6042 18.8081 32.2882 17.375 31.875L18.1042 28.9583C20.1215 29.5174 22.1632 29.9004 24.2292 30.1075C26.2951 30.3146 28.3854 30.4176 30.5 30.4167C32.5903 30.4167 34.6684 30.3131 36.7344 30.106C38.8003 29.899 40.8542 29.5164 42.8958 28.9583L43.625 31.875C42.1667 32.2882 40.7142 32.6042 39.2675 32.8229C37.8208 33.0417 36.3567 33.2118 34.875 33.3333V40.625H26.125ZM30.5 28.9583C29.6736 28.9583 28.9809 28.6788 28.4219 28.1198C27.8628 27.5608 27.5833 26.868 27.5833 26.0417C27.5833 25.2396 27.8628 24.5527 28.4219 23.981C28.9809 23.4094 29.6736 23.124 30.5 23.125C31.3021 23.125 31.989 23.4108 32.5606 23.9825C33.1323 24.5542 33.4176 25.2405 33.4167 26.0417C33.4167 26.868 33.1308 27.5608 32.5592 28.1198C31.9875 28.6788 31.3011 28.9583 30.5 28.9583ZM19.5625 24.5833C18.9306 24.5833 18.408 24.3767 17.9948 23.9635C17.5816 23.5503 17.375 23.0278 17.375 22.3958C17.375 21.7882 17.5816 21.2715 17.9948 20.8456C18.408 20.4198 18.9306 20.2074 19.5625 20.2083C20.1701 20.2083 20.6869 20.4212 21.1127 20.8471C21.5385 21.2729 21.751 21.7892 21.75 22.3958C21.75 23.0278 21.5371 23.5503 21.1112 23.9635C20.6854 24.3767 20.1692 24.5833 19.5625 24.5833ZM41.4375 24.5833C40.8056 24.5833 40.283 24.3767 39.8698 23.9635C39.4566 23.5503 39.25 23.0278 39.25 22.3958C39.25 21.7882 39.4566 21.2715 39.8698 20.8456C40.283 20.4198 40.8056 20.2074 41.4375 20.2083C42.0451 20.2083 42.5619 20.4212 42.9877 20.8471C43.4135 21.2729 43.626 21.7892 43.625 22.3958C43.625 23.0278 43.4121 23.5503 42.9862 23.9635C42.5604 24.3767 42.0442 24.5833 41.4375 24.5833ZM23.5729 19.1146C22.941 19.1146 22.4184 18.908 22.0052 18.4948C21.592 18.0816 21.3854 17.559 21.3854 16.9271C21.3854 16.3194 21.592 15.8027 22.0052 15.3769C22.4184 14.951 22.941 14.7386 23.5729 14.7396C24.1806 14.7396 24.6973 14.9525 25.1231 15.3783C25.549 15.8042 25.7614 16.3204 25.7604 16.9271C25.7604 17.559 25.5475 18.0816 25.1217 18.4948C24.6958 18.908 24.1796 19.1146 23.5729 19.1146ZM37.4271 19.1146C36.7951 19.1146 36.2726 18.908 35.8594 18.4948C35.4462 18.0816 35.2396 17.559 35.2396 16.9271C35.2396 16.3194 35.4462 15.8027 35.8594 15.3769C36.2726 14.951 36.7951 14.7386 37.4271 14.7396C38.0347 14.7396 38.5515 14.9525 38.9773 15.3783C39.4031 15.8042 39.6156 16.3204 39.6146 16.9271C39.6146 17.559 39.4017 18.0816 38.9758 18.4948C38.55 18.908 38.0337 19.1146 37.4271 19.1146ZM30.5 17.2917C29.8681 17.2917 29.3455 17.0851 28.9323 16.6719C28.5191 16.2587 28.3125 15.7361 28.3125 15.1042C28.3125 14.4965 28.5191 13.9798 28.9323 13.554C29.3455 13.1281 29.8681 12.9157 30.5 12.9167C31.1076 12.9167 31.6244 13.1296 32.0502 13.5554C32.476 13.9812 32.6885 14.4975 32.6875 15.1042C32.6875 15.7361 32.4746 16.2587 32.0487 16.6719C31.6229 17.0851 31.1067 17.2917 30.5 17.2917Z" fill="black"/>
<path d="M26.125 40.625V33.3333C24.6181 33.2118 23.1412 33.0417 21.6946 32.8229C20.2479 32.6042 18.8081 32.2882 17.375 31.875L18.1042 28.9583C20.1215 29.5174 22.1632 29.9004 24.2292 30.1075C26.2951 30.3146 28.3854 30.4176 30.5 30.4167C32.5903 30.4167 34.6684 30.3131 36.7344 30.106C38.8003 29.899 40.8542 29.5164 42.8958 28.9583L43.625 31.875C42.1667 32.2882 40.7142 32.6042 39.2675 32.8229C37.8208 33.0417 36.3567 33.2118 34.875 33.3333V40.625H26.125ZM30.5 28.9583C29.6736 28.9583 28.9809 28.6788 28.4219 28.1198C27.8628 27.5608 27.5833 26.868 27.5833 26.0417C27.5833 25.2396 27.8628 24.5527 28.4219 23.981C28.9809 23.4094 29.6736 23.124 30.5 23.125C31.3021 23.125 31.989 23.4108 32.5606 23.9825C33.1323 24.5542 33.4176 25.2405 33.4167 26.0417C33.4167 26.868 33.1308 27.5608 32.5592 28.1198C31.9875 28.6788 31.3011 28.9583 30.5 28.9583ZM19.5625 24.5833C18.9306 24.5833 18.408 24.3767 17.9948 23.9635C17.5816 23.5503 17.375 23.0278 17.375 22.3958C17.375 21.7882 17.5816 21.2715 17.9948 20.8456C18.408 20.4198 18.9306 20.2074 19.5625 20.2083C20.1701 20.2083 20.6869 20.4212 21.1127 20.8471C21.5385 21.2729 21.751 21.7892 21.75 22.3958C21.75 23.0278 21.5371 23.5503 21.1112 23.9635C20.6854 24.3767 20.1692 24.5833 19.5625 24.5833ZM41.4375 24.5833C40.8056 24.5833 40.283 24.3767 39.8698 23.9635C39.4566 23.5503 39.25 23.0278 39.25 22.3958C39.25 21.7882 39.4566 21.2715 39.8698 20.8456C40.283 20.4198 40.8056 20.2074 41.4375 20.2083C42.0451 20.2083 42.5619 20.4212 42.9877 20.8471C43.4135 21.2729 43.626 21.7892 43.625 22.3958C43.625 23.0278 43.4121 23.5503 42.9862 23.9635C42.5604 24.3767 42.0442 24.5833 41.4375 24.5833ZM23.5729 19.1146C22.941 19.1146 22.4184 18.908 22.0052 18.4948C21.592 18.0816 21.3854 17.559 21.3854 16.9271C21.3854 16.3194 21.592 15.8027 22.0052 15.3769C22.4184 14.951 22.941 14.7386 23.5729 14.7396C24.1806 14.7396 24.6973 14.9525 25.1231 15.3783C25.549 15.8042 25.7614 16.3204 25.7604 16.9271C25.7604 17.559 25.5475 18.0816 25.1217 18.4948C24.6958 18.908 24.1796 19.1146 23.5729 19.1146ZM37.4271 19.1146C36.7951 19.1146 36.2726 18.908 35.8594 18.4948C35.4462 18.0816 35.2396 17.559 35.2396 16.9271C35.2396 16.3194 35.4462 15.8027 35.8594 15.3769C36.2726 14.951 36.7951 14.7386 37.4271 14.7396C38.0347 14.7396 38.5515 14.9525 38.9773 15.3783C39.4031 15.8042 39.6156 16.3204 39.6146 16.9271C39.6146 17.559 39.4017 18.0816 38.9758 18.4948C38.55 18.908 38.0337 19.1146 37.4271 19.1146ZM30.5 17.2917C29.8681 17.2917 29.3455 17.0851 28.9323 16.6719C28.5191 16.2587 28.3125 15.7361 28.3125 15.1042C28.3125 14.4965 28.5191 13.9798 28.9323 13.554C29.3455 13.1281 29.8681 12.9157 30.5 12.9167C31.1076 12.9167 31.6244 13.1296 32.0502 13.5554C32.476 13.9812 32.6885 14.4975 32.6875 15.1042C32.6875 15.7361 32.4746 16.2587 32.0487 16.6719C31.6229 17.0851 31.1067 17.2917 30.5 17.2917Z" fill="url(#paint0_linear_180_148)"/>
<defs>
<linearGradient id="paint0_linear_180_148" x1="45.5373" y1="26.2931" x2="18.5388" y2="37.6571" gradientUnits="userSpaceOnUse">
<stop stop-color="#3385FF"/>
<stop offset="0.791667" stop-color="#91B7F0"/>
<stop offset="1" stop-color="#95BBF2"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 6.0 KiB

@@ -1,27 +0,0 @@
<svg width="101" height="91" viewBox="0 0 126 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M26.5 84.5C22.8562 84.5 19.737 83.2026 17.1422 80.6078C14.5474 78.013 13.25 74.8938 13.25 71.25C13.25 67.6063 14.5474 64.487 17.1422 61.8922C19.737 59.2974 22.8562 58 26.5 58C30.1437 58 33.263 59.2974 35.8578 61.8922C38.4526 64.487 39.75 67.6063 39.75 71.25C39.75 74.8938 38.4526 78.013 35.8578 80.6078C33.263 83.2026 30.1437 84.5 26.5 84.5ZM0 111V101.725C0 99.8479 0.483626 98.1221 1.45088 96.5476C2.41813 94.973 3.70117 93.7728 5.3 92.9469C8.72291 91.2354 12.201 89.9513 15.7344 89.0944C19.2677 88.2376 22.8562 87.8103 26.5 87.8125C30.1437 87.8125 33.7323 88.2409 37.2656 89.0977C40.799 89.9546 44.2771 91.2376 47.7 92.9469C49.301 93.775 50.5852 94.9763 51.5524 96.5509C52.5197 98.1254 53.0022 99.8501 53 101.725V111H0Z" fill="url(#paint0_linear_1_3)"/>
<path d="M57.5 70.5C51.9312 70.5 47.1641 68.5172 43.1984 64.5516C39.2328 60.5859 37.25 55.8188 37.25 50.25C37.25 44.6812 39.2328 39.9141 43.1984 35.9484C47.1641 31.9828 51.9312 30 57.5 30C63.0687 30 67.8359 31.9828 71.8015 35.9484C75.7672 39.9141 77.75 44.6812 77.75 50.25C77.75 55.8188 75.7672 60.5859 71.8015 64.5516C67.8359 68.5172 63.0687 70.5 57.5 70.5ZM17 111V96.825C17 93.9563 17.7391 91.3187 19.2174 88.9123C20.6956 86.5059 22.6565 84.6716 25.1 83.4094C30.3312 80.7938 35.6469 78.8312 41.0469 77.5217C46.4469 76.2122 51.9312 75.5591 57.5 75.5625C63.0687 75.5625 68.5531 76.2172 73.9531 77.5267C79.3531 78.8363 84.6687 80.7971 89.9 83.4094C92.3469 84.675 94.3094 86.511 95.7877 88.9174C97.2659 91.3237 98.0034 93.9596 98 96.825V111H17Z" fill="url(#paint1_linear_1_3)"/>
<mask id="mask0_1_3" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="71" y="0" width="55" height="55">
<path d="M125.234 13.769L84.769 0L71 40.4645L111.465 54.2336L125.234 13.769Z" fill="white"/>
</mask>
<g mask="url(#mask0_1_3)">
<path d="M101.559 17.0007C104.242 17.9136 106.452 19.855 107.704 22.3977C108.956 24.9404 109.146 27.8761 108.233 30.5591C106.959 34.3021 103.806 36.8788 100.192 37.6053L99.1589 40.6401C99.0067 41.0873 98.6832 41.4557 98.2594 41.6643C97.8356 41.8729 97.3463 41.9046 96.8991 41.7524L90.1551 39.4576C89.7079 39.3054 89.3395 38.9819 89.1309 38.5581C88.9223 38.1343 88.8906 37.645 89.0427 37.1979L90.0754 34.163C87.6541 31.3826 86.727 27.4175 88.0006 23.6746C88.9136 20.9916 90.8549 18.7812 93.3976 17.5296C95.9403 16.278 98.8761 16.0878 101.559 17.0007ZM96.3254 43.4385L95.7517 45.1245C95.5996 45.5716 95.276 45.94 94.8522 46.1486C94.4284 46.3572 93.9391 46.389 93.492 46.2368L90.1199 45.0894C89.6728 44.9372 89.3044 44.6137 89.0958 44.1899C88.8872 43.7661 88.8555 43.2768 89.0076 42.8296L89.5813 41.1436L96.3254 43.4385ZM112.179 30.0205L117.237 31.7416L116.089 35.1137L111.031 33.3925L112.179 30.0205ZM80.1442 19.12L85.2023 20.8411L84.0549 24.2132L78.9968 22.492L80.1442 19.12ZM106.114 9.14428L104.392 14.2024L101.02 13.0549L102.742 7.99686L106.114 9.14428ZM91.0563 8.72376L93.4198 13.5539L90.2167 15.1165L87.8417 10.3201L91.0563 8.72376ZM110.117 19.2167L114.914 16.8418L116.504 20.0732L111.697 22.4256L110.117 19.2167Z" fill="url(#paint2_linear_1_3)"/>
</g>
<defs>
<linearGradient id="paint0_linear_1_3" x1="42.575" y1="71.8711" x2="1.30793" y2="92.0837" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint1_linear_1_3" x1="82.0674" y1="51.1992" x2="18.9989" y2="82.0901" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint2_linear_1_3" x1="112.374" y1="22.1065" x2="78.6799" y2="26.425" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.8 KiB

@@ -1,32 +0,0 @@
<svg width="90" height="87" viewBox="0 0 90 87" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M59.3408 17.0244H83.5356C85.2059 17.0244 86.56 18.3784 86.56 20.0487V44.2435C86.56 45.9138 85.2059 47.2678 83.5356 47.2678H59.3408C57.6705 47.2678 56.3165 45.9138 56.3165 44.2435V20.0487C56.3165 18.3784 57.6705 17.0244 59.3408 17.0244Z" fill="black"/>
<path d="M59.3408 17.0244H83.5356C85.2059 17.0244 86.56 18.3784 86.56 20.0487V44.2435C86.56 45.9138 85.2059 47.2678 83.5356 47.2678H59.3408C57.6705 47.2678 56.3165 45.9138 56.3165 44.2435V20.0487C56.3165 18.3784 57.6705 17.0244 59.3408 17.0244Z" fill="url(#paint0_linear_3_40)"/>
<path d="M59.3408 53.3165H83.5356C85.2059 53.3165 86.56 54.6705 86.56 56.3408V80.5356C86.56 82.2059 85.2059 83.5599 83.5356 83.5599H59.3408C57.6705 83.5599 56.3165 82.2059 56.3165 80.5356V56.3408C56.3165 54.6705 57.6705 53.3165 59.3408 53.3165Z" fill="black"/>
<path d="M59.3408 53.3165H83.5356C85.2059 53.3165 86.56 54.6705 86.56 56.3408V80.5356C86.56 82.2059 85.2059 83.5599 83.5356 83.5599H59.3408C57.6705 83.5599 56.3165 82.2059 56.3165 80.5356V56.3408C56.3165 54.6705 57.6705 53.3165 59.3408 53.3165Z" fill="url(#paint1_linear_3_40)"/>
<path d="M23.0487 53.3165H47.2435C48.9138 53.3165 50.2678 54.6705 50.2678 56.3408V80.5356C50.2678 82.2059 48.9138 83.5599 47.2435 83.5599H23.0487C21.3784 83.5599 20.0244 82.2059 20.0244 80.5356V56.3408C20.0244 54.6705 21.3784 53.3165 23.0487 53.3165Z" fill="black"/>
<path d="M23.0487 53.3165H47.2435C48.9138 53.3165 50.2678 54.6705 50.2678 56.3408V80.5356C50.2678 82.2059 48.9138 83.5599 47.2435 83.5599H23.0487C21.3784 83.5599 20.0244 82.2059 20.0244 80.5356V56.3408C20.0244 54.6705 21.3784 53.3165 23.0487 53.3165Z" fill="url(#paint2_linear_3_40)"/>
<path d="M1.95474 20.7688L17.5935 2.30765C18.6731 1.03317 20.5815 0.875213 21.856 1.95484L40.3172 17.5936C41.5917 18.6732 41.7496 20.5816 40.67 21.8561L25.0312 40.3173C23.9516 41.5918 22.0432 41.7497 20.7687 40.6701L2.30755 25.0313C1.03307 23.9517 0.875113 22.0433 1.95474 20.7688Z" fill="black"/>
<path d="M1.95474 20.7688L17.5935 2.30765C18.6731 1.03317 20.5815 0.875213 21.856 1.95484L40.3172 17.5936C41.5917 18.6732 41.7496 20.5816 40.67 21.8561L25.0312 40.3173C23.9516 41.5918 22.0432 41.7497 20.7687 40.6701L2.30755 25.0313C1.03307 23.9517 0.875113 22.0433 1.95474 20.7688Z" fill="url(#paint3_linear_3_40)"/>
<defs>
<linearGradient id="paint0_linear_3_40" x1="62.2654" y1="24.9396" x2="85.8136" y2="36.4736" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint1_linear_3_40" x1="62.2654" y1="61.2317" x2="85.8136" y2="72.7657" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint2_linear_3_40" x1="25.9732" y1="61.2317" x2="49.5215" y2="72.7657" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint3_linear_3_40" x1="9.88461" y1="23.6536" x2="33.9061" y2="13.1408" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

@@ -1,17 +0,0 @@
<svg width="61" height="55" viewBox="0 0 61 55" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect y="0.0396118" width="61" height="54.9604" rx="14.495" fill="#0F0F0F"/>
<path d="M16.625 35.2083L25.875 25.9583L32.0417 32.125L44.375 19.7917" stroke="url(#paint0_linear_180_128)" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M38.2083 19.7917H44.375V25.9583" stroke="url(#paint1_linear_180_128)" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
<defs>
<linearGradient id="paint0_linear_180_128" x1="46.3965" y1="27.7658" x2="25.9048" y2="11.3778" gradientUnits="userSpaceOnUse">
<stop stop-color="#3385FF"/>
<stop offset="0.791667" stop-color="#91B7F0"/>
<stop offset="1" stop-color="#95BBF2"/>
</linearGradient>
<linearGradient id="paint1_linear_180_128" x1="44.8242" y1="22.9813" x2="38.5889" y2="20.211" gradientUnits="userSpaceOnUse">
<stop stop-color="#3385FF"/>
<stop offset="0.791667" stop-color="#91B7F0"/>
<stop offset="1" stop-color="#95BBF2"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 430 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 820 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 273 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

@@ -1,11 +0,0 @@
<svg width="113" height="113" viewBox="0 0 113 113" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M56.5 10.5938C31.1876 10.5938 10.5938 31.1876 10.5938 56.5C10.5938 81.8124 31.1876 102.406 56.5 102.406C81.8124 102.406 102.406 81.8124 102.406 56.5C102.406 31.1876 81.8124 10.5938 56.5 10.5938ZM71.7947 31.8188C74.9585 31.8231 78.0499 32.7653 80.6784 34.5261C83.3068 36.287 85.3543 38.7875 86.562 41.7117C87.7697 44.6359 88.0834 47.8525 87.4635 50.9549C86.8436 54.0573 85.3179 56.9064 83.0793 59.1419C80.8406 61.3775 77.9895 62.8992 74.8862 63.5149C71.7829 64.1305 68.5668 63.8123 65.6443 62.6006C62.7218 61.3889 60.224 59.338 58.4668 56.7071C56.7096 54.0762 55.7717 50.9835 55.7717 47.8197C55.7731 45.717 56.1887 43.6352 56.9947 41.6931C57.8008 39.7509 58.9814 37.9866 60.4693 36.5008C61.9572 35.0149 63.7231 33.8367 65.6664 33.0334C67.6096 32.23 69.692 31.8173 71.7947 31.8188ZM37.5637 37.6365C40.1523 37.64 42.6818 38.4108 44.8324 39.8515C46.9831 41.2922 48.6584 43.3381 49.6466 45.7307C50.6348 48.1233 50.8916 50.7551 50.3844 53.2936C49.8773 55.832 48.629 58.1632 46.7973 59.9924C44.9656 61.8216 42.6328 63.0667 40.0937 63.5704C37.5545 64.0742 34.9231 63.8139 32.5318 62.8224C30.1406 61.831 28.0969 60.153 26.6591 58.0004C25.2213 55.8478 24.4539 53.3172 24.4539 50.7286C24.4548 49.0081 24.7946 47.3046 25.4539 45.7154C26.1133 44.1263 27.0793 42.6826 28.2967 41.4668C29.5141 40.251 30.9591 39.287 32.5491 38.6298C34.1392 37.9726 35.8431 37.6351 37.5637 37.6365ZM20.8233 71.8455C26.2306 68.9123 33.154 67.4447 37.5637 67.4447C40.8742 67.4447 45.1382 68.1068 49.3338 69.6958C46.5213 71.2652 43.9861 73.2867 41.8299 75.6791C38.9188 78.9896 37.2481 82.9446 37.2481 86.8974V90.208C29.9383 86.0211 24.1771 79.5841 20.8233 71.8565V71.8455ZM56.5 95.3438C52.0311 95.3474 47.5955 94.576 43.3902 93.0639V87.0939C43.3902 75.4871 62.3155 69.6385 71.7947 69.6385C76.8709 69.6385 84.6794 71.3224 90.8215 74.6727C87.5163 80.9095 82.5754 86.1287 76.5289 89.7704C70.4824 93.412 63.5585 95.3387 56.5 95.3438Z" fill="black"/>
<path d="M56.5 10.5938C31.1876 10.5938 10.5938 31.1876 10.5938 56.5C10.5938 81.8124 31.1876 102.406 56.5 102.406C81.8124 102.406 102.406 81.8124 102.406 56.5C102.406 31.1876 81.8124 10.5938 56.5 10.5938ZM71.7947 31.8188C74.9585 31.8231 78.0499 32.7653 80.6784 34.5261C83.3068 36.287 85.3543 38.7875 86.562 41.7117C87.7697 44.6359 88.0834 47.8525 87.4635 50.9549C86.8436 54.0573 85.3179 56.9064 83.0793 59.1419C80.8406 61.3775 77.9895 62.8992 74.8862 63.5149C71.7829 64.1305 68.5668 63.8123 65.6443 62.6006C62.7218 61.3889 60.224 59.338 58.4668 56.7071C56.7096 54.0762 55.7717 50.9835 55.7717 47.8197C55.7731 45.717 56.1887 43.6352 56.9947 41.6931C57.8008 39.7509 58.9814 37.9866 60.4693 36.5008C61.9572 35.0149 63.7231 33.8367 65.6664 33.0334C67.6096 32.23 69.692 31.8173 71.7947 31.8188ZM37.5637 37.6365C40.1523 37.64 42.6818 38.4108 44.8324 39.8515C46.9831 41.2922 48.6584 43.3381 49.6466 45.7307C50.6348 48.1233 50.8916 50.7551 50.3844 53.2936C49.8773 55.832 48.629 58.1632 46.7973 59.9924C44.9656 61.8216 42.6328 63.0667 40.0937 63.5704C37.5545 64.0742 34.9231 63.8139 32.5318 62.8224C30.1406 61.831 28.0969 60.153 26.6591 58.0004C25.2213 55.8478 24.4539 53.3172 24.4539 50.7286C24.4548 49.0081 24.7946 47.3046 25.4539 45.7154C26.1133 44.1263 27.0793 42.6826 28.2967 41.4668C29.5141 40.251 30.9591 39.287 32.5491 38.6298C34.1392 37.9726 35.8431 37.6351 37.5637 37.6365ZM20.8233 71.8455C26.2306 68.9123 33.154 67.4447 37.5637 67.4447C40.8742 67.4447 45.1382 68.1068 49.3338 69.6958C46.5213 71.2652 43.9861 73.2867 41.8299 75.6791C38.9188 78.9896 37.2481 82.9446 37.2481 86.8974V90.208C29.9383 86.0211 24.1771 79.5841 20.8233 71.8565V71.8455ZM56.5 95.3438C52.0311 95.3474 47.5955 94.576 43.3902 93.0639V87.0939C43.3902 75.4871 62.3155 69.6385 71.7947 69.6385C76.8709 69.6385 84.6794 71.3224 90.8215 74.6727C87.5163 80.9095 82.5754 86.1287 76.5289 89.7704C70.4824 93.412 63.5585 95.3387 56.5 95.3438Z" fill="url(#paint0_linear_180_461)"/>
<defs>
<linearGradient id="paint0_linear_180_461" x1="84.3468" y1="34.6228" x2="12.8595" y2="69.6373" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 4.1 KiB

@@ -1,23 +0,0 @@
<svg width="149" height="136" viewBox="0 0 149 136" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M55 121.471C49.9583 121.471 45.3368 120.21 41.1354 117.69C36.934 115.169 33.6111 111.846 31.1667 107.721H18.3333V98.5542H27.9583C27.7292 96.7973 27.5947 95.2878 27.555 94.0259C27.5153 92.7639 27.497 91.2178 27.5 89.3876H18.3333V80.2209H27.5C27.5 78.1584 27.5199 76.458 27.5596 75.1196C27.5993 73.7813 27.7322 72.4262 27.9583 71.0542H18.3333V61.8876H31.1667C32.2361 60.0542 33.44 58.392 34.7783 56.9009C36.1167 55.4098 37.6628 54.0928 39.4167 52.9501L32.0833 45.3876L38.5 38.9709L48.3542 48.8251C50.1111 48.2139 52.2882 47.9084 54.8854 47.9084C57.4827 47.9084 59.6597 48.2139 61.4167 48.8251L71.5 38.9709L77.9167 45.3876L70.3542 52.9501C72.1111 54.0959 73.697 55.4144 75.1117 56.9055C76.5264 58.3966 77.767 60.0573 78.8333 61.8876H91.6667V71.0542H82.0417C82.2708 72.8112 82.4053 74.2626 82.445 75.4084C82.4847 76.5542 82.5031 78.1584 82.5 80.2209H91.6667V89.3876H82.5C82.5 91.2209 82.4801 92.767 82.4404 94.0259C82.4007 95.2848 82.2678 96.7942 82.0417 98.5542H91.6667V107.721H78.8333C76.3889 111.846 73.066 115.169 68.8646 117.69C64.6632 120.21 60.0417 121.471 55 121.471ZM45.8333 98.5542H64.1667V89.3876H45.8333V98.5542ZM45.8333 80.2209H64.1667V71.0542H45.8333V80.2209Z" fill="black"/>
<path d="M55 121.471C49.9583 121.471 45.3368 120.21 41.1354 117.69C36.934 115.169 33.6111 111.846 31.1667 107.721H18.3333V98.5542H27.9583C27.7292 96.7973 27.5947 95.2878 27.555 94.0259C27.5153 92.7639 27.497 91.2178 27.5 89.3876H18.3333V80.2209H27.5C27.5 78.1584 27.5199 76.458 27.5596 75.1196C27.5993 73.7813 27.7322 72.4262 27.9583 71.0542H18.3333V61.8876H31.1667C32.2361 60.0542 33.44 58.392 34.7783 56.9009C36.1167 55.4098 37.6628 54.0928 39.4167 52.9501L32.0833 45.3876L38.5 38.9709L48.3542 48.8251C50.1111 48.2139 52.2882 47.9084 54.8854 47.9084C57.4827 47.9084 59.6597 48.2139 61.4167 48.8251L71.5 38.9709L77.9167 45.3876L70.3542 52.9501C72.1111 54.0959 73.697 55.4144 75.1117 56.9055C76.5264 58.3966 77.767 60.0573 78.8333 61.8876H91.6667V71.0542H82.0417C82.2708 72.8112 82.4053 74.2626 82.445 75.4084C82.4847 76.5542 82.5031 78.1584 82.5 80.2209H91.6667V89.3876H82.5C82.5 91.2209 82.4801 92.767 82.4404 94.0259C82.4007 95.2848 82.2678 96.7942 82.0417 98.5542H91.6667V107.721H78.8333C76.3889 111.846 73.066 115.169 68.8646 117.69C64.6632 120.21 60.0417 121.471 55 121.471ZM45.8333 98.5542H64.1667V89.3876H45.8333V98.5542ZM45.8333 80.2209H64.1667V71.0542H45.8333V80.2209Z" fill="url(#paint0_linear_2_28)"/>
<g clip-path="url(#clip0_2_28)">
<path d="M83.0219 19.628L73.4163 54.0813L103.046 62.3421C102.953 60.3191 103.183 58.2941 103.728 56.3437L86.5017 51.5409C86.9263 50.018 86.7285 48.3888 85.9519 47.0117C85.1752 45.6346 83.8833 44.6224 82.3604 44.1978L85.5623 32.7134C88.7492 33.6019 92.0169 31.759 92.9054 28.5721L121.616 36.5768C121.192 38.0997 121.39 39.7289 122.166 41.106C122.943 42.4831 124.235 43.4953 125.758 43.9199L125.71 44.0922C127.633 44.6285 129.461 45.5093 131.18 46.6693L134.702 34.0364L83.0219 19.628ZM106.46 35.4455C101.556 34.1709 96.8066 36.7766 95.4458 41.6574C94.085 46.5383 96.8248 51.1391 101.658 52.6721C102.749 52.9763 103.932 53.0588 105.115 52.9243C106.771 49.9822 108.895 47.3565 112.898 45.3165C113.619 41.4019 111.05 36.6321 106.46 35.4455ZM131.492 52.5425L117.259 60.642L114.479 55.628L109.294 58.5763L114.965 68.7592L134.383 57.7114L131.492 52.5425Z" fill="black"/>
<path d="M83.0219 19.628L73.4163 54.0813L103.046 62.3421C102.953 60.3191 103.183 58.2941 103.728 56.3437L86.5017 51.5409C86.9263 50.018 86.7285 48.3888 85.9519 47.0117C85.1752 45.6346 83.8833 44.6224 82.3604 44.1978L85.5623 32.7134C88.7492 33.6019 92.0169 31.759 92.9054 28.5721L121.616 36.5768C121.192 38.0997 121.39 39.7289 122.166 41.106C122.943 42.4831 124.235 43.4953 125.758 43.9199L125.71 44.0922C127.633 44.6285 129.461 45.5093 131.18 46.6693L134.702 34.0364L83.0219 19.628ZM106.46 35.4455C101.556 34.1709 96.8066 36.7766 95.4458 41.6574C94.085 46.5383 96.8248 51.1391 101.658 52.6721C102.749 52.9763 103.932 53.0588 105.115 52.9243C106.771 49.9822 108.895 47.3565 112.898 45.3165C113.619 41.4019 111.05 36.6321 106.46 35.4455ZM131.492 52.5425L117.259 60.642L114.479 55.628L109.294 58.5763L114.965 68.7592L134.383 57.7114L131.492 52.5425Z" fill="url(#paint1_linear_2_28)"/>
</g>
<defs>
<linearGradient id="paint0_linear_2_28" x1="77.2421" y1="60.5627" x2="17.7262" y2="86.4745" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint1_linear_2_28" x1="126.495" y1="42.2761" x2="83.6788" y2="59.1091" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<clipPath id="clip0_2_28">
<rect width="71.5344" height="71.5344" fill="white" transform="translate(79.2114) rotate(15.5785)"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

@@ -1,11 +0,0 @@
<svg width="86" height="86" viewBox="0 0 86 86" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M75.2502 60.9167V28.6667H25.0835V60.9167H75.2502ZM75.2502 10.75C77.1509 10.75 78.9738 11.5051 80.3178 12.8491C81.6618 14.1931 82.4168 16.016 82.4168 17.9167V60.9167C82.4168 62.8174 81.6618 64.6403 80.3178 65.9843C78.9738 67.3283 77.1509 68.0834 75.2502 68.0834H25.0835C23.1828 68.0834 21.3599 67.3283 20.0159 65.9843C18.6719 64.6403 17.9168 62.8174 17.9168 60.9167V17.9167C17.9168 16.016 18.6719 14.1931 20.0159 12.8491C21.3599 11.5051 23.1828 10.75 25.0835 10.75H28.6668V3.58337H35.8335V10.75H64.5002V3.58337H71.6668V10.75H75.2502ZM10.7502 75.25H60.9168V82.4167H10.7502C8.84944 82.4167 7.02658 81.6617 5.68256 80.3176C4.33855 78.9736 3.5835 77.1508 3.5835 75.25V32.25H10.7502V75.25ZM68.0835 53.75H53.7502V39.4167H68.0835V53.75Z" fill="black"/>
<path d="M75.2502 60.9167V28.6667H25.0835V60.9167H75.2502ZM75.2502 10.75C77.1509 10.75 78.9738 11.5051 80.3178 12.8491C81.6618 14.1931 82.4168 16.016 82.4168 17.9167V60.9167C82.4168 62.8174 81.6618 64.6403 80.3178 65.9843C78.9738 67.3283 77.1509 68.0834 75.2502 68.0834H25.0835C23.1828 68.0834 21.3599 67.3283 20.0159 65.9843C18.6719 64.6403 17.9168 62.8174 17.9168 60.9167V17.9167C17.9168 16.016 18.6719 14.1931 20.0159 12.8491C21.3599 11.5051 23.1828 10.75 25.0835 10.75H28.6668V3.58337H35.8335V10.75H64.5002V3.58337H71.6668V10.75H75.2502ZM10.7502 75.25H60.9168V82.4167H10.7502C8.84944 82.4167 7.02658 81.6617 5.68256 80.3176C4.33855 78.9736 3.5835 77.1508 3.5835 75.25V32.25H10.7502V75.25ZM68.0835 53.75H53.7502V39.4167H68.0835V53.75Z" fill="url(#paint0_linear_180_392)"/>
<defs>
<linearGradient id="paint0_linear_180_392" x1="66.9104" y1="24.2155" x2="5.52894" y2="54.2801" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

@@ -1,21 +0,0 @@
<svg width="115" height="122" viewBox="0 0 115 122" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_2_17)">
<path d="M4.79167 102.833C3.43403 102.833 2.29521 102.373 1.37521 101.453C0.45521 100.533 -0.00319312 99.3961 1.32137e-06 98.0417C1.32137e-06 96.684 0.460001 95.5452 1.38 94.6252C2.3 93.7052 3.43722 93.2468 4.79167 93.25H9.58333V30.9583C9.58333 28.3229 10.5225 26.066 12.4008 24.1877C14.2792 22.3094 16.5344 21.3718 19.1667 21.375H95.8333C98.4687 21.375 100.726 22.3142 102.604 24.1925C104.482 26.0708 105.42 28.3261 105.417 30.9583V93.25H110.208C111.566 93.25 112.705 93.71 113.625 94.63C114.545 95.55 115.003 96.6872 115 98.0417C115 99.3993 114.54 100.538 113.62 101.458C112.7 102.378 111.563 102.837 110.208 102.833H4.79167ZM50.3125 93.25H64.6875C65.3264 93.25 65.8854 93.0104 66.3646 92.5313C66.8438 92.0521 67.0833 91.4931 67.0833 90.8542C67.0833 90.2153 66.8438 89.6562 66.3646 89.1771C65.8854 88.6979 65.3264 88.4583 64.6875 88.4583H50.3125C49.6736 88.4583 49.1146 88.6979 48.6354 89.1771C48.1562 89.6562 47.9167 90.2153 47.9167 90.8542C47.9167 91.4931 48.1562 92.0521 48.6354 92.5313C49.1146 93.0104 49.6736 93.25 50.3125 93.25Z" fill="black"/>
<path d="M4.79167 102.833C3.43403 102.833 2.29521 102.373 1.37521 101.453C0.45521 100.533 -0.00319312 99.3961 1.32137e-06 98.0417C1.32137e-06 96.684 0.460001 95.5452 1.38 94.6252C2.3 93.7052 3.43722 93.2468 4.79167 93.25H9.58333V30.9583C9.58333 28.3229 10.5225 26.066 12.4008 24.1877C14.2792 22.3094 16.5344 21.3718 19.1667 21.375H95.8333C98.4687 21.375 100.726 22.3142 102.604 24.1925C104.482 26.0708 105.42 28.3261 105.417 30.9583V93.25H110.208C111.566 93.25 112.705 93.71 113.625 94.63C114.545 95.55 115.003 96.6872 115 98.0417C115 99.3993 114.54 100.538 113.62 101.458C112.7 102.378 111.563 102.837 110.208 102.833H4.79167ZM50.3125 93.25H64.6875C65.3264 93.25 65.8854 93.0104 66.3646 92.5313C66.8438 92.0521 67.0833 91.4931 67.0833 90.8542C67.0833 90.2153 66.8438 89.6562 66.3646 89.1771C65.8854 88.6979 65.3264 88.4583 64.6875 88.4583H50.3125C49.6736 88.4583 49.1146 88.6979 48.6354 89.1771C48.1562 89.6562 47.9167 90.2153 47.9167 90.8542C47.9167 91.4931 48.1562 92.0521 48.6354 92.5313C49.1146 93.0104 49.6736 93.25 50.3125 93.25Z" fill="url(#paint0_linear_2_17)"/>
</g>
<path d="M80.3073 75.8802L56.3125 51.7083C55.1319 52.1806 53.9372 52.5347 52.7283 52.7708C51.5194 53.0069 50.235 53.125 48.875 53.125C42.9722 53.125 37.9549 51.059 33.8229 46.9271C29.691 42.7951 27.625 37.7778 27.625 31.875C27.625 29.75 27.9201 27.7289 28.5104 25.8117C29.1007 23.8944 29.9271 22.0787 30.9896 20.3646L43.9167 33.2917L50.2917 26.9167L37.3646 13.9896C39.0764 12.9271 40.8921 12.1007 42.8117 11.5104C44.7312 10.9201 46.7524 10.625 48.875 10.625C54.7778 10.625 59.7951 12.691 63.9271 16.8229C68.059 20.9549 70.125 25.9722 70.125 31.875C70.125 33.2326 70.0069 34.5171 69.7708 35.7283C69.5347 36.9396 69.1806 38.1343 68.7083 39.3125L92.8802 63.3073L80.3073 75.8802Z" fill="url(#paint1_linear_2_17)"/>
<defs>
<linearGradient id="paint0_linear_2_17" x1="92.3797" y1="42.6942" x2="17.27" y2="94.6311" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint1_linear_2_17" x1="37.5" y1="14.5" x2="93" y2="83" gradientUnits="userSpaceOnUse">
<stop stop-color="white"/>
<stop offset="1" stop-color="#BFBFBF" stop-opacity="0"/>
</linearGradient>
<clipPath id="clip0_2_17">
<rect width="115" height="115" fill="white" transform="translate(0 7)"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.5 KiB

@@ -1,28 +0,0 @@
<svg width="117" height="97" viewBox="0 0 117 97" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1_2)">
<path d="M60.075 73.75L75.75 82.3V92.5H49.5C45.3375 92.5 42 89.1625 42 85V25C42 23.0109 42.7902 21.1032 44.1967 19.6967C45.6032 18.2902 47.5109 17.5 49.5 17.5H53.25V43.75L62.625 38.125L72 43.75V17.5H94.5C96.4891 17.5 98.3968 18.2902 99.8033 19.6967C101.21 21.1032 102 23.0109 102 25V57.025L96.375 53.95L60.075 73.75ZM117 73.75L96.375 62.5L75.75 73.75L96.375 85L117 73.75ZM83.25 81.5875V89.0875L96.375 96.25L109.5 89.0875V81.5875L96.375 88.75L83.25 81.5875Z" fill="black"/>
<path d="M60.075 73.75L75.75 82.3V92.5H49.5C45.3375 92.5 42 89.1625 42 85V25C42 23.0109 42.7902 21.1032 44.1967 19.6967C45.6032 18.2902 47.5109 17.5 49.5 17.5H53.25V43.75L62.625 38.125L72 43.75V17.5H94.5C96.4891 17.5 98.3968 18.2902 99.8033 19.6967C101.21 21.1032 102 23.0109 102 25V57.025L96.375 53.95L60.075 73.75ZM117 73.75L96.375 62.5L75.75 73.75L96.375 85L117 73.75ZM83.25 81.5875V89.0875L96.375 96.25L109.5 89.0875V81.5875L96.375 88.75L83.25 81.5875Z" fill="url(#paint0_linear_1_2)"/>
<mask id="mask0_1_2" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="34" height="34">
<path d="M34 0H0V34H34V0Z" fill="white"/>
</mask>
<g mask="url(#mask0_1_2)">
<path d="M13.8129 34.0002C13.4771 34.0019 13.1488 33.9011 12.8718 33.7112C12.5949 33.5214 12.3824 33.2515 12.2629 32.9377L9.61732 26.058C9.56373 25.9194 9.48176 25.7935 9.37667 25.6884C9.27157 25.5833 9.14567 25.5013 9.00704 25.4477L2.12536 22.8001C1.81189 22.6798 1.54226 22.4673 1.35207 22.1905C1.16188 21.9138 1.06007 21.586 1.06007 21.2502C1.06007 20.9144 1.16188 20.5865 1.35207 20.3098C1.54226 20.0331 1.81189 19.8206 2.12536 19.7003L9.00505 17.0546C9.14368 17.0011 9.26958 16.9191 9.37468 16.814C9.47977 16.7089 9.56174 16.583 9.61532 16.4444L12.2629 9.56268C12.3833 9.24921 12.5958 8.97958 12.8725 8.78939C13.1492 8.5992 13.4771 8.49739 13.8129 8.49739C14.1486 8.49739 14.4765 8.5992 14.7532 8.78939C15.0299 8.97958 15.2425 9.24921 15.3628 9.56268L18.0084 16.4424C18.062 16.581 18.144 16.7069 18.2491 16.812C18.3541 16.9171 18.4801 16.9991 18.6187 17.0526L25.4585 19.6843C25.7848 19.8053 26.0658 20.0238 26.2634 20.3101C26.461 20.5965 26.5656 20.9368 26.5629 21.2847C26.5578 21.6146 26.4538 21.9354 26.2644 22.2056C26.075 22.4758 25.8088 22.6829 25.5004 22.8001L18.6207 25.4457C18.482 25.4993 18.3561 25.5813 18.251 25.6864C18.146 25.7915 18.064 25.9174 18.0104 26.056L15.3628 32.9377C15.2433 33.2515 15.0309 33.5214 14.7539 33.7112C14.477 33.9011 14.1486 34.0019 13.8129 34.0002ZM5.84411 11.6877C5.64725 11.6877 5.45502 11.628 5.29273 11.5166C5.13045 11.4052 5.00573 11.2472 4.93501 11.0635L3.8154 8.15222C3.79114 8.08854 3.75368 8.03072 3.7055 7.98254C3.65732 7.93436 3.5995 7.89691 3.53583 7.87264L0.624582 6.75303C0.440888 6.6823 0.282933 6.55757 0.171526 6.39529C0.0601197 6.233 0.000488281 6.04078 0.000488281 5.84393C0.000488281 5.64709 0.0601197 5.45486 0.171526 5.29258C0.282933 5.1303 0.440888 5.00557 0.624582 4.93483L3.53583 3.81522C3.59944 3.79085 3.6572 3.75336 3.70537 3.70519C3.75354 3.65702 3.79103 3.59926 3.8154 3.53565L4.92505 0.6503C4.98763 0.480434 5.09532 0.330833 5.23654 0.217576C5.37776 0.104319 5.54717 0.0316871 5.72657 0.00748724C5.94196 -0.0186966 6.15993 0.0277736 6.3459 0.139529C6.53188 0.251284 6.67523 0.421928 6.75321 0.624401L7.87282 3.53565C7.8972 3.59926 7.93469 3.65702 7.98286 3.70519C8.03102 3.75336 8.08879 3.79085 8.15239 3.81522L11.0636 4.93483C11.2473 5.00557 11.4053 5.1303 11.5167 5.29258C11.6281 5.45486 11.6877 5.64709 11.6877 5.84393C11.6877 6.04078 11.6281 6.233 11.5167 6.39529C11.4053 6.55757 11.2473 6.6823 11.0636 6.75303L8.15239 7.87264C8.08872 7.89691 8.0309 7.93436 7.98272 7.98254C7.93454 8.03072 7.89709 8.08854 7.87282 8.15222L6.75321 11.0635C6.6825 11.2472 6.55778 11.4052 6.39549 11.5166C6.23321 11.628 6.04097 11.6877 5.84411 11.6877ZM26.5629 17.0002C26.3481 17.0001 26.1384 16.935 25.9614 16.8133C25.7844 16.6917 25.6485 16.5193 25.5714 16.3189L24.0547 12.3763C24.028 12.3068 23.987 12.2438 23.9344 12.1911C23.8818 12.1385 23.8187 12.0975 23.7492 12.0708L19.8067 10.5541C19.6064 10.4769 19.4342 10.3409 19.3127 10.1639C19.1912 9.98696 19.1262 9.77734 19.1262 9.56268C19.1262 9.34803 19.1912 9.13841 19.3127 8.96143C19.4342 8.78445 19.6064 8.64842 19.8067 8.57124L23.7492 7.05452C23.8187 7.02784 23.8818 6.98686 23.9344 6.93424C23.987 6.88161 24.028 6.81852 24.0547 6.74905L25.5601 2.8344C25.6289 2.64928 25.7465 2.48625 25.9005 2.36266C26.0545 2.23906 26.2391 2.15952 26.4347 2.13249C26.6697 2.10404 26.9075 2.1549 27.1104 2.27701C27.3132 2.39912 27.4695 2.58548 27.5543 2.80651L29.071 6.74905C29.0977 6.81852 29.1387 6.88161 29.1913 6.93424C29.2439 6.98686 29.307 7.02784 29.3765 7.05452L33.319 8.57124C33.5193 8.64842 33.6916 8.78445 33.813 8.96143C33.9345 9.13841 33.9995 9.34803 33.9995 9.56268C33.9995 9.77734 33.9345 9.98696 33.813 10.1639C33.6916 10.3409 33.5193 10.4769 33.319 10.5541L29.3765 12.0708C29.307 12.0975 29.2439 12.1385 29.1913 12.1911C29.1387 12.2438 29.0977 12.3068 29.071 12.3763L27.5543 16.3189C27.4773 16.5193 27.3413 16.6917 27.1643 16.8133C26.9873 16.935 26.7776 17.0001 26.5629 17.0002Z" fill="black"/>
<path d="M13.8129 34.0002C13.4771 34.0019 13.1488 33.9011 12.8718 33.7112C12.5949 33.5214 12.3824 33.2515 12.2629 32.9377L9.61732 26.058C9.56373 25.9194 9.48176 25.7935 9.37667 25.6884C9.27157 25.5833 9.14567 25.5013 9.00704 25.4477L2.12536 22.8001C1.81189 22.6798 1.54226 22.4673 1.35207 22.1905C1.16188 21.9138 1.06007 21.586 1.06007 21.2502C1.06007 20.9144 1.16188 20.5865 1.35207 20.3098C1.54226 20.0331 1.81189 19.8206 2.12536 19.7003L9.00505 17.0546C9.14368 17.0011 9.26958 16.9191 9.37468 16.814C9.47977 16.7089 9.56174 16.583 9.61532 16.4444L12.2629 9.56268C12.3833 9.24921 12.5958 8.97958 12.8725 8.78939C13.1492 8.5992 13.4771 8.49739 13.8129 8.49739C14.1486 8.49739 14.4765 8.5992 14.7532 8.78939C15.0299 8.97958 15.2425 9.24921 15.3628 9.56268L18.0084 16.4424C18.062 16.581 18.144 16.7069 18.2491 16.812C18.3541 16.9171 18.4801 16.9991 18.6187 17.0526L25.4585 19.6843C25.7848 19.8053 26.0658 20.0238 26.2634 20.3101C26.461 20.5965 26.5656 20.9368 26.5629 21.2847C26.5578 21.6146 26.4538 21.9354 26.2644 22.2056C26.075 22.4758 25.8088 22.6829 25.5004 22.8001L18.6207 25.4457C18.482 25.4993 18.3561 25.5813 18.251 25.6864C18.146 25.7915 18.064 25.9174 18.0104 26.056L15.3628 32.9377C15.2433 33.2515 15.0309 33.5214 14.7539 33.7112C14.477 33.9011 14.1486 34.0019 13.8129 34.0002ZM5.84411 11.6877C5.64725 11.6877 5.45502 11.628 5.29273 11.5166C5.13045 11.4052 5.00573 11.2472 4.93501 11.0635L3.8154 8.15222C3.79114 8.08854 3.75368 8.03072 3.7055 7.98254C3.65732 7.93436 3.5995 7.89691 3.53583 7.87264L0.624582 6.75303C0.440888 6.6823 0.282933 6.55757 0.171526 6.39529C0.0601197 6.233 0.000488281 6.04078 0.000488281 5.84393C0.000488281 5.64709 0.0601197 5.45486 0.171526 5.29258C0.282933 5.1303 0.440888 5.00557 0.624582 4.93483L3.53583 3.81522C3.59944 3.79085 3.6572 3.75336 3.70537 3.70519C3.75354 3.65702 3.79103 3.59926 3.8154 3.53565L4.92505 0.6503C4.98763 0.480434 5.09532 0.330833 5.23654 0.217576C5.37776 0.104319 5.54717 0.0316871 5.72657 0.00748724C5.94196 -0.0186966 6.15993 0.0277736 6.3459 0.139529C6.53188 0.251284 6.67523 0.421928 6.75321 0.624401L7.87282 3.53565C7.8972 3.59926 7.93469 3.65702 7.98286 3.70519C8.03102 3.75336 8.08879 3.79085 8.15239 3.81522L11.0636 4.93483C11.2473 5.00557 11.4053 5.1303 11.5167 5.29258C11.6281 5.45486 11.6877 5.64709 11.6877 5.84393C11.6877 6.04078 11.6281 6.233 11.5167 6.39529C11.4053 6.55757 11.2473 6.6823 11.0636 6.75303L8.15239 7.87264C8.08872 7.89691 8.0309 7.93436 7.98272 7.98254C7.93454 8.03072 7.89709 8.08854 7.87282 8.15222L6.75321 11.0635C6.6825 11.2472 6.55778 11.4052 6.39549 11.5166C6.23321 11.628 6.04097 11.6877 5.84411 11.6877ZM26.5629 17.0002C26.3481 17.0001 26.1384 16.935 25.9614 16.8133C25.7844 16.6917 25.6485 16.5193 25.5714 16.3189L24.0547 12.3763C24.028 12.3068 23.987 12.2438 23.9344 12.1911C23.8818 12.1385 23.8187 12.0975 23.7492 12.0708L19.8067 10.5541C19.6064 10.4769 19.4342 10.3409 19.3127 10.1639C19.1912 9.98696 19.1262 9.77734 19.1262 9.56268C19.1262 9.34803 19.1912 9.13841 19.3127 8.96143C19.4342 8.78445 19.6064 8.64842 19.8067 8.57124L23.7492 7.05452C23.8187 7.02784 23.8818 6.98686 23.9344 6.93424C23.987 6.88161 24.028 6.81852 24.0547 6.74905L25.5601 2.8344C25.6289 2.64928 25.7465 2.48625 25.9005 2.36266C26.0545 2.23906 26.2391 2.15952 26.4347 2.13249C26.6697 2.10404 26.9075 2.1549 27.1104 2.27701C27.3132 2.39912 27.4695 2.58548 27.5543 2.80651L29.071 6.74905C29.0977 6.81852 29.1387 6.88161 29.1913 6.93424C29.2439 6.98686 29.307 7.02784 29.3765 7.05452L33.319 8.57124C33.5193 8.64842 33.6916 8.78445 33.813 8.96143C33.9345 9.13841 33.9995 9.34803 33.9995 9.56268C33.9995 9.77734 33.9345 9.98696 33.813 10.1639C33.6916 10.3409 33.5193 10.4769 33.319 10.5541L29.3765 12.0708C29.307 12.0975 29.2439 12.1385 29.1913 12.1911C29.1387 12.2438 29.0977 12.3068 29.071 12.3763L27.5543 16.3189C27.4773 16.5193 27.3413 16.6917 27.1643 16.8133C26.9873 16.935 26.7776 17.0001 26.5629 17.0002Z" fill="url(#paint1_linear_1_2)"/>
</g>
</g>
<defs>
<linearGradient id="paint0_linear_1_2" x1="102.248" y1="38.1104" x2="42.7811" y2="65.85" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint1_linear_1_2" x1="27.3119" y1="8.89877" x2="0.839266" y2="21.8648" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<clipPath id="clip0_1_2">
<rect width="117" height="97" fill="white"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 9.5 KiB

@@ -1,27 +0,0 @@
<svg width="126" height="111" viewBox="0 0 126 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M26.5 84.5C22.8562 84.5 19.737 83.2026 17.1422 80.6078C14.5474 78.013 13.25 74.8938 13.25 71.25C13.25 67.6063 14.5474 64.487 17.1422 61.8922C19.737 59.2974 22.8562 58 26.5 58C30.1437 58 33.263 59.2974 35.8578 61.8922C38.4526 64.487 39.75 67.6063 39.75 71.25C39.75 74.8938 38.4526 78.013 35.8578 80.6078C33.263 83.2026 30.1437 84.5 26.5 84.5ZM0 111V101.725C0 99.8479 0.483626 98.1221 1.45088 96.5476C2.41813 94.973 3.70117 93.7728 5.3 92.9469C8.72291 91.2354 12.201 89.9513 15.7344 89.0944C19.2677 88.2376 22.8562 87.8103 26.5 87.8125C30.1437 87.8125 33.7323 88.2409 37.2656 89.0977C40.799 89.9546 44.2771 91.2376 47.7 92.9469C49.301 93.775 50.5852 94.9763 51.5524 96.5509C52.5197 98.1254 53.0022 99.8501 53 101.725V111H0Z" fill="url(#paint0_linear_1_3)"/>
<path d="M57.5 70.5C51.9312 70.5 47.1641 68.5172 43.1984 64.5516C39.2328 60.5859 37.25 55.8188 37.25 50.25C37.25 44.6812 39.2328 39.9141 43.1984 35.9484C47.1641 31.9828 51.9312 30 57.5 30C63.0687 30 67.8359 31.9828 71.8015 35.9484C75.7672 39.9141 77.75 44.6812 77.75 50.25C77.75 55.8188 75.7672 60.5859 71.8015 64.5516C67.8359 68.5172 63.0687 70.5 57.5 70.5ZM17 111V96.825C17 93.9563 17.7391 91.3187 19.2174 88.9123C20.6956 86.5059 22.6565 84.6716 25.1 83.4094C30.3312 80.7938 35.6469 78.8312 41.0469 77.5217C46.4469 76.2122 51.9312 75.5591 57.5 75.5625C63.0687 75.5625 68.5531 76.2172 73.9531 77.5267C79.3531 78.8363 84.6687 80.7971 89.9 83.4094C92.3469 84.675 94.3094 86.511 95.7877 88.9174C97.2659 91.3237 98.0034 93.9596 98 96.825V111H17Z" fill="url(#paint1_linear_1_3)"/>
<mask id="mask0_1_3" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="71" y="0" width="55" height="55">
<path d="M125.234 13.769L84.769 0L71 40.4645L111.465 54.2336L125.234 13.769Z" fill="white"/>
</mask>
<g mask="url(#mask0_1_3)">
<path d="M101.559 17.0007C104.242 17.9136 106.452 19.855 107.704 22.3977C108.956 24.9404 109.146 27.8761 108.233 30.5591C106.959 34.3021 103.806 36.8788 100.192 37.6053L99.1589 40.6401C99.0067 41.0873 98.6832 41.4557 98.2594 41.6643C97.8356 41.8729 97.3463 41.9046 96.8991 41.7524L90.1551 39.4576C89.7079 39.3054 89.3395 38.9819 89.1309 38.5581C88.9223 38.1343 88.8906 37.645 89.0427 37.1979L90.0754 34.163C87.6541 31.3826 86.727 27.4175 88.0006 23.6746C88.9136 20.9916 90.8549 18.7812 93.3976 17.5296C95.9403 16.278 98.8761 16.0878 101.559 17.0007ZM96.3254 43.4385L95.7517 45.1245C95.5996 45.5716 95.276 45.94 94.8522 46.1486C94.4284 46.3572 93.9391 46.389 93.492 46.2368L90.1199 45.0894C89.6728 44.9372 89.3044 44.6137 89.0958 44.1899C88.8872 43.7661 88.8555 43.2768 89.0076 42.8296L89.5813 41.1436L96.3254 43.4385ZM112.179 30.0205L117.237 31.7416L116.089 35.1137L111.031 33.3925L112.179 30.0205ZM80.1442 19.12L85.2023 20.8411L84.0549 24.2132L78.9968 22.492L80.1442 19.12ZM106.114 9.14428L104.392 14.2024L101.02 13.0549L102.742 7.99686L106.114 9.14428ZM91.0563 8.72376L93.4198 13.5539L90.2167 15.1165L87.8417 10.3201L91.0563 8.72376ZM110.117 19.2167L114.914 16.8418L116.504 20.0732L111.697 22.4256L110.117 19.2167Z" fill="url(#paint2_linear_1_3)"/>
</g>
<defs>
<linearGradient id="paint0_linear_1_3" x1="42.575" y1="71.8711" x2="1.30793" y2="92.0837" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint1_linear_1_3" x1="82.0674" y1="51.1992" x2="18.9989" y2="82.0901" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint2_linear_1_3" x1="112.374" y1="22.1065" x2="78.6799" y2="26.425" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.8 KiB

@@ -1,32 +0,0 @@
<svg width="90" height="87" viewBox="0 0 90 87" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M59.3408 17.0244H83.5356C85.2059 17.0244 86.56 18.3784 86.56 20.0487V44.2435C86.56 45.9138 85.2059 47.2678 83.5356 47.2678H59.3408C57.6705 47.2678 56.3165 45.9138 56.3165 44.2435V20.0487C56.3165 18.3784 57.6705 17.0244 59.3408 17.0244Z" fill="black"/>
<path d="M59.3408 17.0244H83.5356C85.2059 17.0244 86.56 18.3784 86.56 20.0487V44.2435C86.56 45.9138 85.2059 47.2678 83.5356 47.2678H59.3408C57.6705 47.2678 56.3165 45.9138 56.3165 44.2435V20.0487C56.3165 18.3784 57.6705 17.0244 59.3408 17.0244Z" fill="url(#paint0_linear_3_40)"/>
<path d="M59.3408 53.3165H83.5356C85.2059 53.3165 86.56 54.6705 86.56 56.3408V80.5356C86.56 82.2059 85.2059 83.5599 83.5356 83.5599H59.3408C57.6705 83.5599 56.3165 82.2059 56.3165 80.5356V56.3408C56.3165 54.6705 57.6705 53.3165 59.3408 53.3165Z" fill="black"/>
<path d="M59.3408 53.3165H83.5356C85.2059 53.3165 86.56 54.6705 86.56 56.3408V80.5356C86.56 82.2059 85.2059 83.5599 83.5356 83.5599H59.3408C57.6705 83.5599 56.3165 82.2059 56.3165 80.5356V56.3408C56.3165 54.6705 57.6705 53.3165 59.3408 53.3165Z" fill="url(#paint1_linear_3_40)"/>
<path d="M23.0487 53.3165H47.2435C48.9138 53.3165 50.2678 54.6705 50.2678 56.3408V80.5356C50.2678 82.2059 48.9138 83.5599 47.2435 83.5599H23.0487C21.3784 83.5599 20.0244 82.2059 20.0244 80.5356V56.3408C20.0244 54.6705 21.3784 53.3165 23.0487 53.3165Z" fill="black"/>
<path d="M23.0487 53.3165H47.2435C48.9138 53.3165 50.2678 54.6705 50.2678 56.3408V80.5356C50.2678 82.2059 48.9138 83.5599 47.2435 83.5599H23.0487C21.3784 83.5599 20.0244 82.2059 20.0244 80.5356V56.3408C20.0244 54.6705 21.3784 53.3165 23.0487 53.3165Z" fill="url(#paint2_linear_3_40)"/>
<path d="M1.95474 20.7688L17.5935 2.30765C18.6731 1.03317 20.5815 0.875213 21.856 1.95484L40.3172 17.5936C41.5917 18.6732 41.7496 20.5816 40.67 21.8561L25.0312 40.3173C23.9516 41.5918 22.0432 41.7497 20.7687 40.6701L2.30755 25.0313C1.03307 23.9517 0.875113 22.0433 1.95474 20.7688Z" fill="black"/>
<path d="M1.95474 20.7688L17.5935 2.30765C18.6731 1.03317 20.5815 0.875213 21.856 1.95484L40.3172 17.5936C41.5917 18.6732 41.7496 20.5816 40.67 21.8561L25.0312 40.3173C23.9516 41.5918 22.0432 41.7497 20.7687 40.6701L2.30755 25.0313C1.03307 23.9517 0.875113 22.0433 1.95474 20.7688Z" fill="url(#paint3_linear_3_40)"/>
<defs>
<linearGradient id="paint0_linear_3_40" x1="62.2654" y1="24.9396" x2="85.8136" y2="36.4736" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint1_linear_3_40" x1="62.2654" y1="61.2317" x2="85.8136" y2="72.7657" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint2_linear_3_40" x1="25.9732" y1="61.2317" x2="49.5215" y2="72.7657" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
<linearGradient id="paint3_linear_3_40" x1="9.88461" y1="23.6536" x2="33.9061" y2="13.1408" gradientUnits="userSpaceOnUse">
<stop stop-color="#BFA3DA"/>
<stop offset="0.416667" stop-color="#84309C"/>
<stop offset="1" stop-color="#C735B0"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 14 KiB

@@ -1,55 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 28.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1"
id="svg51" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 180 53.3"
style="enable-background:new 0 0 180 53.3;" xml:space="preserve">
<style type="text/css">
.st0{fill:#100F0D;}
.st1{fill:#A2A2A1;}
.st2{fill:#FFFFFF;}
.st3{fill:#EB3131;}
.st4{fill:#F6B60B;}
.st5{fill:#5778C5;}
.st6{fill:#3BAD49;}
.st7{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.2667;stroke-miterlimit:10;}
</style>
<path id="path11" class="st0" d="M173.3,53.3H6.7c-3.7,0-6.7-3-6.7-6.7v-40C0,3,3,0,6.7,0h166.7c3.7,0,6.7,3,6.7,6.7v40
C180,50.3,177,53.3,173.3,53.3"/>
<path id="path13" class="st1" d="M173.3,0H6.7C3,0,0,3,0,6.7v40c0,3.7,3,6.7,6.7,6.7h166.7c3.7,0,6.7-3,6.7-6.7v-40
C180,3,177,0,173.3,0z M173.3,1.1c3.1,0,5.6,2.5,5.6,5.6v40c0,3.1-2.5,5.6-5.6,5.6H6.7c-3.1,0-5.6-2.5-5.6-5.6v-40
c0-3.1,2.5-5.6,5.6-5.6L173.3,1.1"/>
<path id="path35" class="st2" d="M142.6,40h2.5V23.3h-2.5V40z M165,29.3l-2.9,7.2h-0.1l-3-7.2h-2.7l4.4,10.1l-2.5,5.6h2.6l6.8-15.7
L165,29.3z M150.9,38.1c-0.8,0-2-0.4-2-1.4c0-1.3,1.4-1.8,2.6-1.8c1.1,0,1.6,0.2,2.3,0.6C153.6,37,152.3,38.1,150.9,38.1L150.9,38.1
z M151.2,29c-1.8,0-3.7,0.8-4.4,2.6l2.2,0.9c0.5-0.9,1.4-1.2,2.3-1.2c1.3,0,2.6,0.8,2.6,2.1v0.2c-0.5-0.3-1.4-0.6-2.6-0.6
c-2.4,0-4.8,1.3-4.8,3.8c0,2.2,2,3.7,4.1,3.7c1.7,0,2.6-0.8,3.2-1.6h0.1V40h2.4v-6.4C156.2,30.6,154,29,151.2,29L151.2,29z
M135.8,31.4h-3.5v-5.7h3.5c1.9,0,2.9,1.5,2.9,2.9C138.7,29.8,137.7,31.4,135.8,31.4z M135.7,23.3h-6V40h2.5v-6.3h3.5
c2.8,0,5.5-2,5.5-5.2C141.2,25.3,138.5,23.3,135.7,23.3L135.7,23.3z M103.2,38.1c-1.7,0-3.2-1.4-3.2-3.4c0-2,1.4-3.5,3.2-3.5
c1.7,0,3,1.5,3,3.5C106.3,36.7,104.9,38.1,103.2,38.1z M106.1,30.3L106.1,30.3c-0.6-0.7-1.7-1.3-3.1-1.3c-2.8,0-5.4,2.5-5.4,5.7
c0,3.2,2.6,5.6,5.4,5.6c1.4,0,2.4-0.6,3-1.3h0.1v0.8c0,2.2-1.2,3.3-3,3.3c-1.5,0-2.5-1.1-2.9-2L98,42.1c0.6,1.5,2.3,3.4,5,3.4
c2.9,0,5.4-1.7,5.4-5.9V29.3h-2.4L106.1,30.3z M110.2,40h2.5V23.3h-2.5V40z M116.3,34.5c-0.1-2.2,1.7-3.3,3-3.3c1,0,1.8,0.5,2.1,1.2
L116.3,34.5z M124.1,32.6c-0.5-1.3-1.9-3.6-4.9-3.6c-2.9,0-5.3,2.3-5.3,5.7c0,3.2,2.4,5.7,5.6,5.7c2.6,0,4.1-1.6,4.7-2.5l-1.9-1.3
c-0.6,0.9-1.5,1.6-2.8,1.6c-1.3,0-2.2-0.6-2.7-1.7l7.6-3.1L124.1,32.6z M63.7,30.7v2.4h5.8c-0.2,1.4-0.6,2.3-1.3,3
c-0.8,0.8-2.1,1.8-4.4,1.8c-3.5,0-6.3-2.9-6.3-6.4s2.8-6.4,6.3-6.4c1.9,0,3.3,0.8,4.3,1.7l1.7-1.7c-1.4-1.4-3.4-2.4-6-2.4
c-4.9,0-8.9,4-8.9,8.8c0,4.9,4.1,8.8,8.9,8.8c2.6,0,4.6-0.9,6.1-2.5c1.6-1.6,2.1-3.8,2.1-5.6c0-0.6,0-1.1-0.1-1.5L63.7,30.7z
M78.4,38.1c-1.7,0-3.2-1.4-3.2-3.4c0-2,1.5-3.4,3.2-3.4c1.7,0,3.2,1.4,3.2,3.4C81.6,36.7,80.1,38.1,78.4,38.1z M78.4,29
c-3.1,0-5.7,2.4-5.7,5.7c0,3.3,2.6,5.7,5.7,5.7c3.1,0,5.7-2.4,5.7-5.7C84.1,31.4,81.6,29,78.4,29z M90.8,38.1
c-1.7,0-3.2-1.4-3.2-3.4c0-2,1.5-3.4,3.2-3.4c1.7,0,3.2,1.4,3.2,3.4C94,36.7,92.6,38.1,90.8,38.1z M90.8,29c-3.1,0-5.7,2.4-5.7,5.7
c0,3.3,2.6,5.7,5.7,5.7c3.1,0,5.7-2.4,5.7-5.7C96.5,31.4,94,29,90.8,29"/>
<path id="path37" class="st3" d="M27.6,25.9L13.4,41c0,0,0,0,0,0c0.4,1.6,1.9,2.8,3.7,2.8c0.7,0,1.4-0.2,1.9-0.5l0,0l16-9.2
L27.6,25.9"/>
<path id="path39" class="st4" d="M42,23.3L42,23.3l-6.9-4l-7.8,6.9l7.8,7.8l6.9-4c1.2-0.6,2-1.9,2-3.4C44,25.2,43.2,24,42,23.3"/>
<path id="path41" class="st5" d="M13.4,12.4c-0.1,0.3-0.1,0.6-0.1,1V40c0,0.3,0,0.7,0.1,1l14.7-14.7L13.4,12.4"/>
<path id="path43" class="st6" d="M27.7,26.7l7.3-7.3l-16-9.3c-0.6-0.3-1.3-0.5-2-0.5c-1.8,0-3.3,1.2-3.7,2.8c0,0,0,0,0,0L27.7,26.7"
/>
<path id="path33" class="st7" d="M63.2,13h-3.9v1h2.9c-0.1,0.8-0.4,1.4-0.9,1.9c-0.5,0.4-1.2,0.7-2,0.7c-0.9,0-1.6-0.3-2.2-0.9
c-0.6-0.6-0.9-1.4-0.9-2.3c0-0.9,0.3-1.7,0.9-2.3c0.6-0.6,1.3-0.9,2.2-0.9c0.4,0,0.9,0.1,1.3,0.2c0.4,0.2,0.7,0.4,1,0.7l0.7-0.7
c-0.3-0.4-0.8-0.7-1.3-0.9c-0.5-0.2-1.1-0.3-1.7-0.3c-1.2,0-2.2,0.4-3,1.2c-0.8,0.8-1.2,1.8-1.2,3s0.4,2.2,1.2,3
c0.8,0.8,1.8,1.2,3,1.2c1.2,0,2.2-0.4,2.9-1.2c0.7-0.7,1-1.6,1-2.7C63.2,13.5,63.2,13.3,63.2,13L63.2,13z M64.7,9.3v8h4.7v-1h-3.7
v-2.5H69v-1h-3.3v-2.5h3.7v-1L64.7,9.3z M76,10.3v-1h-5.5v1h2.2v7h1v-7L76,10.3z M80.9,9.3h-1v8h1V9.3z M87.8,10.3v-1h-5.5v1h2.2v7
h1v-7L87.8,10.3z M98.2,10.4c-0.8-0.8-1.8-1.2-2.9-1.2c-1.2,0-2.1,0.4-2.9,1.2c-0.8,0.8-1.2,1.8-1.2,3s0.4,2.2,1.2,3
c0.8,0.8,1.8,1.2,2.9,1.2c1.2,0,2.1-0.4,2.9-1.2c0.8-0.8,1.2-1.8,1.2-3C99.3,12.1,99,11.1,98.2,10.4z M93,11
c0.6-0.6,1.3-0.9,2.2-0.9c0.9,0,1.6,0.3,2.2,0.9c0.6,0.6,0.9,1.4,0.9,2.3c0,0.9-0.3,1.7-0.9,2.3c-0.6,0.6-1.3,0.9-2.2,0.9
c-0.9,0-1.6-0.3-2.2-0.9c-0.6-0.6-0.9-1.4-0.9-2.3C92.2,12.4,92.4,11.6,93,11z M101.8,12.3l0-1.5h0l4.1,6.5h1.1v-8h-1V14l0,1.5h0
L102,9.3h-1.3v8h1V12.3z"/>
</svg>

Before

Width:  |  Height:  |  Size: 4.7 KiB

Some files were not shown because too many files have changed in this diff Show More