Compare commits

..
Author SHA1 Message Date
Joaquim Vergesandgithub-actions[bot] 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 Verges 5ad442cf0c [SDK] fix: Simplify in-app wallet logout flow (#6046) 2025-01-24 14:49:15 +13:00
Phillip Ho 5756c74a71 [service-utils] feat: Add usageV2 support (#6021) 2025-01-24 08:52:35 +08:00
dependabot[bot] 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] 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 Tank b81d7a1854 [TOOL-3207] Portal: Delete V4 SDK pages, Setup knip lint, Fix lint config (#6039) 2025-01-24 13:37:03 +13:00
Winston Yeo 21cc45adc2 Winston/tool 3161 cannot create backend wallets using latest version (#6025) 2025-01-24 13:36:33 +13:00
Joaquim Verges a67d342779 [SDK] fix: Improve smart wallet signature verification (#6040) 2025-01-24 13:35:58 +13:00
Joaquim Verges 60edce49c0 [SDK] fix: Improve WalletConnect mobile connection handling (#6042) 2025-01-24 13:35:31 +13:00
Joaquim Verges 20c0dca958 [Portal] fix: Update useAutoConnect hook reference link (#6043) 2025-01-24 13:35:11 +13:00
Joaquim Verges 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 Verges 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 Verges 858dc53a25 [Dashboard] fix: Add error reason to analytics API error logs (#6034) 2025-01-23 11:34:16 +13:00
Joaquim Verges 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 Ho de039ef462 [service-utils] fix: Don't hash cache key (#6023) 2025-01-23 04:16:16 +08:00
Joaquim Verges 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 Vergesandgithub-actions[bot] 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 Verges ab9a148b75 [SDK] feat: Add transaction tracking for smart wallets (#6020) 2025-01-22 17:12:38 +13:00
greg 8bbee03c77 [SDK] Fix: Allow smart wallets for site linking (#6015) 2025-01-21 17:02:11 -08:00
greg 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]andgreg 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] 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] 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 Vergesandgithub-actions[bot] 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 Verges 7d9986f066 [Dashboard] fix: handle unreachable engine instances (#6006) 2025-01-21 14:00:59 +13:00
Joaquim Verges bb6c71e968 fix: fallback to eip1193 provider chain when switching chains is not supported (#6004) 2025-01-21 13:59:32 +13:00
Giselle Chacon Nessi 89beb3c5d3 enhance manage billing visibility in dashboard (#5990) 2025-01-21 11:44:54 +13:00
Giselle Chacon Nessi 3b98fbf8bb fix: default option tab in docs (#5991) 2025-01-21 11:42:21 +13:00
greg 8b5cb47339 [SDK] Feature: Adds deployMarketplaceContract (#5989) 2025-01-20 14:17:21 -08:00
dependabot[bot] 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 Danielsandgithub-actions[bot] 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 Verges 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
samina 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 Verges 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 Verges 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 Verges 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]andJoaquim 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] 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
greg 9cbcbe7760 [SDK] Fix: Lumia Testnet is pre-1559 (#5967) 2025-01-16 10:51:16 -08:00
dependabot[bot]andJoaquim 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 Verges 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
greg 07a5c98b5b [Dashboard] Fix: AA Testnet Transaction Count (#5958) 2025-01-15 15:56:58 -08:00
Joaquim Verges 51a28c4ed6 [SDK] test: Skip Nebula AI tests by default (#5961) 2025-01-16 12:11:12 +13:00
Nischit Prasad Nhuchhe Pradhan c290997b11 track ratelimit only on creation (#5950) 2025-01-15 15:17:12 +08:00
Jonas Danielsandgithub-actions[bot] 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 Verges b10f306fba feat: Add Nebula AI chat and transaction execution API (#5948) 2025-01-15 14:50:13 +13:00
Joaquim Verges d1c03b0cbc [SDK] Feat: Add engineAccount() for backend transaction handling (#5947) 2025-01-15 14:36:24 +13:00
samina 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
greg e331e433ac [SDK] Refactor: More Viem to Ox migration (#5790) 2025-01-14 09:43:18 -08:00
Nischit Prasad Nhuchhe Pradhan 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
saminaandJoaquim Verges 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 Verges 7fb5ce1cc3 [SDK] fix: Reset deploy flag on bundler errors (#5924) 2025-01-10 21:40:43 +13:00
Manan Tankandsamina 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 Danielsandgithub-actions[bot] 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 Verges 5d71415618 [SDK] Fix: PayEmbed purchase callback and insufficient funds display (#5918) 2025-01-09 22:41:16 +13:00
Jonas Daniels 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 Danielsandgithub-actions[bot] 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] 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] 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
greg 3b689d4d48 [Dashboard] Fix: next config memory cache (#5906) 2025-01-07 09:43:45 -10:00
Jonas Danielsandgithub-actions[bot] 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. Germain c06ecda43c [TOOL-2917]: fix useReadContract type hinting (#5888) 2025-01-06 16:12:47 -10:00
greg 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 Danielsandgithub-actions[bot] 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 Tank 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
greg 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
greg 1e8ddcb399 [SDK] Fix: Undefined chain ID on eip1193 provider input (#5871) 2025-01-04 21:33:17 -10:00
Nidz The FactandJoaquim Verges 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
greg 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 Ngo c948e71a16 [Dashboard] Trim whitespace at the end of the input value for claim form (#5860) 2025-01-03 12:44:12 -10:00
Kien Ngo 3b1ed73d07 TOOL-2831 - Update docs for showTestnetFaucet (#5868) 2025-01-03 12:39:00 -10:00
Phillip Ho 8f43aa7a81 [SDK] fix: clear inflightRequests after each batch RPC call (#5872) 2025-01-03 12:38:34 -10:00
Nicholas St. Germainandgreg 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
Nicholas St. Germainandgreg 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. Germain 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] 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. Shen a0835f72d6 remove www. prefix from plumenetwork.xyz (#5850) 2025-01-01 22:32:30 -10:00
greg 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
greg 6c5594b3e7 [CI] Chore: Update PR template (#5846) 2025-01-01 15:35:15 -10:00
greg 575cc2cebb [CI] Fix: Stale issue text (#5870) 2025-01-01 15:29:56 -10:00
greg 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
greg fdf3d5bd9d [Portal] Fix: Add erc20Value clarity to buyFromListing (#5854) 2024-12-30 07:36:25 -10:00
samina 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
Yash 6eba1eb8c3 fix contract subscriptions info on features (#5793) 2024-12-23 17:13:04 -06:00
greg 82667ca17d [SDK] Test: Adds useSwitchActiveWalletChain test (#5835) 2024-12-23 16:44:51 -06:00
Tristav a83fee6a67 Fix typos and improve documentation clarity (#5827)
Signed-off-by: Tristav <[email protected]>
2024-12-23 16:39:49 -06:00
dependabot[bot] 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] 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 Danielsandgithub-actions[bot] 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 Verges a89f766a51 feat: Update wallet count from 350+ to 500+ and optimize SIWE linking (#5818) 2024-12-20 14:19:07 +13:00
Joaquim Verges 00af0eda5b docs: Reorganize Connect SDK documentation structure and UI (#5816) 2024-12-20 13:35:38 +13:00
Joaquim Verges 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
samina 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 Verges 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
Joaquim VergesandMananTank a2a61df029 fix: Add validation for getContract params (#5780)
Co-authored-by: MananTank <[email protected]>
2024-12-19 12:53:34 +13:00
Giselle Chacon Nessiandgreg 59ec04d00d added new register walletconnect guide (#5786)
Co-authored-by: greg <[email protected]>
2024-12-18 13:54:27 -08:00
Joaquim Verges 07ad025006 feat: Add email verification flow to in-app wallet (#5796) 2024-12-19 10:19:16 +13:00
Joaquim Verges 5293450bd9 docs: Reorganize TypeScript and React documentation structure (#5787) 2024-12-19 09:58:37 +13:00
Joaquim Verges 80faf3479e feat: Reorganize portal landing page sections (#5745) 2024-12-19 09:57:46 +13:00
Jonas Daniels 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 Verges 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 Verges 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
Eiman 457cb35f2c update nebula overview page (#5767)
Signed-off-by: Eiman <[email protected]>
2024-12-16 22:08:12 -08:00
Eiman 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] 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 Daniels 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
saminaandgreg 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 Danielsandgithub-actions[bot] 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 Verges 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
greg 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 Cory 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 Verges 77c8d0eff0 test: Add wallet connection hook tests (#5689) 2024-12-13 20:25:13 +13:00
Jonas Danielsandgithub-actions[bot] 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 Daniels e8b1f494fd Remove pre-release script and simplify release workflows (#5726) 2024-12-12 21:31:14 -08:00
Jonas Danielsandgithub-actions[bot] 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 Daniels a57bfdb565 add dummy changeset (#5723) 2024-12-12 21:09:13 -08:00
Jonas Daniels 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 Danielsandgithub-actions[bot] 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 Verges 8d2e2ad92d [SDK] Feature: Add wagmi adapter for in-app wallet (#5644) 2024-12-13 15:33:00 +13:00
Nicholas St. Germain c91ca93eba fix ignore of mimeTime set in mediaRenderer (#5683) 2024-12-13 14:03:09 +13:00
Yash db6b0fc1f8 add onramp status for buy with fiat in portal (#5713) 2024-12-13 14:01:54 +13:00
Jonas Danielsandgithub-actions[bot] 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
greg 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 Daniels d738a9086d remove unused api routes (#5706) 2024-12-11 18:45:05 -08:00
Jonas Danielsandgithub-actions[bot] 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 Danielsandgithub-actions[bot] 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 Verges da5d8ec53b fix: Autoconnect previously linked wallets (#5688) 2024-12-11 19:58:24 +13:00
Dev Felipe NunesandJoaquim Verges 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 Krehel 67305d3bd2 fix: removed login navigation text (#5680) 2024-12-10 12:52:24 -08:00
Giselle Chacon Nessi 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 Danielsandgithub-actions[bot] 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 Verges 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 Verges 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 Verges f680496ccb fix: Coinbase Wallet connection on same chain (#5656) 2024-12-09 22:17:55 +13:00
Joaquim Verges 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
theItalianDev 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 Danielsandgithub-actions[bot] 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 Yeo 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 Verges 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 Verges 7bbc173037 [Documentation] Refactor: Reorganize Connect sidebar and simplify guides (#5625) 2024-12-06 14:53:46 +13:00
Joaquim Verges 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 Danielsandgithub-actions[bot] 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
Joaquim Vergesand0xFirekeeper 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 Verges 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
Captain Unknownandgreg 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
Firekeeper 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 Ho 1a99ea395c chore: Update CODEOWNERS for Portal (#5601)
Signed-off-by: Phillip Ho <[email protected]>
2024-12-04 10:01:26 +08:00
Joaquim Verges 29acc981a0 docs: Add EIP1193 extension documentation (#5600) 2024-12-04 14:52:25 +13:00
Jonas Daniels 46bf321ffe add insight landing page (#5599) 2024-12-03 12:26:05 -08:00
Jonas Danielsandgithub-actions[bot] 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 Verges 3b751430a6 docs: Update useConnect example with client param (#5550) 2024-12-03 20:59:50 +13:00
Joaquim Verges 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 Daniels 00d6529c9a update typedoc (#5555) 2024-12-02 13:43:50 -08:00
Dustin a2163fcbd8 Update page.mdx (#5552) 2024-12-02 13:23:45 -08:00
Jonas Daniels 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 Daniels 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 Verges 1e9a6c7d8a fix: Handle zero maxPriorityFeePerGas in 712 transactions (#5531) 2024-12-02 15:10:15 +13:00
Prithvish Baidya 8d47654d57 feat: edit documentation for Account Abstraction and add Smart Backend Wallets (#5516) 2024-12-02 14:52:31 +13:00
Jonas Danielsandgithub-actions[bot] 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 Verges 93379251b7 fix: improve transaction cost estimation for pay modal (#5548) 2024-12-02 14:30:52 +13:00
Phillip Ho 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-Thirdweb 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 Tank 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 Daniels 497e550112 fix postbuild step (#5524) 2024-11-26 12:06:38 -08:00
Jonas Daniels 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 Daniels d86c6ef4df update dependencies (#5515) 2024-11-25 22:05:37 -08:00
Phillip Ho 1ad6983d4e feat: test webhook and delete wallet (#5489) 2024-11-26 11:12:05 +08:00
DustinandJonas Daniels 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 Ho 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 Danielsandgithub-actions[bot] 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
Yash 7456422936 change text for trusted forwarder form (#5494) 2024-11-22 13:17:26 -08:00
samina aaa2dda48a added migration guide (#5496) 2024-11-22 13:15:35 -08:00
Jonas Danielsandgithub-actions[bot] 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 Iacovino 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 Danielsandgithub-actions[bot] 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 Verges 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
Dustin ecaa304a81 Update contact-us form (#5474) 2024-11-20 15:37:31 -08:00
Jonas Daniels 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
Jonas DanielsandManan Tank 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
Wyatt MufsonandJoaquim Verges 3df0541582 Update webauthn to v2 (#5458)
Co-authored-by: Joaquim Verges <[email protected]>
2024-11-20 11:29:40 +13:00
Jonas Danielsandgithub-actions[bot] 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] 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] 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] 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] 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
Alec Ananianandgreg 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 Verges f01de732fb feat: Support ERC-6492 signature verification on zksync chains (#5440) 2024-11-18 21:44:23 +13:00
Jonas Daniels 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
ian 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 Oosalu e841bfe081 remove nebula from service list (#5409) 2024-11-13 09:21:20 -08:00
Jonas Danielsandgithub-actions[bot] 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
Joaquim Vergesandgregfromstl 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 Verges 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
Joaquim Vergesand0xFirekeeper 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 Verges 46d0b4bdc0 fix: use maxFeePerGas for Pay gas estimations (#5349) 2024-11-08 14:26:54 +13:00
Joaquim Verges 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 Danielsandgithub-actions[bot] 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 Szeto 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] 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 Daniels 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 Danielsandgithub-actions[bot] 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 Verges 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
samina 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
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 Danielsandgithub-actions[bot] 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 Verges 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 Danielsandgithub-actions[bot] 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 Danielsandgithub-actions[bot] 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 Daniels 7a9713e877 add /solutions/consumer-apps to framer rewrites (#5266) 2024-11-01 16:23:49 -07:00
Jonas Daniels 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 Daniels 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 Verges f40d2474e6 feat: enable smart account chain switching between zk/non-zk (#5250) 2024-10-31 22:25:32 +13:00
Joaquim Verges ae217a3a60 feat: add ecosystem URL display in header (#5248) 2024-10-31 22:06:12 +13:00
Jonas Danielsandgithub-actions[bot] 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 Verges 82c8726c10 fix: respect custom paymaster callback (#5246) 2024-10-31 21:35:51 +13:00
Jonas Danielsandgithub-actions[bot] 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 Verges 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 Verges 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
Joaquim Vergesandgregfromstl 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 Verges 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 Verges 556e11373c Revert "[Dashboard] Feature: Adds analytics to in-app-wallets page (#5186) (#5228) 2024-10-30 14:19:12 +13:00
Joaquim Vergesandgregfromstl 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
Dustin 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 Verges ad4af68d1d perf: optimize passkey authentication for iOS 15 (#5214) 2024-10-29 14:18:43 +13:00
Jonas Danielsandgithub-actions[bot] 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 Verges 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 Verges 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 Unknown 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 Verges 83a2412941 Revert "[Dashboard] Feature: Adds analytics to in-app-wallets page (#5186) (#5189) 2024-10-28 20:47:08 +13:00
Joaquim Verges 84571efaf8 feat: redesign payment selection flow for Buy screen (#5176) 2024-10-28 20:15:19 +13:00
FirekeeperandJoaquim Verges 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 Sun a365dd8ee9 Add a case study to project showcase (#5183) 2024-10-25 12:17:05 -07:00
Edward Sun 363b63384a [Very minor patch] Add case study button to card (#5181) 2024-10-25 11:45:47 -07:00
Edward Sun 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
Edward Sunandsamina 9dfe4af679 Biz hackweek - Project Showcase (#5118)
Co-authored-by: samina <[email protected]>
2024-10-25 09:52:30 -07:00
Jonas Danielsandgithub-actions[bot] 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 Verges 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 Danielsandgithub-actions[bot] 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 Danielsandgithub-actions[bot] 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 Verges 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 Danielsandgithub-actions[bot] 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 Verges 06c0cf3898 chore: update @mobile-wallet-protocol/client to 0.1.1 (#5151) 2024-10-24 21:07:55 +13:00
Joaquim Verges 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 Daniels 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 Verges 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 Verges 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 Verges 45fcfb1dae feat: support smart account options for ecosystem wallets (#5091) 2024-10-22 22:25:00 +13:00
Joaquim Verges 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] 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] 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] 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] 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] 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] 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] 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 Danielsandgithub-actions[bot] 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 Verges 223c497f49 fix: ensure smart accounts are deployed before validating signatures (#5092) 2024-10-21 23:08:43 +13:00
Joaquim Verges 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 Gualoto 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 Danielsandgithub-actions[bot] 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 Danielsandgithub-actions[bot] 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 Verges 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 Danielsandgithub-actions[bot] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 Danielsandgithub-actions[bot] 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
greg 98f358d63a fix: throw if no token is found in local storage (#4961) 2024-10-14 09:17:58 +13:00
gregandJoaquim Verges db5457fa87 [SDK / Wallet UI] URI Connection (#4997)
Co-authored-by: Joaquim Verges <[email protected]>
2024-10-14 09:17:00 +13:00
Joaquim Verges 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 Verges 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 Verges 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 Danielsandgithub-actions[bot] 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
greg ec0f8d20bb [React Native SDK] Fix: Remove device share if recovering private key fails (#4976) 2024-10-10 15:27:59 +13:00
Joaquim Verges 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 Danielsandgithub-actions[bot] 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 Danielsandgithub-actions[bot] 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 Verges 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 Danielsandgithub-actions[bot] 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 Verges 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 Danielsandgithub-actions[bot] 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 Verges 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 Verges ea36c54118 feat: allow overriding callGasLimit for userops (#4948) 2024-10-09 07:25:47 +13:00
dependabot[bot]anddependabot 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]andManan 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]andManan 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]andManan 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 Danielsandgithub-actions[bot] 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 Verges 7b7226f9c6 feat: export additional types from service-utils (#4946) 2024-10-08 14:33:58 +13:00
Joaquim Verges 506764dabd feat: support showAllWallets prop in React Native Connect UI (#4933) 2024-10-08 11:19:54 +13:00
Joaquim Verges a6449125b2 feat: add 'from' parameter to estimateGas example (#4938) 2024-10-08 11:19:27 +13:00
Joaquim Verges 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 Danielsandgithub-actions[bot] 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
Yash 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
ianandJoaquim Verges 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
ianandJoaquim Verges 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 Verges 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
Jonas Danielsandgithub-actions[bot] bfe9753be6 Version Packages (#4881)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-03 14:33:47 +13:00
Joaquim Verges eeb993df75 feat: optimize zksync contract deployment and bytecode handling (#4902) 2024-10-03 14:09:00 +13:00
ElasticBottle 367a270bba fix: update timeline for GDPR compliance (#4897)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the compliance information regarding GDPR and CCPA in the `page.mdx` file, providing more detailed and accurate descriptions of the data handling practices.

### Detailed summary
- Updated the compliance statement for GDPR and CCPA.
- Changed the text from a general statement about in-app wallets to specify that `thirdweb` complies with GDPR and CCPA frameworks.
- Clarified the timeframe for data deletion requests (30 days for GDPR and 45 for CCPA).

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

<!-- end pr-codex -->
2024-10-03 01:02:51 +00:00
kumaryash90 e91581aec6 Update chain stack type check (#4901)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new property `stackType` across various components and utilities, enhancing the handling of blockchain network configurations and metadata.

### Detailed summary
- Added `stackType` property in `types.ts` for chains.
- Updated `utils.ts` to include `stackType` from data.
- Included `stackType` in `embed-setup.tsx` and `ConfigureNetworkForm.tsx`.
- Modified the `isZkSyncChain` function to use `getChainMetadata` for `stackType` validation.
- Removed the obsolete `getChainStack` function.

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

<!-- end pr-codex -->
2024-10-03 00:17:49 +00:00
ElasticBottle 985c4b0804 fix: add missing partner id for ecosystem wallet (#4886)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing the issue of missing `partnerId` when creating an ecosystem wallet in the `thirdweb` package.

### Detailed summary
- Updated `partnerId` in `packages/thirdweb/src/wallets/in-app/web/ecosystem.ts` to use `ecosystem.partnerId`.
- Updated `partnerId` in `packages/thirdweb/src/wallets/in-app/native/ecosystem.ts` to use `createOptions?.partnerId`.

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

<!-- end pr-codex -->
2024-10-02 22:38:54 +00:00
MananTank 9fb5401a93 Add Coupon Card in Billing Page (#4895)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `SettingsBillingPage` component by adding a `teamId` prop to manage billing settings for different teams. It also introduces a new `CouponCard` component that allows users to apply coupon codes with relevant feedback.

### Detailed summary
- Updated `Page` component to pass `teamId` to `SettingsBillingPage`.
- Modified `SettingsBillingPage` to accept `teamId` as a prop.
- Adjusted `Billing` component to use `teamId` in its rendering.
- Introduced `CouponCard` component for applying coupon codes.
- Implemented logic in `CouponCard` to handle coupon submissions and display feedback based on response status.
- Updated `Billing` component to include `CouponCard`.

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

<!-- end pr-codex -->
2024-10-02 21:48:14 +00:00
Joaquim Verges e54867550e feat: switch to v2 bundler for all user operations (#4884) 2024-10-03 10:12:43 +13:00
MananTank 514647cb53 Add Billing alerts on /connect layout in app router (#4892)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `BillingAlerts` component by allowing it to accept a `className` prop for better styling flexibility. It also updates the usage of `BillingAlerts` in various components to apply specific padding classes.

### Detailed summary
- Modified `BillingAlerts` to accept an optional `className` prop.
- Updated the `BillingAlerts` usage in `apps/dashboard/src/components/layout/app-shell/index.tsx` to include `className="py-6"`.
- Updated `BillingAlerts` usage in `apps/dashboard/src/app/(dashboard)/dashboard/connect/layout.tsx` to include `className="pb-6"`.
- Adjusted the rendering of `BillingAlertsUI` to apply the `className` prop.

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

<!-- end pr-codex -->
2024-10-02 19:56:29 +00:00
MananTank eb8638e0c2 Spacing fixes on OnboardingGeneral component (#4891)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the layout of the `OnboardingGeneral` and `AccountForm` components by replacing `FocusLock` and `Flex` components with `div` elements, enhancing the structure and styling of the components.

### Detailed summary
- Replaced `<FocusLock>` with `<div>` in `OnboardingGeneral`.
- Changed `<Flex>` to `<div className="flex flex-col gap-4">` in `OnboardingGeneral`.
- Updated `<Flex>` to `<div className={cn("flex w-full", ...)}> ` in `AccountForm`.
- Modified closing tags from `</Flex>` to `</div>` in both components.

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

<!-- end pr-codex -->
2024-10-02 18:45:33 +00:00
MananTank a6f85ac949 Replace react-otp-input with shadcn input-otp (#4889)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new OTP input component using the `input-otp` library, along with related animations and configuration updates. It replaces the existing `react-otp-input` dependency and enhances the onboarding email confirmation process.

### Detailed summary
- Added `input-otp` dependency to `package.json`.
- Removed `react-otp-input` from `package.json`.
- Updated `tailwind.config.js` to include `caret-blink` animation.
- Created new components: `InputOTP`, `InputOTPGroup`, `InputOTPSlot`, `InputOTPSeparator`.
- Refactored `ConfirmEmail.tsx` to utilize the new OTP input components.
- Improved styling and functionality for OTP input slots.

> 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-02 17:57:34 +00:00
MananTank 726bbde9ca Add privacyPolicyUrl and termsOfServiceUrl on ConnectEmbed in login page (#4890)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `login` component by adding links for the privacy policy and terms of service.

### Detailed summary
- Added `privacyPolicyUrl` prop with the value `"/privacy"` to the component.
- Added `termsOfServiceUrl` prop with the value `"/tos"` to the component.

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

<!-- end pr-codex -->
2024-10-02 17:46:44 +00:00
MananTank 025c581be6 api server url env cleanup (#4887)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new constant, `API_SERVER_URL`, to centralize the API server URL configuration. It replaces instances of `process.env.NEXT_PUBLIC_THIRDWEB_API_HOST` throughout the codebase, enhancing maintainability and readability.

### Detailed summary
- Added `API_SERVER_URL` in `env.ts`.
- Replaced `process.env.NEXT_PUBLIC_THIRDWEB_API_HOST` with `API_SERVER_URL` in multiple files:
  - `getAccount.ts`
  - `fetchEcosystemList.ts`
  - `fetchEcosystem.ts`
  - `team-members.ts`
  - `get-auth-token/route.ts`
  - `getAPIKeys.ts`
  - `ensure-login/route.ts`
  - `server-proxy/api/[...paths].tsx`
  - `team.ts`
  - `projects.ts`
  - `create-ticket.action.ts`
  - `auth-actions.ts`
  - `utils.ts`
- Updated fetch requests to use `API_SERVER_URL` for consistent API endpoint access.

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

<!-- end pr-codex -->
2024-10-02 17:39:21 +00:00
arcoraven 522968a505 chore: Update version flow updates deployment (#4852)
## Problem solved

Changes the "update Engine version" flow to query the infra backend to perform the version upgrade.

Previously this would ping Slack for a thirdweb staff to update.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the code quality and user interface across various components in the dashboard. It includes updates to placeholders, text content, and the handling of engine updates.

### Detailed summary
- Updated `placeholder` in `ip-allowlist.tsx` to use curly braces.
- Added periods to sentences in `EngineImportPage.tsx` and `CreateEnginePage.tsx`.
- Simplified conditional rendering in `engine-instances-table.tsx`.
- Changed `cloudDeployedAt` to `deploymentId` in `useEngine.ts`.
- Renamed `useEngineUpdateVersion` to `useEngineUpdateServerVersion`.
- Updated fetch method to `PUT` for engine updates.
- Changed variable names for clarity in `EngineVersionBadge.tsx`.
- Updated props in `UpdateVersionModal` to use `latestVersion`.
- Adjusted toast messages for better user feedback during engine updates.

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

<!-- end pr-codex -->
2024-10-02 07:09:16 +00:00
joaquim-verges 454f063f98 refactor: optimize zksync chain detection and add Creator Testnet test (#4883)
## 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 the handling of contract metadata, specifically around bytecode fetching and the integration of `zksync` support. It enhances the clarity and functionality of contract deployment processes.

### Detailed summary
- Removed checks for `compilerType` in multiple files.
- Simplified bytecode fetching by introducing `fetchBytecodeFromCompilerMetadata`.
- Updated contract metadata handling in `fetchDeployMetadata`.
- Adjusted UI components to reflect new metadata structure.
- Added a test for sending transactions on the Creator Testnet.

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

<!-- end pr-codex -->
2024-10-02 03:40:38 +00:00
MananTank 78cbc412ce Migrate Billing related components to tailwind/shadcn - Part 1 (#4879)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily refactors the onboarding and billing components, improving the UI structure and enhancing the modal functionalities. It replaces the `OnboardingTitle` with `TitleAndDescription`, streamlining the code and updating various components for better usability and consistency.

### Detailed summary
- Replaced `<OnboardingTitle>` with `<TitleAndDescription>` in several components.
- Updated `OnboardingModal` to remove redundant `onClose` props.
- Refactored billing alert components to use new UI elements.
- Enhanced the layout of forms and alerts for better UX.
- Improved state management for modal visibility.
- Added new utility functions for account and billing data stubs.
- Updated import statements for consistency and clarity.

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

<!-- end pr-codex -->
2024-10-02 00:07:14 +00:00
kien-ngo 79c50cb311 [Dashboard] Remove react-icons (1) (#4882)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on replacing various icon components with `PlusIcon` and `UploadIcon` from the `lucide-react` library, enhancing the UI consistency across the application.

### Detailed summary
- Replaced `Upload` component with `UploadIcon` in `airdrop-upload-erc20.tsx` and `upload-step.tsx`.
- Updated `FiPlus` icons to `PlusIcon` in multiple components, including `external-links-fieldset.tsx`, `NFTMintButton.tsx`, and more.
- Removed unused `Icon` imports from several files.
- Adjusted icon classes for consistent styling.

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

<!-- end pr-codex -->
2024-10-01 23:46:56 +00:00
kien-ngo 764ee8ca47 [Dashboard] Remove some chakra icons, adjust IpfsUploadButton (#4880)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on UI enhancements and component updates across various files in the dashboard application, including adjustments to icons, button properties, and tooltip components.

### Detailed summary
- Updated `InputRightElement` width from `145px` to `160px`.
- Changed `Tooltip` to `ToolTipLabel` in `OpenSeaPropertyBadge`.
- Modified `leftIcon` rendering in `ConnectPlaygroundButton` and `CodeOptionButton` to use class-based icons.
- Replaced `FiUpload` with `UploadIcon` in `IpfsUploadButton`.
- Swapped `BsFillLightningChargeFill` with `ZapIcon` in `ProductButton`.

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

<!-- end pr-codex -->
2024-10-01 23:46:54 +00:00
jnsdls 783d84467d update dependencies (#4874)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating various dependencies across multiple packages, ensuring compatibility and incorporating improvements.

### Detailed summary
- Updated `turbo` from `2.1.2` to `2.1.3`.
- Updated `@types/react` from `^18.3.8` to `^18.3.10`.
- Updated `tailwindcss` from `3.4.12` to `3.4.13`.
- Updated `@walletconnect/react-native-compat` from `2.13.2` to `2.16.3`.
- Updated `@coinbase/wallet-sdk` from `4.0.4` to `4.1.0`.
- Updated `viem` from `2.21.12` to `2.21.16`.
- Various other dependency updates across multiple 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-10-01 22:10:01 +00:00
jnsdls 687a733d4a Add deprecation warnings to dashboard folders (#4878)
### TL;DR

Added warning messages to deprecated folders in the dashboard to prevent further additions.

### What changed?

Added `DO_NOT_ADD_THINGS_HERE.md` files to several deprecated folders within the dashboard's `src` directory. These folders include:

- @3rdweb-sdk
- classes
- contract-ui
- core-ui
- og-lib
- pages
- tw-components

Each file contains a warning message stating that the folder is deprecated and advising developers not to add new content to these locations.

### How to test?

1. Navigate to each of the mentioned folders in the dashboard's `src` directory.
2. Verify that the `DO_NOT_ADD_THINGS_HERE.md` file exists in each folder.
3. Open the files and confirm they contain the correct warning message.

### Why make this change?

This change aims to prevent developers from adding new content to deprecated parts of the dashboard. By placing clear warning messages in these folders, we reduce the risk of introducing new code or features in areas that are scheduled for removal. This helps maintain code quality, reduces technical debt, and supports the ongoing efforts to modernize and streamline the dashboard's structure.
2024-10-01 21:32:00 +00:00
kien-ngo 96daa2654c [SDK] Update docs for claimTo extensions (#4849)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the documentation for the `claimTo` function across the `ERC1155`, `ERC20`, and `ERC721` extensions by adding usage examples for drops with allowlists, emphasizing the need to specify the claimer address.

### Detailed summary
- Added a "### Basic usage" section to the documentation for `claimTo` in all three extensions.
- Introduced a "### For Drops with allowlists" section explaining the need for the `from` parameter.
- Provided code examples for using `claimTo` with allowlists in `ERC1155`, `ERC20`, and `ERC721`.

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

<!-- end pr-codex -->
2024-10-01 21:08:24 +00:00
kien-ngo a2ce5f56ab [Dashboard] Remove <Code /> component (ez mode) (#4787)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing code readability by replacing instances of the `Code` component from Chakra UI with a new `InlineCode` component, which provides a consistent styling for inline code snippets across various files.

### Detailed summary
- Added `InlineCode` component in `inline-code.tsx`.
- Replaced `Code` with `InlineCode` in multiple components for improved consistency:
  - `ChainValidation`
  - `EngineCorsConfig`
  - `EngineIpAllowlistConfig`
  - `InteractiveAbiFunction`
  - `EngineAccessTokens`
  - `SnapshotUpload`
  - `UploadStep`

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

<!-- end pr-codex -->
2024-10-01 21:03:53 +00:00
kumaryash90 6beec7a35e Check zksync stack (#4869)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `isZkSyncChain` function to be asynchronous and modifying various parts of the codebase to await its result. This change enhances the handling of chain identification, particularly for zkSync-related operations.

### Detailed summary
- Changed `isZkSyncChain` to an async function.
- Updated calls to `isZkSyncChain` to use `await` in several files.
- Modified the logic in `isZkSyncChain` to include additional checks for specific chain IDs.
- Introduced a new async function `getChainStack` for fetching chain stack information.

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

<!-- end pr-codex -->
2024-10-01 20:12:35 +00:00
Joe-ThirdwebandJonas Daniels 31f371d065 Superposition Mainnnet Custom Chain Page (#4875)
Co-authored-by: Jonas Daniels <[email protected]>
2024-10-01 12:45:00 -07:00
MananTank fd8674a8a4 Single Header component for App and Pages router (#4877)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the dashboard components, enhancing the UI elements, and improving the overall structure of the codebase. It includes updates to navigation, styling, and the introduction of new components for better functionality.

### Detailed summary
- Deleted unused files: `nav-link.client.tsx`, `headerLinks.ts`, `MobileBurgerMenu.tsx`.
- Updated `cmd-k-search` button styling and icon size.
- Changed import paths in `layout.tsx`.
- Added `DashboardHeaderTabs` component to manage navigation.
- Refactored `DashboardHeader` to streamline layout and include new links.
- Updated `ColorModeToggle` and `CreditsButton` for better UI interaction.
- Enhanced `CreditsItem` component layout and functionality.
- Replaced `TrackedLinkButton` with `NavLink` in `UpgradeButton`.

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

<!-- end pr-codex -->
2024-10-01 19:33:06 +00:00
0xFirekeeper d3b0dc6646 [Portal] Fix Unity link (#4876)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the links in the `page.mdx` file for the Unity SDK to reflect the correct versioning in the URLs.

### Detailed summary
- Updated the link in the text from `/unity/getting-started` to `/unity/v5/getting-started`.
- Changed the `href` attribute of the `ArticleIconCard` component from `/unity/getting-started` to `/unity/v5/getting-started`.

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

<!-- end pr-codex -->
2024-10-01 19:29:36 +00:00
kien-ngo 98c5fd0b79 [SDK} Skip pack test (#4873)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `createNewPack` test in the `createNewPack.test.ts` file. It enhances the test by ensuring the correct creation and opening of a Pack while managing ERC20 and ERC721 tokens, including minting, approval, and balance checks.

### Detailed summary
- Added a `describe.skip` for `createNewPack` to temporarily skip the test.
- Reformatted the test to ensure proper execution flow.
- Included minting and approval for ERC20 and ERC721 tokens.
- Added assertions to verify balances and pack content after creation.
- Ensured correct metadata checks for the created Pack.

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

<!-- end pr-codex -->
2024-10-01 00:57:50 +00:00
0xFirekeeper 2f11259ccd [Portal] Link new Telegram Unity Template (#4872)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `page.mdx` file to modify existing `ArticleCard` entries and add new ones. It enhances the descriptions and removes a duplicate `ArticleCard` for `Pioneer`.

### Detailed summary
- Updated the `description` for the `Take Flight!` and `Blockventure` `ArticleCard` entries.
- Added two new `ArticleCard` entries for `Telegram Mini-App` and `Pioneer`.
- Removed the duplicate `ArticleCard` for `Pioneer`.

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

<!-- end pr-codex -->
2024-10-01 00:47:16 +00:00
Jonas Danielsandgithub-actions[bot] 97c09003dc Version Packages (#4842)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-01 13:37:54 +13:00
Edward Sun 5d0505c43c Add purchaseData to transfer transactions (#4871) 2024-10-01 09:14:38 +09:00
Jonas Daniels e552fda9e5 fix auth token (#4870) 2024-09-30 16:58:35 -07:00
kien-ngo cddeda4280 [Dashboard] Remove <Stack/> (5) (#4844)
## 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 `Stack` component from `@chakra-ui/react` to standard HTML elements with Flexbox classes for layout consistency and performance improvements across various components in the dashboard.

### Detailed summary
- Removed `Stack` component and replaced it with `div` elements using Flexbox classes in multiple files.
- Updated `as` prop for `FormControl` elements to use `className` for styling.
- Adjusted various components to improve layout and spacing using Tailwind CSS classes.
- Added `StackProps` to `SelectOptionProps` interface, making it more flexible.
- Ensured consistency in component structure and styling throughout the dashboard.

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

<!-- end pr-codex -->
2024-09-30 23:27:38 +00:00
MananTank cb72f67c92 Fix Contract Type shown in Contracts Table, Fix PublishedBy not showing latest version (#4854)
Fixes DASH-274

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving the handling of published contracts in the dashboard by reversing and sorting the list of contracts based on the publisher, prioritizing those from `THIRDWEB_DEPLOYER_ADDRESS`.

### Detailed summary
- In `published-by.tsx`, the list of published contracts is reversed.
- In `cells.tsx`, a new sorted array `publishedContractsFromDeploySorted` is created from the original contracts.
- The sorting prioritizes contracts published by `THIRDWEB_DEPLOYER_ADDRESS`.
- The display name retrieval uses the sorted list instead of the original query.

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

<!-- end pr-codex -->
2024-09-30 23:15:51 +00:00
dependabot[bot] 222964dcbb Bump eslint-plugin-storybook from 0.8.0 to 0.9.0 (#4866)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 16:14:49 -07:00
MananTank ec37c74199 Fix InteractiveAbiFunction component not rendered in published contract page explorer (#4868)
FIXES: DASH-273

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving type safety and handling of published contracts in the dashboard application. It modifies type definitions and enhances the rendering logic for contract functions.

### Detailed summary
- Changed `snippet` type from `Record<CodeEnvironment, any>` to `Partial<Record<CodeEnvironment, any>>` in `formatSnippet`.
- Added a check for `publishedContract` in `layout.tsx` to ensure it exists before proceeding.
- Updated the `ContractFunction` component to enforce required `fn` and optional `contract` props.
- Enhanced rendering logic in `ContractFunctionInner` to display function usage and code snippets based on contract 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-09-30 22:57:39 +00:00
kien-ngo 2ac1e86b8f [Dashboard] Remove FTUX (#4851)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on removing the `FTUX` component and related files from the project, simplifying the `Dashboard` component by eliminating conditional rendering based on wallet connection status.

### Detailed summary
- Deleted `FTUX.tsx` and associated files: `shared.ts`, `slides.tsx`, `animations.ts`, `Graphics.tsx`, `ContentContainer.tsx`, and `GraphicContainer.tsx`.
- Removed logic for `connectionStatus` and `showFTUX` from `Dashboard`.
- Streamlined rendering in `Dashboard` by directly displaying `OnboardingSteps`.

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

<!-- end pr-codex -->
2024-09-30 22:49:45 +00:00
kien-ngo bdc5964054 [Dashboard] Remove ListItem (2) (#4850)
## 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 several files related to the `contract-ui` and `core-ui` components, alongside updates to various components and hooks to include `txChainID` for improved transaction handling.

### Detailed summary
- Deleted multiple files in `contract-ui` and `core-ui`.
- Added `txChainID` prop to `TransactionButton` across various components for transaction context.
- Updated `useWalletNFTs` to accept an object parameter for better clarity.
- Enhanced error handling in API functions.
- Refactored several components to improve code readability and maintainability.

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/claim-conditions/page.tsx`, `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/claim-conditions.tsx`, `apps/dashboard/src/contract-ui/tabs/permissions/page.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/page.tsx`, `apps/dashboard/src/components/app-layouts/app.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/NFTCards.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/detectedFeatures/erc4337.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/explorer/page.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/page.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/code/page.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/[tokenId]/page.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/page.tsx`, `apps/dashboard/src/contract-ui/tabs/shared-components/cancel-tab.tsx`, `apps/dashboard/src/pages/hackathon/readyplayer3.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/PermissionsTable.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/BuildYourApp.tsx`, `apps/dashboard/src/stores/chainStores.tsx`, `apps/dashboard/src/contract-ui/tabs/account/page.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/NFTDetails.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/settings/page.tsx`, `apps/dashboard/src/contract-ui/tabs/accounts/components/accounts-table.tsx`, `apps/dashboard/src/contract-ui/tabs/code/components/code-overview.tsx`, `apps/dashboard/src/stores/SyncStoreToStorage.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/ContractChecklist.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/table.tsx`, `apps/dashboard/src/pages/contact-us.tsx`, `apps/dashboard/src/contract-ui/tabs/embed/components/embed-setup.tsx`, `apps/dashboard/src/components/contract-functions/contract-function.tsx`, `apps/dashboard/src/contract-ui/tabs/events/components/events-feed.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/airdrop-upload.tsx`, `apps/dashboard/src/@/components/blocks/Sidebar.tsx`, `apps/dashboard/src/components/shared/DeprecatedAlert.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/getContractFromParams.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/ConfigureCustomChain.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/Analytics.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/detectedFeatures/claimConditions.ts`, `apps/dashboard/src/contract-ui/tabs/tokens/components/airdrop-upload-erc20.tsx`, `apps/dashboard/src/contract-ui/tabs/settings/page.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/token-id.tsx`, `apps/dashboard/src/pages/hackathon/consumer-crypto.tsx`, `apps/dashboard/src/@/components/blocks/MobileSidebar.tsx`, `apps/dashboard/src/components/custom-contract/contract-header/contract-metadata.tsx`, `apps/dashboard/src/contract-ui/tabs/explorer/page.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/LatestEvents.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/page.tsx`, `apps/dashboard/src/contract-ui/tabs/listings/components/list-form.tsx`, `apps/dashboard/src/components/layout/app-shell/index.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useDashboardContractMetadata.tsx`, `apps/dashboard/src/og-lib/url-utils.ts`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useActiveChainId.tsx`, `apps/dashboard/src/@/components/blocks/charts/area-chart.tsx`, `apps/dashboard/src/contract-ui/components/primary-dashboard-button.tsx`, `apps/dashboard/src/pages/hackathon/earn.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/getContractPageSidebarLinks.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/getContractPageMetadata.ts`, `apps/dashboard/src/contract-ui/tabs/nfts/page.tsx`, `apps/dashboard/src/core-ui/batch-upload/upload-step.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/MarketplaceDetails.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/layout.tsx`, `apps/dashboard/src/components/contract-components/hooks.ts`, `apps/dashboard/src/pages/api/og/contract.tsx`, `apps/dashboard/src/components/configure-networks/ConfigureNetworkForm.tsx`, `apps/dashboard/src/components/custom-contract/contract-header/metadata-header.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useApi.ts`, `apps/dashboard/src/components/buttons/MismatchButton.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts`

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

<!-- end pr-codex -->
2024-09-30 22:49:44 +00:00
kien-ngo 5fc07f7111 [Dashboard] Remove ListItem (1) and fix some UI issues from the aspect-ratio PR (#4846)
Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

This PR focuses on replacing `List` and `ListItem` components with HTML `<ul>` and `<li>` elements across multiple files to improve semantic HTML structure and potentially enhance accessibility.

- Removed `List` and `ListItem` components in favor of `<ul>` and `<li>` elements in various components.
- Updated `label` in `CreateListingsForm` to use a `Card` with structured `<ul>` content.
- Adjusted lists in `Hackathon`, `HackathonEarn`, and `ContactUs` pages to use `<ul>` and `<li>`.
- Minor styling adjustments for improved layout and alignment.

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

<!-- end pr-codex -->
2024-10-01 03:59:35 +05:30
MananTank 80729e9748 Move contract pages to app router (#4820)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on code cleanup and refactoring, including the removal of deprecated files and the addition of `txChainID` props in various components for better transaction handling.

### Detailed summary
- Deleted multiple unused files in `apps/dashboard/src/contract-ui` and `apps/dashboard/src/core-ui`.
- Added `txChainID` prop to `TransactionButton` in various components for transaction context.
- Updated components to use direct imports and improved overall code structure.
- Enhanced error handling and metadata fetching for contracts.

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/permissions/page.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/page.tsx`, `apps/dashboard/src/components/app-layouts/app.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/NFTCards.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/detectedFeatures/erc4337.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/explorer/page.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/page.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/code/page.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/[tokenId]/page.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/page.tsx`, `apps/dashboard/src/contract-ui/tabs/shared-components/cancel-tab.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/PermissionsTable.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/BuildYourApp.tsx`, `apps/dashboard/src/stores/chainStores.tsx`, `apps/dashboard/src/contract-ui/tabs/account/page.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/NFTDetails.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/settings/page.tsx`, `apps/dashboard/src/contract-ui/tabs/accounts/components/accounts-table.tsx`, `apps/dashboard/src/components/contract-functions/contract-function.tsx`, `apps/dashboard/src/contract-ui/tabs/code/components/code-overview.tsx`, `apps/dashboard/src/stores/SyncStoreToStorage.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/ContractChecklist.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/table.tsx`, `apps/dashboard/src/contract-ui/tabs/embed/components/embed-setup.tsx`, `apps/dashboard/src/contract-ui/tabs/listings/components/list-form.tsx`, `apps/dashboard/src/contract-ui/tabs/events/components/events-feed.tsx`, `apps/dashboard/src/@/components/blocks/Sidebar.tsx`, `apps/dashboard/src/components/shared/DeprecatedAlert.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/getContractFromParams.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/ConfigureCustomChain.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/Analytics.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/detectedFeatures/claimConditions.ts`, `apps/dashboard/src/contract-ui/tabs/settings/page.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/token-id.tsx`, `apps/dashboard/src/@/components/blocks/MobileSidebar.tsx`, `apps/dashboard/src/components/custom-contract/contract-header/contract-metadata.tsx`, `apps/dashboard/src/contract-ui/tabs/explorer/page.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/LatestEvents.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/page.tsx`, `apps/dashboard/src/components/layout/app-shell/index.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useDashboardContractMetadata.tsx`, `apps/dashboard/src/og-lib/url-utils.ts`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useActiveChainId.tsx`, `apps/dashboard/src/@/components/blocks/charts/area-chart.tsx`, `apps/dashboard/src/contract-ui/components/primary-dashboard-button.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/getContractPageSidebarLinks.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/getContractPageMetadata.ts`, `apps/dashboard/src/contract-ui/tabs/nfts/page.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/MarketplaceDetails.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/layout.tsx`, `apps/dashboard/src/components/contract-components/hooks.ts`, `apps/dashboard/src/pages/api/og/contract.tsx`, `apps/dashboard/src/components/configure-networks/ConfigureNetworkForm.tsx`, `apps/dashboard/src/components/custom-contract/contract-header/metadata-header.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useApi.ts`, `apps/dashboard/src/components/buttons/MismatchButton.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts`

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

<!-- end pr-codex -->
2024-09-30 21:43:43 +00:00
dependabot[bot] 8832f87f4a Bump @storybook/addon-interactions from 8.3.2 to 8.3.4 (#4867)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 14:35:43 -07:00
dependabot[bot] 39a43903ad Bump @aws-sdk/client-lambda from 3.656.0 to 3.659.0 (#4861)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 14:33:46 -07:00
dependabot[bot] 6396729839 Bump @cloudflare/workers-types from 4.20240919.0 to 4.20240925.0 (#4862)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 14:32:17 -07:00
dependabot[bot] 30fd225538 Bump @walletconnect/sign-client from 2.16.2 to 2.16.3 (#4864)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 14:31:13 -07:00
dependabot[bot] 931bbd4952 Bump @storybook/react-vite from 8.3.2 to 8.3.4 (#4863)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 14:23:30 -07:00
dependabot[bot] 3202ce105c Bump @storybook/blocks from 8.3.2 to 8.3.4 (#4860)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 14:19:56 -07:00
dependabot[bot] 36aa3f0937 Bump @storybook/react from 8.3.2 to 8.3.4 (#4855)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 14:05:14 -07:00
MananTank ab43d9426a Fix Code tab not working in playground - revert shiki to 1.16 (#4853)
Fixes CNCT-1958
2024-09-30 18:52:16 +00:00
Amir 29938abfe3 Update page.mdx (#4848)
Signed-off-by: Amir <[email protected]>
2024-09-29 21:40:27 -07:00
Amir 5bb5a437cd Update page.mdx (#4847)
Signed-off-by: Amir <[email protected]>
2024-09-29 21:14:07 -07:00
kien-ngo 8b681729a1 [Dashboard] Remove <Stack /> (4) (#4843)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the layout components in various files from using `Stack` to `div` elements with Flexbox classes for better styling and layout control.

### Detailed summary
- Replaced `<Stack>` components with `<div>` using Flexbox classes in multiple files.
- Updated form structures to use `<form>` tags directly instead of wrapping them in `<Stack>`.
- Adjusted spacing and alignment using Flexbox properties.

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

<!-- end pr-codex -->
2024-09-29 18:29:22 +00:00
kien-ngo 6c26012a71 [SDK] Update smart wallet test (#4845)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `sleep` function in `sleep.ts` for delaying asynchronous operations and replaces existing inline sleep implementations across various files with this unified function.

### Detailed summary
- Added `sleep` function in `packages/thirdweb/src/utils/sleep.ts` for delaying async operations.
- Removed duplicate `sleep` functions from `packages/thirdweb/src/rpc/watchBlockNumber.ts` and `packages/thirdweb/src/wallets/in-app/web/utils/iFrameCommunication/IframeCommunicator.ts`.
- Updated calls to `sleep` in `packages/thirdweb/src/wallets/smart/smart-wallet-integration-v07.test.ts` and `packages/thirdweb/src/wallets/in-app/web/utils/iFrameCommunication/IframeCommunicator.ts` to use the new function.

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

<!-- end pr-codex -->
2024-09-28 23:11:39 +00:00
kien-ngo 90b5495efb [SDK] Add Pack extensions (#4579)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new functionalities and enhancements for the `Pack` contract in the `thirdweb` project, including event definitions, deployment options, and methods for managing packs and rewards.

### Detailed summary
- Added `initialize` function to `Pack.json`.
- Exported new types and functions in `deploy-pack.ts`.
- Defined new events and functions in `IPackVRFDirect.json`.
- Created tests for deploying `Pack` contracts.
- Updated changelog with Pack extensions.
- Implemented various methods for managing packs, including `openPack`, `addPackContents`, and `claimRewards`.

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/pack/createNewPack.test.ts`, `packages/thirdweb/src/extensions/prebuilts/__generated__/Pack/write/initialize.ts`, `packages/thirdweb/src/extensions/pack/__generated__/IPack/write/createPack.ts`, `packages/thirdweb/src/extensions/pack/createNewPack.ts`

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

<!-- end pr-codex -->
2024-09-28 12:46:54 +00:00
Kien Ngo 71575afef3 [SDK] Avoid out-of-fund in tests (#4840) 2024-09-28 20:59:40 +12:00
Jonas Danielsandgithub-actions[bot] 70adb57293 Version Packages (#4841)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-28 20:48:14 +12:00
Kien Ngo 96fa4102ba [SDK] Avoid IPFS uploads in tests whenever possible (#4824) 2024-09-28 20:26:44 +12:00
Joaquim Verges fc56142880 fix: createAndSignUserOp with multiple transactions (#4839) 2024-09-28 20:26:06 +12:00
gregfromstl 842baa0513 [SDK] Fix: ensure optional chains are passed to wc (#4838)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the `wallet-connect` functionality by ensuring that optional chains are correctly handled in the wallet connection request process.

### Detailed summary
- Updated the destructuring of the return value from `getChainsToRequest` to include `requiredChain`.
- Changed how `optionalChains` and `chains` are assigned in `connectWC` and `initProvider` functions.
- Modified the return structure of `getChainsToRequest` to include `requiredChain` and `optionalChains`.

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

<!-- end pr-codex -->
2024-09-28 07:51:20 +00:00
jnsdls 601958d5b7 [Add] Framer rewrite for /framer-test route (#4577)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `next.config.js` file to enhance security policies and add new redirect paths for Framer.

### Detailed summary
- Updated `style-src` and `font-src` directives to include `vercel.live`, `assets.vercel.com`, and `framerusercontent.com`.
- Added `framerusercontent.com` and `events.framer.com` to the `script-src` directive.
- Introduced `FRAMER_PATHS` for specific redirect paths.
- Added new redirect mappings for Framer paths to `https://landing.thirdweb.com`.

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

<!-- end pr-codex -->
2024-09-27 22:30:41 +00:00
Jonas Danielsandgithub-actions[bot] bec828de86 Version Packages (#4822)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-27 15:30:03 -07:00
gregfromstl a576a5b858 [SDK] Test: Adds storage mocks and basic tests (#4833)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new features and improvements related to file uploads and downloads using IPFS and Arweave, along with enhancements to testing with `msw`. It also updates dependencies and modifies some configurations.

### Detailed summary
- Updated `.gitignore` to include `.aider*`.
- Modified `web-node.ts` to streamline header handling.
- Added `msw` as a dependency in `package.json`.
- Enhanced `download.ts` to better handle request timeouts.
- Implemented `msw` handlers in `storage.ts` for IPFS and Arweave.
- Expanded tests in `download.test.ts` for various download scenarios.
- Added tests in `web-node.test.ts` for file uploads and error handling.

> 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-09-27 22:04:39 +00:00
MananTank 5e3be734a3 Fix line break in engine Allowlisted Domains textarea placeholder (#4835)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `placeholder` prop of the `Textarea` component in the `cors.tsx` file to use a JavaScript expression instead of a string literal.

### Detailed summary
- Changed the `placeholder` prop from a string literal (`"https://example.com\nhttp://localhost:3000"`) to a JavaScript expression (`{"https://example.com\nhttp://localhost:3000"}`) for potentially better handling of the string.

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

<!-- end pr-codex -->
2024-09-27 22:00:05 +00:00
MananTank ce6d873ccc Fix Page crash on Module selection (#4834)
## 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 `selectedModule` in the `ModuleForm.tsx` component by including additional properties for better data management.

### Detailed summary
- Added `selectedModule?.contractId` to the data array.
- Added `selectedModule?.bytecodeHash` to the data array.

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

<!-- end pr-codex -->
2024-09-27 21:39:17 +00:00
gregfromstl bbe75b0bc8 [SDK] Fix: Only request specified wallet connect chains (#4832)
Falls in line with the WC spec and appeases some picky wallets

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing wallet connection issues in the `thirdweb` package, particularly for wallets with limited chain support. It improves handling of optional chains and modifies how chains are requested.

### Detailed summary
- Updated handling of `optionalChains` to default to `[1]` if empty.
- Changed `chains` to be `undefined` if `chainToRequest` is not provided.
- Modified `setRequestedChainsIds` function to accept `chains` as `undefined`.
- Simplified logic for `chainsToRequest` to use `undefined` when no chains are available.

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

<!-- end pr-codex -->
2024-09-27 19:47:31 +00:00
gregfromstl cefa4eb097 [SDK] Docs: fix social profiles docs (#4821)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the method used to retrieve social profiles in the `profiles.ts` file, changing the function name from `getProfiles` to `getSocialProfiles`.

### Detailed summary
- Changed the import statement from `getProfiles` to `getSocialProfiles` from the `thirdweb/social` module.
- Updated the usage of the function in the example to reflect the new function name.

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

<!-- end pr-codex -->
2024-09-27 16:34:01 +00:00
kien-ngo 63ceb2874c [Dashboard] Remove <Stack/> (3) (#4831)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing instances of the `Stack` component from Chakra UI with `div` elements styled using Tailwind CSS classes. This change aims to improve layout consistency across various components in the application.

### Detailed summary
- Replaced `<Stack>` with `<div className="flex ...">` in multiple components for layout consistency.
- Adjusted spacing and alignment properties to match previous `Stack` behavior.
- Updated components in `airdrop-tab.tsx`, `select-option.tsx`, `airdrop-upload.tsx`, and others.

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

<!-- end pr-codex -->
2024-09-27 16:08:38 +00:00
kien-ngo 509c7981ee [Dashboard] Remove <Stack /> (2) (#4830)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on replacing instances of the `Stack` component with `div` elements styled using Tailwind CSS classes, enhancing the layout while maintaining functionality across various components in the dashboard application.

### Detailed summary
- Replaced `<Stack>` with `<div className="flex flex-col gap-X">` in multiple components for consistent styling.
- Updated `spacing` properties to `gap` for better alignment with Tailwind CSS practices.
- Maintained functionality across components such as `PermissionEditor`, `EventsFeedItem`, and various modal dialogs.

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

<!-- end pr-codex -->
2024-09-27 15:54:39 +00:00
kien-ngo 8ea9420cc4 [Dashboard] Remove <Stack /> (1) (#4829)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing instances of the `Stack` component with `div` elements styled with Flexbox classes for layout consistency across various components in the application.

### Detailed summary
- Replaced `Stack` components with `div` elements using Flexbox for layout in multiple files.
- Updated spacing and alignment properties to maintain visual consistency.
- Adjusted modal body structures to use Flexbox for better responsiveness.

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

<!-- end pr-codex -->
2024-09-27 15:48:40 +00:00
kien-ngo 8dda1139dc [Dashboard] Remove default <Stack /> (#4828)
@MananTank here's the source code: https://github.com/chakra-ui/chakra-ui/blob/main/packages/react/src/components/stack/stack.tsx

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing `Stack` components with `div` elements styled with `flex` and `gap` classes across various files for a more consistent layout approach in the UI.

### Detailed summary
- Replaced `Stack` with `div className="flex flex-col gap-2"` in multiple components.
- Updated layout in `airdrop-tab.tsx`, `mint-form.tsx`, `lazy-mint-form.tsx`, `split/page.tsx`, `shared-metadata-form.tsx`, `update-metadata-form.tsx`, `transaction-timeline.tsx`, `NewsletterSection.tsx`, and more.
- Enhanced UI consistency and responsiveness.

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

<!-- end pr-codex -->
2024-09-27 11:21:45 +00:00
kien-ngo a637cab051 [Dashboard] Remove @react-icons/all-files (#4819)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating icon components in the `dashboard` application by replacing `react-icons` with custom SVG icons for improved performance and maintainability.

### Detailed summary
- Removed `@react-icons/all-files` dependency.
- Added new SVG components: `MediumIcon`, `YoutubeIcon`, `TiktokIcon`, `TelegramIcon`, `RedditIcon`, `MetaIcon`, `InstagramIcon`.
- Updated `SupportPage`, `PublisherSocials`, `AppFooter`, and other components to use new icons.

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

<!-- end pr-codex -->
2024-09-27 03:07:36 +00:00
kien-ngo c31f919cd4 [Dashboard] Replace Linkedin icon (#4818)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `LinkedInIcon` component and replaces instances of the `SiLinkedin` icon with the new `LinkedInIcon` in two files, enhancing the consistency of icon usage across the application.

### Detailed summary
- Created a new `LinkedInIcon` component in `LinkedinIcon.tsx`.
- Replaced `SiLinkedin` with `LinkedInIcon` in `socialLinks.tsx`.
- Replaced `SiLinkedin` with `LinkedInIcon` in `PublisherSocials.tsx`.

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

<!-- end pr-codex -->
2024-09-27 02:41:46 +00:00
kien-ngo ffcd199381 [Dashboard] Replace twitter icon (#4817)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `XIcon` component and replaces existing Twitter icons in various components with this new icon, enhancing consistency and potentially improving the visual design.

### Detailed summary
- Added a new `XIcon` component in `XIcon.tsx`.
- Replaced `SiTwitter` icon with `XIcon` in:
  - `edit-profile.tsx`
  - `socialLinks.tsx`
  - `PublisherSocials.tsx`

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

<!-- end pr-codex -->
2024-09-27 02:41:43 +00:00
kien-ngo b1d78b1f42 [Dashboard] Replace Discord icon (#4816)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing the usage of the `SiDiscord` icon from `@react-icons/all-files` with a custom `DiscordIcon` component in multiple files, enhancing the icon's integration and potentially improving styling consistency.

### Detailed summary
- Replaced `SiDiscord` icon with `DiscordIcon` in:
  - `edit-profile.tsx`
  - `socialLinks.tsx`
  - `PublisherSocials.tsx`
- Introduced `DiscordIcon` component in `DiscordIcon.tsx` with an SVG representation.

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

<!-- end pr-codex -->
2024-09-27 01:52:10 +00:00
kien-ngo bc348ea953 [Dashboard] Replace Unity icon (#4814)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing instances of the `SiUnity` icon from the `react-icons` library with a new custom `UnityIcon` component across multiple files in the dashboard application.

### Detailed summary
- Added a new `UnityIcon` component in `UnityIcon.tsx`.
- Replaced `SiUnity` with `UnityIcon` in:
  - `ConnectSDKCard.tsx`
  - `ConnectPlaygroundButton.tsx`
  - `CodeOptionButton.tsx`
  - `SupportedPlatformLink.tsx`
  - `CodeSegment.tsx`

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

<!-- end pr-codex -->
2024-09-27 01:24:04 +00:00
kien-ngo 43a24e2ed4 [Dashboard] Replace React icon (#4813)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing the usage of `SiReact` icon with a new custom `ReactIcon` component across several files in the dashboard application.

### Detailed summary
- Added `ReactIcon` component in `apps/dashboard/src/components/icons/brand-icons/ReactIcon.tsx`.
- Replaced `SiReact` with `ReactIcon` in:
  - `ConnectSDKCard.tsx`
  - `ConnectPlaygroundButton.tsx`
  - `CodeOptionButton.tsx`
  - `SupportedPlatformLink.tsx`
  - `CodeSegment.tsx`

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

<!-- end pr-codex -->
2024-09-27 01:24:02 +00:00
kien-ngo 7b40f2e8e4 [Dashboard] Replace JS and TS icons (#4812)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing existing icon imports for `JavaScript` and `TypeScript` with custom icon components, enhancing the visual representation in the application.

### Detailed summary
- Replaced `SiJavascript` with `JavaScriptIcon` in `ConnectPlaygroundButton.tsx`, `CodeOptionButton.tsx`, `CodeSegment.tsx`.
- Replaced `SiTypescript` with `TypeScriptIcon` in `SupportedPlatformLink.tsx`, `ConnectSDKCard.tsx`, `CodeSegment.tsx`.
- Added new components: `JavaScriptIcon.tsx` and `TypeScriptIcon.tsx` for custom icons.

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

<!-- end pr-codex -->
2024-09-27 01:24:00 +00:00
kien-ngo c1d94aec4f [Dashboard] Replace SiGithub (#4811)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing the usage of the `SiGithub` icon from `@react-icons` with a custom `GithubIcon` component across several files in the dashboard application.

### Detailed summary
- Replaced `SiGithub` with `GithubIcon` in:
  - `GameCard.tsx`
  - `app-footer.tsx`
  - `edit-profile.tsx`
  - `socialLinks.tsx`
  - `PublisherSocials.tsx`
- Added `GithubIcon` component in `GithubIcon.tsx` with SVG implementation.

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

<!-- end pr-codex -->
2024-09-27 01:23:58 +00:00
kien-ngo ebd5908d4a [Dashboard] Remove non-branding icons (#4810)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on replacing various `react-icons` with `lucide-react` icons across multiple components, along with some minor adjustments to properties and imports. It aims to standardize icon usage within the codebase.

### Detailed summary
- Removed `IconType` from multiple interfaces in `types.ts` and `AnimatedCLICommand.tsx`.
- Replaced `react-icons` with `lucide-react` icons in `HackathonFooter`, `NFTClaimButton`, and other components.
- Updated icon rendering logic in multiple components for consistency.
- Adjusted imports and usage of icons in `FileInput`, `BatchLazyMint`, and `MismatchButton`.

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

<!-- end pr-codex -->
2024-09-27 01:11:42 +00:00
Edward Sun 21b032d1b8 Remove text in UI (#4823) 2024-09-26 16:56:46 -07:00
kumaryash90 d0616c4486 Fix Cronos zkevm deployments (#4815)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds support for the `cronos zkevm` by updating the `isZkSyncChain` check to include additional chain IDs for both the testnet and mainnet.

### Detailed summary
- Updated the `isZkSyncChain` function in the file `packages/thirdweb/src/utils/any-evm/zksync/isZkSyncChain.ts`.
- Added chain ID `282` for `cronos zkevm testnet`.
- Added chain ID `388` for `cronos zkevm mainnet`.

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

<!-- end pr-codex -->
2024-09-26 22:13:03 +00:00
MananTank 88db5eaeab Add upload to IPFS on teams & account avatar form fields (#4807)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the account and team settings pages by adding image upload functionality for accounts and teams, updating component imports, and improving layout responsiveness.

### Detailed summary
- Added `updateAccountImage` method to `AccountSettingsPage` and `AccountSettingsPageUI`.
- Introduced `updateTeamImage` method in `TeamGeneralSettingsPage` and `TeamGeneralSettingsPageUI`.
- Changed layout from `min-h-full` to `min-h-screen`.
- Updated import statements to reflect new component names.
- Implemented async image upload functionality with IPFS integration.
- Added error handling for image update methods.

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

<!-- end pr-codex -->
2024-09-26 20:43:18 +00:00
MananTank 09b1c28c09 Replace Avatar placeholders with Avatar components in teams and account layout (#4803)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on updating the account handling in various components to use an `account` object instead of separate email fields, and introduces new avatar components for enhanced visual representation of users and projects.

### Detailed summary
- Replaced `email` with `account` in multiple components.
- Introduced `GradientAvatar` and `ProjectAvatar` components for displaying user and project images.
- Updated story files to showcase new avatar components.
- Added placeholder comments for future image integration.
- Adjusted layout and styling for better alignment with new account structure.

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

<!-- end pr-codex -->
2024-09-26 20:43:14 +00:00
Jonas Danielsandgithub-actions[bot] 98f2b56c19 Version Packages (#4782)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 15:29:28 +12:00
gregfromstl 500970e001 [SDK] Fix: logout on iframe (#4809)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing account logout functionality and updating error messages related to transaction limits across various tests in the `thirdweb` package.

### Detailed summary
- Updated `logout` method in `iframe-auth.ts` to check for `AuthQuerier` before calling logout.
- Changed expected address in `deploy-published.test.ts`.
- Updated error messages from `TransactionError: Error - !Qty` to `DropClaimExceedLimit` in multiple test files for `erc20`, `erc721`, and `erc1155`.

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

<!-- end pr-codex -->
2024-09-26 02:14:43 +00:00
jnsdls 9c58c08945 simplify siwe auth login flow (#4808) 2024-09-26 01:23:13 +00:00
kien-ngo 587804d5a8 [Dashboard] Remove chakra useToast (#4802)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing the usage of `useToast` from `@chakra-ui/react` with `toast` from `sonner` for displaying notifications across various components in the dashboard. This change aims to streamline the notification handling.

### Detailed summary
- Removed `useToast` from multiple components.
- Replaced toast notifications with `toast.info`, `toast.success`, and `toast.error` methods from `sonner`.
- Updated the `AddressCopyButton`, `PermissionsTable`, `LatestEvents`, `IpfsUploadDropzone`, and `AuthorizedWalletsTable` components to reflect these changes.

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

<!-- end pr-codex -->
2024-09-26 00:19:57 +00:00
kumaryash90 3f83a377bc New zksolc metadata format (#4568)
## Problem solved

Handle new zksolc metadata format
ref: ipfs://QmS6ehXYWKJEJq3LBSfG2ujKPzQQJooNE7L375zyFbpxmw

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces support for a new `zksolc` metadata format in the `thirdweb` package, enhancing the handling of zkSync contracts by updating various functions and types to accommodate the new compiler type.

### Detailed summary
- Added `compilerType` option to several functions and types to support `solc` and `zksolc`.
- Updated `fetchPublishedContractMetadata` and `deployPublishedContract` to utilize `compilerType`.
- Enhanced `formatCompilerMetadata` to handle `zksolc` specific metadata.
- Modified `fetchDeployMetadata` to validate and fetch `zksolc` metadata correctly.
- Updated `CustomContractForm` to determine `compilerType` based on the active wallet chain.
- Improved error handling for missing `zksolc` metadata.

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

<!-- end pr-codex -->
2024-09-26 00:14:07 +00:00
gregfromstl 5ab3a81f79 [Dashboard] Feature: update ecosystem wallet auth options (#4797)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new authentication options for the ecosystem feature, updates related types, and enhances the UI components to support these options.

### Detailed summary
- Added new authentication options: `google`, `facebook`, `x`, `discord`, `farcaster`, `telegram`, `phone`, `email`, `guest`, `apple`, `coinbase`, `line`.
- Updated `Ecosystem` type to include `authOptions`.
- Modified `useUpdateEcosystem` to accept optional `authOptions`.
- Added `AuthOptionsSection` to the `EcosystemPermissionsPage`.
- Created `AuthOptionsForm` for managing authentication options.
- Implemented confirmation dialog for adding/removing auth options.

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

<!-- end pr-codex -->
2024-09-25 23:47:49 +00:00
kien-ngo 931569b374 [Dashboard] Remove <Box/> easy mode (#4786)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing all instances of the `Box` component with the `div` element across various files in the codebase, likely for consistency or to simplify the component structure.

### Detailed summary
- Replaced `Box` with `div` in `PermissionsTable.tsx`
- Replaced `Box` with `div` in `LatestEvents.tsx`
- Replaced `Box` with `div` in `templates.tsx`
- Replaced `Box` with `div` in `detail-page.tsx`
- Replaced `Box` with `div` in `contract-publish-form/index.tsx`
- Replaced `Box` with `div` in `custom-factory.tsx`
- Replaced `Box` with `div` in `metadata.tsx`
- Replaced `Box` with `div` in `Solutions.tsx`
- Replaced `Box` with `div` in `MiniPlayground.tsx`
- Replaced `Box` with `div` in `FormItem.tsx`
- Replaced `Box` with `div` in `DevRelEvent.tsx`
- Replaced `Box` with `div` in `shared-metadata-form.tsx`
- Replaced `Box` with `div` in `update-metadata-form.tsx`
- Replaced `Box` with `div` in `external-links-fieldset.tsx`
- Replaced `Box` with `div` in `events-feed.tsx`
- Replaced `Box` with `div` in `lazy-mint-form.tsx`
- Replaced `Box` with `div` in `mint-form.tsx`
- Replaced `Box` with `div` in `page.tsx`
- Replaced `Box` with `div` in `landing-fieldset.tsx`
- Replaced `Box` with `div` in `PlanCard.tsx`
- Replaced `Box` with `div` in `index.tsx` of `CodeBlock`
- Replaced `Box` with `div` in `SponsorshipPolicies/index.tsx`
- Replaced `Box` with `div` in `AccountAbstractionSettingsPage` across multiple instances.

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

<!-- end pr-codex -->
2024-09-25 21:47:51 +00:00
kien-ngo d76618fc00 [Dashboard] Remove Flex easy mode (#4785)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing instances of the `Flex` component with `div` elements that have corresponding CSS classes for layout styling. This change aims to streamline the code while maintaining the same visual structure.

### Detailed summary
- Replaced `<Flex>` with `<div className="flex flex-row">` in multiple components for horizontal alignment.
- Replaced `<Flex>` with `<div className="flex flex-col">` in several components for vertical alignment.
- Ensured all functional components maintain the same layout and behavior after changes.

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

<!-- end pr-codex -->
2024-09-25 21:47:48 +00:00
kien-ngo 46acf33b5a [Dashboard] Remove more Flex (#4784)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing instances of the `Flex` component with `div` elements styled with Tailwind CSS classes. This change aims to standardize layout styling across various components in the application.

### Detailed summary
- Replaced `Flex` with `div` and added Tailwind CSS classes for layout.
- Updated components in files like `GraphicContainer.tsx`, `contract-functions.tsx`, `engine-overview.tsx`, and others.
- Maintained existing functionality while improving styling consistency.

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

<!-- end pr-codex -->
2024-09-25 21:47:45 +00:00
kien-ngo 10a84d2810 [Dashboard] Remove <Center /> (#4765)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on replacing the usage of the `Center` component from `@chakra-ui/react` with `div` elements styled with Flexbox classes for better layout control across various components in the dashboard.

### Detailed summary
- Replaced `Center` with `div` and applied Flexbox utility classes in multiple components for consistent styling.
- Updated components include `TransactionButton`, `ContractSplitPage`, `OnboardingPaymentForm`, and more.
- Maintained existing functionality while improving layout responsiveness.

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

<!-- end pr-codex -->
2024-09-25 21:47:42 +00:00
MananTank 3e8c074011 Fix Publish page not prepopulated with latest published version metadata (#4806)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `PublishContractPage` by adding logic to handle cases where published contract metadata lacks a version. It fetches existing contracts associated with a publisher and merges their data with the fetched metadata.

### Detailed summary
- Imported `getPublishedContractsWithPublisherMapping` utility.
- Renamed variable `publishMetadata` to `publishMetadataFromUri`.
- Added logic to check if `publishMetadataFromUri` lacks a version.
- Fetched existing published contracts for the publisher.
- Merged existing contract data with `publishMetadataFromUri` if applicable.

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

<!-- end pr-codex -->
2024-09-25 21:34:26 +00:00
MananTank 206340cc1d Add Img component with skeleton + fallback support (#4791)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `Img` component that handles image loading states with customizable skeletons and fallbacks. It also adds a Storybook story to demonstrate various usages of the `Img` component.

### Detailed summary
- Added `Img` component to handle image loading states.
- Implemented state management for loading, fallback, and loaded statuses.
- Introduced customizable `skeleton` and `fallback` props.
- Created Storybook stories showcasing different scenarios for the `Img` component.

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

<!-- end pr-codex -->
2024-09-25 21:23:16 +00:00
greg 6153d57c34 [SDK] Fix: adds ERC20 transfer overrides param (#4804) 2024-09-26 08:23:46 +12:00
jnsdls 39aeb140d2 Handle 400 error in user creation check (#4805) 2024-09-25 20:18:15 +00:00
MananTank 8e9d13c95c Add position relative on all Shadcn/Chakra AspectRatio component replacement divs (#4801)
## 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 add the `relative` class to `div` elements that define aspect ratios, enhancing layout control and positioning.

### Detailed summary
- Added `relative` class to `div` elements in:
  - `GameShowcase.tsx` for aspect ratios `16/9`
  - `GuideCard.tsx` for aspect ratios `2400/1260`
  - `airdrop-upload-erc20.tsx` for aspect ratios `21/9`
  - `chain-header.tsx` for conditional aspect ratios
  - `airdrop-upload.tsx` for aspect ratios `21/9`
  - `snapshot-upload.tsx` for aspect ratios `21/9`
  - `upload-step.tsx` for aspect ratio `square`
  - `NFTCards.tsx` for aspect ratio `square`
  - `MarketplaceDetails.tsx` for aspect ratio `square`
  - `dropzone.tsx` for aspect ratio adjustments
  - `WithoutThirdwebSection.tsx` for aspect ratios `16/10`
  - `logo/index.tsx` for aspect ratio `516/321`
  - Updated `Logo` component for aspect ratio `1377/267`

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

<!-- end pr-codex -->
2024-09-25 15:40:12 +00:00
kien-ngo d35f0b2cc6 [Dashboard] Remove <AspectRatio/> (#4750)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on removing the `AspectRatio` component from the project and replacing its usage with `div` elements styled with Tailwind CSS classes to maintain the aspect ratio.

### Detailed summary
- Deleted `@radix-ui/react-aspect-ratio` from `package.json`.
- Removed all instances of the `AspectRatio` component across various files.
- Replaced `AspectRatio` with `div` elements using Tailwind CSS classes for aspect ratios.
- Updated related props and imports as necessary.

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

<!-- end pr-codex -->
2024-09-25 05:52:04 +00:00
Joaquim Verges 2f010fa3fc feat(storage): add JSON object upload example and documentation (#4796) 2024-09-25 15:35:57 +12:00
joaquim-verges 944d56f6d8 ecosystem refactor part 4: react native edition (#4783)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing wallet functionalities and authentication processes in the `thirdweb` library, particularly for ecosystem wallets in React Native. It introduces new wallet interfaces, updates existing methods, and improves error handling for user authentication.

### Detailed summary
- Removed obsolete `web-wallet.ts.changeset/chilled-dancers-cheer.md` file.
- Added support for ecosystem wallets in `useAutoConnect` hook.
- Updated `createInAppWallet` to include new `createOptions` structure.
- Defined `IWebWallet` interface with methods for wallet setup and user status.
- Expanded `EcosystemWalletCreationOptions` to include authentication options.
- Modified `getUserStatus` to handle user status retrieval with better error logging.
- Updated `InAppWebConnector` to utilize the new wallet interfaces and methods.
- Implemented `ShardedWallet` class with user wallet status and account retrieval.
- Enhanced error handling in the authentication processes across various modules.
- Removed deprecated methods from `native-auth.ts`.

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

<!-- end pr-codex -->
2024-09-25 01:41:15 +00:00
joaquim-verges 1f1f99ddd0 ecosystem refactor part 3 (#4781)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new constant `IS_DEV` to streamline environment checks, updates various wallet-related functionalities to use `ClientScopedStorage`, and replaces enum usages with string literals for better type safety. It also enhances error handling and modifies authentication processes.

### Detailed summary
- Added `IS_DEV` constant for environment checks.
- Replaced `process.env.NODE_ENV` checks with `IS_DEV` in multiple files.
- Updated wallet functions to utilize `ClientScopedStorage`.
- Converted enums to string literals for `RecoveryShareManagement` and `AuthProvider`.
- Improved error handling in authentication functions.
- Standardized user status strings across wallet components.
- Enhanced documentation for `ecosystemWallet` function.
- Refactored several functions to accept an object with parameters for better clarity.

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

<!-- end pr-codex -->
2024-09-25 01:41:12 +00:00
joaquim-verges de63195d43 ecosystem wallet refactor (part 2) (#4780)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the `thirdweb` wallet implementation, specifically enhancing the `in-app` wallet functionality by integrating `localStorage` for authentication and modifying wallet creation methods.

### Detailed summary
- Deleted `get-auth-token.ts` and `ecosystem-core.ts`.
- Updated wallet creation to use `createInAppWallet`.
- Integrated `localStorage` for authentication in multiple files.
- Modified `EcosystemWalletCreationOptions` to include `InAppWalletCreationOptions`.
- Removed obsolete auth token fetching in various functions.

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

<!-- end pr-codex -->
2024-09-25 01:41:10 +00:00
Joaquim Verges e2b3484764 Update pregen docs (#4795)
Signed-off-by: Joaquim Verges <[email protected]>
2024-09-25 11:14:10 +12:00
jnsdls c0d81dcaca Add optional Headers param to fetchChain (#4793)
### TL;DR

Added an optional Headers parameter to the `fetchChain` function.

### What changed?

- Introduced a new optional `headers` parameter to the `fetchChain` function in `apps/dashboard/src/utils/fetchChain.ts`.
- Updated the fetch request to include the provided headers.
- Created a new changeset file to document this patch-level change.

### How to test?

1. Call the `fetchChain` function without providing headers to ensure backward compatibility.
2. Call the `fetchChain` function with custom headers and verify they are included in the request.
3. Confirm that the function still correctly fetches chain metadata from the API.

### Why make this change?

This change allows for greater flexibility when making API requests to fetch chain metadata. By allowing custom headers, it enables use cases such as authentication, caching control, or other custom requirements when interacting with the API.
2024-09-24 21:09:41 +00:00
jnsdls 0aea48e37d fix typedoc setup (#4792)
### TL;DR

Refactored TypeDoc script and added a dedicated TypeScript configuration for documentation generation.

### What changed?

- Simplified the `typedoc.mjs` script by removing the `typedoc` function and directly executing the TypeDoc application.
- Added a new `tsconfig.typedoc.json` file specifically for TypeDoc configuration.
- Updated the TypeDoc application configuration to use the new TypeScript config file.

### How to test?

1. Run the TypeDoc script to generate documentation.
2. Verify that the `typedoc/documentation.json` file is created successfully.
3. Check that the generated documentation includes the correct files and excludes the specified ones.

### Why make this change?

This change improves the documentation generation process by:
1. Simplifying the TypeDoc script for better maintainability.
2. Providing a dedicated TypeScript configuration for documentation, ensuring more accurate type information.
3. Enhancing consistency in the documentation output by using a specific tsconfig file.
2024-09-24 21:03:38 +00:00
arcoraven f91e32f133 Add Alert docs to Portal (#4788)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new features and updates to the `thirdweb Engine`, including alert notifications, metadata enhancements, and updated documentation for troubleshooting and alert management.

### Detailed summary
- Added new alert notifications feature in `page.mdx` with instructions.
- Introduced `metadata` for `Alert Notifications` and `Troubleshooting` pages.
- Updated asset imports for alert images in `page.mdx`.
- Enhanced troubleshooting documentation for clarity.

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

<!-- end pr-codex -->
2024-09-24 19:52:49 +00:00
MananTank e38400195f Restore deleted whitespaces, Remove unsafe biome formatting (#4789)
## 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 adding space between certain text elements and enhancing readability across various components in the dashboard application.

### Detailed summary
- Added space after text in various components to improve readability.
- Updated text elements in `templates.tsx`, `index.tsx`, `TransactionModeScreen.tsx`, and others.
- Ensured consistent formatting in `HeroSection.tsx`, `PricingCard.tsx`, and various settings pages.

> The following files were skipped due to too many changes: `apps/dashboard/src/components/embedded-wallets/Configure/index.tsx`, `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/snapshot-upload.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/ContractChecklist.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.tsx`, `apps/dashboard/src/core-ui/batch-upload/upload-step.tsx`, `packages/thirdweb/package.json`, `apps/dashboard/src/pages/template/[id].tsx`

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

<!-- end pr-codex -->
2024-09-24 23:14:39 +05:30
joaquim-verges e02d87b831 Refactor linkProfile and getProfiles API + prepare for ecosystemWallet in React Native (#4755)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the wallet's profile management system, enhancing the `linkProfile` and `getProfiles` functionalities. It also updates the import paths and improves the organization of wallet-related hooks and types.

### Detailed summary
- Deleted `useAdminAccount.ts` and updated references to `useAdminWallet.ts`.
- Refactored `linkProfile` and `getProfiles` APIs for improved functionality.
- Updated import paths for `Ecosystem` type across multiple files.
- Consolidated wallet profiles logic in `useProfiles` hook.
- Enhanced error handling and type definitions in wallet connectors.
- Added `linkProfile` and `getProfiles` methods to `InAppNativeConnector` and `InAppWebConnector`.

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

<!-- end pr-codex -->
2024-09-24 04:05:00 +00:00
joaquim-verges d5312304f7 refactor: update contract implementation resolution and module info retrieval (#4779)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `InstalledModulesTable` component by incorporating `getContract` for fetching contract information and updating the bytecode retrieval process in the `usePublishedContractsFromDeploy` function.

### Detailed summary
- In `InstalledModulesTable.tsx`:
  - Updated `contractInfo` to use `getContract` with parameters `moduleAddress`, `chain`, and `client`.

- In `hooks.ts`:
  - Replaced `getBytecode` with `resolveImplementation` to fetch bytecode.

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

<!-- end pr-codex -->
2024-09-24 02:45:39 +00:00
dependabot[bot] b80b61b0a6 Bump react-native-quick-crypto from 0.7.4 to 0.7.5 (#4775)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-24 14:41:05 +12:00
dependabot[bot] d37e3fe6e3 Bump knip from 5.30.4 to 5.30.5 (#4773)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-23 14:13:22 -07:00
jnsdls 3b91dad963 Remove "push" script and task (#4762)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on modifying the `turbo.json` and `package.json` configuration files, specifically removing certain caching options and adjusting command scripts related to the build process.

### Detailed summary
- In `turbo.json`, removed the `push` configuration and its `cache` and `dependsOn` settings.
- In `package.json`, removed the `push` script that executed `turbo run push --filter=./packages/*`.

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

<!-- end pr-codex -->
2024-09-23 19:41:42 +00:00
Jonas Danielsandgithub-actions[bot] daf5fdafd5 Version Packages (#4761)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-23 12:40:27 -07:00
jnsdls 399ba2efd0 Improve storage upload error handling (#4763) 2024-09-23 18:30:36 +00:00
arcoraven 57a0e271b3 fix: Return 402 status if payment required (#4760)
<!-- start pr-codex -->

## PR-Codex overview
This PR addresses the handling of payment requirement errors in the `@thirdweb-dev/service-utils` package by changing the HTTP status code returned from `403` to `402`. This indicates that payment is required to proceed.

### Detailed summary
- Updated the status code returned in `usageLimit` functions from `403` to `402`.
- Modified the error message for `Storage Pinning` to reflect the change in status.
- Adjusted the error message for `Embedded Wallets` to align with the new status code.

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

<!-- end pr-codex -->
2024-09-23 18:13:37 +00:00
ElasticBottle 2d34771e18 fix: guest auth should use random session Ids (#4759)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing guest account creation by ensuring the uniqueness of guest session IDs and improving storage handling in the `thirdweb` package.

### Detailed summary
- Updated guest account creation to use unique session IDs.
- Introduced `GUEST_SESSION_LOCAL_STORAGE_NAME` constant for guest session storage.
- Implemented methods in `ClientScopedStorage` for managing guest session IDs.
- Modified `guestAuthenticate` to handle guest session IDs properly.

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

<!-- end pr-codex -->
2024-09-23 17:56:50 +00:00
jnsdls a2b4daafcf enfore more lint rules (#4754)
does what it says on the tin
2024-09-23 16:16:38 +00:00
Joaquim Verges b85fe2a59e feat(playground): update in-app wallet auth options and components (#4757) 2024-09-23 20:57:57 +12:00
kien-ngo 5293fba07e [Dashboard] ERC20 Airdrop form (#4722)
- add a new airdrop-upload form for ERC20 that doesn't open a second Drawer (shadcn Sheet)
- removing bunch of react-icons & chakra stuff in the process

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the Token Airdrop feature in the dashboard UI, improving user experience and code organization.

### Detailed summary
- Refactored Token Airdrop UI using `Sheet` component
- Improved error handling and notifications
- Updated Airdrop form layout and functionality

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/tokens/components/airdrop-upload-erc20.tsx`

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

<!-- end pr-codex -->
2024-09-23 08:53:21 +00:00
Joaquim Verges 294ec4dd0d refactor(playground): move in-app wallet layout and metadata to separate file (#4721) 2024-09-23 20:22:52 +12:00
Jonas Danielsandgithub-actions[bot] 5a4ef087ef Version Packages (#4742)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-23 19:17:14 +12:00
gregfromstl fc2ecdfd98 [React] Fix: hides guest accounts from linked profiles (#4687)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on hiding guest accounts from the linked profiles screen in React.

### Detailed summary
- Excludes guest profiles from being displayed on the linked profiles screen
- Updates the rendering logic to filter out guest profiles before displaying them

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

<!-- end pr-codex -->
2024-09-23 06:34:18 +00:00
joaquim-verges 33936b3a86 fix: handle BigInt serialization for ecosystem wallets (#4756)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to handle biging serialization for ecosystem wallets.

### Detailed summary
- Updated `signTypedData`, `signMessage`, and `signTransaction` functions to use `stringify` for serialization
- Improved handling of payload data in ecosystem wallets

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

<!-- end pr-codex -->
2024-09-23 05:29:44 +00:00
joaquim-verges 1133ccc239 fix: improve ABI resolution fallback (#4753)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing ABI resolution fallback in `resolve-abi.ts`.

### Detailed summary
- Removed unnecessary imports
- Updated ABI resolution logic with new imports
- Improved handling of root ABI merging
- Enhanced efficiency in joining ABIs

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

<!-- end pr-codex -->
2024-09-23 02:14:14 +00:00
kien-ngo 3eef910a24 [Dashboard] Remove HStack (#4749)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces changes to replace `HStack` with `div` using flex classes in various components for better styling consistency.

### Detailed summary
- Replaced `HStack` with `div` using flex classes in multiple components for styling consistency.

> The following files were skipped due to too many changes: `apps/dashboard/src/components/smart-wallets/SponsorshipPolicies/index.tsx`

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

<!-- end pr-codex -->
2024-09-23 01:29:48 +00:00
kien-ngo 3d52dd4587 [Dashboard] Remove VStack (#4748)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to replace the `VStack` components with `div` elements styled using Tailwind CSS classes for layout consistency and improved accessibility.

### Detailed summary
- Replaced `VStack` with `div` in multiple components for layout consistency
- Used Tailwind CSS classes for styling and spacing
- Improved accessibility and readability of the codebase

> The following files were skipped due to too many changes: `apps/dashboard/src/components/settings/Account/AccountForm.tsx`, `apps/dashboard/src/components/settings/Account/Usage.tsx`

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

<!-- end pr-codex -->
2024-09-23 01:29:46 +00:00
jnsdls 24ff6f2ab6 knip it in the... (#4751)
1. make `knip` a part of `packages/thirdweb`
2. clean up all the things
3. ???
4. profit

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on removing unused files, updating types, and deprecating constants.

### Detailed summary
- Removed unused files related to benchmarks, wallets, and UI components
- Updated type definitions in various files
- Deprecated and replaced constant `ADDRESS_ZERO` with `ZERO_ADDRESS`

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx`, `packages/thirdweb/src/pay/utils/definitions.ts`, `packages/thirdweb/src/utils/hashing/sha256.ts`, `packages/thirdweb/src/wallets/eip5792/show-calls-status.ts`, `packages/thirdweb/src/extensions/modules/ClaimableERC20/mint.ts`, `packages/thirdweb/src/react/web/wallets/shared/ConnectWalletSocialOptions.tsx`, `apps/portal/package.json`, `packages/thirdweb/src/extensions/modules/ClaimableERC721/mint.ts`, `packages/thirdweb/src/utils/hashing/hashMessage.ts`, `packages/thirdweb/src/react/native/ui/components/text.tsx`, `packages/thirdweb/src/utils/promise/resolve-promised-value.ts`, `packages/thirdweb/src/auth/core/verify-jwt.ts`, `packages/thirdweb/src/utils/hashing/keccak256.ts`, `packages/thirdweb/src/utils/uint8-array.ts`, `packages/thirdweb/src/react/core/design-system/CustomThemeProvider.tsx`, `packages/thirdweb/src/react/native/ui/connect/SendScreen.tsx`, `packages/thirdweb/src/react/web/ui/MediaRenderer/MediaRenderer.tsx`, `packages/thirdweb/src/gas/estimate-l1-fee.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/WalletSelector.tsx`, `packages/thirdweb/src/extensions/modules/MintableERC721/mintWithSignature.ts`, `packages/thirdweb/src/react/native/ui/connect/ExternalWalletsList.tsx`, `packages/thirdweb/src/exports/extensions/erc1155.ts`, `packages/thirdweb/src/extensions/modules/ClaimableERC1155/mint.ts`, `packages/thirdweb/src/extensions/modules/MintableERC1155/mintWithSignature.ts`, `packages/thirdweb/src/utils/encoding/helpers/trim.ts`, `packages/thirdweb/src/wallets/utils/getTokenBalance.ts`, `apps/dashboard/knip.json`, `packages/thirdweb/src/react/native/ui/connect/TokenListScreen.tsx`, `packages/thirdweb/src/extensions/vote/write/executeProposal.ts`, `packages/thirdweb/src/react/native/ui/components/spinner.tsx`, `packages/thirdweb/src/react/web/ui/MediaRenderer/ModelViewer.tsx`, `packages/thirdweb/src/transaction/extract-error.ts`, `packages/thirdweb/src/react/native/ui/components/button.tsx`, `packages/thirdweb/src/extensions/erc1155/write/updateTokenURI.ts`, `packages/thirdweb/src/wallets/interfaces/wallet.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/swap/useSwapSupportedChains.ts`, `packages/thirdweb/src/utils/storage/walletStorage.ts`, `packages/thirdweb/src/wallets/in-app/native/native-connector.ts`, `packages/thirdweb/src/extensions/erc20/write/sigMint.ts`, `packages/thirdweb/src/extensions/erc721/write/updateTokenURI.ts`, `packages/thirdweb/src/react/web/wallets/ecosystem/EcosystemWalletFormUI.tsx`, `packages/thirdweb/src/wallets/eip5792/wait-for-bundle.ts`, `packages/thirdweb/src/utils/jwt/jwt-header.ts`, `packages/thirdweb/src/extensions/modules/MintableERC20/mintWithSignature.ts`, `packages/thirdweb/src/exports/modules.ts`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletFormUI.tsx`, `packages/thirdweb/src/transaction/actions/wait-for-tx-receipt.ts`, `packages/thirdweb/src/auth/core/generate-jwt.ts`, `packages/thirdweb/src/react/core/hooks/transaction/useSendTransaction.ts`, `packages/thirdweb/src/exports/extensions/erc1271.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/main/useBuyTxStates.ts`, `packages/thirdweb/src/contract/deployment/publisher.ts`, `packages/thirdweb/src/extensions/erc721/drops/write/updateMetadata.ts`, `packages/thirdweb/src/extensions/erc1155/drops/write/updateMetadata.ts`, `packages/thirdweb/src/extensions/prebuilts/deploy-marketplace.ts`, `packages/thirdweb/src/wallets/in-app/native/auth/index.ts`, `packages/thirdweb/src/wallets/in-app/native/helpers/auth/middleware.ts`, `packages/thirdweb/src/utils/platform.ts`, `.github/CODEOWNERS`, `packages/thirdweb/src/wallets/in-app/web/lib/auth/index.ts`, `packages/thirdweb/src/react/core/utils/structuralSharing.ts`, `packages/thirdweb/src/react/core/hooks/transaction/useSendAndConfirmTransaction.ts`, `packages/thirdweb/src/extensions/prebuilts/get-required-transactions.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/FiatDetailsScreen.tsx`, `packages/thirdweb/src/extensions/ens/resolve-l2-name.ts`, `packages/thirdweb/src/utils/any-evm/deploy-metadata.ts`, `packages/thirdweb/src/cli/commands/generate/utils.ts`, `packages/thirdweb/src/extensions/farcaster/eip712Signatures/keyRequestSignature.ts`, `packages/thirdweb/src/extensions/airdrop/write/airdropERC20WithSignature.ts`, `packages/thirdweb/src/extensions/airdrop/write/airdropERC721WithSignature.ts`, `packages/thirdweb/src/transaction/actions/zksync/send-eip712-transaction.ts`, `packages/thirdweb/src/wallets/in-app/web/utils/iFrameCommunication/InAppWalletIframeCommunicator.ts`, `packages/thirdweb/src/utils/any-evm/zksync/constants.ts`, `packages/thirdweb/src/extensions/marketplace/direct-listings/utils.ts`, `packages/thirdweb/src/transaction/actions/gasless/send-gasless-transaction.ts`, `packages/thirdweb/src/extensions/prebuilts/deploy-vote.ts`, `packages/thirdweb/src/react/web/ui/components/Drawer.tsx`, `packages/thirdweb/src/extensions/airdrop/write/airdropERC1155WithSignature.ts`, `packages/thirdweb/src/react/core/hooks/others/useWalletBalance.ts`, `packages/thirdweb/src/extensions/permissions/utils.ts`, `packages/thirdweb/src/wallets/in-app/native/helpers/auth/logout.ts`, `packages/thirdweb/src/wallets/smart/lib/utils.ts`, `packages/thirdweb/src/react/web/ui/components/buttons.tsx`, `packages/thirdweb/src/react/web/ui/prebuilt/thirdweb/ClaimButton/index.tsx`, `packages/thirdweb/src/wallets/wallet-connect/receiver/index.ts`, `packages/thirdweb/src/transaction/actions/gasless/providers/engine.ts`, `packages/thirdweb/src/transaction/actions/gasless/providers/openzeppelin.ts`, `packages/thirdweb/src/wallets/in-app/web/types.ts`, `packages/thirdweb/src/extensions/airdrop/write/claimERC20.ts`, `packages/thirdweb/test/globalSetup.ts`, `packages/thirdweb/src/extensions/erc721/read/getAllOwners.ts`, `packages/thirdweb/src/wallets/smart/lib/userop.ts`, `packages/thirdweb/src/wallets/in-app/native/helpers/wallet/retrieval.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/iframe-wallet.ts`, `packages/thirdweb/src/react/web/ui/TransactionButton/TransactionModal.tsx`, `packages/thirdweb/src/react/native/ui/connect/ConnectedModal.tsx`, `packages/thirdweb/src/extensions/erc4337/account/common.ts`, `packages/thirdweb/test/vitest.config.ts`, `packages/thirdweb/src/exports/extensions/farcaster.ts`, `packages/thirdweb/src/exports/chains.ts`, `packages/thirdweb/src/extensions/erc4337/account/permissions.test.ts`, `packages/thirdweb/src/wallets/in-app/core/constants/settings.ts`, `packages/thirdweb/scripts/typedoc.mjs`, `packages/thirdweb/src/extensions/airdrop/write/merkleInfoERC20.ts`, `packages/thirdweb/src/utils/extensions/drops/hash-entry.ts`, `packages/thirdweb/src/extensions/farcaster/eip712Signatures/registerSignature.ts`, `packages/thirdweb/src/react/native/ui/icons/svgs.ts`, `packages/thirdweb/src/transaction/actions/gasless/providers/biconomy.ts`, `packages/thirdweb/src/extensions/farcaster/eip712Signatures/addSignature.ts`, `packages/thirdweb/src/react/web/ui/AutoConnect/AutoConnect.tsx`, `packages/thirdweb/src/react/native/ui/AutoConnect/AutoConnect.tsx`, `packages/service-utils/package.json`, `packages/thirdweb/src/stories/utils.tsx`, `packages/thirdweb/src/react/core/utils/defaultTokens.ts`, `package.json`, `packages/thirdweb/knip.json`, `packages/thirdweb/src/pay/buyWithCrypto/getStatus.ts`, `packages/thirdweb/src/exports/extensions/marketplace.ts`, `packages/thirdweb/src/utils/semver.ts`, `packages/thirdweb/src/extensions/uniswap/read/getUniswapV3Pools.ts`, `apps/dashboard/package.json`, `packages/thirdweb/src/utils/royalty-engine.ts`, `packages/react-native-adapter/package.json`, `packages/thirdweb/src/wallets/in-app/core/authentication/types.ts`, `packages/thirdweb/src/contract/deployment/deploy-deterministic.ts`, `packages/thirdweb/src/contract/deployment/utils/infra.ts`, `packages/thirdweb/src/wallets/injected/index.ts`, `packages/thirdweb/src/wallets/smart/lib/packUserOp.ts`, `packages/thirdweb/src/wallets/in-app/native/helpers/storage/local.ts`, `packages/thirdweb/src/react/web/ui/components/ChainIcon.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistory.tsx`, `packages/thirdweb/src/wallets/in-app/native/helpers/constants.ts`, `packages/thirdweb/src/wallets/in-app/native/helpers/api/fetchers.ts`, `packages/thirdweb/package.json`, `packages/thirdweb/src/react/core/utils/walletIcon.ts`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-09-23 00:00:12 +00:00
Joaquim Verges e9ae98084a feat(ReactNative): respect icon theme color in wallet UI (#4752) 2024-09-23 11:56:47 +12:00
MananTank d936d4e5b9 Remove permissions form field in ecosystem partners page + UI adjusments (#4747)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR removes unused code related to partner permissions and updates UI components in the dashboard ecosystem section.

### Detailed summary
- Removed unused `PartnerPermission` type and related code
- Updated UI components in the dashboard ecosystem section for better user experience

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/add-partner-form.client.tsx`

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

<!-- end pr-codex -->
2024-09-21 22:51:27 +00:00
MananTank bc7288370c Migrate Network Config Modal from chakra to shadcn/tailwind (#4745)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR removes unused components, updates UI elements, and refactors form fields in the dashboard application.

### Detailed summary
- Deleted `TooltipBox.tsx` and `ConfirmationPopover.tsx`
- Updated UI elements in `IconUpload.tsx` and `ConfigureNetworkModal.tsx`
- Refactored form fields in `ChainIdInput.tsx`, `RpcInput.tsx`, and `NetworkIDInput.tsx`

> The following files were skipped due to too many changes: `apps/dashboard/src/@/components/ui/radio-group.tsx`, `apps/dashboard/src/components/configure-networks/ConfigureNetworkForm.tsx`

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

<!-- end pr-codex -->
2024-09-21 21:24:47 +00:00
MananTank 0a4e44575d Remove all chain override contexts and move to global store (#4743)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor chain-related functionality and imports, update TypeScript types, and improve store management.

### Detailed summary
- Refactored chain-related functionality and imports
- Updated TypeScript types for chain mapping
- Improved store management for chains
- Updated API calls for chain data
- Removed unused hooks and contexts

> The following files were skipped due to too many changes: `apps/dashboard/src/components/configure-networks/ConfigureNetworkModal.tsx`, `apps/dashboard/src/contract-ui/tabs/account-permissions/components/account-signer.tsx`, `apps/dashboard/src/contract-ui/tabs/split/page.tsx`, `apps/dashboard/src/stores/SyncStoreToStorage.tsx`, `apps/dashboard/src/components/contract-components/contract-publish-form/NetworkDropdown.tsx`, `apps/dashboard/src/components/configure-networks/Form/NetworkIdInput.tsx`, `apps/dashboard/src/contract-ui/tabs/embed/components/embed-setup.tsx`, `apps/dashboard/src/contract-ui/tabs/code/components/code-overview.tsx`, `apps/dashboard/src/components/engine/contract-subscription/contract-subscriptions-table.tsx`, `apps/dashboard/src/components/buttons/MismatchButton.tsx`, `apps/dashboard/src/components/selects/NetworkSelectDropdown.tsx`, `apps/dashboard/src/components/selects/CustomChainRenderer.tsx`, `apps/dashboard/src/components/app-layouts/app.tsx`, `apps/dashboard/src/components/contract-components/published-contract/addresses-modal.tsx`, `apps/dashboard/src/components/contract-components/tables/deployed-contracts.tsx`, `apps/dashboard/src/lib/v5-adapter.ts`, `apps/dashboard/src/components/engine/overview/transactions-table.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useRegistry.ts`, `apps/dashboard/src/stores/chainStores.tsx`, `apps/dashboard/src/components/engine/relayer/relayers-table.tsx`, `apps/dashboard/src/components/configure-networks/ConfigureNetworkForm.tsx`, `apps/dashboard/src/hooks/chains/allChains.ts`, `apps/dashboard/src/pages/[chain_id]/[...paths].tsx`, `apps/dashboard/src/components/selects/NetworkSelectorButton.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/components/connect-wallet/index.tsx`

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

<!-- end pr-codex -->
2024-09-21 21:10:49 +00:00
arcoraven f2307fde02 chore: show min version number (#4744)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the alert management feature message for cloud-hosted Engines to specify version requirement.

### Detailed summary
- Updated alert management feature message for cloud-hosted Engines to require v2.0.10 or later.

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

<!-- end pr-codex -->
2024-09-21 16:30:43 +00:00
kien-ngo a4dac95630 [SDK] Fix jsdoc for getCLaimParams (#4738)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to fix the JSDoc for the `getClaimParams` function in the `thirdweb` package.

### Detailed summary
- Updated JSDoc for `getClaimParams` in `thirdweb/utils` directory.
- Changed import path from `thirdweb/extensions/erc1155` to `thirdweb/utils`.

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

<!-- end pr-codex -->
2024-09-21 11:08:35 +00:00
Jonas Danielsandgithub-actions[bot] f424d0ab2d Version Packages (#4741)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-21 22:46:48 +12:00
Joaquim Verges 915442e1c4 feat: enable wallet linking and guest mode for ecosystem wallets (#4740) 2024-09-21 22:31:25 +12:00
Jonas Danielsandgithub-actions[bot] 89728c6578 Version Packages (#4739)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-21 19:43:51 +12:00
Joaquim Verges 2707db136e feat: allow linking identities when using in-app + smart wallets (#4737) 2024-09-21 19:34:23 +12:00
Jonas Danielsandgithub-actions[bot] ca23a95bfd Version Packages (#4735)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-21 14:27:50 +12:00
Joaquim Verges 997bfa84cc Update pregenerate docs (#4736)
Signed-off-by: Joaquim Verges <[email protected]>
2024-09-21 13:14:48 +12:00
gregfromstl 824b1bdb69 [SDK] Feature: Ecosystem account linking (#4733)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enables account linking for ecosystem wallets.

### Detailed summary
- Added support for ecosystem wallets in account linking functionality
- Updated conditions for multi-auth support in various components
- Imported and utilized `isEcosystemWallet` function in multiple files
- Modified functions to handle both in-app and ecosystem wallets in account linking operations

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

<!-- end pr-codex -->
2024-09-21 01:01:07 +00:00
Joaquim Verges 6e3669d384 chore(docs): update embedded wallet API endpoint (#4734) 2024-09-21 11:54:20 +12:00
gregfromstl 09eb0e6a3f Fix/pregen docs (#4732)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the structure of the `wallet` object in the `page.mdx` file to include `address` and `createdAt` properties.

### Detailed summary
- Updated the `wallet` object in `page.mdx` to include `address` and `createdAt` properties.

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

<!-- end pr-codex -->
2024-09-20 23:37:40 +00:00
gregfromstl 786ef9d777 Docs: Get User Page (#4730)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add guides for retrieving user details from the server using In-App Wallets and pregenerating user wallets.

### Detailed summary
- Added guide for retrieving In-App Wallet user details on the server
- Added guide for pregenerating user wallets
- Updated sidebar links for better navigation

> The following files were skipped due to too many changes: `apps/portal/src/app/connect/sidebar.tsx`, `apps/portal/redirects.mjs`

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

<!-- end pr-codex -->
2024-09-20 23:11:42 +00:00
Joaquim Verges f8e69989a3 feat(playground): update ecosystem for prod (#4731) 2024-09-21 10:52:32 +12:00
Jonas Danielsandgithub-actions[bot] 07d191bd8b Version Packages (#4710)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-21 10:12:04 +12:00
arcoraven f8d3578bbc Add Engine Alerts to dashboard (#4695)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds alert management features to the dashboard, including alert rules, notifications, and recent alerts.

### Detailed summary
- Added alert management pages and components
- Updated cache keys for alert-related data
- Improved styling for autofilled inputs
- Created modals for deleting alerts
- Added stubs for alert-related entities
- Implemented UI components for recent alerts section

> The following files were skipped due to too many changes: `apps/dashboard/src/components/engine/alerts/RecentEngineAlerts.tsx`, `apps/dashboard/src/components/engine/alerts/ManageEngineAlerts.stories.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts`, `apps/dashboard/src/components/engine/alerts/EngineAlertDialogForm.tsx`, `apps/dashboard/src/components/engine/alerts/ManageEngineAlerts.tsx`

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

<!-- end pr-codex -->
2024-09-20 22:02:01 +00:00
MananTank 60a77e0b31 Fix '0' rendered in Contract Overview page (#4729)
Because `0 && <div />` returns `0` and react renders `0`
2024-09-20 20:41:13 +00:00
MananTank eb79810afa Replace all isLoading to isPending in dashboard (#4728)
### Why?

we recently moved from react-query v4 to v5.

In v5, `isLoading` is now called `isPending`

but we haven't changed `isLoading` to `isPending` and that has introduced some bugs related to loading spinners/skeletons where they are not shown if the query is not currently being fetched (not enabled yet)

`isLoading` is no longer `true` from the beggining as it is assumed to be throughout the codebase in v5 - it is only true when a fetch is in-flight

To get a the "loading" state in v5 - we should be using the `isPending` state. `isPending` is true  -> "if there's no cached data and no query attempt was finished yet" according to the docs:

https://tanstack.com/query/latest/docs/framework/react/guides/migrating-to-v5#status-loading-has-been-changed-to-status-pending-and-isloading-has-been-changed-to-ispending-and-isinitialloading-has-now-been-renamed-to-isloading

in v5 , `isLoading` is  `isFetching && isPending`
2024-09-20 20:41:11 +00:00
MananTank 200e8da84b Fix login page centered layout + some UI adjustments (#4726)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the styling of the login page in the dashboard app for better UI/UX.

### Detailed summary
- Updated main layout and styling of the login page
- Adjusted heading size and alignment
- Applied shadow to the custom connect component
- Positioned background image dynamically based on screen size

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

<!-- end pr-codex -->
2024-09-20 17:05:54 +00:00
MananTank 2ece661620 Remove Configure Network Modal contexts + Fix in App Router (#4725)
FIXES: DASH-259
2024-09-20 16:55:21 +00:00
MananTank fb92f873cd Fix body height issue in dashboard (#4724)
Fixes body not expanding to content size:

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/de2d88d4-db8c-4325-9135-8fc3d400a75b.png)
2024-09-20 14:15:20 +00:00
arcoraven 63ada206a4 Add Engine troubleshooting page (#4723)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a troubleshooting page with detailed explanations and solutions for common transaction issues in the Engine application.

### Detailed summary
- Added troubleshooting page for transaction issues
- Imported `OutOfGasImage` for visual aid
- Provided detailed explanations and resolutions for common transaction errors

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

<!-- end pr-codex -->
2024-09-20 06:56:18 +00:00
joaquim-verges 7d547a4e33 fix: show user info for ecosystem wallets (#4715)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing the display of user information for ecosystem wallets in the Thirdweb application.

### Detailed summary
- Updated function name from `getEnclaveUserStatus` to `getUserStatus` in multiple files.
- Modified parameters in functions to include `ecosystem` for ecosystem wallets.
- Updated caching mechanism for InAppWalletConnector.
- Added logic to handle ecosystem wallets in `InAppWalletUserInfo` component.

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

<!-- end pr-codex -->
2024-09-20 03:35:18 +00:00
greg c1008a5314 [SDK] Feature: Enclave migration (#4684) 2024-09-20 15:11:36 +12:00
gregfromstl 11a833e1dc [React] Fix: Improve social button icon arrangement (#4718)
![Screenshot 2024-09-19 at 5 13 13 PM](https://github.com/user-attachments/assets/ae06781e-6b44-4231-9385-0a4ac27be563)
![Screenshot 2024-09-19 at 5 13 07 PM](https://github.com/user-attachments/assets/23b3f073-b6ab-4aae-8be8-a5820763cd65)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR improves the layout of social icons in the Connect UI by organizing them into columns for better user experience.

### Detailed summary
- Added logic to arrange social icons into columns based on the number of login options
- Updated the layout of social buttons to display them in columns instead of a row

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

<!-- end pr-codex -->
2024-09-20 01:29:03 +00:00
joaquim-verges c67d8a9dd2 feat(playground): add ecosystem and sponsored transaction pages for in-app wallet (#4719)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the in-app wallet feature by adding expanded navigation links, ecosystem connection, and sponsored transaction previews.

### Detailed summary
- Added expanded navigation links in the in-app wallet section
- Implemented ecosystem connection functionality
- Included sponsored transaction previews for in-app wallets

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

<!-- end pr-codex -->
2024-09-20 01:10:26 +00:00
gregfromstl dab7b4ebd8 style(dashboard): add padding to partners table (#4713)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to rename `EcosystemRow` component to `PartnerRow` and update styling in the partners table.

### Detailed summary
- Renamed `EcosystemRow` component to `PartnerRow`.
- Updated styling in the partners table for better alignment.

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

<!-- end pr-codex -->
2024-09-20 00:46:44 +00:00
MananTank a491d8bd7c Show Deterministic Deploy warning banner if constructor params exist (#4717)
FIXES DASH-257

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the Custom Contract Form in the dashboard by adding a warning for deterministic deployment.

### Detailed summary
- Added `CircleAlertIcon` and warning message for deterministic deployment
- Updated the layout of the deterministic deploy checkbox and warning display

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

<!-- end pr-codex -->
2024-09-20 00:26:34 +00:00
joaquim-verges a7b3d0e72c feat: remove prompting for enclave ecosystem wallets (#4711)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR removes the usage of `getEcosystemPartnerPermissions` function and related logic in `IFrameWallet` class.

### Detailed summary
- Removed `getEcosystemPartnerPermissions` function usage
- Removed logic related to partner permissions and showing the iframe based on permissions

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

<!-- end pr-codex -->
2024-09-20 00:04:05 +00:00
gregfromstl b0337849a5 [React] Feature: Shows the social provider name in details modal (#4709)
![Screenshot 2024-09-19 at 2 22 09 PM](https://github.com/user-attachments/assets/9c8a14e9-3328-4e6f-8d56-0c420bdeea17)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on displaying the social login provider in the details modal for wallet connections.

### Detailed summary
- Added `SocialAuthOption` type and `socialAuthOptions` import
- Updated logic to display social login provider in details modal based on active wallet and last auth provider

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

<!-- end pr-codex -->
2024-09-19 23:45:23 +00:00
MananTank 3229e1f03c Fix Explorer page component re-renders (#4716)
FIXES: DASH-207
2024-09-19 23:34:04 +00:00
gregfromstl f228e03ecc [Playground] Fix: Correct IAW checkbox labels (#4708)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `InAppWalletFormGroup` component to dynamically generate unique IDs for `htmlFor` and `id` attributes based on the `method`.

### Detailed summary
- Dynamically generate unique IDs for `htmlFor` and `id` attributes based on the `method` value in `InAppWalletFormGroup.tsx`

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

<!-- end pr-codex -->
2024-09-19 22:05:35 +00:00
gregfromstl 0a7448cb2b [SDK] Feature: Coinbase login (#4692)
DO NOT MERGE, needs IAW PR to merge first

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces Coinbase as a new authentication option across various wallet-related components.

### Detailed summary
- Added `coinbase` as an authentication option in wallets
- Updated icons and authentication types to include Coinbase
- Updated in-app wallet authentication types to include Coinbase
- Updated login and connection options to support Coinbase

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

<!-- end pr-codex -->
2024-09-19 21:29:08 +00:00
jnsdls f51dd8f1ac ban createContext usage from dashboard (#4707)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/VXaCVgbx1DROqoQd8UuD/786700f4-1588-4238-a7eb-884c2df54584.png)
2024-09-19 21:02:18 +00:00
MananTank 448dc21cba Add multi-select component that can render thousands of options efficiently (#4698)
## Problem solved

Added this to use it for multi network selector component. The current multi network selector component is abysmally slow.

This component is not added to website yet on this PR - coming up in next stack

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/911a10ef-405b-4dab-8da8-ab008a1fca73.png)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding a `useShowMore` hook for lazy loading items and a `MultiSelect` component with search functionality and item selection.

### Detailed summary
- Added `useShowMore` hook for lazy loading items in `useShowMore.ts`
- Implemented `MultiSelect` component with search, selection, and display options in `multi-select.tsx`
- Created stories for `MultiSelect` component variations in `multi-select.stories.tsx`

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

<!-- end pr-codex -->
2024-09-19 19:53:54 +00:00
jnsdls 2a51d3c5ae improve deploy deterministic test accuracy (#4706) 2024-09-19 19:25:01 +00:00
gregfromstl 80a2eba0f4 [SDK] Feature: Enclave wallets (#4651)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the enclave wallet functionality by adding new types and methods for wallet setup, authentication, and actions.

### Detailed summary
- Added `IWebWallet` interface with new methods
- Updated wallet setup and authentication types
- Implemented actions for enclave wallet generation, signing messages, transactions, and typed data
- Modified `IFrameWallet` class for wallet setup
- Added new authentication methods for enclave wallets

> The following files were skipped due to too many changes: `packages/thirdweb/src/wallets/in-app/web/lib/auth/iframe-auth.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/enclave-wallet.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts`

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

<!-- end pr-codex -->
2024-09-19 18:46:23 +00:00
Yash 5b48590034 add faq for account abstraction - trusted forwarders (#4705) 2024-09-19 10:45:42 -07:00
Jonas Daniels 8fa6227fe4 Refactor client authentication logic (#4703) 2024-09-19 09:45:11 -07:00
arcoraven fbffa718b4 Fix: Add keypair auth ID to table (#4700)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `.env.example` file with a new API server secret and adds a new column to display Key ID in the `keypairs-table.tsx` component.

### Detailed summary
- Updated API_SERVER_SECRET in `.env.example`
- Added a new column to display Key ID in `keypairs-table.tsx`

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

<!-- end pr-codex -->
2024-09-19 16:27:18 +00:00
kien-ngo 9e11c15c2d [Dashboard] Clean up some clipboard code (#4702)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a `useClipboard` custom hook to manage clipboard functionality in multiple components, replacing direct clipboard interactions with a reusable hook.

### Detailed summary
- Introduced `useClipboard` custom hook for clipboard functionality
- Replaced direct clipboard interactions with `useClipboard` in `CopyButton.tsx`, `CopyTextButton.tsx`, and `WalletAddress.tsx`
- Removed `useState` for managing copied state in favor of `useClipboard` in all affected components

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

<!-- end pr-codex -->
2024-09-19 16:18:43 +00:00
kien-ngo 5c23e5237f [Dashboard] Remove chakra-ui Flex (2) (#4699)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates various components to replace `<Flex>` with `<div>` for styling consistency.

### Detailed summary
- Replaced `<Flex>` with `<div>` in multiple components for styling consistency.

> The following files were skipped due to too many changes: `apps/dashboard/src/components/mission/MajorSection.tsx`

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

<!-- end pr-codex -->
2024-09-19 14:50:39 +00:00
kien-ngo a16293a10c [Dashboard] Remove chakra <Flex/ > (1) (#4697)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates various components to replace `<Flex>` with `<div>` for styling consistency.

### Detailed summary
- Replaces `<Flex>` with `<div>` in multiple components for styling consistency.

> The following files were skipped due to too many changes: `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/credits/SettingsCreditsPage.tsx`, `apps/dashboard/src/pages/dashboard/settings/devices.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/usage/UsagePage.tsx`, `apps/dashboard/src/components/dashboard/Changelog.tsx`, `apps/dashboard/src/pages/dashboard/settings/api-keys/index.tsx`

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

<!-- end pr-codex -->
2024-09-19 14:50:34 +00:00
Jonas Danielsandgithub-actions[bot] 7ff46a50d2 Version Packages (#4694)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-19 22:08:29 +12:00
Joaquim Verges 0c97d7965e Handle default chain when connecting via redirect URL (#4696) 2024-09-19 22:00:25 +12:00
jnsdls 4a87109289 Fix getClaimConditions for ERC20, ERC721, and ERC1155 (#4693)
FIXES: DASH-249
2024-09-19 06:35:12 +00:00
jnsdls dddf95daca v2 auth endpoints (#4689)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a new API server secret variable and update authentication actions to use it securely.

### Detailed summary
- Added `API_SERVER_SECRET` variable in `.env.example`
- Updated authentication actions to use `API_SERVER_SECRET` securely
- Replaced `json.token` with `jwt` for better security

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

<!-- end pr-codex -->
2024-09-19 05:55:18 +00:00
jnsdls 06cd6a62d9 fix split deployments (#4690)
FIXES: DASH-253
2024-09-19 05:29:13 +00:00
Jonas Danielsandgithub-actions[bot] 51510a1358 Version Packages (#4688)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-19 16:39:09 +12:00
gregfromstl 89d517d375 [Dashboard] Feature: Adds SDK card to AA page (#4683)
![Screenshot 2024-09-18 at 4 28 05 PM](https://github.com/user-attachments/assets/3d634e42-0cc5-40ea-9443-d96408dbc803)

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the Connect SDK card component across multiple files for improved consistency and customization.

### Detailed summary
- Updated the `ConnectSDKCard` component to accept `title` and `description` props for customization.
- Modified the usage of `ConnectSDKCard` in various files to include custom titles and descriptions.
- Adjusted tab names and functionality in the `SmartWallets` component for clarity and consistency.

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

<!-- end pr-codex -->
2024-09-19 03:59:16 +00:00
jnsdls 25f0975a3f Remove portal.usecontext.io from CSP script-src (#4681) 2024-09-19 03:46:14 +00:00
gregfromstl 1b8946408c [SDK] Fix: Use legacy transactions for Polygon zkEVM Cardona Testnet (#4686)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enforces legacy transactions on the Polygon zkEVM Cardona Testnet for `thirdweb`.

### Detailed summary
- Updated gas fee data to include legacy transactions for Polygon zkEVM Cardona Testnet.

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

<!-- end pr-codex -->
2024-09-19 03:35:08 +00:00
jnsdls 37927d6358 massively simplify overriding thirdweb domains in dev / preview (#4682) 2024-09-19 03:21:15 +00:00
gregfromstl 00f2d6e938 [Playground] Fix: do not disconnect non in app wallets (#4685)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR removes unused code related to wallet management in the `SponsoredInAppTxPreview` component.

### Detailed summary
- Removed unused `useActiveWallet` and `useDisconnect` imports
- Removed `wallet` and `disconnect` state and effect
- Updated usage of `useActiveAccount` for `smartAccount`

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

<!-- end pr-codex -->
2024-09-19 02:59:41 +00:00
gregfromstl 0dfba3094c [Playground] Chore: Allow overriding default domains with env vars (#4679)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to set Thirdweb domains dynamically based on environment variables.

### Detailed summary
- Added import for `setThirdwebDomains` from "thirdweb/utils"
- Set Thirdweb domains using environment variables for inAppWallet, rpc, social, storage, bundler, and pay
- Configured Thirdweb client with `THIRDWEB_SECRET_KEY` from environment variables

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

<!-- end pr-codex -->
2024-09-18 23:59:40 +00:00
Jonas Danielsandgithub-actions[bot] b76d298245 Version Packages (#4666)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-19 11:01:37 +12:00
kien-ngo c13058a711 [Dashboard] ERC20 Claim form (#4669)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors the token claim functionality by replacing a Drawer with a Sheet component and updating UI elements for a better user experience.

### Detailed summary
- Replaced `Drawer` with `Sheet` component for better UI
- Updated UI elements like buttons, form controls, and labels
- Added transaction handling logic for claiming tokens

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

<!-- end pr-codex -->
2024-09-18 22:32:21 +00:00
jnsdls a78e50413e cleanup posthog (#4678)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates PostHog dependencies across multiple files, replacing `posthog-js-opensource` with `posthog-js` for consistency and version upgrades.

### Detailed summary
- Replaced `posthog-js-opensource` imports with `posthog-js` in multiple files
- Updated `posthog-js` version to "1.67.1" in various package.json files

> 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-09-18 22:19:14 +00:00
MananTank 3c72aeb8f3 Team layout UI adjustments (#4680)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds upgrade team links to various components and improves search functionality by making it case-insensitive.

### Detailed summary
- Added `upgradeTeamLink` prop to `TeamHeaderUI`, `TeamAndProjectSelectorPopoverButton`, `TeamSelectorMobileMenuButton`, and `TeamSelectionUI`
- Modified search functionality to be case-insensitive for projects and teams
- Updated `TeamSelectorMobileMenuButton` prop name to `TeamSelectorMobileMenuButtonProps`
- Adjusted `TeamSelectionUI` to use the `upgradeTeamLink` prop for displaying an upgrade button

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

<!-- end pr-codex -->
2024-09-18 22:02:12 +00:00
MananTank 90662e8e49 Move pay webhooks tab to page with route in project/connect (#4677)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor and improve the Pay feature in the dashboard by renaming components and updating page structures.

### Detailed summary
- Renamed `WebhooksPage` component to `PayWebhooksPage`.
- Updated page structures and components related to Pay feature.
- Refactored and improved code readability in the Pay feature section.

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

<!-- end pr-codex -->
2024-09-18 22:02:12 +00:00
MananTank 80893aa085 Remove Pay settings tab in project/connect (#4676)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the `PayPageUI` component to use `clientId` instead of `apiKey` for simplicity and clarity.

### Detailed summary
- Updated `PayPageUI` component to accept `clientId` as a string instead of `apiKey`
- Removed unnecessary fields from `apiKey` object
- Updated references to `props.apiKey.key` to `props.clientId` in `PayPageUI` component

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

<!-- end pr-codex -->
2024-09-18 22:02:11 +00:00
MananTank a587ebf125 Remove AA settings from project/connect (#4675)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to replace the `SmartWallets` component with `AccountFactories` in the `AccountAbstractionPage.tsx`.

### Detailed summary
- Replaced `SmartWallets` component with `AccountFactories`.
- Updated component import paths.
- Added a comment for future improvement.

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

<!-- end pr-codex -->
2024-09-18 22:02:11 +00:00
MananTank 009edeb5f5 Remove In-app wallet settings from project/connect (#4674)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to rename the `Users` component to `InAppWalletUsersPageContent` for clarity and consistency in the embedded wallets feature.

### Detailed summary
- Renamed `Users` component to `InAppWalletUsersPageContent` for clarity
- Updated references to the renamed component in multiple files

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

<!-- end pr-codex -->
2024-09-18 22:02:10 +00:00
MananTank f5a5078ff5 Add Account Abstraction settings in product settings layout (chakra) (#4668)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
**Focus:** Refactoring SponsorshipPolicies to AccountAbstractionSettingsPage for better clarity and consistency.

### Detailed summary
- Renamed `SponsorshipPolicies` to `AccountAbstractionSettingsPage` for clarity
- Updated imports and references accordingly
- Updated form schema and component name
- Improved variable names and code readability

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

<!-- end pr-codex -->
2024-09-18 22:02:10 +00:00
MananTank c08b3b56b2 Add in-app wallet settings on project settings layout (#4667)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the `Configure` component to `InAppWalletSettingsPage` and update its usage throughout the codebase.

### Detailed summary
- Renamed `Configure` component to `InAppWalletSettingsPage`
- Updated references to `Configure` component to `InAppWalletSettingsPage`
- Updated component props and types for consistency
- Added a new page file for in-app wallet settings with API key retrieval logic

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

<!-- end pr-codex -->
2024-09-18 22:02:09 +00:00
MananTank 4bda0cedc4 Remove posthog cloud (#4671)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update dependencies, remove `posthog-js`, adjust script sources, and optimize the Next.js configuration.

### Detailed summary
- Updated `posthog-js` to `posthog-js-opensource`
- Removed `posthog-js` initialization in `_app.tsx`
- Adjusted script sources in `next.config.js`
- Optimized Next.js configuration for better performance

> 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-09-18 20:03:39 +00:00
jnsdls 32dbdab4e9 add contract deployment analytics back (#4672)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add event tracking using `useTrack` hook in the custom contract deployment form.

### Detailed summary
- Added `useTrack` hook for event tracking
- Implemented tracking for contract deployment events
- Added tracking for adding contract to dashboard
- Implemented error tracking for deployment failures

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

<!-- end pr-codex -->
2024-09-18 19:08:50 +00:00
jnsdls 406de39ecd handle JWT directly in thirdwebClient (#4659)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates dependencies, simplifies ERC721 and ERC1155 updateMetadata extension params, and allows using valid JWTs for authorization.

### Detailed summary
- Updated `tailwindcss` to versions `3.4.12`
- Added `JWTString` type for valid JWTs
- Simplified updateMetadata extension params for ERC721 and ERC1155
- Updated dependencies in various packages
- Removed unnecessary imports and components
- Refactored code to use `getThirdwebClient()` consistently

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/account/components/account-balance.tsx`, `packages/service-utils/package.json`, `apps/dashboard/src/components/wallets/ConnectWalletMiniPlayground/MiniPlayground.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/components/server/chain-icon.tsx`, `apps/dashboard/src/components/wallets/PosthogIdentifier.tsx`, `apps/dashboard/src/@/constants/thirdweb.server.ts`, `apps/dashboard/src/contract-ui/tabs/listings/components/list-form.tsx`, `packages/thirdweb/package.json`, `apps/dashboard/src/pages/api/frame/base/get-tx-frame.ts`, `apps/dashboard/src/lib/rpc.ts`, `apps/dashboard/src/contract-ui/tabs/manage/components/getModuleInstalledParams.ts`, `apps/dashboard/src/components/contract-components/publisher/masked-avatar.tsx`, `apps/dashboard/src/components/smart-wallets/AccountFactories/account-cell.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/create/hooks/use-create-ecosystem.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/opengraph-image.tsx`, `apps/dashboard/src/components/contract-components/publisher/edit-profile.tsx`, `apps/dashboard/src/tw-components/nft-media.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/ecosystem-header.client.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/live-stats.tsx`, `packages/thirdweb/src/utils/fetch.test.ts`, `apps/dashboard/src/components/engine/contract-subscription/contract-subscriptions-table.tsx`, `apps/dashboard/src/app/(dashboard)/contracts/deploy/[compiler_uri]/page.tsx`, `apps/dashboard/src/components/engine/contract-subscription/add-contract-subscription-button.tsx`, `apps/dashboard/src/contract-ui/tabs/account/components/deposit-native.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/utils/publishedContractOGImageTemplate.tsx`, `apps/dashboard/src/components/custom-contract/contract-header/metadata-header.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/utils/getPublishedContractsWithPublisherMapping.ts`, `apps/dashboard/src/app/login/page.tsx`, `apps/dashboard/src/contract-ui/hooks/useContractSources.ts`, `apps/dashboard/src/app/(dashboard)/tools/transaction-simulator/components/TransactionSimulator.tsx`, `apps/dashboard/src/components/selects/NetworkSelectorButton.tsx`, `apps/dashboard/src/contract-ui/tabs/split/page.tsx`, `apps/dashboard/src/components/ipfs-upload/dropzone.tsx`, `apps/dashboard/src/utils/tx-frame.ts`, `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/snapshot-upload.tsx`, `apps/dashboard/src/components/explore/contract-card/index.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/PayModal.tsx`, `apps/dashboard/src/components/contract-components/contract-publish-form/index.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/airdrop-upload.tsx`, `packages/thirdweb/src/client/client.test.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/tx/[txHash]/page.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/FaucetButton.tsx`, `apps/dashboard/src/components/contract-components/tables/cells.tsx`, `packages/thirdweb/src/extensions/erc721/drops/write/updateMetadata.ts`, `packages/thirdweb/src/utils/fetch.ts`, `apps/dashboard/src/@3rdweb-sdk/react/components/connect-wallet/index.tsx`, `apps/dashboard/src/@/constants/thirdweb.client.ts`, `apps/dashboard/src/app/(dashboard)/contracts/publish/[publish_uri]/page.tsx`, `apps/dashboard/src/components/smart-wallets/AccountFactories/index.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/[version]/page.tsx`, `packages/thirdweb/src/client/client.ts`, `packages/thirdweb/src/extensions/erc1155/drops/write/updateMetadata.ts`, `apps/dashboard/src/contract-ui/tabs/proposals/components/proposal-button.tsx`, `apps/dashboard/src/lib/ens.ts`, `apps/dashboard/src/@/components/blocks/wallet-address.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/cache-keys.ts`, `apps/dashboard/src/components/contract-components/contract-deploy-form/custom-contract.tsx`, `apps/dashboard/src/components/buttons/MismatchButton.tsx`, `apps/dashboard/src/contract-ui/tabs/manage/components/ModuleForm.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/components/publish-based-deploy.tsx`, `apps/dashboard/src/contract-ui/tabs/proposals/page.tsx`, `apps/dashboard/src/contract-ui/tabs/proposals/components/proposal-form.tsx`, `apps/dashboard/src/components/contract-components/fetch-contracts-with-versions.ts`, `apps/dashboard/src/contract-ui/tabs/proposals/components/delegate-button.tsx`, `apps/dashboard/src/components/contract-components/hooks.ts`, `apps/dashboard/src/contract-ui/tabs/manage/page.tsx`, `apps/dashboard/src/pages/[chain_id]/[...paths].tsx`, `apps/dashboard/src/contract-ui/tabs/sources/page.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useSplit.ts`, `apps/dashboard/src/components/contract-components/published-contract/index.tsx`, `apps/dashboard/src/contract-ui/tabs/proposals/components/proposal.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useVote.ts`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-09-18 18:36:17 +00:00
MananTank 25e1135dc7 Move pay tabs to pages with routes, Add pay settings page in project layout (#4658)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on restructuring the Pay section in the dashboard, improving API key handling, and fixing endpoint issues.

### Detailed summary
- Deleted `PayAnalytics.tsx` and `pay-ui.client.tsx`
- Added components for `NoApiKeys`, `PayConfig`, `APIKeySelector`
- Updated text in `ProjectGeneralSettingsPage.tsx`
- Modified page layouts and settings
- Improved API key retrieval and handling

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/dashboard/connect/pay/page.tsx`, `apps/dashboard/src/components/pay/PayConfig.tsx`

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

<!-- end pr-codex -->
2024-09-18 18:22:45 +00:00
kien-ngo 7a07d05398 [Dashboard] Migrate TokenERC20 Drawer to Sheet (#4662)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates token transfer, mint, and burn functionality in the dashboard.

### Detailed summary
- Updated UI components for token transfer, mint, and burn
- Replaced `useTxNotifications` with custom error handling and toast notifications
- Improved transaction handling and event tracking
- Enhanced form validations and error messages

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

<!-- end pr-codex -->
2024-09-18 18:06:29 +00:00
kien-ngo 53af73c9ae [Dashboard] ERC20 burn tab (#4661)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update token transfer and burn components in the dashboard.

### Detailed summary
- Updated UI components for token transfer and burn
- Replaced `react-icons` with `lucide-react` and `sonner`
- Improved error handling and notifications for token transactions

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

<!-- end pr-codex -->
2024-09-18 18:06:28 +00:00
jnsdls bb51afa723 simplify build tooling and remove redundant dependencies (#4664)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates dependencies, TypeScript configurations, and package versions across multiple packages. It also refactors code in the `dashboard` app for improved functionality and type safety.

### Detailed summary
- Updated `next` version to `14.2.12` in `wallet-ui`, `playground-web`, and `portal`.
- Updated `@types/react` to `^18.3.7` in `wallet-ui`, `playground-web`, and `portal`.
- Updated `eslint` and related plugins in `dashboard` and `portal`.
- Refactored code in `dashboard` app for improved functionality and type safety.
- Updated `@walletconnect` packages to version `2.16.2` in `thirdweb`.
- Modified TypeScript configurations in `typedoc-gen` and `service-utils`.
- Updated `react-native-svg` to version `15.7.1` in `portal`.
- Updated `posthog-js` to version `1.161.6` in `wallet-ui` and `portal`.
- Updated `happy-dom` to version `^15.7.4` in `portal`.
- Updated `typescript` to version `5.6.2` in `typedoc-gen` and `dashboard`.

> The following files were skipped due to too many changes: `apps/dashboard/package.json`, `apps/dashboard/src/core-ui/sidebar/tunnel.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useLoggedInUser.ts`, `packages/typedoc-gen/tsconfig.base.json`, `packages/service-utils/tsconfig.base.json`, `packages/service-utils/package.json`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-09-18 17:56:14 +00:00
kien-ngo f66f99096a [SDK] Improve tests for marketplace DirectListings (#4619)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the Marketplace Direct Listings tests for ERC721 and ERC1155 contracts.

### Detailed summary
- Refactors test setup and contract deployment
- Updates NFT minting and approval transactions
- Improves listing creation and validation checks
- Enhances buy transaction testing for ERC721 tokens

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/marketplace/direct-listings/direct-listings.test.ts`

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

<!-- end pr-codex -->
2024-09-18 12:40:31 +00:00
joaquim-verges 6ce7c83a3b chore: update @mobile-wallet-protocol/client to 0.0.3 (#4665)
Fixes #4663

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates `@mobile-wallet-protocol/client` to version 0.0.3 and aligns package dependencies and TypeScript type definitions.

### Detailed summary
- Updated `@mobile-wallet-protocol/client` to 0.0.3
- Aligned package dependencies
- Adjusted TypeScript type definitions for various modules

> 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-09-18 12:18:39 +00:00
kien-ngo 6e69959dc1 [Dashboard] Replace Chakra-ui's useClipboard (#4660)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor code by centralizing the `useClipboard` hook and importing it where needed.

### Detailed summary
- Centralized `useClipboard` hook in a separate file
- Imported `useClipboard` in multiple components for code reusability

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

<!-- end pr-codex -->
2024-09-18 11:36:33 +00:00
kien-ngo e5393efcee [Dashboard] erc20 transfer Drawer (#4643)
chakra-ui Drawer -> Shadcn's Sheet

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `Sheet` component for modals and refactors the transfer token functionality to use the `Sheet` component.

### Detailed summary
- Added `Sheet`, `SheetContent`, `SheetFooter`, `SheetHeader`, `SheetTitle`, `SheetTrigger` components
- Refactored token transfer functionality to use the new `Sheet` component
- Updated imports and dependencies to include new components and utilities

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

<!-- end pr-codex -->
2024-09-18 10:18:49 +00:00
Jonas Danielsandgithub-actions[bot] f68228f5b0 Version Packages (#4654)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-18 14:56:48 +12:00
gregfromstl acd56a7e46 Redirect to login from main ecosystem page (#4657)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add authentication logic to a page component in the wallet-ui app.

### Detailed summary
- Added import for `getCurrentUser` from `@/lib/auth`
- Added import for `redirect` from `next/navigation`
- Updated `Page` function to fetch current user and redirect based on authentication status

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

<!-- end pr-codex -->
2024-09-18 01:54:21 +00:00
jnsdls 00ce74a060 Improve getNFTs compatibility for ERC1155 contracts (#4653) 2024-09-18 01:41:18 +00:00
gregfromstl ef2d406ce5 [SDK] Fix: Remove useless caching (#4656)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the `fetch.ts` file in the `thirdweb` package and add unit tests in `fetch.test.ts`.

### Detailed summary
- Removed `FETCH_CACHE` and `IS_THIRDWEB_URL_CACHE` WeakMap in `fetch.ts`
- Added `IS_THIRDWEB_URL_CACHE` export in `fetch.ts`
- Added unit tests for `getClientFetch` and `isThirdwebUrl` functions in `fetch.test.ts`

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

<!-- end pr-codex -->
2024-09-18 01:28:15 +00:00
gregfromstl ebbb87b26c Simplify wallet UI redirects (#4655)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the middleware logic in the wallet-ui app by simplifying the URL path handling and removing unnecessary JWT decoding.

### Detailed summary
- Updated URL path generation logic in middleware
- Removed unused JWT decoding and user handling
- Simplified redirection based on ecosystem and URL path

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

<!-- end pr-codex -->
2024-09-18 00:06:30 +00:00
kumaryash90 e89ffd4aa2 Handle custom id for published contract (#4644)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on handling a custom id for published contracts in the `thirdweb` package.

### Detailed summary
- Added handling of custom id for published contracts in `deploy-metadata.ts` file.

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

<!-- end pr-codex -->
2024-09-17 23:44:05 +00:00
gregfromstl cf1683c3fe [SDK] Fix: Switch active connection on wallet account change (#4618)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a subscription for when the account changes in the wallet manager.

### Detailed summary
- Added a subscription for "accountChanged" event in the wallet manager
- Calls `handleConnection` when the account changes
- Invokes `onConnect` with the new connected wallet
- Updates the active wallet after the account changes

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

<!-- end pr-codex -->
2024-09-17 23:23:27 +00:00
gregfromstl a46843992b [SDK] Feature: Guest accounts (#4631)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to introduce a "guest" login option in the wallet authentication system.

### Detailed summary
- Added "guest" login option for temporary accounts
- Updated locale files to support "guest" login
- Implemented "guest" authentication functionality
- Updated UI components to include "guest" login option

> The following files were skipped due to too many changes: `packages/thirdweb/src/wallets/in-app/core/authentication/types.ts`, `packages/thirdweb/src/react/web/wallets/shared/ConnectWalletSocialOptions.tsx`, `packages/thirdweb/src/react/native/ui/icons/svgs.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx`, `packages/thirdweb/src/wallets/in-app/native/auth/native-auth.ts`, `packages/thirdweb/src/wallets/in-app/native/native-connector.ts`, `packages/thirdweb/src/react/web/wallets/shared/GuestLogin.tsx`, `packages/thirdweb/src/react/core/utils/walletIcon.ts`

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

<!-- end pr-codex -->
2024-09-17 23:11:24 +00:00
gregfromstl 39a6f86b3b Fix wallet UI cookie (#4652)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add console log messages for user address and redirection, and update cookie settings for JWT with additional security configurations.

### Detailed summary
- Added console log messages for user address and redirection
- Updated cookie settings for JWT with additional security configurations: name, value, httpOnly, secure, sameSite, maxAge, domain, path

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

<!-- end pr-codex -->
2024-09-17 23:08:13 +00:00
MananTank 589e81c8b7 Revamp API Key settings UI, Add Project General settings (#4645)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates file paths, refactors components, and improves code readability.

### Detailed summary
- Renamed and relocated several components for better organization
- Updated function names for clarity and consistency
- Improved type imports and removed unnecessary dependencies
- Enhanced code structure and readability for easier maintenance

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/dashboard/connect/pay/components/pay-ui.client.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/settings/ProjectGeneralSettingsPage.stories.tsx`, `apps/dashboard/src/pages/dashboard/settings/api-keys/[id].tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/settings/ProjectGeneralSettingsPage.tsx`

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

<!-- end pr-codex -->
2024-09-17 22:22:53 +00:00
MananTank db16d8ba54 Set auth token everywhere ThirdwebProvider is used (#4650)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a new `SetAuthHeaderForSDK` component to manage authentication headers for the SDK and updates providers to include it.

### Detailed summary
- Added `SetAuthHeaderForSDK` component to manage authentication headers for SDK
- Updated providers to include the new component for SDK authentication

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

<!-- end pr-codex -->
2024-09-17 22:01:45 +00:00
MananTank 9878f49790 Fix _defaultAdmin not prefilled with connected wallet address (#4649)
Not sure if this is the proper solution

refer to - https://linear.app/thirdweb/issue/DASH-255/custom-contract-deployment-issue-via-dashboard#comment-6afa6f35
2024-09-17 21:34:10 +00:00
gregfromstl a53e8ea13b [Wallet UI] Fix: Redirect properly from login page (#4646)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance user authentication and ecosystem info handling in the wallet UI app.

### Detailed summary
- Added user authentication check and redirect in `layout.tsx`
- Improved error handling for fetching ecosystem info in `ecosystems.ts`
- Refactored middleware logic in `middleware.ts` for better routing

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

<!-- end pr-codex -->
2024-09-17 20:24:32 +00:00
jnsdls 5ee748921a fix auth on contract deploy (#4647) 2024-09-17 18:29:16 +00:00
kien-ngo 3be53f436d [Dashboard] Add from to claimTo (#4642)
Jake did mention sometimes we have issues with allowlist if `from` is not specified.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `claim-form.tsx` file in both the `tokens` and `nfts` directories to include the `from` field with the account address.

### Detailed summary
- Added `from: account.address` field to the transaction object.

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

<!-- end pr-codex -->
2024-09-17 09:26:16 +00:00
Jonas Daniels 0946d90744 no-contract-card-ssr (#4641) 2024-09-16 22:35:22 -07:00
Jonas Daniels 97a7d83e03 update dependencies & re-run biome (#4640) 2024-09-16 21:55:28 -07:00
jnsdls ca610d6b3d move explore to app router (#4637)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is updating components and pages in the dashboard app related to exploring smart contracts.

### Detailed summary
- Updated `MaskedAvatar` component with new props and styling
- Modified `ExplorePage` layout and content
- Improved `ContractRow` component functionality
- Enhanced `ContractCard` component with initial data handling

> The following files were skipped due to too many changes: `apps/dashboard/src/components/explore/contract-card/index.tsx`, `apps/dashboard/src/app/(dashboard)/explore/[category]/page.tsx`

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

<!-- end pr-codex -->
2024-09-17 03:23:43 +00:00
Jonas Danielsandgithub-actions[bot] 7b0040bb92 Version Packages (#4589)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-17 15:21:23 +12:00
joaquim-verges c320b189f6 feat: export Abi types from abitype (#4639)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on exporting Abi types in the `thirdweb` package.

### Detailed summary
- Exported Abi types like `Abi`, `AbiFunction`, `AbiReceive`, `AbiError`, `AbiEvent`, `AbiConstructor`, and `AbiFallback` from "abitype".
- Exported `toFunctionSelector` from "viem".

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

<!-- end pr-codex -->
2024-09-17 02:51:11 +00:00
jnsdls 6bb2904936 [Update] Refactor product links in ChainListRow component (#4638) 2024-09-17 02:40:08 +00:00
Joaquim Verges 5bde07508a feat(pay): allow customizing PayEmbed metadata for top-up flow (#4621) 2024-09-17 14:17:14 +12:00
edwardysun ac4f68d5c8 Pay - Stop polling after status is complete (#4632)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the `refetchInterval` logic in `useBuyWithCryptoStatus` and `useBuyWithFiatStatus` hooks based on different status conditions.

### Detailed summary
- Updated `refetchInterval` logic based on status conditions in `useBuyWithCryptoStatus` hook.
- Updated `refetchInterval` logic based on status conditions in `useBuyWithFiatStatus` hook.

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

<!-- end pr-codex -->
2024-09-17 01:10:11 +00:00
joaquim-verges 3961ef477e feat: handle function signatures and ABIs in resolveMethod (#4628)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `resolveMethod` function in `transaction/resolve-method.ts` to handle function signatures and contract ABIs efficiently.

### Detailed summary
- Updated `resolveMethod` function to handle function signatures and contract ABIs
- Added `parseAbiItem` import and type definitions
- Modified test cases in `resolve-method.test.ts` to cover new functionality

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

<!-- end pr-codex -->
2024-09-17 00:47:38 +00:00
dependabot[bot] 085ea2bf00 Bump shiki from 1.16.2 to 1.17.7 (#4626)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 17:19:21 -07:00
joaquim-verges 2b6a2fda3d feat: invalidate wallet balance after successful purchases (#4630)
Fixes CNCT-1861

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on invalidating wallet balances on successful payments.

### Detailed summary
- Updated query key in `invalidateWalletBalance.test.ts`
- Modified query key logic in `invalidateWalletBalance.ts`
- Added `invalidateWalletBalance` function in `BuyScreen.tsx` to invalidate wallet balances on payment success

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

<!-- end pr-codex -->
2024-09-16 23:49:37 +00:00
joaquim-verges a5e605c65e test: conditionally run tests based on TW_SECRET_KEY (#4636)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a conditional test runner based on the environment variable `TW_SECRET_KEY` to the test suite for ERC721, MintableERC20, MintableERC721, and MintableERC1155 modules.

### Detailed summary
- Modified test descriptions to include conditional test execution based on `TW_SECRET_KEY` environment variable.
- Updated test suite for ERC721, MintableERC20, MintableERC721, and MintableERC1155 modules to run tests conditionally.

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

<!-- end pr-codex -->
2024-09-16 23:30:29 +00:00
MananTank 85ddb175d7 Fix account abstraction factories table crash (#4629)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the `useFactories` function in `AccountFactories/index.tsx`.

### Detailed summary
- Refactored the `useFactories` function to improve readability and maintainability
- Updated how factories are filtered and returned
- Updated the `contracts` prop passed to `FactoryContracts` component

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

<!-- end pr-codex -->
2024-09-16 22:25:38 +00:00
jnsdls c373ea571a remove v4 (#4627) 2024-09-16 22:00:47 +00:00
MananTank fdae05fc00 Add Export to CSV button on Connect Analytics cards (#4617)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR removes the `ExportToCSVButton` component from multiple files and centralizes it in a single location. It also adds a `valueFormatter` prop to the `ChartTooltipContent` component.

### Detailed summary
- Removed `ExportToCSVButton` from multiple files and centralized it in a single location.
- Added `valueFormatter` prop to the `ChartTooltipContent` component.

> The following files were skipped due to too many changes: `apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/analytics/_components/WalletDistributionChartCard.tsx`

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

<!-- end pr-codex -->
2024-09-16 20:45:09 +00:00
MananTank 7c1ea4a1e2 Add Project Setting pages Layout (#4620)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the layout and styling of various pages in the dashboard app.

### Detailed summary
- Updated body and html styles for full height
- Added new pages for Pay Settings, In-App Wallet Settings, and Account Abstraction Settings
- Modified project selector UI link
- Updated text and layout for General Settings page
- Adjusted layout in TeamLayout and RootTeamLayout components
- Added a new Layout component for settings with sidebar links
- Added a new page for API key details with editing functionality

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

<!-- end pr-codex -->
2024-09-16 20:26:40 +00:00
jnsdls 95b3c787a3 [Update] Refactor contract publish form to use thirdweb v5 (#4605)
<!-- start pr-codex -->

## PR-Codex overview
This PR removes unnecessary files, updates type definitions, refactors contract-related components, and improves API handling.

### Detailed summary
- Removed several files related to publishing contracts and provider setup
- Updated type definitions and constants
- Refactored contract-related components for consistency
- Improved API handling and URL configurations

> The following files were skipped due to too many changes: `apps/dashboard/src/pages/explore/[category]/index.tsx`, `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/claim-conditions-form/hooks.ts`, `apps/dashboard/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/page.tsx`, `apps/dashboard/src/contract-ui/tabs/manage/components/moduleContractInfo.ts`, `apps/dashboard/src/constants/chains.ts`, `apps/dashboard/src/components/contract-components/contract-table/cells/description.tsx`, `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/claim-conditions-form/index.tsx`, `apps/dashboard/src/components/contract-components/contract-publish-form/landing-fieldset.tsx`, `apps/dashboard/src/components/contract-components/contract-publish-form/factory-fieldset.tsx`, `apps/dashboard/src/app/(dashboard)/contracts/publish/[publish_uri]/page.tsx`, `apps/dashboard/src/components/explore/contract-card/index.tsx`, `apps/dashboard/src/components/contract-components/contract-publish-form/default-factory.tsx`, `apps/dashboard/src/components/contract-components/shared/contract-id-image.tsx`, `apps/dashboard/src/components/smart-wallets/AccountFactories/index.tsx`, `apps/dashboard/src/lib/sdk.ts`, `apps/dashboard/src/contract-ui/tabs/code/components/code-overview.tsx`, `apps/dashboard/src/components/contract-components/publisher/edit-profile.tsx`, `apps/dashboard/src/pages/profile/[profileAddress].tsx`, `apps/dashboard/src/contract-ui/tabs/claim-conditions/legacy-zod-schema.ts`, `apps/dashboard/src/contract-ui/tabs/manage/components/ModuleForm.tsx`, `apps/dashboard/src/components/contract-functions/contract-function.tsx`, `apps/dashboard/src/components/contract-components/hooks.ts`, `apps/dashboard/src/components/contract-components/contract-publish-form/index.tsx`

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

<!-- end pr-codex -->
2024-09-16 19:33:35 +00:00
jnsdls 468067e47f fix direct deploy (#4616) 2024-09-16 17:21:00 +00:00
MananTank 1d0291fb9e Sidebar and team header cleanups (#4612)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor layout components and improve sidebar navigation in the dashboard app.

### Detailed summary
- Refactored layout components for better structure
- Updated sidebar navigation in various pages
- Improved handling of sidebar links and layout components

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

<!-- end pr-codex -->
2024-09-16 16:45:22 +00:00
MananTank 6e5d89bf2a Add rate limit on contact-us form using redis + move to app router (#4614)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to implement rate limiting for a HubSpot API endpoint using Redis caching.

### Detailed summary
- Added `cacheGet` and `cacheSet` functions for Redis caching
- Implemented rate limiting logic based on IP address
- Added `rateLimiter` function to handle rate limiting
- Updated handler to use `rateLimiter` before processing requests

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

<!-- end pr-codex -->
2024-09-16 16:32:48 +00:00
MananTank 2bf9fc598a Fix Empty Publish contract page (#4613)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to replace the `useSingleQueryParam` hook with `useRouter` and `useSearchParams` for better navigation handling in different components.

### Detailed summary
- Replaced `useSingleQueryParam` with `useRouter` and `useSearchParams` in multiple files for improved navigation handling.
- Updated the usage of hooks for query parameter retrieval in several components.
- Made changes to handle query parameters more efficiently in the codebase.

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

<!-- end pr-codex -->
2024-09-16 16:14:49 +00:00
Joaquim Verges 18239dd5df chore: simplify uploaded published data (#4611) 2024-09-16 20:59:49 +12:00
jnsdls b837b690ae various dependency bumps (#4603)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates various dependencies across different packages.

### Detailed summary
- Updated Vite to version 5.4.5
- Bumped `viem` to version 2.21.7
- Updated `@playwright/test` to 1.47.1
- Increased `postcss` to version 8.4.47
- Updated `tailwindcss` to 3.4.11
- Updated `@tanstack/react-query` to version 5.56.2

> 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-09-16 01:31:14 +00:00
joaquim-verges 7b94bf55fd feat: expose checkModulesCompatiblity for modular contracts (#4607)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new function `checkModulesCompatibility` and related tests to verify module compatibility in the `thirdweb` package.

### Detailed summary
- Added `checkModulesCompatibility` function in `modules.ts`
- Created tests for `checkModulesCompatibility` in `checkModulesCompatibility.test.ts`
- Implemented `checkModulesCompatibility` logic in `checkModulesCompatibility.ts`
- Updated `arrays.ts` with a new utility function

> The following files were skipped due to too many changes: `packages/thirdweb/test/src/bytecode/mintable-erc20.ts`, `packages/thirdweb/test/src/bytecode/claimable-erc721.ts`, `packages/thirdweb/test/src/bytecode/claimable-erc20.ts`, `packages/thirdweb/test/src/bytecode/erc20core.ts`

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

<!-- end pr-codex -->
2024-09-16 01:16:42 +00:00
joaquim-verges 3009a0f6e5 feat: expose publishContract extension (#4604)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR exposes a new extension `publishContract` and refactors metadata handling in the `thirdweb` package.

### Detailed summary
- Exposed `publishContract` extension
- Refactored metadata handling in `deploy-metadata.ts`
- Updated `publisher.ts` with export changes
- Added new functions and types in `semver.ts`
- Introduced `publishContract` and related functions in `publish.ts`
- Added tests for `publishContract` in `publish.test.ts`

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/thirdweb/write/publish.test.ts`

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

<!-- end pr-codex -->
2024-09-16 00:04:13 +00:00
joaquim-verges 07b949dd8c fix(pay): allow topping up from a different wallet with the same currency (#4602)
Fixes CNCT-1835

<!-- start pr-codex -->

---

## PR-Codex overview
This PR allows topping up from a different wallet with the same currency.

### Detailed summary
- Enable topping up from a different wallet with the same currency
- Rename "Seller" to "Receiver" in ConfirmationScreen
- Modify condition in showSwapFlow to include "fund_wallet" mode

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

<!-- end pr-codex -->
2024-09-15 22:12:10 +00:00
jnsdls 575c3e3141 react-query v4 -> v5 (#4600)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates loading states in various components to use `isPending` instead of `isLoading`.

### Detailed summary
- Replaced `isLoading` with `isPending` in multiple components for loading state handling.

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/manage/components/InstalledModulesTable.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/hooks/usePayCustomers.ts`, `apps/dashboard/src/components/pay/PayConfig.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/chain-header.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/add-partner-form.client.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PaymentHistory.tsx`, `apps/dashboard/src/contract-ui/tabs/split/components/distribute-button.tsx`, `apps/dashboard/src/components/onboarding/LinkWallet.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/TotalVolumePieChart.tsx`, `apps/dashboard/package.json`, `apps/dashboard/src/components/pay/PayAnalytics/hooks/usePayPurchases.ts`, `apps/dashboard/src/components/engine/configuration/local-config.tsx.tsx`, `apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/server/partners-table.tsx`, `apps/dashboard/src/contract-ui/components/solidity-inputs/string-input.tsx`, `apps/dashboard/src/components/settings/Account/Billing/index.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/update-partner-form.client.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/page.tsx`, `apps/dashboard/src/components/configure-networks/Form/IconUpload.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/create/hooks/use-create-ecosystem.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/create/components/client/create-ecosystem-form.client.tsx`, `apps/dashboard/src/components/engine/engine-instances-table.tsx`, `apps/dashboard/src/components/engine/contract-subscription/contract-subscriptions-table.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PayCustomersTable.tsx`, `apps/dashboard/src/pages/api/revalidate/publish.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-update-ecosystem.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-add-partner.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-delete-partner.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-update-partner.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/live-stats.tsx`, `apps/dashboard/src/contract-ui/tabs/shared-components/marketplace-table.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/query/useQueryWithNetwork.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/pay/components/webhooks.client.tsx`, `apps/dashboard/src/components/contract-components/tables/deployed-contracts.tsx`, `apps/dashboard/src/contract-ui/tabs/proposals/components/proposal.tsx`, `apps/dashboard/src/components/app-layouts/app.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/integration-permissions-toggle.client.tsx`, `apps/dashboard/src/app/account/settings/AccountSettingsPageUI.tsx`, `apps/dashboard/src/components/cmd-k-search/index.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useLoggedInUser.ts`, `apps/dashboard/src/components/contract-components/hooks.ts`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useRegistry.ts`, `apps/dashboard/src/contract-ui/tabs/manage/components/ModuleForm.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/GeneralSettingsPage.tsx`, `apps/dashboard/src/components/storage/your-files.tsx`, `apps/dashboard/src/components/contract-functions/interactive-abi-function.tsx`, `apps/dashboard/src/components/ipfs-upload/dropzone.tsx`, `apps/dashboard/src/core-ui/nft-drawer/useNftDrawerTabs.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useApi.ts`, `pnpm-lock.yaml`, `apps/dashboard/src/contract-ui/hooks/useRouteConfig.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts`

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

<!-- end pr-codex -->
2024-09-15 21:32:49 +00:00
joaquim-verges a4a41364cd feat: add optional wallet.getAdminAccount(), new useAdminWallet() hook and auto auth when using inapp+smart accounts (#4601)
Fixes CNCT-1833

## PR-Codex overview
This PR introduces a new `useAdminWallet()` hook for smart wallets and adds functionality for automatic authentication with in-app and smart accounts.

### Detailed summary
- Added `getAdminAccount` method to `Wallet` interface
- Created `useAdminWallet()` hook to get admin wallet for smart wallets
- Automatic authentication for in-app and smart accounts
- Updated various files to implement the new hook and method

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

<!-- end pr-codex -->
2024-09-15 20:34:38 +00:00
jnsdls eba1c60895 appease the knip overlords (#4594)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on refactoring and updating various components, types, and functions across the dashboard app.

### Detailed summary
- Deleted several UI components and hooks
- Updated types and functions across different files
- Refactored component props and functions

> The following files were skipped due to too many changes: `apps/dashboard/src/utils/fetchChain.ts`, `apps/dashboard/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/components/module-list.client.tsx`, `apps/dashboard/src/components/analytics/area-chart.tsx`, `apps/dashboard/knip.json`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/constants.ts`, `apps/dashboard/src/components/contract-components/published-contract/index.tsx`, `apps/dashboard/src/lib/search.ts`, `apps/dashboard/src/@3rdweb-sdk/react/cache-keys.ts`, `apps/dashboard/src/components/contract-components/contract-table-v2/index.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useApi.ts`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts`, `apps/dashboard/package.json`, `apps/dashboard/src/components/contract-components/hooks.ts`, `apps/dashboard/src/constants/mappings.ts`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-09-15 03:49:07 +00:00
jnsdls 1168bc702f make --turbo work (#4593)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update file paths for image sources and add the `--turbo` flag to the `next dev` script for improved performance.

### Detailed summary
- Updated file paths for image sources in multiple components
- Added `--turbo` flag to `next dev` script in `package.json` for improved performance

> The following files were skipped due to too many changes: `apps/dashboard/src/pages/sdk.tsx`, `apps/dashboard/src/pages/learn/index.tsx`, `apps/dashboard/src/pages/solutions/gaming.tsx`, `apps/dashboard/src/pages/solutions/commerce.tsx`, `apps/dashboard/src/pages/community/ambassadors.tsx`

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

<!-- end pr-codex -->
2024-09-15 03:49:06 +00:00
jnsdls 06ef6f0a07 remove @thirdweb-dev/react (#4591)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update dependencies and refactor provider setup in the `apps/dashboard` directory.

### Detailed summary
- Updated dependencies for `@tanstack/react-query` and `@tanstack/react-table`
- Removed unused imports and code related to `@thirdweb-dev/react`
- Refactored provider setup in `apps/dashboard/src/components/app-layouts/provider-setup.tsx` and `apps/dashboard/src/components/app-layouts/providers.tsx`

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

<!-- end pr-codex -->
2024-09-15 03:49:05 +00:00
jnsdls 390aedcc8a remove claimconditions legacy (#4590)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor claim conditions components and improve error handling.

### Detailed summary
- Refactored components related to claim conditions
- Improved error handling in `errorParser.tsx`
- Updated transaction button component
- Enhanced ERC20 amount conversion logic
- Streamlined wallet confirmation logic

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/snapshot-upload.tsx`, `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/claim-conditions-form/hooks.ts`, `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/claim-conditions-form/index.tsx`

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

<!-- end pr-codex -->
2024-09-15 03:49:04 +00:00
jnsdls ebe4975aa3 permissions in v5 (#4588)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor permissions handling in the dashboard.

### Detailed summary
- Refactored permissions handling to use `useReadContract`
- Removed `isPrebuilt` checks in `ContractPermission`
- Updated `getAllRoleMembers` and `createSetAllRoleMembersTx`
- Removed unnecessary imports and variables

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

<!-- end pr-codex -->
2024-09-15 00:25:26 +00:00
Jonas Daniels 9c8beac7fe [Update] Add special case for zero address in WalletAddress component (#4599) 2024-09-14 17:22:59 -07:00
gregfromstl dc250225d2 [Playground] Feature: Track tab state in URL (#4597)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a `tab` parameter to the `Page` component in the sign-in button page and update the `RightSection` component to handle the tab switching functionality.

### Detailed summary
- Added `tab` parameter to `Page` component
- Updated `RightSection` to handle tab switching functionality based on the `tab` parameter
- Utilized `useRouter` and `useMemo` for tab handling
- Implemented tab switching functionality in `RightSection`

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

<!-- end pr-codex -->
2024-09-15 00:11:24 +00:00
Jonas Daniels 11437524e4 [Update] Replace redirect with notFound for 404 handling (#4596) 2024-09-14 17:10:18 -07:00
Jonas Daniels 1a56ed6214 [Update] Resolve avatar URI using thirdwebClient (#4598) 2024-09-14 17:10:00 -07:00
jnsdls b2a2c9784a [Update] Refactor setOverrides() call and IPFS URL resolution (#4587)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor the codebase to run `setOverrides()` function on app load efficiently.

### Detailed summary
- Moved `setOverrides()` function calls to run on app load in various files
- Added `useEffect` hooks to ensure `setOverrides()` runs once on app load
- Updated `replaceIpfsUrl` function to use `resolveScheme` with `thirdwebClient`
- Imported `setOverrides` function in multiple files for app initialization

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

<!-- end pr-codex -->
2024-09-14 19:52:27 +00:00
kien-ngo 5abc652871 [Dashboard] Fix missing Vote contract UI (#4592)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the condition in `useRouteConfig.tsx` to check for "VoteERC20" instead of "Vote".

### Detailed summary
- Updated condition to check for "VoteERC20" instead of "Vote" in `useRouteConfig.tsx` for enabling/disabling a component.

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

<!-- end pr-codex -->
2024-09-14 15:56:56 +00:00
kien-ngo fb0daabbf6 [Dashboard] Remove extensionDetectedState (#4557)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on exposing Marketplace extensions for feature detection. It updates extension detection states and refactors extension method imports.

### Detailed summary
- Exposed Marketplace extensions for feature detection
- Refactored extension method imports to use `ExtensionDetectedState`
- Added functions to check support for specific methods in Marketplace extensions

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/marketplace/direct-listings/read/getListing.ts`, `packages/thirdweb/src/extensions/marketplace/direct-listings/write/buyFromListing.ts`, `packages/thirdweb/src/exports/extensions/marketplace.ts`, `packages/thirdweb/src/extensions/marketplace/english-auctions/read/getWinningBid.ts`, `packages/thirdweb/src/extensions/marketplace/english-auctions/write/bidInAuction.ts`, `apps/dashboard/src/contract-ui/hooks/useRouteConfig.tsx`

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

<!-- end pr-codex -->
2024-09-14 01:26:53 +00:00
jnsdls b142b8a893 remove custom publisher context (#4586) 2024-09-14 00:16:24 +00:00
MananTank e80a87a0d8 Fix Engine Page contract subscriptions crash + some form validation (#4585)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance contract address validation and error handling in the contract subscription feature.

### Detailed summary
- Added `isAddress` function for contract address validation
- Improved error handling for invalid contract addresses and URLs

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

<!-- end pr-codex -->
2024-09-14 00:02:10 +00:00
jnsdls ce45cb2f24 [Update] Refine billing alert message for plan-specific scenarios (#4584) 2024-09-13 23:21:26 +00:00
MananTank de362ba2f5 Refactor Create API Key Modal, Add in teams for creating projects (#4583)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds functionality to create projects in the dashboard UI.

### Detailed summary
- Added `createProject` functionality to various components
- Updated global CSS variables
- Created `LazyCreateAPIKeyDialog` for project creation dialog
- Updated UI components for project creation functionality

> The following files were skipped due to too many changes: `apps/dashboard/src/stories/stubs.ts`, `apps/dashboard/src/pages/dashboard/settings/api-keys/index.tsx`, `apps/dashboard/src/components/settings/ApiKeys/Create/CreateApiKeyModal.stories.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/TeamOverviewPage.tsx`, `apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx`

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

<!-- end pr-codex -->
2024-09-13 23:08:24 +00:00
jnsdls ece86ccdc3 v5 deploy dashboard changes (#4498)
<!-- start pr-codex -->

## PR-Codex overview
This PR deprecates functions, updates types, refactors components, and adds modules for contract deployment.

### Detailed summary
- Deprecated functions in favor of new ones
- Updated types and added necessary type assertions
- Refactored components with new props and imports
- Added modules for contract deployment and handling metadata

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/published-contract/utils/module-base-64.ts`, `apps/dashboard/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/components/module-list.client.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/components/uri-based-deploy.tsx`, `pnpm-lock.yaml`, `apps/dashboard/src/app/(dashboard)/published-contract/components/contract-actions-deploy.client.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/components/contract-info.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/components/contract-actions-published.client.tsx`, `packages/thirdweb/src/utils/any-evm/deploy-metadata.ts`, `apps/dashboard/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/utils/getPublishedContractsWithPublisherMapping.ts`, `packages/thirdweb/package.json`, `apps/dashboard/src/app/(dashboard)/contracts/deploy/[compiler_uri]/page.tsx`, `apps/dashboard/src/contract-ui/tabs/code/components/code-overview.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/trusted-forwarders-fieldset.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/layout.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/contract-metadata-fieldset.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/components/contract-header.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/components/breadcrumbs.client.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/opengraph-image.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/page.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/[version]/opengraph-image.tsx`, `packages/thirdweb/src/utils/abi/normalizeFunctionParams.ts`, `apps/dashboard/src/app/(dashboard)/published-contract/components/version-selector.tsx`, `packages/thirdweb/src/contract/deployment/deploy-with-abi.ts`, `apps/dashboard/src/contract-ui/tabs/manage/components/getModuleInstalledParams.ts`, `packages/thirdweb/src/extensions/prebuilts/get-required-transactions.test.ts`, `apps/dashboard/src/app/(dashboard)/published-contract/[publisher]/[contract_id]/[version]/page.tsx`, `apps/dashboard/src/app/(dashboard)/published-contract/components/publish-based-deploy.tsx`, `apps/dashboard/src/components/contract-components/fetch-contracts-with-versions.ts`, `apps/dashboard/src/components/contract-functions/contract-function.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/modular-contract-default-modules-fieldset.tsx`, `packages/thirdweb/src/extensions/prebuilts/get-required-transactions.ts`, `apps/dashboard/src/pages/api/og/publishedContract.tsx`, `apps/dashboard/src/components/contract-components/published-contract/index.tsx`, `apps/dashboard/src/components/contract-components/hooks.ts`, `apps/dashboard/src/components/contract-components/contract-deploy-form/custom-contract.tsx`

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

<!-- end pr-codex -->
2024-09-13 19:16:20 +00:00
Jonas Danielsandgithub-actions[bot] d115307db1 Version Packages (#4570)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-13 12:01:55 -07:00
gregfromstl 5d3b39587b [React] Feature: Can hide certain wallets in the wallet switcher (#4582)
Adds the ability to hide certain wallets in the wallet switcher

```tsx
      <ConnectButton
        client={client}
        detailsModal={{
          // We hide the in-app wallet so they can't switch to it
          hiddenWallets: ["inApp"],
        }}
        accountAbstraction={{
          chain: baseSepolia,
          sponsorGas: true,
        }}
      />
```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add the ability to hide specific wallets in the wallet switcher UI component.

### Detailed summary
- Added `hiddenWallets` prop to `ConnectButton`, `DetailsModal`, `WalletSwitcherConnectionScreen`, `BuyScreen`, and `PayEmbed` components.
- Implemented filtering of connected wallets based on `hiddenWallets` in `WalletManagerScreen` and `WalletSwitcherDrawerContent`.
- Updated types to include `WalletId` for consistency across components.

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

<!-- end pr-codex -->
2024-09-13 18:37:29 +00:00
Jonas Daniels 53015711fe update next version (#4576) 2024-09-13 10:42:33 -07:00
gregfromstl 5058fdb470 [SDK] Feature: X auth (#4571)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds authentication support for a new provider 'X' across various components and modules.

### Detailed summary
- Added 'X' authentication provider
- Updated authentication types and components
- Implemented 'X' authentication in multiple files

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

<!-- end pr-codex -->
2024-09-13 06:12:59 +00:00
Jonas Daniels a47bc2233c [Update] Add address validation in WalletAddress and AddAdminButton components (#4575) 2024-09-12 21:12:47 -07:00
Edward Sun 390180592a Add preferredProvider in buyWithFiat (#4546) 2024-09-12 17:37:57 -07:00
joaquim-verges 285321b193 docs: Update in-app wallet backend API link (#4572)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates redirects and icon imports in the `portal` app and refactors the sidebar in `sidebar.tsx`.

### Detailed summary
- Added a new redirect for in-app wallet details on the server
- Reordered icon imports in `sidebar.tsx`
- Updated sidebar links for In-App Wallet and Ecosystem Wallet pages

> The following files were skipped due to too many changes: `apps/portal/src/app/connect/sidebar.tsx`

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

<!-- end pr-codex -->
2024-09-13 00:06:10 +00:00
0xFirekeeper 8035923cda .net 2.1 docs hotfix (#4569)
<!-- start pr-codex -->

## PR-Codex overview
This PR simplifies the OTP login process in the `page.mdx` file by removing the retry logic and adding a comment for handling failed login attempts.

### Detailed summary
- Removed `canRetry` variable and related logic
- Added a comment for handling failed login attempts

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

<!-- end pr-codex -->
2024-09-12 23:26:42 +00:00
gregfromstl c0778cb930 [SDK] Feature: Export uri parsing utils (#4565)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds `parseAvatarRecord` and `parseNftUri` utilities for ENS avatars and NFT URIs. Detailed summary:

### Detailed summary
- Added `parseAvatarRecord` and `parseNftUri` functions for ENS avatars and NFT URIs
- Updated `common.ts` and `ens.ts` with new exports
- Created `parseNftUri` function in `parseNft.ts`
- Added `parseAvatarRecord` function in `avatar.ts`

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

<!-- end pr-codex -->
2024-09-12 22:12:44 +00:00
arcoraven db1f79678c fix: incorrect gasLimit reference in Engine (#4566)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update the gas settings override mechanism for write transactions in the contract page.

### Detailed summary
- Updated gas settings override mechanism for transactions
- Removed individual `gasLimit` and `gasPrice` fields
- Added `gas`, `maxFeePerGas`, and `maxPriorityFeePerGas` fields
- Fields are now optional and will be estimated if omitted

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

<!-- end pr-codex -->
2024-09-12 20:54:40 +00:00
0xFirekeeper 113468e361 .NET 2.1 // Unity 5.1 Docs (#4564)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add new methods and documentation for interacting with smart wallets in the .NET SDK.

### Detailed summary
- Added methods for getting personal wallet, all admins, active signers, transaction count, and transferring in .NET SDK
- Updated documentation for In-App Wallet and Ecosystem Wallet login methods

> The following files were skipped due to too many changes: `apps/portal/src/app/dotnet/wallets/providers/ecosystem-wallet/page.mdx`, `apps/portal/src/app/dotnet/sidebar.tsx`, `apps/portal/src/app/unity/v5/wallets/ecosystem-wallet/page.mdx`

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

<!-- end pr-codex -->
2024-09-12 20:15:25 +00:00
MananTank a24de21f00 Fix no redirect to dashboard if user is already logged in and lands on login page (#4561)
Did not go the middleware route here because even if we properly check the logged in status in middleware and redirect - it's possible for user to get stuck in that case if for some reason the wallet never gets into "connecting" status and so the useLoggedInUser query never runs and never redirects the user to login page ( and even if it did - they would immediately get redirected to other page because they have a "valid" auth cookie )

so safest solution here is to let the user land on login page and once then redirect from there after wallet connection + sign in is done

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the login process in the dashboard app.

### Detailed summary
- Removed unused imports and functions
- Refactored `doLogin` function to handle redirect logic internally
- Added `useDashboardRouter` hook to handle navigation
- Improved error handling and redirect logic in the login process

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

<!-- end pr-codex -->
2024-09-12 18:37:42 +00:00
Joaquim Verges 2d2e6cb380 test: Update ERC1967 proxy constructor data parameter (#4563) 2024-09-13 06:36:47 +12:00
MananTank 03c21903c9 Fix Popular chain missing icons on dashboard (#4562)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `connect-wallet` component to include support for popular chains with metadata.

### Detailed summary
- Added `useSupportedChainsRecord` import
- Added `chainsRecord` state
- Added `popularChainsWithMeta` state
- Updated `chainSections` to use `popularChainsWithMeta`
- Updated dependencies for `useMemo` in `chainSections`

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

<!-- end pr-codex -->
2024-09-12 18:13:09 +00:00
Jonas Danielsandgithub-actions[bot] 22e066c611 Version Packages (#4514)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-13 06:10:23 +12:00
MananTank 0abd8f462c Add Modular contracts banner on dashboard and portal (#4560)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to introduce a new `AnnouncementBanner` component in the dashboard and portal pages.

### Detailed summary
- Added `AnnouncementBanner` component to display announcements in dashboard and portal
- Updated announcement content and link in `AnnouncementBanner`
- Updated `Banner` component in portal
- Reorganized imports in `layout.tsx` and made minor changes in layout components

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

<!-- end pr-codex -->
2024-09-12 16:53:08 +00:00
gregfromstl 5fe9476475 [React] Fix: Linked account avatar sizing (#4559)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating the styling of the `LinkedProfilesScreen` component by changing the width property to flexGrow for better responsiveness.

### Detailed summary
- Updated `width` property to `flexGrow: 1` for responsiveness.

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

<!-- end pr-codex -->
2024-09-12 16:40:11 +00:00
MananTank 5385f6bde1 Add Account Settings page (#4558)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates account and team-related UI components and settings pages.

### Detailed summary
- Updated titles in account and team UI components
- Added confirmation dialog to setting cards
- Improved layout in account and team pages
- Implemented account authentication logic

> The following files were skipped due to too many changes: `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/GeneralSettingsPage.tsx`, `apps/dashboard/src/app/account/settings/AccountSettingsPageUI.tsx`

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

<!-- end pr-codex -->
2024-09-12 16:34:41 +00:00
arcoraven f092b2aeac chore: allow disabling a chain's faucet (#4556)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add functionality to disable the faucet for specific chain IDs in the testnet-faucet API route.

### Detailed summary
- Added `DISABLE_FAUCET_CHAIN_IDS` environment variable for comma-separated list of chain IDs to disable the faucet.
- Implemented logic to check if the faucet is disabled for a specific chain ID before allowing claims.

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

<!-- end pr-codex -->
2024-09-12 11:25:59 +00:00
joaquim-verges df42167f94 fix: deterministic direct deploys (#4555)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates contract deployment logic to include salt and adds a check for contract deployment status in tests.

### Detailed summary
- Updated contract deployment to include salt for CREATE2 deployment
- Added check for contract deployment status in tests using `isContractDeployed` function

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

<!-- end pr-codex -->
2024-09-12 10:16:25 +00:00
jnsdls edce1bf2f7 [Update] Enhance function selector resolution with ABI support (#4554) 2024-09-12 09:59:26 +00:00
joaquim-verges 1f7bf82fe0 docs: modular contract docs (#4553)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates JSDoc annotations in various files to change `@module` to `@modules` for improved clarity and consistency.

### Detailed summary
- Updated JSDoc annotations from `@module` to `@modules` in multiple files
- Added `@social` tag in `tsdoc.json`
- Updated annotations in ERC20, ERC721, and ERC1155 related modules

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/airdrop/write/merkleInfoERC721.ts`, `packages/thirdweb/src/extensions/airdrop/write/merkleInfoERC1155.ts`, `packages/thirdweb/src/extensions/modules/common/installPublishedModule.ts`, `packages/thirdweb/src/extensions/modules/common/uninstallPublishedModule.ts`, `packages/thirdweb/src/extensions/modules/MintableERC20/mintWithSignature.ts`, `packages/thirdweb/src/extensions/modules/MintableERC721/mintWithSignature.ts`, `packages/thirdweb/src/extensions/modules/MintableERC1155/mintWithSignature.ts`, `packages/thirdweb/src/extensions/split/read/getRecipientSplitPercentage.ts`, `packages/thirdweb/src/react/core/utils/defaultTokens.ts`, `apps/portal/src/app/typescript/v5/modular/upgrade/page.mdx`, `packages/thirdweb/src/extensions/airdrop/write/airdropERC20WithSignature.ts`, `packages/thirdweb/src/extensions/airdrop/write/airdropERC721WithSignature.ts`, `packages/thirdweb/src/extensions/airdrop/write/airdropERC1155WithSignature.ts`, `packages/thirdweb/src/extensions/erc20/drops/read/getActiveClaimCondition.ts`, `packages/thirdweb/src/extensions/modules/BatchMetadataERC721/uploadMetadata.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC20/module/install.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC721/module/install.ts`, `packages/thirdweb/src/extensions/modules/__generated__/BatchMetadataERC721/module/install.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC1155/module/install.ts`, `packages/thirdweb/src/extensions/modules/ClaimableERC20/setClaimConditions.ts`, `packages/thirdweb/src/extensions/modules/__generated__/MintableERC20/module/install.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC721/module/install.ts`, `packages/thirdweb/src/extensions/modules/__generated__/BatchMetadataERC1155/module/install.ts`, `packages/thirdweb/src/extensions/modules/ClaimableERC721/setClaimConditions.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC20/module/install.ts`, `packages/thirdweb/src/extensions/modules/__generated__/MintableERC721/module/install.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC1155/module/install.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC721/module/install.ts`, `packages/thirdweb/src/extensions/modules/__generated__/MintableERC1155/module/install.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC1155/module/install.ts`, `packages/thirdweb/src/extensions/modules/__generated__/SequentialTokenIdERC1155/module/install.ts`, `packages/thirdweb/src/extensions/modules/__generated__/OpenEditionMetadataERC721/module/install.ts`, `packages/thirdweb/src/extensions/modules/ClaimableERC1155/setClaimConditions.ts`, `apps/portal/src/app/typescript/v5/modular/interact/page.mdx`, `apps/portal/src/app/typescript/v5/modular/deploy/page.mdx`, `packages/thirdweb/src/extensions/modules/BatchMetadataERC1155/uploadMetadata.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ERC721Core/read/totalMinted.ts`, `packages/thirdweb/scripts/generate/generate.ts`, `packages/thirdweb/src/extensions/modules/__generated__/MintableERC20/read/getSaleConfig.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC20/read/getSaleConfig.ts`, `packages/thirdweb/src/extensions/modules/__generated__/MintableERC721/read/getSaleConfig.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC721/read/getSaleConfig.ts`, `packages/thirdweb/src/extensions/modules/__generated__/MintableERC1155/read/getSaleConfig.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC1155/read/getSaleConfig.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC20/read/getClaimCondition.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC721/read/getClaimCondition.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC721/read/getTransferValidator.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC721/read/getDefaultRoyaltyInfo.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC1155/read/getTransferValidator.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC1155/read/getDefaultRoyaltyInfo.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC20/read/isTransferEnabled.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC721/read/isTransferEnabled.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC721/read/getTransferValidationFunction.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC1155/read/isTransferEnabled.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC20/read/encodeBytesOnInstall.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC1155/read/getTransferValidationFunction.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC721/read/encodeBytesOnInstall.ts`, `packages/thirdweb/src/extensions/modules/__generated__/BatchMetadataERC721/read/encodeBytesOnInstall.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC1155/read/encodeBytesOnInstall.ts`, `packages/thirdweb/src/extensions/modules/__generated__/BatchMetadataERC721/read/getAllMetadataBatches.ts`, `packages/thirdweb/src/extensions/modules/__generated__/SequentialTokenIdERC1155/read/getNextTokenId.ts`, `packages/thirdweb/src/extensions/modules/__generated__/BatchMetadataERC1155/read/encodeBytesOnInstall.ts`, `packages/thirdweb/src/extensions/modules/__generated__/BatchMetadataERC1155/read/getAllMetadataBatches.ts`, `packages/thirdweb/src/extensions/modules/__generated__/SequentialTokenIdERC1155/read/encodeBytesOnInstall.ts`, `packages/thirdweb/src/extensions/modules/__generated__/OpenEditionMetadataERC721/read/encodeBytesOnInstall.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ERC20Core/write/burn.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ERC20Core/write/mint.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ERC721Core/write/burn.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ERC721Core/write/mint.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ERC1155Core/write/burn.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ERC1155Core/write/mint.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ERC20Core/write/initialize.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ERC721Core/write/initialize.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ERC1155Core/write/initialize.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ERC20Core/write/mintWithSignature.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ERC721Core/write/mintWithSignature.ts`, `packages/thirdweb/src/extensions/modules/common/getOrDeployModule.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ERC1155Core/write/mintWithSignature.ts`, `packages/thirdweb/src/extensions/modules/__generated__/MintableERC1155/write/setTokenURI.ts`, `packages/thirdweb/src/extensions/modules/__generated__/MintableERC20/write/setSaleConfig.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC721/write/setRoyaltyInfoForToken.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC20/write/setSaleConfig.ts`, `packages/thirdweb/src/extensions/modules/__generated__/MintableERC721/write/setSaleConfig.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC721/write/setTransferValidator.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC1155/write/setRoyaltyInfoForToken.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC721/write/setSaleConfig.ts`, `packages/thirdweb/src/extensions/modules/__generated__/MintableERC1155/write/setSaleConfig.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC1155/write/setTransferValidator.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC721/write/setDefaultRoyaltyInfo.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC20/write/setClaimCondition.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC1155/write/setSaleConfig.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC1155/write/setDefaultRoyaltyInfo.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC721/write/setClaimCondition.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC20/write/setTransferable.ts`, `apps/portal/src/app/typescript/v5/modular/page.mdx`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC20/write/setTransferableFor.ts`, `packages/thirdweb/src/extensions/modules/__generated__/BatchMetadataERC721/write/uploadMetadata.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC721/write/setTransferable.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC721/write/setTransferableFor.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC1155/write/setClaimConditionByTokenId.ts`, `packages/thirdweb/src/extensions/modules/__generated__/BatchMetadataERC1155/write/uploadMetadata.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC1155/write/setTransferable.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC1155/write/setTransferableFor.ts`, `packages/thirdweb/src/extensions/modules/__generated__/OpenEditionMetadataERC721/write/setSharedMetadata.ts`, `apps/portal/src/app/typescript/v5/modular/built-in/page.tsx`, `apps/portal/src/app/typescript/v5/extensions/built-in/page.tsx`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC721/read/royaltyInfo.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC1155/read/royaltyInfo.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC721/read/getRoyaltyInfoForToken.ts`, `packages/thirdweb/src/extensions/modules/__generated__/RoyaltyERC1155/read/getRoyaltyInfoForToken.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC20/read/isTransferEnabledFor.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC721/read/isTransferEnabledFor.ts`, `packages/thirdweb/src/extensions/modules/__generated__/TransferableERC1155/read/isTransferEnabledFor.ts`, `packages/thirdweb/src/extensions/modules/__generated__/ClaimableERC1155/read/getClaimConditionByTokenId.ts`, `packages/thirdweb/src/extensions/modules/__generated__/OpenEditionMetadataERC721/read/onTokenURI.ts`, `packages/thirdweb/src/exports/modules.ts`, `apps/portal/src/app/references/components/TDoc/utils/slugs.ts`, `apps/portal/src/app/references/components/TDoc/utils/getSidebarLinkgroups.ts`, `apps/portal/src/app/typescript/v5/sidebar.tsx`

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

<!-- end pr-codex -->
2024-09-12 09:41:36 +00:00
kien-ngo 28c46b3bc4 Update list-form.tsx (#4551)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the `ListForm` interface and adjust form inputs for creating direct listings and auctions.

### Detailed summary
- Refactored `ListForm` interface for direct listings and auctions
- Adjusted form inputs for price per token in direct listings and auctions

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

<!-- end pr-codex -->
2024-09-12 08:22:26 +00:00
joaquim-verges 40f01e5e89 feat: allow sending smart wallet transactions in parallel (#4544)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enabling smart wallet transactions to be sent in parallel.

### Detailed summary
- Added the ability to execute 2 transactions in parallel in smart wallets
- Implemented functions to handle account deployment in parallel transactions

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

<!-- end pr-codex -->
2024-09-12 08:06:33 +00:00
kien-ngo 6077fedd75 [Dashboard] Chain page breadcrumb (#4525)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a new "Add Your Chain" button, implement breadcrumb UI components, and enhance chain filtering options in the dashboard.

### Detailed summary
- Added `AddYourChainButton` component with a link to add a chain
- Implemented breadcrumb UI components (`Breadcrumb`, `BreadcrumbItem`, etc.)
- Enhanced chain filtering options in the dashboard with `AllFilters` and related components

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/layout.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/chainlist/components/server/chain-table.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/chainlist/page.tsx`

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

<!-- end pr-codex -->
2024-09-12 05:56:41 +00:00
samina 17e041642f Update page.mdx (#4547)
Signed-off-by: samina <[email protected]>
2024-09-11 22:55:46 -07:00
Jonas Daniels 05866381b4 [Update] Improve IP address detection for testnet faucet (#4549) 2024-09-11 22:44:59 -07:00
Jonas Daniels aabce93330 [Update] Enhance testnet faucet rate limiting and error handling (#4548) 2024-09-11 22:14:06 -07:00
gregfromstl b4e149101d [React] Feature: Show social profiles on linked accounts (#4543)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds functionality to display social profiles for linked accounts in the `LinkedProfilesScreen`.

### Detailed summary
- Added a new `LinkedProfile` component to display social profiles
- Used `useSocialProfiles` hook to fetch social profiles data
- Updated rendering logic for linked profiles
- Improved UI for displaying linked profiles

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

<!-- end pr-codex -->
2024-09-12 01:07:28 +00:00
gregfromstl 0596fa24c2 [SDK] Feature: adds findUsers function (#4541)
This replaces https://portal.thirdweb.com/connect/in-app-wallet/how-to/get-in-app-wallet-details-on-server

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a `getUser` function to query users on the server and updates related files with necessary exports and type definitions.

### Detailed summary
- Added `getUser` function to query users on the server
- Updated exports in `thirdweb.ts` and `wallets.ts`
- Added type definitions for `GetUserResult`
- Implemented `getUser` function in `getUser.ts`

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

<!-- end pr-codex -->
2024-09-12 00:51:32 +00:00
GWSzeto eda37f3031 updated documentation (#4526)
Updates the documentation of the modular contracts based on the recent refactor

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update metadata and add GitHub links to modular contract pages.

### Detailed summary
- Added GitHub links to `TransferableERC20`, `TransferableERC721`, `TransferableERC1155`, and `SequentialTokenIdERC1155` contracts
- Updated metadata for contract pages
- Removed unnecessary image imports
- Updated sidebar links for `Get Started` section in the contracts page

> The following files were skipped due to too many changes: `apps/portal/src/app/contracts/sidebar.tsx`, `apps/portal/src/app/contracts/modular-contracts/module-contracts/erc-20/misc/creatorTokenERC20/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/module-contracts/erc-1155/metadata/openEditionMetadataERC1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/module-contracts/erc-721/metadata/openEditionMetadataERC721/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/core-contracts/erc-721/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/module-contracts/erc-20/minting/mintableERC20/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/module-contracts/erc-721/minting/mintableERC721/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/module-contracts/erc-1155/minting/mintableERC1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/core-contracts/erc-20/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/core-contracts/erc-1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/module-contracts/erc-1155/metadata/batchMetadataERC1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/module-contracts/erc-721/metadata/batchMetadataERC721/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/module-contracts/erc-1155/minting/claimableERC1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/get-started/deploy-modular-contract/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/module-contracts/erc-20/minting/claimableERC20/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/module-contracts/erc-721/minting/claimableERC721/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/get-started/create-core-contract/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/module-contracts/erc-721/misc/royaltyERC721/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/module-contracts/erc-1155/misc/royaltyERC1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/how-it-works/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/get-started/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/get-started/create-module-contract/page.mdx`

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

<!-- end pr-codex -->
2024-09-12 00:47:29 +00:00
MananTank c3800d6c07 Add Linked wallets page in account layout (#4542)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates account pages with new components, refactors UI, and adds wallet linking functionality.

### Detailed summary
- Updated components for account teams and wallets
- Added wallet linking feature
- Refactored UI for better user experience

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

<!-- end pr-codex -->
2024-09-11 23:01:52 +00:00
ian adbac73065 Ian/multi auth (#4538) 2024-09-11 14:42:52 -07:00
Joe-Thirdweb 4f2c15f3cd Joe OP Superchain Additions. (#4532) 2024-09-11 14:27:27 -07:00
Giselle Chacon Nessi af13b5600d Fix gradient overlap on apply button - startup page (#4535) 2024-09-11 13:55:45 -07:00
MananTank 6991ac57f6 Add Account overview page (#4539)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `TeamPlanBadge` component and updates various files to use it for displaying team plans.

### Detailed summary
- Added `TeamPlanBadge` component to display team plans
- Updated `TeamHeaderUI` and `AccountTeamsUI` components to use `TeamPlanBadge`
- Created stories for `AccountTeamsUI` component with different team plan variants

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

<!-- end pr-codex -->
2024-09-11 20:32:27 +00:00
MananTank bd3e04d717 Fix Progress bar overflow on UsageCard (#4540)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR improves the UsageCard component in the Account settings by ensuring the width does not exceed 100%.

### Detailed summary
- Updated the width calculation in the UsageCard component to ensure it does not exceed 100%

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

<!-- end pr-codex -->
2024-09-11 20:27:24 +00:00
MananTank 723137820f Fix SidebarLayout overflow and billing alert spacing (#4537)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the styling of alerts in the `Alert.tsx` component and add `overflow-hidden` to the main content in `SidebarLayout.tsx`.

### Detailed summary
- Updated styling of alerts in `Alert.tsx` by replacing `mb={12}` with `className="py-6"`
- Added `overflow-hidden` to the main content in `SidebarLayout.tsx` for better layout.

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

<!-- end pr-codex -->
2024-09-11 18:40:27 +00:00
gregfromstl 7bad5ef1ad [Playground] Feature: Update social api page (#4529)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the `SocialProfiles` component, update dependencies, and improve profile card rendering.

### Detailed summary
- Refactored `SocialProfiles` component to use `useMutation` and `useState`
- Updated dependencies for `@react-native-async-storage/async-storage`
- Improved profile card rendering with `ProfileCard` component
- Added error handling for weird avatar formats in `SocialProfileCard`

> 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-09-11 16:43:42 +00:00
MananTank 52b2ec23e2 Sidebars cleanup (#4534)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates sidebar components and layouts in the dashboard, adds `SidebarLayout`, and refactors sidebar imports.

### Detailed summary
- Updated sidebar links in various components
- Added `SidebarLayout` component
- Refactored sidebar imports to use `SidebarLayout` and `MobileSidebar`
- Updated layout components for better organization

> The following files were skipped due to too many changes: `apps/dashboard/src/pages/dashboard/settings/notifications.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/create/EcosystemCreatePage.tsx`, `apps/dashboard/src/pages/dashboard/settings/api-keys/[id].tsx`, `apps/dashboard/src/pages/dashboard/settings/api-keys/index.tsx`, `apps/dashboard/src/pages/dashboard/contracts/publish.tsx`, `apps/dashboard/src/components/layout/app-shell/index.tsx`, `apps/dashboard/src/pages/dashboard/settings/devices.tsx`, `apps/dashboard/src/pages/publish/[...paths].tsx`, `apps/dashboard/src/pages/dashboard/contracts/deploy.tsx`, `apps/dashboard/src/@/components/blocks/SidebarLayout.stories.tsx`, `apps/dashboard/.storybook/preview.tsx`, `apps/dashboard/src/pages/dashboard/connect/analytics.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/layout.tsx`, `apps/dashboard/src/pages/dashboard/connect/in-app-wallets.tsx`, `apps/dashboard/src/pages/dashboard/settings/storage.tsx`, `apps/dashboard/src/app/(dashboard)/trending/page.tsx`, `apps/dashboard/src/pages/dashboard/connect/account-abstraction.tsx`, `apps/dashboard/src/app/account/layout.tsx`, `apps/dashboard/src/@/components/blocks/MobileSidebar.tsx`, `apps/dashboard/src/@/components/blocks/Sidebar.tsx`, `apps/dashboard/src/core-ui/sidebar/contracts.tsx`, `apps/dashboard/src/pages/explore/index.tsx`, `apps/dashboard/src/core-ui/sidebar/settings.tsx`, `apps/dashboard/src/components/pages/publish.tsx`

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

<!-- end pr-codex -->
2024-09-11 16:15:23 +00:00
kien-ngo d6e9def577 [Dashboard] Fix url params for fn overload (#4324)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR exposes `toFunctionSelector` and updates its usage in the dashboard component for better navigation.

### Detailed summary
- Exposed `toFunctionSelector` in `thirdweb/utils.ts`
- Updated `ContractFunctionsPanel` to use `toFunctionSelector` for navigation based on function selector
- Improved function selection logic in `FunctionsOrEventsListItem` to use `toFunctionSelector`

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

<!-- end pr-codex -->
2024-09-11 16:07:45 +00:00
joaquim-verges 75855ea345 feat: Add examples for contract deployment and export new functions (#4533)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding new types and functions related to deploy transactions and contracts in the `thirdweb` package.

### Detailed summary
- Added `DeployTransactionType` and `DeployTransactionResult` types
- Added `getRequiredTransactionCount` function
- Updated exports for deploy functions
- Updated examples and comments for deploying contracts

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

<!-- end pr-codex -->
2024-09-11 09:31:34 +00:00
Joaquim Verges b76a82c303 Update React Native dependencies and add support for React Native 0.75 (#4527) 2024-09-11 20:37:58 +12:00
gregfromstl 25ad74fb55 [Portal] Docs: Adds Social API docs (#4531)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds `Social API` functionality to the codebase.

### Detailed summary
- Added `@social` tag to `useSocialProfiles` and `getSocialProfiles` functions
- Updated sidebar components to include `Social API` section with relevant links
- Updated sidebar order to include `Social API` in the correct position

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

<!-- end pr-codex -->
2024-09-11 06:43:06 +00:00
kien-ngo 20a74eb0f5 [Dashboard] Fix BigInt serialize issue (#4530)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates NFT handling in the wallet and contract UI components. It replaces `BigInt` with `string` for `id` and `supply` fields to prevent serialization errors and improves metadata handling.

### Detailed summary
- Replaced `BigInt` with `string` for `id` and `supply` fields in `WalletNFT` type
- Updated NFT handling in various files to ensure compatibility and prevent serialization errors

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

<!-- end pr-codex -->
2024-09-11 06:22:07 +00:00
joaquim-verges c96e2d9777 feat: handle salt for deterministic deploys (#4528)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding support for deterministic contract deployment using a salt parameter.

### Detailed summary
- Added support for passing a `salt` parameter for deterministic contract deployment
- Updated functions to handle the `salt` parameter for deterministic deploys
- Modified tests to include deterministic deployment scenarios

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/prebuilts/deploy-published.ts`, `packages/thirdweb/src/contract/deployment/deploy-with-abi.ts`, `packages/thirdweb/test/src/abis/proxy.ts`

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

<!-- end pr-codex -->
2024-09-11 05:16:55 +00:00
jnsdls beb894a355 Matic -> POL (#4524) 2024-09-11 02:35:36 +00:00
jnsdls 495aa042ba ts 5.6 and other updates (#4522)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update dependencies across multiple packages and fix minor code issues.

### Detailed summary
- Updated `typedoc` to versions `0.26.7`.
- Updated `tsup` to versions `8.2.4`.
- Updated `typescript` to versions `5.6.2`.
- Updated various packages to use the latest TypeScript version.
- Fixed minor code issues like handling `delete` operations and eslint comments.

> The following files were skipped due to too many changes: `packages/thirdweb/src/wallets/in-app/core/eip5972/in-app-wallet-calls.ts`, `legacy_packages/wallets/src/evm/connectors/gcp-kms/utils/gcp-kms-utils.ts`, `apps/dashboard/package.json`, `packages/thirdweb/package.json`, `legacy_packages/contracts-js/package.json`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-09-11 02:35:34 +00:00
kien-ngo 02aabbf97d [SDK] More tests for NFT extensions (#4470)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add tests and functions for updating token URIs in ERC721 and ERC1155 contracts.

### Detailed summary
- Added test for updating metadata in ERC721 contract
- Added test for updating metadata in ERC1155 contract
- Created functions to update token URIs in ERC721 and ERC1155 contracts

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

<!-- end pr-codex -->
2024-09-11 02:09:30 +00:00
MananTank 4762ca4dd9 Add initial Account layout (#4517)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates file imports, restructures components, and adds a new `TabPathLinks` component.

### Detailed summary
- Updated file imports for components
- Reorganized component structure
- Added `TabPathLinks` component
- Updated `AccountHeader` component for accounts
- Added `HeaderAndNav` function for account layout

> The following files were skipped due to too many changes: `apps/dashboard/src/stories/stubs.ts`, `apps/dashboard/src/app/account/components/AccountHeaderUI.stories.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/layout.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/TeamHeaderUI.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/TeamSelectionUI.tsx`, `apps/dashboard/src/app/account/components/AccountHeaderUI.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/TeamHeaderUI.stories.tsx`

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

<!-- end pr-codex -->
2024-09-11 01:48:24 +00:00
joaquim-verges fe1ff63bf9 Get transaction count for deploys (#4499)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating contract initializer parameters from arrays to objects for better clarity and consistency.

### Detailed summary
- Updated contract initializer params from arrays to objects for improved readability
- Refactored multiple files to use object-based contract params
- Added normalization function for function parameters in zkDeployContract file

> The following files were skipped due to too many changes: `packages/thirdweb/src/contract/deployment/zksync/zkDeployContract.ts`, `packages/thirdweb/src/utils/abi/normalizeFunctionParams.ts`, `packages/thirdweb/src/extensions/prebuilts/deploy-published.test.ts`, `packages/thirdweb/test/src/chains.ts`, `packages/thirdweb/src/contract/deployment/zksync/zkDeployDeterministic.ts`, `packages/thirdweb/src/extensions/prebuilts/deploy-marketplace.ts`, `packages/thirdweb/src/utils/any-evm/compute-published-contract-address.ts`, `packages/thirdweb/src/utils/any-evm/compute-published-contract-deploy-info.ts`, `packages/thirdweb/src/contract/deployment/deploy-deterministic.test.ts`, `packages/thirdweb/src/extensions/prebuilts/get-required-transactions.test.ts`, `packages/thirdweb/src/extensions/prebuilts/get-required-transactions.ts`, `packages/thirdweb/src/extensions/prebuilts/deploy-modular-core.test.ts`, `packages/thirdweb/src/contract/deployment/utils/infra.ts`, `packages/thirdweb/src/extensions/prebuilts/deploy-modular.ts`, `packages/thirdweb/src/contract/deployment/utils/bootstrap.ts`, `packages/thirdweb/src/extensions/prebuilts/deploy-published.ts`

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

<!-- end pr-codex -->
2024-09-11 01:16:26 +00:00
kien-ngo bcd033b0ef [SDK] test for ERC20 transferFrom (#4471)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding tests for ERC20 token `transferFrom` function with different `amount` and `amountWei` parameters.

### Detailed summary
- Added tests for `transferFrom` function with `amount` parameter
- Added tests for `transferFrom` function with `amountWei` parameter
- Utilized test utilities and prebuilt functions
- Checked balance after transfer for correctness

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

<!-- end pr-codex -->
2024-09-11 00:50:24 +00:00
kien-ngo 052f56a433 [SDK] Add test getApprovalForTransaction.test.ts (#4472)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add test cases for the `getApprovalForTransaction` function in the ERC20 extension.

### Detailed summary
- Added test cases for `getApprovalForTransaction` function
- Imported necessary modules for testing
- Defined test parameters such as chain, client, and accounts
- Tested approval transaction scenarios

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

<!-- end pr-codex -->
2024-09-11 00:20:33 +00:00
gregfromstl 2166dec9cb [SDK] Feature: Pay analytics (#4490)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding tracking events for various payment methods and transactions across different screens.

### Detailed summary
- Added a new function `trackPayEvent` for tracking payment events
- Added tracking events for different payment methods like buy, direct payment, and swap
- Updated multiple files to include tracking events for specific user actions

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

<!-- end pr-codex -->
2024-09-10 23:44:23 +00:00
jnsdls 865c5e3b16 [Update] Handle undefined wallet address in WalletAddress component (#4523)
### TL;DR

Enhanced the WalletAddress component to handle undefined addresses and improved address display.

### What changed?

- Added support for undefined addresses by defaulting to ZERO_ADDRESS
- Updated address processing to use the new default address
- Made the WalletAvatar conditional on the presence of an address
- Imported ZERO_ADDRESS from the thirdweb library

### How to test?

1. Render the WalletAddress component with an undefined address
2. Verify that it displays the ZERO_ADDRESS
3. Test with valid addresses to ensure proper shortening and display
4. Check that the WalletAvatar only appears when an address is provided

### Why make this change?

This change improves the robustness of the WalletAddress component by gracefully handling undefined addresses. It prevents potential errors and provides a consistent display even when address data is missing or not yet loaded.

---
2024-09-10 23:24:26 +00:00
jnsdls 5d77096129 [Refactor] Replace StorageSingleton with thirdweb storage download (#4518)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates NFT transformation functions in `alchemy.ts` and `moralis.ts` to use `download` method with `thirdwebClient` for fetching metadata.

### Detailed summary
- Updated NFT transformation functions to use `download` method with `thirdwebClient` for fetching metadata
- Replaced `StorageSingleton.downloadJSON` with `download` method in both files

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

<!-- end pr-codex -->
2024-09-10 23:07:22 +00:00
gregfromstl ba3c8d0ea9 [Wallet UI] Fix: Redirect on login (#4521)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the login process by simplifying the `login` function and updating the login logic in the login page component.

### Detailed summary
- Simplified `login` function in `auth.ts`
- Updated login logic in `login/page.tsx` to use the simplified `login` function and navigate to wallet page after successful login

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

<!-- end pr-codex -->
2024-09-10 23:03:23 +00:00
Sergiy Dybskiy 5c4b1ae6a6 Update page.mdx (#4496)
Signed-off-by: Sergiy Dybskiy <[email protected]>
2024-09-10 15:56:54 -07:00
gregfromstl a1d0792f58 [Playground] Feature: Social Page (#4519)
<img width="1143" alt="Screenshot 2024-09-10 at 2 30 34 PM" src="https://github.com/user-attachments/assets/c3848dce-0bb2-4bd7-ac8a-300f1757a207">

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add social profile functionality and API documentation to the app.

### Detailed summary
- Added "Social" link to nav bar
- Implemented `Badge` component with variants
- Created `SocialProfiles` component to display user profiles
- Added API documentation for social profiles

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

<!-- end pr-codex -->
2024-09-10 22:35:02 +00:00
gregfromstl f914379421 [SDK] Feature: Adds LINE auth method (#4500)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add support for LINE authentication in various parts of the application.

### Detailed summary
- Added LINE authentication option in multiple files
- Updated constants and icons for LINE
- Integrated LINE in authentication flows

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

<!-- end pr-codex -->
2024-09-10 21:33:22 +00:00
Jonas Daniels 8cc1d36a9e [Update] Remove console log and optimize NFT reveal check (#4516) 2024-09-10 13:15:50 -07:00
dependabot[bot] 8a58ca7639 Bump @walletconnect/ethereum-provider from 2.15.2 to 2.16.1 (#4486)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-10 13:15:14 -07:00
jnsdls 9aa5b621ed wallet social profiles in dashboard (#4502)
before:
<img width="1942" alt="image" src="https://github.com/user-attachments/assets/8ac59faa-f81c-4670-98e5-f750ce68e5d6">

after:
<img width="1819" alt="image" src="https://github.com/user-attachments/assets/c8c015eb-528b-44a7-8cd5-478ca3ca907e">

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds social API domain support, new UI components, and updates dependencies.

### Detailed summary
- Added `THIRDWEB_SOCIAL_API_DOMAIN` in `urls.ts`
- Added `WalletAddress` component
- Updated UI components in various files
- Added new dependencies like `@radix-ui/react-avatar` and `@radix-ui/react-hover-card`

> The following files were skipped due to too many changes: `apps/dashboard/src/components/wallets/ConnectWalletMiniPlayground/MiniPlayground.tsx`, `apps/dashboard/src/contract-ui/tabs/analytics/page.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/split-fieldset.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/custom-contract.tsx`, `apps/dashboard/src/contract-ui/tabs/manage/components/InstalledModulesTable.tsx`, `apps/dashboard/src/components/contract-components/contract-table-v2/index.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PaymentHistory.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/MarketplaceDetails.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/table.tsx`, `apps/dashboard/src/pages/[chain_id]/[...paths].tsx`, `apps/dashboard/src/components/embedded-wallets/Users/index.tsx`, `apps/dashboard/src/components/engine/overview/engine-overview.tsx`, `apps/dashboard/src/components/engine/permissions/access-tokens-table.tsx`, `apps/dashboard/src/contract-ui/tabs/shared-components/marketplace-table.tsx`, `apps/dashboard/src/pages/dashboard/connect/analytics.tsx`, `apps/dashboard/src/app/(dashboard)/styleguide/page.tsx`, `apps/dashboard/src/contract-ui/tabs/account-permissions/components/account-signer.tsx`, `apps/dashboard/src/components/engine/engine-instances-table.tsx`, `apps/dashboard/src/components/engine/overview/backend-wallets-table.tsx`, `apps/dashboard/src/components/engine/overview/transactions-table.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PayCustomersTable.tsx`, `apps/dashboard/src/@/components/ui/hover-card.tsx`, `apps/dashboard/src/@/components/ui/avatar.tsx`, `apps/dashboard/src/@/components/blocks/wallet-address.tsx`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-09-10 19:52:29 +00:00
jnsdls 8636c28d0f [Update] Fix ERC721 delayed reveal detection and refactor related components (#4503)
FIX: DASH-218

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing ERC721 delayed reveal detection and improving lazy minting functionality.

### Detailed summary
- Fixed ERC721 delayed reveal detection
- Updated functions related to lazy minting
- Improved detection of supported methods in ERC721 extensions

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

<!-- end pr-codex -->
2024-09-10 19:40:18 +00:00
Winston Yeo 50212762f3 docs: update query input and output type (#4509) 2024-09-11 07:39:02 +12:00
MananTank a1b17b9de3 Remove z-indices from ScrollShadow component (#4515)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR removes the `z-index` property from the `ScrollShadow` component in the dashboard UI to prevent stacking issues.

### Detailed summary
- Removed `z-index` property from `ScrollShadow` component in `ScrollShadow.tsx`
- Adjusted styles in `ScrollShadow.module.css` to remove `z-index` property

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

<!-- end pr-codex -->
2024-09-10 19:01:36 +00:00
MananTank 75b9131dc8 Add Account Abstraction pages in teams (#4510)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates API key handling and smart wallet components.

### Detailed summary
- Added `isOpChainId` function for chain validation
- Modified `getAuthToken` and `getAPIKey` functions
- Updated `SponsorshipPolicies` and `SmartWallets` components
- Introduced `AccountAbstractionPage` for account abstraction details

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

<!-- end pr-codex -->
2024-09-10 18:32:04 +00:00
gregfromstl 25654aed5f [Playground] Fix: No longer auto disconnect from modal (#4513)
Users are reporting the inability to login on the modal as a "bug" and it's causing confusion while trying to reproduce actual bugs. This PR allows connecting on the playground modal as is the expected behavior.

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the `navLinks.ts` file and refactor the `RightSection.tsx` component in the `playground-web` app.

### Detailed summary
- Updated the name from "in-App wallet" to "In-App wallet" in `navLinks.ts`
- Refactored the `RightSection` component in `RightSection.tsx`
- Removed the `useDisconnect` hook and refactored the disconnect logic in `RightSection.tsx`
- Improved conditional rendering for the modal in `RightSection.tsx`

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

<!-- end pr-codex -->
2024-09-10 18:24:30 +00:00
joaquim-verges 6353cb7331 test: Add createAndReveal test for ERC721 lazy minting (#4507)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR fixes an error related to ERC721 delayed reveal simulation.

### Detailed summary
- Fixed error in ERC721 delayed reveal simulation
- Added tests for `reveal` function
- Added `createAndReveal` function for batch creation and reveal

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

<!-- end pr-codex -->
2024-09-10 18:09:39 +00:00
MananTank 85facd88e4 Fix Get started with deploying contract card click, increase gap between steps (#4512)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the StepsCard component styling and add a new hook `useDashboardRouter` for navigation in the GetStartedWithContractsDeploy component.

### Detailed summary
- Updated styling in `StepsCard` component
- Added `useDashboardRouter` hook for navigation in `GetStartedWithContractsDeploy` component

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

<!-- end pr-codex -->
2024-09-10 17:41:40 +00:00
Manan Tank c321692e5c Fix ecosystem partners table (#4508) 2024-09-10 09:53:43 -07:00
jnsdls 0607d73340 FIX: DASH-217 (#4506) 2024-09-10 10:05:36 +00:00
jnsdls 7a4fadc38e [Update] Resolve image scheme in contract metadata (#4505)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update the `SettingsMetadata` component in `metadata.tsx` to resolve image URIs using the `resolveScheme` function from `thirdweb/storage`.

### Detailed summary
- Added import for `resolveScheme` from `thirdweb/storage`
- Resolved image URIs using `resolveScheme` function
- Updated the dependencies of the `useMemo` hook to include `contract.client`

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

<!-- end pr-codex -->
2024-09-10 09:52:07 +00:00
kien-ngo ed39b3d5f5 [Portal] Update useProfiles docs (#4501)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the import in `useProfiles.ts` to use `useProfiles` instead of `use`.

### Detailed summary
- Updated import from `use` to `useProfiles` in `useProfiles.ts`

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

<!-- end pr-codex -->
2024-09-10 07:45:38 +00:00
Joe-Thirdweb 9ddc625c37 Joe - SignIn + Pay redirects (#4485) 2024-09-10 00:44:19 -07:00
MananTank adf3404261 Fix deploy button link on contract page with search params in URL (#4495)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor imports in the `publish.tsx` file in the `dashboard` component.

### Detailed summary
- Added imports for `Badge`, `Button`, and `Select` components
- Updated imports for `usePathname` and `useSearchParams`
- Removed duplicate imports for `Select` related components
- Updated import paths for certain components

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

<!-- end pr-codex -->
2024-09-10 02:08:11 +00:00
gregfromstl eb88ed65a4 [Wallet UI] Fix: remove default favicon (#4494)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR removes the `favicon.ico` file from the `wallet-ui` app.

### Detailed summary
- Deleted the `favicon.ico` file from the `wallet-ui` app.

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

<!-- end pr-codex -->
2024-09-10 01:57:35 +00:00
jnsdls 8119db08b3 v5 deploy sdk changes (#4497) 2024-09-10 00:33:26 +00:00
jnsdls bb9ce26d6b [Add] Support for modular contracts in explore and deploy pages (#4288)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates contract components and SDK with default modules support.

### Detailed summary
- Added `defaultModules` support in SDK and contract components
- Updated contract card to display modules
- Added transfer validator field in royalty fieldset
- Improved contract publishing information display

> The following files were skipped due to too many changes: `apps/dashboard/src/components/contract-components/shared/published-by.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/custom-contract.tsx`, `apps/dashboard/src/components/explore/contract-card/index.tsx`, `apps/dashboard/src/components/pages/publish.tsx`, `apps/dashboard/src/data/explore.ts`

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

<!-- end pr-codex -->
2024-09-10 00:12:40 +00:00
MananTank 1ceaa72bef Add Ecosystem wallet pages in teams (#4491)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on restructuring ecosystem-related components and pages in the dashboard.

### Detailed summary
- Deleted `redirects.js`.
- Updated page components for ecosystem permissions and creation.
- Added new components for ecosystem layout and header.
- Modified functions for fetching ecosystem data and ecosystem selection.

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/ecosystem-header.client.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/EcosystemLandingPage.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/page.tsx`

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

<!-- end pr-codex -->
2024-09-09 23:58:38 +00:00
MananTank efc12ee720 Remove sidebar on contracts page in teams layout (#4475)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to simplify the layout component in the contracts section by removing unnecessary elements and only rendering the children components.

### Detailed summary
- Removed sidebar and mobile sidebar components
- Simplified layout to only render children components

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

<!-- end pr-codex -->
2024-09-09 22:43:28 +00:00
MananTank f9953d36b1 Fix contact us form select element background (#4493)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a `data-theme` attribute to the `Card` component in `contact-us.tsx`.

### Detailed summary
- Added `data-theme="light"` attribute to the `Card` component.

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

<!-- end pr-codex -->
2024-09-09 22:37:42 +00:00
Jonas Danielsandgithub-actions[bot] 85c951a2e6 Version Packages (#4453)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-10 09:55:54 +12:00
Joaquim Verges e8bf4c54d0 chore: Remove trailing newline in assetchain-testnet.ts (#4492) 2024-09-10 09:38:01 +12:00
James Harrison Somto eb2d469c9e chores: added assetchain-testnet in chains folder (#4445) 2024-09-09 14:09:01 -07:00
dependabot[bot] bedac13b86 Bump @next/eslint-plugin-next from 14.2.8 to 14.2.9 (#4484)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 14:07:13 -07:00
dependabot[bot] be76d991ff Bump knip from 5.29.2 to 5.30.1 (#4480)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 14:06:51 -07:00
greg 80e0bfe4c5 [React SDK] Fix: Properly read current wallet erc20 balance (#4478) 2024-09-10 09:06:25 +12:00
Joaquim Verges 371edea5be test: Conditionally run tests based on TW_SECRET_KEY (#4487) 2024-09-09 14:05:56 -07:00
greg baf1a21d69 [SDK] Fix: SocialProfiles type changed to SocialProfile[] (#4473) 2024-09-10 09:05:39 +12:00
MananTank 4fcbe10ebc Migrate Notifications page to tailwind, Add in teams (#4474)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `SettingsNotificationsPage` component to handle notification settings in the dashboard.

### Detailed summary
- Added `SettingsNotificationsPage` component to manage notification settings
- Refactored `Page` component to use `SettingsNotificationsPage`
- Updated UI for notification settings with switches and labels

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

<!-- end pr-codex -->
2024-09-09 20:14:20 +00:00
kumaryash90 42feff3a3a More storage slots for proxy resolution (#4477)
## Problem solved

Add another storage slot for proxy resolution:

keccak256("org.zeppelinos.proxy.implementation")

ref: https://basescan.org/address/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913#code

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance proxy resolution in the `thirdweb` package by adding more storage slots for implementation addresses.

### Detailed summary
- Added more storage slots for proxy resolution in `resolveImplementation.test.ts`
- Updated global setup in `globalSetup` function in `globalSetup.ts`
- Added base chain definitions and RPC URL in `chains.ts`
- Improved implementation address extraction in `resolveImplementation.ts`

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

<!-- end pr-codex -->
2024-09-09 19:43:21 +00:00
arcoraven 7d508aa243 fix: add idempotency key to faucet (#4468)
Sets an idempotency key to Engine that prevents duplicate transactions _today_ (UTC).

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates error message spelling and adds idempotency key to prevent duplicate claims in the testnet faucet API.

### Detailed summary
- Fixed spelling error in error message
- Added idempotency key to prevent duplicate claims

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

<!-- end pr-codex -->
2024-09-09 08:35:13 +00:00
Joaquim Verges 83de802c06 feat(docs): Add in-app wallet creation and authentication details (#4469) 2024-09-09 20:18:04 +12:00
Joaquim Verges d8e7458b6c portal: Add Coinbase Wallet dedicated page on portal (#4467) 2024-09-09 17:33:06 +12:00
joaquim-verges 763e4390f7 chore: social named export (#4466)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to export additional social functions and types in the `thirdweb` package.

### Detailed summary
- Exported `SocialProfiles`, `EnsProfile`, `FarcasterProfile`, and `LensProfile` from `social/types.js`
- Added paths for social types in `package.json` under `social` section

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

<!-- end pr-codex -->
2024-09-09 04:36:29 +00:00
joaquim-verges 2b5101a56d test: add individual event filtering test (#4465)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a new test in `get-events.test.ts` for getting individual events with filters.

### Detailed summary
- Added a new test for getting individual events with filters in `get-events.test.ts`
- Removed a `console.log` statement in `coinbaseMobileSDK.ts`

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

<!-- end pr-codex -->
2024-09-09 04:30:57 +00:00
Joaquim Verges f1d087e24e feat: cb smart wallet for react native (#4094) 2024-09-09 13:12:03 +12:00
MananTank 9d84aff266 Add deployed contracts page in teams layout (#4440)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to introduce a new component `Progress` using `@radix-ui/react-progress`, update styles, add a new layout component, and improve import handling.

### Detailed summary
- Added a new `Progress` component using `@radix-ui/react-progress`
- Updated styles for various components
- Introduced a new layout component for team/project contracts
- Improved import handling with `useDashboardRouter` usage

> The following files were skipped due to too many changes: `apps/dashboard/src/components/dashboard/StepsCard.stories.tsx`, `apps/dashboard/src/@/components/ui/select.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/contracts/_components/GetStartedWithContractsDeploy.tsx`, `apps/dashboard/src/components/dashboard/StepsCard.tsx`, `apps/dashboard/src/pages/dashboard/contracts/deploy.tsx`

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

<!-- end pr-codex -->
2024-09-08 16:13:56 +00:00
Myk e3b4b4fc8c Fix starter template link for modular contracts (#4455)
Signed-off-by: Myk <[email protected]>
2024-09-08 08:26:22 -07:00
joaquim-verges f3a6179e37 fix: use themable SVGs in react native for common icons (#4462)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to fix the common icons theme in React Native components.

### Detailed summary
- Updated icons in `WalletImage.tsx` and `ConnectModal.tsx`
- Refactored `getAuthProviderImage` function
- Added new `PASSKEY_ICON` in `svgs.ts`

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/core/utils/walletIcon.ts`

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

<!-- end pr-codex -->
2024-09-08 10:24:19 +00:00
kien-ngo f66bccaba3 [Dashboard] Refactor some code for the Explorer (#4438)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds state management for execution mode (read, write, simulate) and refactors error and data handling in `InteractiveAbiFunction`.

### Detailed summary
- Added `useState` for execution mode
- Refactored error and data handling based on execution mode
- Improved formatting of response data
- Updated button disable conditions for simulation and transaction handling

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

<!-- end pr-codex -->
2024-09-08 05:52:42 +00:00
MananTank 7dd2869e24 Add Usage page in teams layout (chakra) (#4459)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the settings usage page in the dashboard app.

### Detailed summary
- Refactored usage page to use `SettingsUsagePage` component
- Removed redundant imports and code in `usage.tsx`
- Updated `Page` component to render `SettingsUsagePage`
- Updated `getLayout` and `pageId` in `Page` component

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

<!-- end pr-codex -->
2024-09-07 21:55:32 +00:00
MananTank 0978befdf0 Add credits page in team settings (chakra) (#4458)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the settings page for gas credits, adding a new component and improving the layout.

### Detailed summary
- Added a new component `SettingsGasCreditsPage` for gas credits settings
- Updated the layout of the gas credits settings page
- Removed unused imports and components
- Renamed `SettingsGasCreditsPage` to `Page` and updated references

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

<!-- end pr-codex -->
2024-09-07 21:55:30 +00:00
MananTank 1fbc1df7f3 Add Billing page in team settings (chakra) (#4457)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors the billing settings pages by introducing a new `SettingsBillingPage` component and updating related components for better organization and structure.

### Detailed summary
- Introduces a new `SettingsBillingPage` component for billing settings
- Updates components to use the new `SettingsBillingPage`
- Removes unnecessary code related to account and router handling

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

<!-- end pr-codex -->
2024-09-07 21:55:27 +00:00
MananTank aae90406a4 Add Engine pages to teams (chakra) (#4456)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on restructuring file paths and components related to engine management in the dashboard.

### Detailed summary
- Moved `engine-access-tokens.tsx` to `permissions` folder
- Added `EngineInstancePageProps` type in `types.ts`
- Created new pages for engine creation and import
- Updated various components related to engine management
- Refactored file paths for better organization

> The following files were skipped due to too many changes: `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/layout.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/GeneralSettingsPage.tsx`, `apps/dashboard/src/@/components/blocks/MobileSidebar.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/page.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/TeamHeaderUI.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/metrics/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/admins/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/_components/sidebar/TeamsMobileNav.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/relayers/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/explorer/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/webhooks/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/access-tokens/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/configuration/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/contract-subscriptions/page.tsx`, `apps/dashboard/src/pages/dashboard/engine/index.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/TeamOverviewPage.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(general)/layout.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(general)/sidebars.tsx`, `apps/dashboard/src/components/engine/engine-instances-table.tsx`, `apps/dashboard/src/@/components/ChakraProviderSetup.tsx`, `apps/dashboard/src/@/components/ui/NavLink.tsx`, `apps/dashboard/src/app/team/[team_slug]/components/account-button.client.tsx`, `apps/dashboard/src/components/engine/EnginePage.tsx`, `apps/dashboard/src/components/engine/EngineSidebar.tsx`, `apps/dashboard/src/components/engine/create/ConfirmEngineTierDialog.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/members/InviteSection.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/members/ManageMembersSection.tsx`, `apps/dashboard/src/components/engine/engine-list.tsx`, `apps/dashboard/src/components/engine/import/EngineImportPage.tsx`, `apps/dashboard/src/components/engine/create/CreateEnginePage.tsx`, `apps/dashboard/src/pages/dashboard/engine/import.tsx`, `apps/dashboard/src/pages/dashboard/engine/create.tsx`, `apps/dashboard/src/components/engine/EnginePageLayout.tsx`

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

<!-- end pr-codex -->
2024-09-07 21:55:25 +00:00
jnsdls 2aadeb7266 [Update] Add null check for code in CodeBlock component (#4460) 2024-09-07 20:39:16 +00:00
joaquim-verges c546b65e17 export createAndSignUserOp (#4454)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR exposes a new utility function `createAndSignUserOp` in `thirdweb` package.

### Detailed summary
- Added `createAndSignUserOp` utility function
- Imported `toSerializableTransaction`
- Updated function `getAccountNonce`
- Added `createAndSignUserOp` function with detailed documentation

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

<!-- end pr-codex -->
2024-09-07 09:17:29 +00:00
Joe-Thirdweb 88f89f2d84 Joe ancient8 + Donatuz OP Addition (#4448) 2024-09-07 19:28:31 +12:00
Jonas Danielsandgithub-actions[bot] 10f654d832 Version Packages (#4420)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-07 11:22:25 +12:00
edwardysun b4ab8cde1f AA Session Keys docs - small updates (#4451)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the user operation signing process and renames `smartWallet` to `wallet` for consistency.

### Detailed summary
- Updated user operation signing to be asynchronous
- Renamed `smartWallet` to `wallet` for consistency
- Changed `addAdmin` import to `addSessionKey`

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

<!-- end pr-codex -->
2024-09-06 22:53:04 +00:00
MananTank 775ab6d5c3 Add/Fix options for hiding buttons on details modal on useWalletDetailsModal (#4450)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add options for hiding buttons on the details modal in the `ConnectWallet` feature.

### Detailed summary
- Added options to hide "Send Funds," "Receive Funds," and "Buy Funds" buttons in the details modal
- Updated `ConnectButton.tsx` and `Details.tsx` to include new hide options
- Modified `UseWalletDetailsModalOptions` type to support new hide options

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

<!-- end pr-codex -->
2024-09-06 22:09:25 +00:00
jnsdls 5fea748537 fix posthog (#4449) 2024-09-06 21:21:39 +00:00
jnsdls f0d0f377dc [Update] Fix baseURI extraction logic and refactor lazy mint form (#4447)
FIXES: DASH-210

<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to fix the baseURI extraction logic in the `lazy-mint-form.tsx` file.

### Detailed summary
- Removed unnecessary `upload` function calls for image and animation URLs
- Updated data processing logic in `LazyMintNftForm`
- Refactored `getBaseUriFromBatch` function for URI extraction
- Added tests for `getBaseUriFromBatch` function

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

<!-- end pr-codex -->
2024-09-06 20:51:30 +00:00
gregfromstl f39e1bab8f [React SDK] Feature: Improved React Query Caching (#4446)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR improves React Query caching performance by optimizing structural sharing in the `ThirdwebProviderCore`.

### Detailed summary
- Added `structuralSharing` function to optimize caching performance
- Implemented `deepEqual` function for deep comparison
- Updated `ThirdwebProviderCore` to use `structuralSharing` for better caching efficiency

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

<!-- end pr-codex -->
2024-09-06 20:29:29 +00:00
gregfromstl a2d22911bc [SDK] Feature: Social Extension (Beta) (#4349)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds support for fetching social profiles for Farcaster, Lens, and ENS.

### Detailed summary
- Added functions to fetch social profiles for different protocols
- Updated components to use social profile data
- Updated types for social profiles and profiles metadata

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx`

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

<!-- end pr-codex -->
2024-09-06 19:46:13 +00:00
Edward Sun 9cefe5f2df Crypto test mode use send transaction (#4444) 2024-09-06 12:16:26 -07:00
Edward Sun e7bf498995 Add testMode to buyWithCrypto pay options (#4435) 2024-09-06 11:06:55 -07:00
MananTank 498d543bdc Fix getFunctionId implementation (#4443)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates `getFunctionId` in `function-id.ts` to use `randomBytesHex` instead of `uint8ArrayToHex`.

### Detailed summary
- Replaced `uint8ArrayToHex` with `randomBytesHex` function
- Changed `functionIdCache` from WeakMap to Map

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

<!-- end pr-codex -->
2024-09-06 17:54:43 +00:00
jnsdls 88f7e7df6d [Update] Simplify login check and always set active account cookie (#4442) 2024-09-06 17:23:24 +00:00
kien-ngo cab83fb08a [Dashboard] Fix single lazy mint form (#4441)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds functionality to upload images and animations for lazy minting NFTs in the `LazyMintNftForm` component.

### Detailed summary
- Added `upload` import from `thirdweb/storage`.
- Modified form submission to upload image and animation URLs.
- Updated data handling for image and animation URLs.

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

<!-- end pr-codex -->
2024-09-06 15:56:53 +00:00
kien-ngo 232ce67703 [Dashboard] Fix missing updateMetadata form (#4439)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `useNftDrawerTabs` functionality by allowing updates to metadata in addition to token URI.

### Detailed summary
- Updated condition to include support for updating metadata
- Added option to update metadata in the tabs if supported

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

<!-- end pr-codex -->
2024-09-06 09:02:25 +00:00
kien-ngo 94112dc9fa [Playground] Update description (#4436)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the description in the Auth page of the `playground-web` app to provide a more detailed explanation of user authentication using wallets.

### Detailed summary
- Updated the description in the Auth page to explain user authentication using wallets

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

<!-- end pr-codex -->
2024-09-06 08:27:23 +00:00
kien-ngo 9c0797b354 [Dashboard] Explorer to show transaction error message (#4437)
## Problem solved

Before:
<img width="747" alt="image" src="https://github.com/user-attachments/assets/ea60b693-70f9-4a20-8d31-246dc428e580">

After:
<img width="746" alt="image" src="https://github.com/user-attachments/assets/58fd622f-0aad-403f-976e-d06ac01ae0e2">

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `formatError` function in `interactive-abi-function.tsx` to handle different error objects more effectively.

### Detailed summary
- Improved error handling in `formatError` function
- Added a check for `error.message` property
- Removed unnecessary type casting for `error` object

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

<!-- end pr-codex -->
2024-09-06 07:01:06 +00:00
Nicholas St. Germain f6552e95dd Unreal engine Documentation update (#4427) 2024-09-05 22:50:37 -07:00
gregfromstl 5364275349 [Dashboard] Fix: Analytics Wallet Pie Chart Display (#4434)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the logic in `WalletDistributionChartCard.tsx` to correctly handle chart data for different wallet types.

### Detailed summary
- Updated logic to correctly handle chart data for different wallet types
- Adjusted how data is set in `_chartDataMap`
- Refactored the mapping of chart data to include a return statement

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

<!-- end pr-codex -->
2024-09-06 03:35:14 +00:00
0xFirekeeper 337b32bcb6 Unity v5 // .NET v2 Updates & Migration Guide (#4432)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the Unity SDK v5 documentation with new features, migration guide, and Ecosystem Wallet details.

### Detailed summary
- Updated Unity SDK v5 documentation with Ecosystem Wallet info
- Migration guide from Unity SDK v4 to v5
- Added Ecosystem Wallet login methods
- Enhanced Ecosystem Wallet details and API usage
- Improved contract interactions and wallet management in Unity SDK v5

> The following files were skipped due to too many changes: `apps/portal/src/app/unity/v5/migration-guide/page.mdx`, `apps/portal/src/app/dotnet/wallets/providers/ecosystem-wallet/page.mdx`

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

<!-- end pr-codex -->
2024-09-06 01:56:18 +00:00
Nicholas St. Germain 6822e2ffec cross-platform commands (#4385) 2024-09-05 18:23:33 -07:00
kien-ngo 675614c29a [Dashboard] Fix Speedracer link (#4431)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the link for the gaming solution page from a specific Unreal Engine quickstart to a more general engine-express page.

### Detailed summary
- Updated the href link for the gaming solution page to a more general engine-express URL.

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

<!-- end pr-codex -->
2024-09-06 00:56:18 +00:00
MananTank a3d76835ed Fix SolidityAddressInput value not displayed properly (#4428)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR improves the handling of local input state in the `AddressInput` component by introducing a new local state variable `_localInput`.

### Detailed summary
- Introduces `_localInput` state variable using `useState`
- Modifies `localInput` assignment logic to consider `_localInput`
- Updates usage of `localInput` in the component to reflect the changes

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

<!-- end pr-codex -->
2024-09-06 00:15:16 +00:00
gregfromstl 0c73b344c0 [Dashboard] Feature: Adds new analytics service (#4416)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances analytics data handling in the dashboard:
### Detailed summary
- Added `THIRDWEB_ANALYTICS_API_HOST`
- Modified `createWalletStatsStub` structure
- Updated API handling for analytics data
- Refactored components for improved data display

> The following files were skipped due to too many changes: `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 -->
2024-09-06 00:01:54 +00:00
kien-ngo 3a32b11a80 [Dashboard] Tx simulator for Explorer (#4293)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds a new feature to simulate contract transactions before execution, enhancing user experience and safety.

### Detailed summary
- Added `useSimulateTransaction` hook for simulating transactions
- Implemented simulation functionality in `InteractiveAbiFunction`
- Added simulation button and logic for contract functions

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

<!-- end pr-codex -->
2024-09-05 23:48:30 +00:00
MananTank dbebfb47c6 Migrate Deployed contracts page to shadcn/tailwind (#4426)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update UI components, add a new import contract modal, and improve the network select dropdown.

### Detailed summary
- Updated table UI styles
- Added `ShowMoreButton` component with `Button` and `ChevronDownIcon`
- Improved `NetworkSelectDropdown` with `Select` components
- Added `ImportModal` with form validation and submission logic

> The following files were skipped due to too many changes: `apps/dashboard/src/components/contract-components/import-contract/modal.tsx`, `apps/dashboard/src/components/contract-components/tables/deployed-contracts.tsx`

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

<!-- end pr-codex -->
2024-09-05 23:12:23 +00:00
jnsdls 9b083ff67b [Update] Refactor ethers adapter and pin ethers version (#4430)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `ethers` package version across multiple packages and introduces new exports in the `ethers5.ts` and `ethers6.ts` files.

### Detailed summary
- Updated `ethers` package version to `"5.7.2"`
- Added new exports in `ethers5.ts` and `ethers6.ts`
- Modified imports in `provider-setup.tsx` to use updated exports

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

<!-- end pr-codex -->
2024-09-05 22:13:34 +00:00
MananTank 9498ebb382 Fix Dashboard build error - Can't resolve 'thirdweb/extensions/modular' (#4429)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the import of `ModularExt` from "thirdweb/extensions/modular" to "thirdweb/modules".

### Detailed summary
- Updated import of `ModularExt` from "thirdweb/extensions/modular" to "thirdweb/modules"

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

<!-- end pr-codex -->
2024-09-05 21:47:33 +00:00
87d6b6a5b5 Integrate modular core contracts + mintableERCxxx extensions (#3413)
Co-authored-by: Krishang <[email protected]>
Co-authored-by: Yash <[email protected]>
Co-authored-by: Yash <[email protected]>
2024-09-06 07:25:06 +12:00
Jonas Daniels bf61c4bf2a update deps (part 1) (#4419) 2024-09-05 11:48:44 -07:00
Joe-Thirdweb 0c3b15b3b8 Joe soneium Chainlist update v2 (#4424) 2024-09-05 11:10:18 -07:00
MananTank 6fd8245e0a Update tables and related UI updates (#4423)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces changes related to adding a `shadowColor` prop, refactoring table components, and updating button stories.

### Detailed summary
- Added `shadowColor` prop to components
- Refactored table components with `TableContainer`
- Updated button stories import path

> The following files were skipped due to too many changes: `apps/dashboard/src/@/components/ui/table.stories.tsx`, `apps/dashboard/src/@/components/ui/table.tsx`, `apps/dashboard/src/components/shared/TWTable.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/server/partners-table.tsx`, `apps/dashboard/src/components/contract-components/tables/deployed-contracts.tsx`

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

<!-- end pr-codex -->
2024-09-05 17:09:12 +00:00
MananTank dc3849334d Fix user stuck in logged out state in dashboard (#4421)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR removes a redirect logic for the "/login" path and updates path splitting logic in `middleware.ts`.

### Detailed summary
- Removed redirect logic for "/login" path
- Updated path splitting logic in `middleware.ts`

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

<!-- end pr-codex -->
2024-09-05 15:26:16 +00:00
kien-ngo fa6809d500 [SDK] Add ERC1155 getOwnedTokenIds (#4345)
## Problem solved

Let's say I need a list of owned tokenids for rendering a list of <NFT.Media />. Using getOwnedNFTs is a waste of requests, so I split the code from the current getOwnedNFTs to make a new function

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a new function `getOwnedTokenIds` to retrieve ERC1155 tokenIds and their balances for a wallet address, along with related tests.

### Detailed summary
- Added `getOwnedTokenIds` function to retrieve ERC1155 tokenIds and balances
- Updated `getOwnedNFTs` to use `getOwnedTokenIds`
- Added tests for `getOwnedTokenIds`

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

<!-- end pr-codex -->
2024-09-05 09:58:46 +00:00
Jonas Danielsandgithub-actions[bot] e6f8b3edad Version Packages (#4396)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-05 21:54:21 +12:00
jnsdls 153af0e61e [Update] Refactor account deployment check in ERC4337 extension (#4418)
address: https://app.graphite.dev/github/pr/thirdweb-dev/js/4413/Update-Refactor-NFT-reveal-functionality-and-batch-lazy-minting#comment-PRRC_kwDOH5MG4s5oAmQb

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the `isAccountDeployed` function by replacing the `getBytecode` call with `isContractDeployed` for improved readability and efficiency.

### Detailed summary
- Replaced `getBytecode` call with `isContractDeployed` for checking contract deployment status
- Updated function return logic for clarity and simplicity

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

<!-- end pr-codex -->
2024-09-05 08:44:21 +00:00
jnsdls 5275fd7c9a [Update] Add ModularExt support and refactor modules detection (#4417)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to introduce the `ModularExt` extension and refactor the `detectedModularExtension` logic in the `useContractRouteConfig` hook.

### Detailed summary
- Added `ModularExt` import
- Refactored `detectedModularExtension` logic to `isModularCore`
- Updated `isEnabled` logic for 'Modules' section to use `isModularCore`
- Removed unnecessary code related to `detectedModularExtension`

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

<!-- end pr-codex -->
2024-09-05 08:44:20 +00:00
jnsdls 3c50597d29 [Update] Open contract links in new tab instead of router navigation (#4415)
<!-- start pr-codex -->

## PR-Codex overview
This PR removes the usage of `useRouter` from `contract-table` component and updates the onClick behavior to always open links in a new tab.

### Detailed summary
- Removed `useRouter` import
- Updated onClick behavior to open links in a new tab

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

<!-- end pr-codex -->
2024-09-05 08:44:20 +00:00
Jonas Daniels 297876cdf3 [Update] Refactor NFT page UI and simplify rendering conditions (#4414) 2024-09-05 01:41:26 -07:00
Jonas Daniels 60c092f87b [Update] Refactor NFT reveal functionality and batch lazy minting (#4413) 2024-09-05 01:33:31 -07:00
jnsdls 4ad441e2f7 [Update] Refactor ContractChecklist and add feature detection (#4400)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add support for additional ERC721 metadata and claim conditions, optimize contract checklist components, and improve feature detection.

### Detailed summary
- Added support for `isSharedMetadataSupported` and `getClaimConditions` in ERC721.
- Optimized contract checklist component for ERC721, ERC1155, and ERC20 contracts.
- Improved feature detection for lazy minting, claim conditions, and account factory creation.

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

<!-- end pr-codex -->
2024-09-05 06:43:55 +00:00
jnsdls 0f8679a3c1 nft extension detection v5 (#4399)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds support for checking if specific ERC721 and ERC1155 methods are supported by contracts. It also updates function exports and improves code consistency.

### Detailed summary
- Added functions to check method support for ERC721 and ERC1155 contracts
- Updated function exports for minting, updating metadata, and token URI
- Improved code consistency and clarity in various files

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/erc721/read/getNFTs.ts`, `packages/thirdweb/src/extensions/erc1155/write/mintAdditionalSupplyTo.ts`, `apps/dashboard/src/contract-ui/tabs/claim-conditions/page.tsx`, `packages/thirdweb/src/exports/extensions/erc721.ts`, `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/claim-conditions.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/table.tsx`, `packages/thirdweb/src/extensions/erc1155/drops/write/updateMetadata.ts`, `packages/thirdweb/src/extensions/erc721/drops/write/updateMetadata.ts`, `apps/dashboard/src/contract-ui/hooks/useRouteConfig.tsx`, `apps/dashboard/src/core-ui/nft-drawer/useNftDrawerTabs.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/page.tsx`

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

<!-- end pr-codex -->
2024-09-05 06:43:54 +00:00
jnsdls 54f0294e5e [Update] Enhance ERC1155 and ERC20 claim condition handling and detection (#4397)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances ERC1155 Drop ClaimCondition functionality.

### Detailed summary
- Added `isGetActiveClaimConditionSupported` function
- Updated `getActiveClaimCondition` and `claimTo` methods
- Added `isClaimToSupported` function
- Updated `lazyMint` method and added `isLazyMintSupported` function

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/erc1155/drops/write/setClaimConditions.ts`, `packages/thirdweb/src/extensions/erc20/drops/write/setClaimConditions.ts`, `packages/thirdweb/src/extensions/erc20/drops/write/claimTo.ts`, `packages/thirdweb/src/extensions/erc1155/drops/read/getClaimConditions.ts`, `packages/thirdweb/src/extensions/erc1155/drops/write/resetClaimEligibility.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IDrop1155/read/claimCondition.ts`, `packages/thirdweb/src/extensions/erc1155/drop1155.test.ts`

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

<!-- end pr-codex -->
2024-09-05 05:53:00 +00:00
jnsdls 52c931ac0f human-readable-abi (#4395) 2024-09-05 05:52:59 +00:00
jnsdls a09822429b [Update] Remove single-phase claim condition support (#4394)
<!-- start pr-codex -->

## PR-Codex overview
This PR removes unusable single-phase claim condition extensions for ERC20, ERC721, and ERC1155 tokens.

### Detailed summary
- Removed unused single-phase claim condition extensions for ERC20, ERC721, and ERC1155 tokens
- Updated export functions for ERC20, ERC721, and ERC1155 tokens
- Refactored `getActiveClaimCondition` functions for ERC1155 and ERC721 tokens to handle unknown phase types

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/erc20/drops/read/getActiveClaimCondition.ts`

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

<!-- end pr-codex -->
2024-09-05 05:52:57 +00:00
MananTank 1574509319 Migrate Account Abstraction Factories page to tailwind/shadcn (#4389)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances UI components in various dashboard sections:
- Updates alert styles
- Refactors account factories display
- Improves contract cells rendering
- Adds tab navigation to Smart Wallets

### Detailed summary
- Updated alert styles with new variants
- Refactored account factory display with skeleton loading
- Improved rendering of contract cells with skeleton loading and links
- Added tab navigation to Smart Wallets section

> The following files were skipped due to too many changes: `apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/account-abstraction/AAFooterSection.tsx`, `apps/dashboard/src/pages/dashboard/connect/account-abstraction.tsx`

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

<!-- end pr-codex -->
2024-09-05 05:25:14 +00:00
Farhanandfarhan 2982b3844c Fixed onBack function on GetStartedScreen (when can't connect in any way) (#4383)
Co-authored-by: farhan <[email protected]>
2024-09-05 15:19:12 +12:00
ian e92cae2549 Ian/pay updates (#4371) 2024-09-05 14:56:27 +12:00
jnsdls c5b9d1c5dd [Extensions] Enhance ERC20 Drop ClaimCondition functionality (#4392)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance the ERC20 Drop ClaimCondition feature by adding metadata support and improving claim condition retrieval.

### Detailed summary
- Added `metadata` field to `setClaimConditions` function in ERC20 Drop
- Updated function selectors and inputs in ERC20 Drop
- Renamed `ById` to `MultiById` for clarity
- Improved claim condition retrieval logic
- Added support for `resetClaimEligibility` in ERC20 Drop
- Updated exports and imports for clarity

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/erc20/drops/read/getClaimConditions.ts`, `packages/thirdweb/src/extensions/erc20/drop20.test.ts`

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

<!-- end pr-codex -->
2024-09-05 02:30:44 +00:00
kien-ngo 6d75abf196 [Dashboard] Make long support form scrollable (#4398)
<img width="1164" alt="image" src="https://github.com/user-attachments/assets/3a144686-c965-466f-90d3-b95eb1b05e45">

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a CSS class to limit the height and enable horizontal overflow in the `DialogContent` component of the Create Ticket form.

### Detailed summary
- Added `className="max-h-full overflow-x-auto"` to the `DialogContent` component in `create-ticket.client.tsx`.

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

<!-- end pr-codex -->
2024-09-05 01:57:36 +00:00
kumaryash90 f383fc7484 Resolve implementation from matic proxy implementation slot (#4393)
## Problem solved

keccak256("matic.network.proxy.implementation") - used in polygon USDT proxy: https://polygonscan.com/address/0xc2132d05d31c914a87c6611c10748aeb04b58e8f#code

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the Matic (Polygon) proxy contract implementation resolution in the codebase.

### Detailed summary
- Added resolution for Matic proxy contract implementation slot
- Updated test cases for Matic proxy contract implementation
- Added support for Polygon chain in test setup
- Defined Polygon chain constants and RPC URLs
- Updated Ethereum and Polygon chain definitions

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

<!-- end pr-codex -->
2024-09-04 23:55:47 +00:00
jnsdls f9c351c22d [Update] Refactor claim condition retrieval and add support check (#4391)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances ERC721 Drop ClaimCondition functionality by adding new methods and improving existing ones.

### Detailed summary
- Added `claimCondition` method to `IDrop.json`
- Updated `getClaimParams` in `get-claim-params.ts` to use `ZERO_ADDRESS`
- Added `isClaimToSupported` and `isLazyMintSupported` functions
- Updated `lazyMint` and `claimTo` functions
- Added support check functions for various methods

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/erc721/__generated__/IDrop/read/claimCondition.ts`, `packages/thirdweb/src/extensions/erc721/drops/read/getActiveClaimCondition.ts`, `packages/thirdweb/src/extensions/erc721/drops/read/getClaimConditions.ts`, `packages/thirdweb/src/extensions/erc721/drop721.test.ts`

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

<!-- end pr-codex -->
2024-09-04 23:19:30 +00:00
Jonas Danielsandgithub-actions[bot] 257e4283d2 Version Packages (#4365)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-04 15:21:10 -07:00
Edward Sun 82a30afd4b Supported chain and tokens using overriden state (#4388) 2024-09-04 14:34:33 -07:00
MananTank 9e8d3e6639 Add props for hiding send, receive and buy buttons on ConnectButton (#4382)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `ConnectButton` component by adding props to hide "Send", "Receive", and "Buy" buttons in the details modal.

### Detailed summary
- Added props to hide "Send", "Receive", and "Buy" buttons in the `ConnectButton` component details modal
- Updated `ConnectButtonProps` with new boolean props for hiding buttons
- Modified `Details.tsx` to conditionally display buttons based on the new props

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

<!-- end pr-codex -->
2024-09-04 20:31:32 +00:00
MananTank d74e61b581 Fix Swap Fees layout in Pay UI drawer (#4390)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing the Swap Fees layout in the fees drawer in the pay UI.

### Detailed summary
- Updated `SwapFees` component layout in `Fees.tsx` to align items to the left
- Removed `align` prop from `SwapFees` component in `BuyScreen.tsx`
- Created `SwapFeesRightAligned` component for right-aligned fees display in `ConfirmationScreen.tsx`

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

<!-- end pr-codex -->
2024-09-04 20:20:27 +00:00
MananTank d8f55efc97 Add Connect analytics page in Teams layout (#4384)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the analytics feature for team projects.

### Detailed summary
- Updated links and routes related to analytics feature
- Renamed functions for clarity
- Refactored components for analytics visualization
- Added new UI components for analytics dashboard

> The following files were skipped due to too many changes: `apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/analytics/_components/ConnectSDKCard.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/analytics/ConnectAnalyticsDashboard.tsx`, `apps/dashboard/src/pages/dashboard/connect/analytics.tsx`

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

<!-- end pr-codex -->
2024-09-04 19:52:29 +00:00
MananTank d254505436 Add Pay page in teams layout (#4387)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the `PayConfig` component and update related components to use `clientId` instead of `apiKey.key`.

### Detailed summary
- Updated `PayConfig` to use `clientId` instead of `apiKey.key`
- Updated `PayAnalytics` to accept `clientId` instead of `apiKey`
- Updated `WebhooksPage` to use `clientId` instead of `apiKey.key`

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

<!-- end pr-codex -->
2024-09-04 16:46:36 +00:00
jnsdls b663959917 [Update] Refactor claim conditions detection and NFT page handling (#4379)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update the NFT overview page to include an `isErc721` flag and adjust features detection in NFT drawer tabs.

### Detailed summary
- Added `isErc721` flag to NFT overview page props
- Adjusted features detection in NFT drawer tabs for ERC20
- Refactored feature detection in contract route configuration

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

<!-- end pr-codex -->
2024-09-04 16:39:06 +00:00
jnsdls ad61b64b4b [Update] Refactor ERC4337 extension detection and UI (#4378)
### TL;DR

Enhanced ERC4337 support with new functions and improved contract detection.

### What changed?

- Added new ERC4337 extension functions for account management and permissions.
- Implemented support checks for various ERC4337 functions.
- Updated contract UI hooks to use new detection methods for ERC4337 features.
- Removed redundant code and simplified contract UI components.
- Improved type safety and consistency across ERC4337-related functions.

### How to test?

1. Test the new ERC4337 functions in a development environment.
2. Verify that the contract UI correctly detects and displays ERC4337 features.
3. Check that account management, permissions, and factory functionalities work as expected.
4. Ensure that the support checks for ERC4337 functions return correct results.

### Why make this change?

This change improves the detection and support for ERC4337 smart contract accounts. It enhances the developer experience by providing more granular control over account features and permissions. The updates also streamline the codebase, making it easier to maintain and extend ERC4337 functionality in the future.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates account permissions and extensions in the dashboard.

### Detailed summary
- Updated imports and components in `AccountPermissionsPage`, `AccountsPage`, and `AccountPage`.
- Added support for `isAddAdminSupported`, `isAddSessionKeySupported`, `isRemoveSessionKeySupported` functions in ERC4337 extensions.
- Added support for `isGetAllActiveSignersSupported`, `isGetAllAdminsSupported`, `isGetAllSignersSupported`, `isIsActiveSignerSupported` functions in account permissions.

> The following files were skipped due to too many changes: `packages/thirdweb/src/exports/extensions/erc4337.ts`, `apps/dashboard/src/contract-ui/hooks/useRouteConfig.tsx`

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

<!-- end pr-codex -->
2024-09-04 16:39:04 +00:00
Kien Ngo 57fb7fc6fb [Dashboard] Fix CodeSnippet page (#4386) 2024-09-04 08:37:00 -07:00
MananTank 70f051d770 Docs: Fix table cell size on firefox (#4381)
Fixes - https://linear.app/thirdweb/issue/CNCT-1751/fix-portal-table-cell-widths-on-firefox
2024-09-04 14:38:37 +00:00
kien-ngo 8abcf3d4c3 [Portal] Update useSendTransaction docs (#4380)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the example and improve clarity in the `useSendTransaction` hook documentation.

### Detailed summary
- Updated the example from "Using a prepared contract call" to "Sending a prepared contract call"
- Added comments for clarity in the example code
- Added `chain` and `client` properties to the prepared transaction object

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

<!-- end pr-codex -->
2024-09-04 11:17:27 +00:00
joaquim-verges 2ce8840d80 feat: zksync deploys (#4346)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR increases the size limit for `thirdweb (cjs)` to 105 kB, adds an event `ContractDeployed`, and improves error handling and EIP712 transaction support.

### Detailed summary
- Increased size limit for `thirdweb (cjs)` to 105 kB
- Added `ContractDeployed` event
- Improved error messages with detailed information
- Added EIP712 transaction support for zksync
- Refactored deployment address computation and metadata handling

> The following files were skipped due to too many changes: `packages/thirdweb/src/contract/deployment/zksync/zkDeployContract.ts`, `packages/thirdweb/src/transaction/actions/zksync/send-eip712-transaction.test.ts`, `packages/thirdweb/src/contract/deployment/zksync/zkDeployProxy.ts`, `packages/thirdweb/package.json`, `packages/thirdweb/src/contract/deployment/zksync/zkDeployCreate2Factory.ts`, `packages/thirdweb/src/contract/deployment/utils/bootstrap.ts`, `packages/thirdweb/src/contract/deployment/zksync/zkDeployDeterministic.ts`, `packages/thirdweb/src/extensions/prebuilts/deploy-published.ts`, `packages/thirdweb/src/utils/any-evm/zksync/constants.ts`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-09-04 07:14:25 +00:00
jnsdls 4ad5f7fd50 [Update] Refactor NFT drawer tabs and contract interactions (#4377)
### TL;DR

Refactored NFT-related components and hooks to improve code organization and reduce redundancy.

### What changed?

- Consolidated imports from `thirdweb/extensions` modules
- Removed redundant contract creation and feature detection logic
- Updated component props to directly pass `ThirdwebContract` instead of separate address and chain ID
- Simplified conditional rendering based on contract type (ERC721 vs ERC1155)
- Moved some feature detection logic to parent components
- Updated `useNFTDrawerTabs` hook to use new contract prop structure

### How to test?

1. Navigate to the NFT management pages in the dashboard
2. Verify that all NFT-related functionality (minting, burning, transferring, etc.) works as expected for both ERC721 and ERC1155 tokens
3. Check that the NFT drawer displays the correct tabs and options based on the contract type and user permissions
4. Ensure that claim conditions and multi-phase claim conditions are correctly detected and displayed

### Why make this change?

This refactoring improves code maintainability and reduces duplication. By centralizing contract-related logic and simplifying component interfaces, it becomes easier to manage and extend NFT functionality across the dashboard. The changes also prepare the codebase for potential future enhancements and make it more consistent with other parts of the application.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces support for multi-phase claims in ERC20, ERC721, and ERC1155 contracts across various components.

### Detailed summary
- Added `isMultiPhase` boolean to support multi-phase claims in ERC20, ERC721, and ERC1155 contracts.
- Updated components to handle `isMultiPhase` property efficiently.
- Refactored code to remove unnecessary functions and imports.

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/nfts/components/airdrop-tab.tsx`, `apps/dashboard/src/core-ui/nft-drawer/useNftDrawerTabs.tsx`, `apps/dashboard/src/contract-ui/hooks/useRouteConfig.tsx`

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

<!-- end pr-codex -->
2024-09-04 06:56:23 +00:00
jnsdls e9cd4c25f1 [Update] Refactor contract route config and permissions detection (#4376)
### TL;DR

Refactored contract UI routing and improved permissions detection.

### What changed?

- Removed `contractAddress` parameter from `useContractRouteConfig` function
- Implemented new logic for detecting permissions and enumerable permissions
- Simplified component rendering by removing unnecessary conditional checks
- Updated `ContractOverviewPage` to use the new permissions detection
- Refactored route configurations to use the contract prop directly
- Adjusted the `Inner` component to reflect these changes

### How to test?

1. Navigate to various contract pages and ensure all tabs and components load correctly
2. Test contracts with different permission configurations to verify accurate detection
3. Check that the overview page displays the correct permissions information
4. Verify that all contract-related components render without errors

### Why make this change?

This refactoring improves code efficiency and readability while enhancing the accuracy of permissions detection. By simplifying the routing logic and removing redundant checks, we've made the codebase more maintainable and reduced the potential for errors. The new permissions detection method provides a more reliable way to determine contract capabilities, ensuring that users see accurate information about contract features and permissions.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor and optimize the contract route configuration logic.

### Detailed summary
- Refactored `useContractRouteConfig` to simplify and optimize contract route configurations
- Removed unnecessary dependencies and streamlined the logic for permissions detection
- Updated usage of contract address to use `props.contract.address` consistently throughout
- Improved code readability and maintainability in the contract UI components

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/hooks/useRouteConfig.tsx`

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

<!-- end pr-codex -->
2024-09-04 06:56:19 +00:00
jnsdls edb95d00ca [Extensions] Expose permission detection logic (#4375)
### TL;DR

Exposed permission detection logic for the Extensions module.

### What changed?

- Added `is*Supported` functions for various permission-related operations.
- Exported these new functions to make them accessible to users.
- Implemented `isGetAllRoleMembersSupported` function to check if both `getRoleMember` and `getRoleMemberCount` are supported.
- Renamed `grant.ts` to `grantRole.ts` for consistency.

### How to test?

1. Import the new `is*Supported` functions from the permissions module.
2. Pass an array of contract function selectors to these functions.
3. Verify that they correctly identify whether the corresponding permission operations are supported.

Example:
```typescript
import { isGetAllRoleMembersSupported } from "thirdweb/extensions/permissions";

const supported = isGetAllRoleMembersSupported(["0x..."]);
console.log("getAllRoleMembers supported:", supported);
```

### Why make this change?

This change allows developers to programmatically detect which permission-related operations are supported by a given contract. This is particularly useful when working with contracts that may implement only a subset of the permissions interface, enabling more robust and flexible integration with various smart contracts.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `thirdweb` package by exposing permission detection logic for various role-related operations.

### Detailed summary
- Exposes permission detection logic for `hasRole`, `revokeRole`, `getRoleAdmin`, `renounceRole`, and more
- Renamed `grant.js` to `grantRole.js`
- Added new exports for supported permission operations
- Added a new function `isGetAllRoleMembersSupported` to check support for `getAllRoleMembers` operation

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

<!-- end pr-codex -->
2024-09-04 06:56:14 +00:00
Joe-Thirdweb ccaaef481c Updating Soneium Chainlist Page (#4373) 2024-09-03 23:54:32 -07:00
jnsdls 787ed1531f [Update] Refactor useWalletNFTs hook and NFT handling (#4374)
### TL;DR

Refactored wallet NFT handling and improved font loading across the dashboard.

### What changed?

- Updated `useWalletNFTs` hook to accept `chainId` as a parameter
- Modified `NftsOwned` component to use contract chain ID
- Refactored font loading in `layout.tsx` and `MiniPlayground.tsx`
- Updated NFT data structures to use `id` instead of `tokenId`
- Adjusted NFT card rendering to include chain ID and contract address
- Modified Alchemy, Moralis, and SimpleHash NFT transformations

### How to test?

1. Test the wallet NFT fetching functionality with different chain IDs
2. Verify that NFT cards display correctly in the dashboard
3. Check font loading performance in various components
4. Ensure that NFT details are correctly displayed in listings and overview pages

### Why make this change?

This change improves the consistency of NFT handling across the dashboard, enhances font loading performance, and provides better support for multi-chain NFT display. It also aligns the NFT data structure with the latest ThirdWeb SDK conventions, using `id` instead of `tokenId`.

---
2024-09-04 05:37:38 +00:00
Joaquim Verges 73e5dc7276 fix direct transfers to the same wallet (#4319) 2024-09-04 14:16:14 +12:00
jnsdls 0246529e61 [Update] Migrate contract analytics to v5 (#4366)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating imports and types related to ABI parameters in the codebase.

### Detailed summary
- Updated imports from `"@thirdweb-dev/sdk"` to `"abitype"`
- Changed types to use `AbiParameter` instead of previous types like `Abi`, `AbiFunction`, `AbiEvent`
- Fixed type errors and updated type annotations throughout the codebase

> The following files were skipped due to too many changes: `apps/dashboard/src/components/contract-functions/interactive-abi-function.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/NFTDetails.tsx`, `packages/thirdweb/src/extensions/thirdweb/read/contractType.ts`, `apps/dashboard/src/contract-ui/tabs/code/components/code-overview.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/custom-contract.tsx`, `apps/dashboard/src/components/contract-components/contract-publish-form/index.tsx`, `apps/dashboard/src/contract-ui/tabs/analytics/page.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/page.tsx`, `apps/dashboard/src/components/contract-components/hooks.ts`, `apps/dashboard/src/components/contract-functions/contract-function.tsx`, `apps/dashboard/src/contract-ui/hooks/useRouteConfig.tsx`

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

<!-- end pr-codex -->
2024-09-04 01:54:02 +00:00
MananTank 961445f9d6 Update Connect Analytics charts (#4372)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on restructuring chart components and adding storybook stories for analytics dashboard components.

### Detailed summary
- Deleted `DocsButton.tsx` and `useApi.ts`
- Updated global CSS variables for charts
- Modified chart component styles and colors
- Refactored story utility functions
- Added new chart components and stories
- Implemented skeleton and loading states for charts

> The following files were skipped due to too many changes: `apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/analytics/ConnectAnalyticsDashboard.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/analytics/_components/DailyConnectionsChartCard.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/analytics/_components/WalletDistributionChartCard.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/analytics/_components/WalletConnectorsChartCard.tsx`, `apps/dashboard/src/pages/dashboard/connect/analytics.tsx`

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

<!-- end pr-codex -->
2024-09-04 00:14:14 +00:00
kumaryash90 b407bc9fd8 Remove XPLA overrides for create2 deployment (#4368)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update gas prices for different networks in `any-evm-constants.ts`.

### Detailed summary
- Updated gas price for "Xpla Testnet" to 2000 * 10 ** 9.
- Removed gas price for "Xpla Mainnet".
- Updated gas price for "BitTorrent Chain" to 300000 * 10 ** 9.

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

<!-- end pr-codex -->
2024-09-03 15:39:12 +00:00
MananTank b6aae7f29f dashboard storybook improvements (#4369)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds mobile viewport options to Storybook stories and updates UI components for mobile viewports.

### Detailed summary
- Added mobile viewport options to Storybook stories
- Updated UI components for mobile viewports in various settings pages and embedded wallets
- Adjusted button sizes and styles for different viewport sizes

> The following files were skipped due to too many changes: `pnpm-lock.yaml`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/Sidebar.stories.tsx`

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

<!-- end pr-codex -->
2024-09-03 15:27:39 +00:00
Prithvish Baidya ec4d635e1b refactor: Fix address slicing in CopyAddressButton component (#4370) 2024-09-03 08:26:53 -07:00
Jonas Daniels ab15e9cf1f [Update] Refine marketplace v3 detection logic (#4367) 2024-09-03 01:11:59 -07:00
kien-ngo 066aede2d1 [SDK] Allow specifying "to" and "from" props for the ClaimButton (#4363)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the `ClaimButton` component by allowing the specification of "from" and "to" props for different types of claims.

### Detailed summary
- Added ability to specify "from" and "to" props for `ClaimButton`
- Updated `Erc721ClaimParams` and `Erc1155ClaimParams` types
- Added `to` and `from` props to `Erc20ClaimParams`
- Updated `getERC1155ClaimTo` and `getERC20ClaimTo` functions to handle `from` prop

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

<!-- end pr-codex -->
2024-09-03 02:55:57 +00:00
Jonas Danielsandgithub-actions[bot] cb6d7a3b00 Version Packages (#4331)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-03 14:52:24 +12:00
jnsdls 4a3a007c2c [Add] Embed tab for marketplace and token contracts (#4364) 2024-09-03 01:55:23 +00:00
kien-ngo 915e7fb879 [SDK] FIx merkle tree proof for Drop contracts (#4344)
internal discussion: https://thirdwebdev.slack.com/archives/C04DP04AF1V/p1725028836481129

<!-- start pr-codex -->

---

## PR-Codex overview
**Focus:** This PR focuses on fixing the Merkle tree proof for Drop contracts in the `thirdweb` package.

### Detailed summary
- Fixed sorting of leaves in `MerkleTree.ts`.
- Renamed `ADDRESS_ZERO` to `ZERO_ADDRESS`.
- Updated logic for fetching proofs in `fetchProofsForClaimer`.
- Added a test for large Merkle trees in `MerkleTree.test.ts`.

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

<!-- end pr-codex -->
2024-09-03 00:52:23 +00:00
gregfromstl c54822f80c [Dashboard] Fix: Only show sponsorship banner on AA page when on eligible chain (#4362)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to implement a feature that automatically applies gas credits for specific blockchain chains in the application.

### Detailed summary
- Added `chain` state using `useActiveWalletChain` hook
- Implemented logic to check if the current chain is in a predefined list
- Updated UI to display information based on the chain eligibility

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

<!-- end pr-codex -->
2024-09-03 00:40:23 +00:00
MananTank d8c88ef720 Add In-app wallet page on Teams layout (#4361)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the in-app wallet functionality by updating configurations and adding analytics components.

### Detailed summary
- Updated `Configure` component props for better data handling
- Added `AnalyticsCallout` component for analytics tracking
- Improved UI with new components like `InAppWaletFooterSection`

> The following files were skipped due to too many changes: `apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/in-app-wallets/_components/footer.tsx`, `apps/dashboard/src/pages/dashboard/connect/in-app-wallets.tsx`

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

<!-- end pr-codex -->
2024-09-03 00:27:56 +00:00
kien-ngo aa556f17b6 [Portal] Update docs for useActiveWallet (#4352)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the `useActiveWallet` hook by adding examples demonstrating its usage for account and network change events.

### Detailed summary
- Added examples for basic usage, account change event, multiple accounts changed event, and network change event in the `useActiveWallet` hook.

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

<!-- end pr-codex -->
2024-09-02 23:43:54 +00:00
MananTank 3a55a7eabc Fix TWTable whitespace wrapping (#4359)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds the `whitespace-nowrap` class to the `ScrollShadow` component in `TWTable.tsx` for better text wrapping control.

### Detailed summary
- Added `whitespace-nowrap` class to `ScrollShadow` component in `TWTable.tsx`

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

<!-- end pr-codex -->
2024-09-02 23:07:19 +00:00
MananTank 0aa72e3a93 Migrate In-app wallet settings page to shadcn/tailwind (#4360)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates global CSS variables, adds a new API key field, and refactors components for In-App Wallet settings.

### Detailed summary
- Updated global CSS variables for input and ring styles
- Added `redirectUrls` field to `UpdateKeyInput` interface
- Added `InAppWalletSettingsUI` storybook component
- Refactored `Configure` and `index` components for In-App Wallet settings

> The following files were skipped due to too many changes: `apps/dashboard/src/components/embedded-wallets/Configure/index.tsx`

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

<!-- end pr-codex -->
2024-09-02 22:54:49 +00:00
Firekeeper 1198dc7676 Unity 4.20.1 (#4330) 2024-09-02 15:23:39 -07:00
dependabot[bot] 1246486102 chore(deps-dev): bump checkly from 4.7.0 to 4.8.1 (#4358)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 15:22:59 -07:00
dependabot[bot] c5f56b7fd1 chore(deps-dev): bump esbuild from 0.21.5 to 0.23.1 (#4357)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 15:22:28 -07:00
dependabot[bot] 86215a0071 chore(deps-dev): bump @babel/plugin-transform-class-properties from 7.24.1 to 7.25.4 (#4355)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 15:18:27 -07:00
dependabot[bot] a9add4f266 chore(deps): bump viem from 2.19.3 to 2.21.1 (#4356)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 15:18:02 -07:00
MananTank 3a868e2778 Add theme switcher in dashboard storybook preview (#4354)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates Storybook stories by removing theme props and related functions, simplifying the code structure.

### Detailed summary
- Removed `useSetStoryTheme` function and theme props from Storybook stories
- Updated components to remove theme-related logic and props
- Simplified the structure of Storybook stories for easier maintenance

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

<!-- end pr-codex -->
2024-09-02 19:02:57 +00:00
jnsdls 470f4db74e v5 extension detection (dashboard) (#4303)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to introduce a new library `@shazow/whatsabi` and update contract UI components and ERC20 checks.

### Detailed summary
- Added `@shazow/whatsabi` library
- Updated contract UI components
- Enhanced ERC20 token checks
- Improved settings page structure

> The following files were skipped due to too many changes: `pnpm-lock.yaml`, `apps/dashboard/src/contract-ui/hooks/useRouteConfig.tsx`

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

<!-- end pr-codex -->
2024-09-02 18:02:12 +00:00
kien-ngo 5489311e45 [SDK] Add test for getOwnedNFTs 1155 (#4351)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a test for fetching owned ERC1155 token IDs.

### Detailed summary
- Added test for fetching owned token IDs
- Imported necessary modules for testing
- Defined test parameters and expectations
- Deployed ERC1155 contract and minted tokens
- Fetched and validated owned token IDs

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

<!-- end pr-codex -->
2024-09-02 17:47:09 +00:00
gregfromstl 21c2b04ef2 [Dashboard] Feature: Remove analytics gating and update empty state (#4329)
## Problem solved

Short description of the bug fixed or feature added

![Screenshot 2024-09-01 at 12.36.10 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/G5kV6fAq4H1wu10SVop6/0f419079-18df-423a-934b-f594f52dd126.png)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates redirects and UI components related to the `/dashboard/connect` page. It changes the destination of a redirect, updates layout and links for "Connect" page items, and adds new icons for Unity, TypeScript, .NET, Unreal, and React.

### Detailed summary
- Updated redirect destination from `/dashboard/connect/in-app-wallets` to `/dashboard/connect/analytics`
- Modified layout and links for "Connect" page items
- Added new UI components for DocsButton, UnityIcon, TypeScriptIcon, .NETIcon, UnrealIcon, and ReactIcon

> The following files were skipped due to too many changes: `apps/dashboard/src/components/icons/ReactIcon.tsx`, `apps/dashboard/src/pages/dashboard/connect/analytics.tsx`

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

<!-- end pr-codex -->
2024-09-02 17:35:54 +00:00
Joe-Thirdweb 0e7ff0acbc Adding custom chains on chainlist. (#4350) 2024-09-02 10:32:05 -07:00
MananTank 0476f81e4c Migrate GatedSwitch to tailwind + Refactor (#4353)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates components with a new `upgradeRequired` prop and adds a `Spinner` component for loading states.

### Detailed summary
- Added `upgradeRequired` prop to `GatedSwitch` component
- Updated `Spinner` component usage in multiple files
- Added `Spinner` component for loading states in `SponsorshipPolicies` and `Configure` components

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

<!-- end pr-codex -->
2024-09-02 15:56:03 +00:00
MananTank fa7281d4b7 Migrate In-app wallet users page to shadcn/tailwind (#4348)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor and optimize components in the dashboard app.

### Detailed summary
- Updated rendering of supported platforms in `ConnectLanding`
- Refactored `SupportedPlatformLink` component
- Improved UI and functionality in `Analytics` and `UsageCard`
- Enhanced user experience in `index.tsx` for embedded wallets

> The following files were skipped due to too many changes: `apps/dashboard/src/components/embedded-wallets/Users/index.tsx`, `apps/dashboard/src/pages/dashboard/connect/in-app-wallets.tsx`

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

<!-- end pr-codex -->
2024-09-02 11:34:21 +00:00
MananTank d9177eb724 Migrate TWTable to shadcn/tailwind (#4347)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a `Separator` component, updates table styling, and refactors components in `TWTable.tsx`.

### Detailed summary
- Added `Separator` component
- Updated table styling with new classes
- Refactored `Th`, `Tr`, and `Td` components
- Removed unused imports and components

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

<!-- end pr-codex -->
2024-09-02 11:34:19 +00:00
MananTank 18678d45e7 Team Settings page UI (#4304)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving UI components and updating team-related functionalities in the dashboard. Changes include UI refinements, new components, and team-related API updates.

### Detailed summary
- Updated UI components like buttons and icons for better styling
- Added new components like `RoleSelector` and `DangerSettingCard`
- Updated team-related API with additional fields for `Team`
- Improved UI consistency and user experience in the dashboard

> The following files were skipped due to too many changes: `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/DangerSettingCard.tsx`, `apps/dashboard/src/stories/Button.stories.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/_components/sidebar/TeamSettingsSidebar.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/_components/sidebar/TeamsMobileNav.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/DangerSettingCard.stories.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/TeamHeaderUI.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/SettingsCard.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/GeneralSettingsPage.stories.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/Sidebar.stories.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/TeamOverviewPage.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/layout.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/SettingsCard.stories.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/members/TeamMembersSettingsPage.stories.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/members/InviteSection.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/TeamHeaderUI.stories.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/members/ManageMembersSection.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/GeneralSettingsPage.tsx`

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

<!-- end pr-codex -->
2024-09-02 04:06:21 +00:00
gregfromstl 5475551e5d [TS SDK] Feature: Accept a string for signature mint UID (#4270)
## Problem solved

Auto-encodes strings passed to `generateSignatureMint` across all token types. This change could cause confusion since the response uid from the contract will still be in hex form.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR allows accepting string UIDs for signature minting in ERC721 and ERC20 contracts.

### Detailed summary
- Updated functions to accept and encode string UIDs for minting signatures
- Added tests for generating mint signatures with custom string UIDs
- Updated dependencies and peer dependencies in package.json

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

<!-- end pr-codex -->
2024-09-01 19:11:35 +00:00
joaquim-verges a2f2c7e172 fix(smart-wallet): Improve error message for connection failures (#4343)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR improves error handling in smart wallet connection by providing a more informative error message when encountering an RPC error.

### Detailed summary
- Improved error message when smart wallet connection fails due to RPC error
- Added dynamic error message including original error message or "unknown error"

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

<!-- end pr-codex -->
2024-09-01 02:41:31 +00:00
MananTank 3dc675e69c Dialog Modal z-index fixes, Fix depedency sort lint error (#4340)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update dialog components in multiple files with new styling classes and z-index values.

### Detailed summary
- Updated `DialogContent` styling and z-index in various files
- Added `dialogOverlayClassName` in multiple dialog components
- Updated dependencies in `react-native-adapter/package.json`

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

<!-- end pr-codex -->
2024-09-01 00:22:19 +00:00
kien-ngo ff3abfa79e [SDK] Add tests for ethers5 Adapter (#4339)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to export functions `toEthersProvider`, `toEthersContract`, and `fromEthersContract` in `ethers5.ts`, and update test cases in `ethers5.test.ts` for these functions.

### Detailed summary
- Exported `toEthersProvider`, `toEthersContract`, and `fromEthersContract` functions in `ethers5.ts`
- Updated test cases in `ethers5.test.ts` for `toEthersContract` and `fromEthersContract`
- Added imports and test cases for new functions and modules

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

<!-- end pr-codex -->
2024-08-31 08:18:30 +00:00
kien-ngo 29374a711f [SDK] Add tests for updateMetadata extensions (#4338)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the metadata of ERC721 and ERC1155 NFTs by adding a `client` parameter to the `updateMetadata` function.

### Detailed summary
- Added `client` parameter to `updateMetadata` function in ERC721 and ERC1155 NFTs.
- Updated test files to include `client` parameter in function calls.
- Improved NFT metadata updating process.

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

<!-- end pr-codex -->
2024-08-31 08:13:30 +00:00
kien-ngo b417d6fe2d [SDK] Document the claim behavior where claiming address is the same as PrimarySaleRecipient address (#4337)
Internal discussion: https://thirdwebdev.slack.com/archives/C04LA5X7FNE/p1718033032416319
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a test for claiming ERC1155 tokens without paying if the claiming address is the same as the PrimaryRecipientAddress.

### Detailed summary
- Added a test to demonstrate claiming without payment if address matches PrimaryRecipientAddress.
- Imported `deployERC20Contract` for ERC20 deployment.
- Included Solidity code documentation for safe transfer behavior.
- Updated test logic for claiming ERC20 tokens without payment.

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

<!-- end pr-codex -->
2024-08-31 03:36:24 +00:00
MananTank 993973d47e Dashboard color updates and other UI adjustments (#4332)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the styling of various components by replacing the color "gray.700" with "text-muted-foreground" for consistency and accessibility.

### Detailed summary
- Updated various components to use the class `text-muted-foreground` for consistent styling
- Changed background colors to `bg-background` for improved theme consistency

> The following files were skipped due to too many changes: `apps/dashboard/src/components/engine/overview/transaction-timeline.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/modular-contract-default-modules-fieldset.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/cta-card.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/chainlist/page.tsx`, `apps/dashboard/src/components/settings/AuthorizedWallets/AuthorizedWalletRevokeModal.tsx`, `apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/tx/[txHash]/page.tsx`, `apps/dashboard/src/components/engine/overview/create-backend-wallet-button.tsx`, `apps/dashboard/src/components/engine/contract-subscription/contract-subscriptions-table.tsx`, `apps/dashboard/src/components/contract-components/contract-publish-form/NetworkDropdown.tsx`, `apps/dashboard/src/pages/pricing.tsx`, `apps/dashboard/src/components/cmd-k-search/index.tsx`, `apps/dashboard/src/components/pay/PayConfig.tsx`, `apps/dashboard/src/components/engine/contract-subscription/add-contract-subscription-button.tsx`, `apps/dashboard/src/app/team/[team_slug]/components/tab-switcher.client.tsx`, `apps/dashboard/src/contract-ui/tabs/sources/page.tsx`, `apps/dashboard/src/pages/explore/index.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/explorer-section.tsx`, `apps/dashboard/src/components/engine/relayer/add-relayer-button.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/TeamOverviewPage.tsx`, `apps/dashboard/src/pages/dashboard/engine/import.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/pay/page.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/common.tsx`, `apps/dashboard/src/components/shared/TWQueryTable.tsx`, `apps/dashboard/src/@/components/ui/NavLink.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/ChainOverviewSection.tsx`, `apps/dashboard/src/components/dashboard/HomeProductCard.tsx`, `apps/dashboard/src/components/selects/NetworkSelectorButton.tsx`, `apps/dashboard/src/components/explore/upsells/deploy-your-own.tsx`, `apps/dashboard/tailwind.config.js`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/ClaimChainSection.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/server/partners-table.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/ecosystem-header.client.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/chainlist/components/client/search.tsx`, `apps/dashboard/src/@/components/ui/CopyTextButton.tsx`, `apps/dashboard/src/components/contract-functions/contract-function.tsx`, `apps/dashboard/src/@/components/blocks/Sidebar.tsx`, `apps/dashboard/src/pages/dashboard/contracts/deploy.tsx`, `apps/dashboard/src/components/homepage/sections/UpgradeModal.tsx`, `apps/dashboard/src/@/components/ui/textarea.tsx`, `apps/dashboard/src/contract-ui/tabs/listings/components/list-form.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/SupportedProductsSection.tsx`, `apps/dashboard/src/components/engine/relayer/relayers-table.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/popular/page.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/FaucetSection.tsx`, `apps/dashboard/src/@/components/ui/badge.tsx`, `apps/dashboard/src/components/dashboard/StepsCard.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/components/sidebar/section.tsx`, `apps/dashboard/src/components/embedded-wallets/Users/Analytics.tsx`, `apps/dashboard/src/components/contract-components/tables/cells.tsx`, `apps/dashboard/src/pages/dashboard/settings/api-keys/index.tsx`, `apps/dashboard/src/components/engine/engine-list.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/layout.tsx`, `apps/dashboard/src/@/components/ui/tabs.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/page.tsx`, `apps/dashboard/src/pages/dashboard/connect/in-app-wallets.tsx`, `apps/dashboard/src/components/selects/NetworkSelectDropdown.tsx`, `apps/dashboard/src/components/explore/contract-card/index.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/chainlist/components/server/chainlist-card.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/BuyFundsSection.tsx`, `apps/dashboard/src/components/explore/upsells/publish-submit.tsx`, `apps/dashboard/src/app/(dashboard)/trending/page.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/pay/components/pay-ui.client.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/table.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/layout.tsx`, `apps/dashboard/src/@/components/ui/checkbox.tsx`, `apps/dashboard/src/components/shared/TWTable.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/FaucetButton.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/chain-header.tsx`, `apps/dashboard/src/components/engine/explorer/engine-explorer.tsx`, `apps/dashboard/src/@/components/ui/alert.tsx`, `apps/dashboard/src/components/shared/FileInput.tsx`, `apps/dashboard/src/app/(dashboard)/trending/components/trending-table.tsx`, `apps/dashboard/src/components/engine/permissions/access-tokens-table.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/layout.tsx`, `apps/dashboard/src/app/components/Header/DashboardHeader.tsx`, `apps/dashboard/src/components/engine/permissions/admins-table.tsx`, `apps/dashboard/src/app/(dashboard)/support/page.tsx`, `apps/dashboard/src/components/engine/overview/engine-overview.tsx`, `apps/dashboard/src/components/engine/overview/backend-wallets-table.tsx`, `apps/dashboard/src/components/dashboard/Changelog.tsx`, `apps/dashboard/src/components/settings/ApiKeys/index.tsx`, `apps/dashboard/src/components/engine/tier-card.tsx`, `apps/dashboard/src/@/styles/globals.css`, `apps/dashboard/src/theme/index.ts`, `apps/dashboard/src/components/layout/app-shell/index.tsx`, `apps/dashboard/src/components/contract-components/tables/deployed-contracts.tsx`, `apps/dashboard/src/components/engine/overview/transactions-table.tsx`, `apps/dashboard/src/@/components/blocks/app-footer.tsx`, `apps/dashboard/src/app/(dashboard)/styleguide/page.tsx`, `apps/dashboard/src/components/contract-components/import-contract/modal.tsx`

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

<!-- end pr-codex -->
2024-08-31 01:09:28 +00:00
gregfromstl 8b137f0fe2 [React SDK] Fix: Hide in-app wallet connection option in pay embed (#4336)
The PayEmbed is missing the proper context to handle in-app wallet connections. Given this is an unlikely user use case, we'll disable it for now until the PayEmbed can be fully refactored.

CNCT-1762

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on hiding the in-app wallet connection in the Pay Embed feature of the `WalletSwitcherConnectionScreen` and filtering out the in-app wallet option in the `BuyScreen`.

### Detailed summary
- Hide in-app wallet connection in Pay Embed feature
- Filter out in-app wallet option in BuyScreen

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

<!-- end pr-codex -->
2024-08-31 00:53:36 +00:00
kien-ngo fd051797b7 [SDK] ERC1155 ClaimTo test with Allowlist (#4333)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the ERC1155 claimTo extension by adding support for claiming NFTs with an allowlist feature.

### Detailed summary
- Added support for claiming NFTs with an allowlist feature
- Updated test cases to include claiming with an allowlist
- Modified contract setup and transaction handling for allowlist functionality

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

<!-- end pr-codex -->
2024-08-31 00:15:53 +00:00
gregfromstl 6432e8dc6b [TS SDK] Feature: L2 ENS name resolution (#4334)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds L2 ENS name resolution functionality to the Thirdweb package.

### Detailed summary
- Added L2 ENS name resolution
- Updated cache key in resolve-name.ts
- Added new constants in constants.ts
- Exported new functions and constants in ens.ts
- Updated resolve-address.ts and resolve-l2-name.ts for Basename resolution
- Added resolve-l2-name test cases
- Added resolve-l2-name functionality and related files

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

<!-- end pr-codex -->
2024-08-30 20:12:58 +00:00
kien-ngo c52e1beffb [Dashboard] Fix ERC1155 claim issue (#4335)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `from` field in the `claim-tab.tsx` component to use the `account.address` value.

### Detailed summary
- Updated `from` field in the `claim-tab.tsx` component to use `account.address` value.

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

<!-- end pr-codex -->
2024-08-30 18:40:38 +00:00
kien-ngo bdb814df6c [SDK] Fix token approval for CreateDirectListingButton (#4327)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing NFT approval for `CreateDirectListingButton`.

### Detailed summary
- Added checks for ERC721 and ERC1155 asset types
- Updated NFT contract retrieval
- Implemented token approval logic for ERC721 and ERC1155
- Removed unnecessary imports

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

<!-- end pr-codex -->
2024-08-30 15:05:56 +00:00
kien-ngo eac008967c [Dashboard] Add approval step to claim forms (#4326)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance NFT and token claiming functionality by adding approval checks for ERC20 tokens.

### Detailed summary
- Added approval checks for ERC20 tokens before claiming NFTs and tokens
- Improved error handling and notifications for claiming process
- Ensured account detection before claiming to prevent errors

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

<!-- end pr-codex -->
2024-08-30 12:20:26 +00:00
Dustin f57acc6b24 Update ClaimChainSection.tsx (#4315) 2024-08-30 23:07:40 +12:00
Jonas Danielsandgithub-actions[bot] e46b3d3e2e Version Packages (#4320)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-30 21:48:00 +12:00
edwardysun c97b1a5d7e Fix default "Pay with" chain (#4328)
## Problem solved

When supported source chains is updated, update `fromChain` to take the first chain on the supported sources list instead of defaulting to `polygon`

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the default source chain selection in `PayEmbed`.

### Detailed summary
- Updated default source chain selection logic in `BuyScreen.tsx`
- Refactored the dependencies array in `useEffect` hook for better performance

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

<!-- end pr-codex -->
2024-08-30 08:03:15 +00:00
kien-ngo 42d5c65e49 [SDK] NFT Prebuilt components (#4179)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds NFT prebuilt components for displaying NFT metadata, including name, description, and media.

### Detailed summary
- Added `image_url` property to `NFT` type
- Introduced NFT prebuilt components: `NFT`, `NFT.Media`, `NFT.Name`, `NFT.Description`
- Implemented functions to fetch and display NFT metadata
- Updated test cases for NFT components

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

<!-- end pr-codex -->
2024-08-30 03:00:16 +00:00
gregfromstl 81c9ee91fa [Playground] Refactor: Move ThirdwebProvider to each individual page for separate context (#4292)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor the codebase by introducing a `ThirdwebProvider` component and removing unnecessary wallet-related logic from different components.

### Detailed summary
- Introduced `ThirdwebProvider` component to wrap children with `_ThirdwebProvider`
- Removed wallet-related logic from `ConnectSmartAccountPreview`, `SponsoredTxPreview`, `SponsoredTxZksyncPreview` components
- Updated various components to use `ThirdwebProvider` instead of `ThirdwebProvider` directly

> The following files were skipped due to too many changes: `apps/playground-web/src/app/connect/in-app-wallet/page.tsx`, `apps/playground-web/src/app/connect/pay/page.tsx`, `apps/playground-web/src/app/connect/auth/page.tsx`, `apps/playground-web/src/app/connect/sign-in/button/page.tsx`, `apps/playground-web/src/app/connect/blockchain-api/page.tsx`

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

<!-- end pr-codex -->
2024-08-30 00:35:39 +00:00
kien-ngo c6d1f79267 [Dashboard] Handle loading state for marketplace ui (#4321)
## 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 `list-form.tsx` file by setting `isFormLoading` to false when an error occurs during NFT approval.

### Detailed summary
- Added `setIsFormLoading(false)` to handle error in NFT approval process.

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

<!-- end pr-codex -->
2024-08-30 00:24:32 +00:00
MananTank 3b7890c0fc Add pagination in InApp wallet users table and update tabs (#4325)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to implement pagination functionality for displaying a specific number of items per page in the Users component of the embedded wallets feature.

### Detailed summary
- Added pagination logic to display a subset of wallets per page based on active page
- Implemented pagination buttons for navigating through multiple pages
- Updated the Users component to show items based on pagination
- Added state management for active page selection
- Updated URL search parameters based on selected tab in the EmbeddedWallets component

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

<!-- end pr-codex -->
2024-08-30 00:13:37 +00:00
MananTank 3d60da3717 Fix inApp wallet config form values + show loading state (#4323)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to improve the loading state handling in the in-app wallets section and refactor the form values handling in the Configure component.

### Detailed summary
- Improved loading state handling in in-app wallets section
- Refactored form values handling in the Configure component

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

<!-- end pr-codex -->
2024-08-29 23:49:13 +00:00
gregfromstl 3e425ecc68 [React SDK] Fix: Accessbility warnings (#4322)
Fixes #4313

<!-- start pr-codex -->

---

## PR-Codex overview
This PR fixes accessibility warnings in the `Modal` component by adding a visually hidden title for screen readers.

### Detailed summary
- Added visually hidden title for screen readers in the `Modal` component
- Set `aria-describedby` attribute to `undefined` in `Dialog.Content` to improve accessibility

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

<!-- end pr-codex -->
2024-08-29 22:55:31 +00:00
gregfromstl 9d6eb27081 [TS SDK] Fix: Contract deployments with smart accounts (#4306)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing programmatic deployments with smart accounts in the `useSendToken` hook.

### Detailed summary
- Updated error message for invalid receiver address
- Allowed empty strings for deployment transactions in `encodeAddress` function

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

<!-- end pr-codex -->
2024-08-29 21:25:15 +00:00
gregfromstl 1e70bbf2c3 [React Native] Fix: Retry fetching user shares (#4317)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces automatic retries for React Native in-app wallet logins to improve user experience.

### Detailed summary
- Added automatic retries for in-app wallet login in React Native
- Implemented retry mechanism with a maximum of 3 retries
- Added error handling for failed login attempts

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

<!-- end pr-codex -->
2024-08-29 21:09:22 +00:00
gregfromstl a65bb8839b [TS SDK] Fix: Include MainnetZ in legacy chain list (#4316)
## 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 wallet transactions by including the from address and updating gas fee data for MainnetZ.

### Detailed summary
- Added from address in in-app wallet transactions
- Updated gas fee data for MainnetZ Mainnet and Testnet

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

<!-- end pr-codex -->
2024-08-29 20:40:46 +00:00
MananTank 74753e1dfe Marketplace create listing form UI improvements (#4318)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the CreateListingButton component to manage form loading state more efficiently.

### Detailed summary
- Added `useState` to manage form loading state
- Replaced `useSendAndConfirmTransaction` with `useActiveAccount` in `list-button.tsx`
- Replaced `mutation` with `setIsFormLoading` in `list-button.tsx`
- Added `CircleAlertIcon` and form validation for contract address in `list-form.tsx`

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

<!-- end pr-codex -->
2024-08-29 19:53:09 +00:00
kien-ngo 3aaffe1a70 [Dashboard] Add NFT approval step to Marketplace create listing & auction (#4311)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the `CreateListingButton` and `CreateListingsForm` components to use `mutation` instead of `mutate` for transaction handling.

### Detailed summary
- Refactored `useSendAndConfirmTransaction()` to `useSendAndConfirmTransaction()`
- Renamed `mutate` to `mutation` in `CreateListingButton`
- Updated `useMutationResult` import in `list-form.tsx`
- Replaced `mutate` with `mutation` in `CreateListingsForm`
- Added error handling and approval logic in `CreateListingsForm`

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

<!-- end pr-codex -->
2024-08-29 18:11:43 +00:00
kien-ngo 68ee714e22 [SDK] Add tests: claim conditions for ERC1155 Drop (#4309)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a test for getting active claim conditions in an ERC1155 contract.

### Detailed summary
- Added imports for test constants and functions
- Added a test case for getting active claim conditions in ERC1155 contract
- Implemented setup and assertions for the test case

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

<!-- end pr-codex -->
2024-08-29 11:18:54 +00:00
Phillip Ho 5858cc1c26 chore: Update AWS/GCP KMS docs (#4300) 2024-08-29 10:22:17 +00:00
Jonas Danielsandgithub-actions[bot] 0b4c885218 Version Packages (#4275)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-29 15:11:12 +12:00
gregfromstl e14af15191 fix(playground): checkbox ids and passkey TOS approval (#4308)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a `disabled` prop to various components for better control over user interactions.

### Detailed summary
- Added `disabled` prop to `WalletTypeRowButton` component in `WalletTypeRowButton.tsx`
- Added `disabled` prop to `ConnectWalletSocialOptions` component in `ConnectWalletSocialOptions.tsx`
- Added `disabled` prop to different options in `ConnectWalletSocialOptions` component
- Updated label and ID in `LeftSection.tsx` for TOS approval checkbox

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

<!-- end pr-codex -->
2024-08-28 20:59:39 +00:00
Alec AnanianandJoaquim Verges fcf8f89af4 react: add overrides for connected wallet name and avatar in details button and modal (#4271)
Co-authored-by: Joaquim Verges <[email protected]>
2024-08-29 08:58:51 +12:00
gregfromstl db2ee850f3 [React] Feature: Adds TOS confirmation checkbox (#4295)
## Problem solved

A developer needs the ability to require all users to accept their TOS before creating an in-app wallet so they have the ability to use their emails. This PR adds a flag `requireApproval` on the modal and embed options. When enabled, all login methods will be disabled until the checkbox is selected.
<img width="566" alt="Screenshot 2024-08-27 at 1 41 07 PM" src="https://github.com/user-attachments/assets/6534a3fb-f119-4c55-b0e2-c8ccd2dcf237">

## To Test
- Open playground Sign-In page
- Under "Modal Options", set "Require TOS approval" to true
- Attempt to login with and without checking the approval confirmation

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a feature to require acceptance of Terms of Service or Privacy Policy before connecting to an in-app wallet.

### Detailed summary
- Added `requireApproval` prop for TOS/Privacy Policy acceptance
- Implemented UI changes for approval checkboxes
- Updated various components to handle approval requirement

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/ui/ConnectWallet/WalletSelector.tsx`

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

<!-- end pr-codex -->
2024-08-28 19:01:51 +00:00
MananTank dc79abdca0 Fix NFTMetadata, fix dashboard crash on create direct listing page (#4307)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to fix the `NFTMetadata` type by removing the `id` property.

### Detailed summary
- Updated `NFTMetadata` type to remove the `id` property
- Updated references to `nft.metadata.id` to `nft.id` in multiple files
- Improved consistency and accuracy in handling NFT metadata

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

<!-- end pr-codex -->
2024-08-28 18:55:10 +00:00
jnsdls 55a00731d9 v5 extension detection (#4302) 2024-08-28 17:02:24 +00:00
MananTank 56eb30f722 Fix Portal OG images (#4305)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors `getBaseUrl.ts` to dynamically determine environment based on Vercel settings and return appropriate base URL.

### Detailed summary
- Refactored to use `getVercelEnv` function to determine environment
- Added logic to handle different environments (development, production, preview)
- Updated `getBaseUrl` function to return correct base URL based on environment

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

<!-- end pr-codex -->
2024-08-28 11:38:09 +00:00
kien-ngo 48db1f5281 [Portal] Move some useful support articles to Portal (#4299)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds examples for interacting with Lens protocol and Ethereum Name Service using thirdweb extensions. It also includes a guide on transferring tokens using ERC721, ERC1155, and ERC20 contracts.

### Detailed summary
- Added examples for interacting with Lens protocol and ENS
- Included functions to resolve addresses, names, and avatars
- Provided code snippets for transferring ERC721, ERC1155, and ERC20 tokens
- Updated sidebar with links to new examples pages

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

<!-- end pr-codex -->
2024-08-28 10:57:56 +00:00
Phillip Ho a8e2bc58c9 Engine doc: webhook updates, remove v2 beta banner (#4296) 2024-08-27 23:01:51 +00:00
jnsdls 1ef192100c [Feature] Initial Projects and Teams setup in dashboard (#3682)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds new pages and components related to team and project settings, navigation improvements, and styling updates.

### Detailed summary
- Added new pages for settings, contracts, and various connect options
- Implemented navigation improvements with NavLink and SidebarLink components
- Styling updates for scrollbar and badge variants
- Created components like TWAutoConnect and TeamTabs for better UI/UX

> The following files were skipped due to too many changes: `apps/dashboard/src/@/components/ui/badge.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/SearchInput.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/ConnectMobileSidebar.tsx`, `apps/dashboard/src/app/team/[team_slug]/components/active-wallet-logo.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/layout.tsx`, `apps/dashboard/src/components/app-layouts/provider-setup.tsx`, `apps/dashboard/src/@/components/ui/select.tsx`, `apps/dashboard/src/@/components/blocks/BurgerMenuButton.tsx`, `apps/dashboard/.storybook/preview.tsx`, `apps/dashboard/src/components/icons/ChainIcon.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/layout.tsx`, `apps/dashboard/src/@/api/team-members.ts`, `apps/dashboard/src/app/components/Header/TeamHeader/ProjectSelectorMobileMenuButton.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/layout.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/TeamSelectorMobileMenuButton.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/TeamHeader.tsx`, `apps/dashboard/src/@/api/team.ts`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/layout.tsx`, `apps/dashboard/src/@/api/projects.ts`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/layout.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/ResourcesDropdownButton.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/TeamAndProjectSelectorPopoverButton.tsx`, `apps/dashboard/src/app/team/[team_slug]/components/account-button.client.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/ProjectSelectorUI.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/TeamSelectionUI.tsx`, `apps/dashboard/src/components/cmd-k-search/index.tsx`, `apps/dashboard/src/@/components/ui/tabs.tsx`, `apps/dashboard/src/stories/Header.stories.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/MobileBurgerMenuButton.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/TeamHeaderUI.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/TeamOverviewPage.tsx`

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

<!-- end pr-codex -->
2024-08-27 21:59:13 +00:00
jnsdls a716bbbce5 [Update] Refine credit display and expiration handling in billing (#4297)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the logic for checking active credits and improves the display of claimed and expiration information in the CreditsItem component.

### Detailed summary
- Improved logic for checking active credits in `useApi.ts`
- Updated display of claimed credits and expiration information in `CreditsItem.tsx`

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

<!-- end pr-codex -->
2024-08-27 21:39:52 +00:00
2eac899036 startup program landing update (#4251)
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2024-08-27 14:07:17 -07:00
Winston Yeo 09bb251657 Winston/fix ecosystem wallet signing (#4294) 2024-08-27 19:17:15 +00:00
Joaquim Verges f346bb8fca feat(playground): zksync in playground + gasPerPubData increase (#4291) 2024-08-28 00:51:05 +12:00
dependabot[bot] 98493314fb chore(deps-dev): bump @babel/runtime from 7.24.5 to 7.25.4 (#4284)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 22:10:45 -07:00
jnsdls ec2ffaed16 [Remove] Modular Contracts category from explore data (#4287) 2024-08-27 03:27:37 +00:00
Edward Sun dda57eaad3 Don't retry quotes on Route not found and internal server errors (#4286) 2024-08-26 19:51:34 -07:00
kien-ngo e793d44dde [SDK] Update tsdocs for Gasless with OpenZeppelin (#4279)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces gasless transaction support using OpenZeppelin in various transaction-related functions and components.

### Detailed summary
- Added gasless usage with OpenZeppelin in `sendTransaction`, `sendAndConfirmTransaction`, `useSendTransaction`, and `useSendAndConfirmTransaction`
- Updated code examples in corresponding files for gasless usage with OpenZeppelin

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

<!-- end pr-codex -->
2024-08-27 00:04:00 +00:00
kien-ngo b661ce7b2f [SDK] Deploy VoteERC20 extension (#4264)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds an extension for deploying the `VoteERC20` contract and includes related test cases and contract initialization improvements.

### Detailed summary
- Added extension for deploying `VoteERC20` contract
- Implemented test cases for contract deployment and functionality testing
- Enhanced contract initialization process with better error handling

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/prebuilts/deploy-vote.ts`, `packages/thirdweb/src/extensions/prebuilts/__generated__/VoteERC20/write/initialize.ts`

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

<!-- end pr-codex -->
2024-08-26 22:45:35 +00:00
Joaquim Verges 17ca1b96ad chore(docs): Update docs for server verifier inputs (#4276)
Signed-off-by: Joaquim Verges <[email protected]>
2024-08-26 20:22:17 +12:00
Joaquim Verges c116597641 feat(smart): Entrypoint v0.7 support (#4106) 2024-08-26 13:48:03 +12:00
Jonas Danielsandgithub-actions[bot] f47aa61915 Version Packages (#4263)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-25 11:22:32 +12:00
gregfromstl a0aea23e74 Set default auth mode to prevent double popup (#4274)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR fixes a conflict between popup and window authentication modes on Firefox.

### Detailed summary
- Set the default authentication mode to "popup" if not specified
- Ensure popup authentication mode is used when not explicitly defined

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

<!-- end pr-codex -->
2024-08-24 21:08:40 +00:00
1405598e7e adding api for pay direct transfers (#4224)
Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Edward Sun <[email protected]>
Co-authored-by: Edward Sun <[email protected]>
2024-08-23 23:45:23 +00:00
MananTank 120d61f410 Use formatNumber util for showing token balances (#4269)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update UI components to display wallet balances with up to 5 decimal places.

### Detailed summary
- Updated `formatTokenBalance` function to use `formatNumber` with 5 decimal places
- Added `formatNumber` function to format numbers with specified decimal places
- Updated balance display in UI components to use `formatNumber` with conditional decimal places based on the value

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

<!-- end pr-codex -->
2024-08-23 22:12:08 +00:00
jnsdls 2973ba1f54 [Update] Make bundle ID regex case-insensitive (#4268)
BLOCKED BY: https://github.com/thirdweb-dev/api-server/pull/1019
2024-08-23 21:00:49 +00:00
Alec Ananian 7a2de70310 react: add hideSwitchWallet param to wallet details modal (#4267) 2024-08-23 13:37:51 -07:00
gregfromstl 659cb03eea [Docs] Feature: Automatically unroll function inputs and outputs (#4236)
## Problem solved

Previously we made no attempt to unroll function inputs and outputs in the docs. This made things difficult to quickly scan since every function has a typed input and output object you would have to navigate to.

This PR is a first attempt at basic unrolling functionality of these typed inputs and outputs.

Before:
<img width="929" alt="Screenshot 2024-08-21 at 3 20 24 PM" src="https://github.com/user-attachments/assets/e73eae8b-98b5-40c9-8f63-f17e3a0a63d7">

After:
<img width="933" alt="Screenshot 2024-08-21 at 3 20 49 PM" src="https://github.com/user-attachments/assets/b5d8d847-9c70-45ec-aaf6-95b4215b3418">

As an additional readability bonus, the input and output sections now start as an open accordion.

Note: There are still improvements to be made especially on functions with more complex types. These functions' interfaces should be simplified in future versions.

## Next Steps
Future features should add nested input descriptions (supported by typedoc but not `typedoc-better-json`). Future SDK versions should use simpler, explicitly typed inputs and outputs to simplify the unrolling process (and easier LSP support for users).

## To Test
Open the preview URL, click around to various functions and inspect the parameter and return types

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates transaction handling and TypeScript documentation rendering.

### Detailed summary
- Added `fetchDocBySlug` function to fetch TypeScript docs by slug
- Modified `SendTransactionOptions` to use interface instead of type
- Updated TypeScript documentation rendering to include interface docs for return types and parameter types

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

<!-- end pr-codex -->
2024-08-23 18:24:48 +00:00
jnsdls 8128d127ce [Update] Refine billing alert messages and usage limit notifications (#4266) 2024-08-23 17:55:29 +00:00
MananTank d401a13cdc Add Storybook in Dashboard (#4265)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to integrate Storybook into the project, configure Storybook addons, and create a Button component story.

### Detailed summary
- Added Storybook configuration files for setup
- Integrated Storybook for UI component development
- Created a story for the Button component with light and dark themes
- Updated package.json with Storybook dependencies

> 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-08-23 17:08:31 +00:00
gregfromstl 41fbdafcf7 [TS SDK] Feature: Add account overload to signMessage (#4250)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `signMessage` function in the `thirdweb` package by adding support to pass an account for signing messages, in addition to a private key.

### Detailed summary
- Added overload to `signMessage` to accept an account for signing messages
- Updated `signMessage` function to handle both private key and account options
- Updated tests to cover new account signing functionality

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

<!-- end pr-codex -->
2024-08-23 16:29:04 +00:00
MananTank 44e8e7bce2 Buy Fiat Currency selection updates in Pay UI (#4244)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces support for Japanese Yen (JPY) as a fiat currency option in the Pay UI.

### Detailed summary
- Added JPY as a supported fiat currency
- Updated currency selection UI components
- Added JPYIcon for visual representation
- Implemented default currency selection based on user's location

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

<!-- end pr-codex -->
2024-08-23 06:10:06 +00:00
jnsdls 201a4b3b8f [Update] Refine billing alerts based on account status and usage limits (#4261) 2024-08-23 05:59:32 +00:00
jnsdls 716a4d8c26 [Update] Expand CSP for style-src and font-src to include Vercel domains (#4262)
tl;dr: https://vercel.com/docs/workflow-collaboration/vercel-toolbar/managing-toolbar#using-a-content-security-policy
2024-08-23 05:54:30 +00:00
jnsdls 9a86559c36 [Update] Enhance billing alerts based on account plan and usage limits (#4259)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds conditional alerts based on user's usage and plan in the billing section.

### Detailed summary
- Added `isFreePlan` and `isGrowthPlan` constants based on user's plan
- Updated conditions to show alerts based on usage limits and plan
- Included specific messages for different scenarios and plans

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

<!-- end pr-codex -->
2024-08-23 05:22:14 +00:00
jnsdls 3853e17656 [Refactor] Update useQuery implementation and remove unused imports (#4258) 2024-08-23 03:05:51 +00:00
jnsdls ac2bb59fa0 [Refactor] Update useQuery implementation across multiple hooks (#4257) 2024-08-23 01:20:48 +00:00
Jonas Daniels 14696d32fc [Update] Enhance ContractOverviewPage component rendering (#4256) 2024-08-22 17:26:29 -07:00
jnsdls dc903ae029 [Refactor] Update account count fetching using thirdweb hooks (#4255)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor the `sdk.ts` file by removing unused imports and simplifying the `getThirdwebSDK` function.

### Detailed summary
- Removed unused imports and type declarations in `sdk.ts`
- Simplified the `getThirdwebSDK` function parameters
- Improved performance by optimizing the `sdkKey` calculation
- Removed signer update logic in `getThirdwebSDK`
- Refactored `account-cell.tsx` by updating imports and using `thirdweb` library functions
- Updated `useAccountCount` function to use `getContract` and `useReadContract` from `thirdweb` library

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

<!-- end pr-codex -->
2024-08-23 00:14:01 +00:00
Firekeeper be03c28b5d .NET 1.5.0 / Unity 5.0.0-beta.4 Docs (#4199) 2024-08-22 17:07:53 -07:00
kien-ngo bdf9507de8 [Dashboard] Overview page (#4222)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates various components in the contract UI to use the `useContract` hook and `ThirdwebContract` type for better contract handling.

### Detailed summary
- Updated components to use `useContract` hook and `ThirdwebContract` type
- Removed unnecessary imports and code duplication
- Refactored contract-related logic for improved readability

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/overview/components/ContractChecklist.tsx`

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

<!-- end pr-codex -->
2024-08-22 23:48:19 +00:00
edwardysun 86d2bafd72 Remove Coming Soon on Pay webhooks dashboard event type (#4254)
## Problem solved

Removes "Coming Soon" badge - confusing UI

<!-- start pr-codex -->

---

## PR-Codex overview
This PR removes the `Badge` component from the `CreateWebhookButton` in `webhooks.client.tsx`.

### Detailed summary
- Removed the `Badge` component from the form field in the `CreateWebhookButton`.
- Updated the `FormLabel` to remove the "Coming Soon" text.
- Adjusted the `Select` component with a default value and placeholder.

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

<!-- end pr-codex -->
2024-08-22 23:42:58 +00:00
MananTank 6b9bfb6ec7 Connect Playground UI tweaks (#4252)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to optimize the sidebar, improve accordion behavior, and enhance UI components.

### Detailed summary
- Removed unnecessary class from `Sidebar` component
- Adjusted styling in `page.tsx` for responsiveness
- Added functionality to close other accordions when one is opened
- Updated dependencies and added animations to `CustomAccordion`

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

<!-- end pr-codex -->
2024-08-22 23:38:14 +00:00
MananTank 8a618d7bd3 Migrate Mini connect playground to v5 in connect landing page (#4249)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates wallet functionality in the dashboard:

### Detailed summary
- Updated wallet options and social login methods
- Improved theme selection and modal size handling
- Removed unused components and assets

> The following files were skipped due to too many changes: `apps/dashboard/src/components/wallets/ConnectWalletMiniPlayground/MiniPlayground.tsx`

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

<!-- end pr-codex -->
2024-08-22 23:01:26 +00:00
jnsdls e97412bec8 [Refactor] Replace BigNumber with native BigInt operations (#4248)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The PR focuses on refactoring and optimizing Solidity-related functions and updating contract-related hooks and queries for ERC721 and ERC1155 in the dashboard.

### Detailed summary
- Refactored `calculateIntMinValues` and `calculateIntMaxValues` functions for better performance.
- Updated contract-related hooks and queries for ERC721 and ERC1155 in `ContractChecklist.tsx`.
- Replaced `BigNumber` with `BigInt` for improved handling of integer values.

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

<!-- end pr-codex -->
2024-08-22 22:47:30 +00:00
jnsdls 626072cc0d remove unused code (#4247)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to remove unused files, update dependencies, and refactor code structure.

### Detailed summary
- Removed unused files related to maps, gas estimator, and components
- Refactored `useHeightObserver` function
- Updated dependencies like `@tanstack/react-query` and `@stripe/react-stripe-js`
- Removed unused code related to contract code snippets and event handling
- Updated package versions and removed `idb-keyval` dependency

> 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-08-22 22:21:14 +00:00
kien-ngo 5d6b1e1d0a [Dashboard] Migrate type: ProfileMetadata + ProfileMetadataInput (#4109)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates import paths for `ProfileMetadata` and `ProfileMetadataInput` to `constants/schemas`.

### Detailed summary
- Updated import paths for `ProfileMetadata` and `ProfileMetadataInput` to `constants/schemas` in multiple files.
- Added `ProfileSchemaInput` and `ProfileSchemaOutput` in `schemas.ts`.
- Updated type-casting in `fetchPublisherProfile` function.
- Changed parameter type in `useEditProfileMutation` function.

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

<!-- end pr-codex -->
2024-08-22 21:52:16 +00:00
jnsdls b1323ea211 [Refactor] Update useQuery implementation in API hooks (#4246)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor API query functions in the dashboard app to use `useQuery` with explicit query keys and query functions.

### Detailed summary
- Refactored `useApiChains` and `useFeatureContractCodeSnippetQuery` to use `useQuery` with specified query keys and query functions.
- Updated API query functions to be more explicit and maintainable.

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

<!-- end pr-codex -->
2024-08-22 21:45:56 +00:00
jnsdls cbbb414141 [Refactor] Remove query persistence and update import paths (#4245) 2024-08-22 21:33:55 +00:00
MananTank 0417ab45f1 Remove connect playground in dashboard (#4243)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update links and paths related to the Connect Wallet Playground feature.

### Detailed summary
- Updated links to direct to `https://playground.thirdweb.com/connect/sign-in/button`
- Removed references to the deleted Connect Wallet Playground feature
- Updated sidebar and navigation links
- Updated redirects to new playground URL

> The following files were skipped due to too many changes: `apps/dashboard/src/components/wallets/ConnectWalletMiniPlayground/MiniPlayground.tsx`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-08-22 21:09:21 +00:00
kien-ngo c49bbd3389 [Dashboard] Remove ethers from list-form (#4241)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the CreateListingsForm component in the listings tab to handle auction creation with improved currency handling.

### Detailed summary
- Refactored currency handling for auction creation
- Added `toUnits` and `toWei` functions
- Imported `decimals` from `thirdweb/extensions/erc20`
- Updated auction creation logic to handle different currencies

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

<!-- end pr-codex -->
2024-08-22 20:55:15 +00:00
kien-ngo f192875547 [Dashboard] Remove bignumber-input since it is for Claim phase v1 (#4242)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to remove the `WaitingTimeInput` component from the `ClaimConditionsPhase` component and related imports.

### Detailed summary
- Deleted `WaitingTimeInput` component import and usage in `ClaimConditionsPhase`
- Removed `WaitingTimeInput` component from the conditional rendering based on `isClaimPhaseV1`

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

<!-- end pr-codex -->
2024-08-22 20:43:49 +00:00
MananTank 55bf1ad5a3 Add Storybook for SDK (#4230)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add Storybook configuration, update dependencies, and improve story components.

### Detailed summary
- Added Storybook configuration for `storybook` and `build-storybook`
- Updated dependencies for Storybook addons and Vite
- Improved story components for `ConnectButton` and `PayEmbed`
- Defined absolute paths in Storybook config for addons
- Added global CSS styling for Storybook preview
- Created utility functions for story client and wallet adapter

> 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-08-22 16:36:54 +00:00
kien-ngo 01dd80fad9 [Dashboard] Hide AnnouncementBanner for Onchain Olympics [Merge after Aug 21] (#4176)
Merge this PR after Aug 21 🙏
2024-08-22 09:38:41 +00:00
Jonas Danielsandgithub-actions[bot] 279d81ec35 Version Packages (#4223)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-22 18:43:24 +12:00
joaquim-verges d93ec63cd7 fix(inApp): fix passkeyDomain prop not being respected on login web (#4239)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing the passkey domain issue in the authentication process.

### Detailed summary
- Updated `types.ts` to remove optional domain object
- Modified `web-connector.ts` to use `passkeyDomain` instead of domain object for `rp` properties

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

<!-- end pr-codex -->
2024-08-22 05:01:31 +00:00
joaquim-verges a7f4484702 smart wallet dev tests (#4226)
## Problem solved

Adding a small test preset for dev to test smart wallet dev infra

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add support for running tests in a test environment and to enhance smart wallet functionality.

### Detailed summary
- Added support for running tests in a test environment
- Updated smart wallet functionality for policy tests
- Modified fetch logic for `localhost` and `test` environments

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

<!-- end pr-codex -->
2024-08-22 04:45:29 +00:00
gregfromstl b38308d893 [TS SDK] Feature: Enable external redirect authentication for electron support (#4237)
Adds the ability to pass a `redirectUrl` and `redirectExternally` boolean to `authenticate`. This will allow electron apps to authenticate with in-app wallet social auth.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new authentication mode "window" and enables external redirects for electron support.

### Detailed summary
- Added a new authentication mode "window" for in-app authentication
- Enabled external redirects for electron support
- Updated authentication modes in various files
- Updated authentication methods to support new mode and redirect URL

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

<!-- end pr-codex -->
2024-08-22 04:40:30 +00:00
MananTank 7ef1c721ef Update Playground (#4178)
Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

This PR introduces new authentication features, refactors UI components, adds redirect functionality, and enhances code formatting.

- Added new authentication features
- Refactored UI components
- Added redirect functionality
- Enhanced code formatting

> The following files were skipped due to too many changes: `apps/playground-web/src/app/providers.tsx`, `apps/playground-web/src/components/ui/input.tsx`, `apps/playground-web/src/app/connect/sign-in/components/types.ts`, `apps/playground-web/src/components/ui/CustomRadioGroup.tsx`, `apps/playground-web/package.json`, `apps/playground-web/src/components/ui/CopyButton.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/WalletSelector.tsx`, `apps/playground-web/src/components/code/RenderCode.tsx`, `apps/playground-web/src/components/code/code.client.tsx`, `apps/playground-web/src/app/connect/sign-in/components/CollapsibleSection.tsx`, `apps/playground-web/src/components/ui/checkbox.tsx`, `apps/playground-web/src/app/AppSidebar.tsx`, `apps/playground-web/src/components/ui/DynamicHeight.tsx`, `apps/playground-web/src/components/ui/switch.tsx`, `apps/playground-web/src/components/code/code-example.tsx`, `apps/playground-web/src/components/blocks/APIHeader.tsx`, `apps/playground-web/src/app/layout.tsx`, `apps/playground-web/src/components/code/code.tsx`, `apps/playground-web/src/components/ui/radio-group.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectEmbed.tsx`, `apps/playground-web/src/app/connect/sign-in/components/LocaleFormControl.tsx`, `apps/playground-web/src/components/ui/button.tsx`, `apps/playground-web/src/components/ui/scroll-area.tsx`, `apps/playground-web/src/app/connect/sign-in/embed/page.tsx`, `apps/playground-web/src/app/connect/sign-in/headless/page.tsx`, `apps/playground-web/src/components/ui/tooltip.tsx`, `apps/playground-web/src/components/ui/CustomAccordion.tsx`, `apps/playground-web/src/app/MobileHeader.tsx`, `apps/playground-web/src/app/connect/sign-in/button/page.tsx`, `apps/playground-web/public/thirdweb.svg`, `apps/playground-web/src/app/connect/sign-in/components/InAppWalletFormGroup.tsx`, `apps/playground-web/src/app/globals.css`, `apps/playground-web/src/app/connect/auth/page.tsx`, `apps/playground-web/src/app/connect/pay/page.tsx`, `apps/playground-web/src/components/ui/ScrollShadow/ScrollShadow.tsx`, `apps/playground-web/src/app/connect/in-app-wallet/page.tsx`, `apps/playground-web/src/app/connect/blockchain-api/page.tsx`, `apps/playground-web/src/app/connect/account-abstraction/page.tsx`, `apps/playground-web/src/app/connect/sign-in/components/WalletsSelection.tsx`, `pnpm-lock.yaml`, `apps/playground-web/src/components/ui/sidebar.tsx`, `apps/playground-web/src/app/connect/sign-in/components/CodeGen.tsx`, `apps/playground-web/src/app/connect/sign-in/components/ColorFormGroup.tsx`, `apps/playground-web/src/components/ui/select.tsx`, `apps/playground-web/src/app/connect/sign-in/button/RightSection.tsx`, `apps/playground-web/src/app/connect/sign-in/button/LeftSection.tsx`

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

<!-- end pr-codex -->
2024-08-22 01:14:22 +05:30
MananTank c48a0b1105 Remove collapse toggle from Trusted Forwards form control in deploy page (#4231)
FIXES: DASH-167
2024-08-21 17:37:16 +00:00
kien-ngo 6b9b3efb51 [Dashboard] Account page v5 (#4219)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the contract UI components to use the latest contract data and improve the account creation process.

### Detailed summary
- Updated `useRouteConfig.tsx` to conditionally render `LazyContractAccountsPage`
- Refactored `CreateAccountButton.tsx` to use `ThirdwebContract`
- Modified `page.tsx` to use `ThirdwebContract` and `ExtensionDetectedState` types

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

<!-- end pr-codex -->
2024-08-21 17:14:01 +00:00
kien-ngo 654cbbaa2e [Dashboard] Permission page to v5 (#4218)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to implement a feature that detects and handles permissions enumerable in contracts.

### Detailed summary
- Added detection and handling of `PermissionsEnumerable` feature in contracts
- Updated components to utilize the detected `PermissionsEnumerable` flag
- Refactored and optimized contract permission handling logic

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

<!-- end pr-codex -->
2024-08-21 17:13:58 +00:00
Joe-Thirdweb 88bbbd5a01 Joe - Chainlist Page update 0gLabs (#4233) 2024-08-21 10:10:51 -07:00
kien-ngo 0c2fd4db98 [Dashboard] Remove ethers from int-input (#4234)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR replaces `parseEther` with `toWei` in `SolidityIntInput` component for input conversion.

### Detailed summary
- Replaced `parseEther` with `toWei` for input conversion
- Updated import from `thirdweb`
- Removed unused import of `useCallback`
- Updated `Button` import from `tw-components`

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

<!-- end pr-codex -->
2024-08-21 17:02:45 +00:00
kien-ngo 2c37732984 [SDK] Fix abi param parsing (#4229)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the parsing functionality for Solidity types in the contract UI components and transaction handling.

### Detailed summary
- Added parsing logic for `string` type in `parseAbiParams`
- Improved handling of different data types in contract transactions
- Added test cases for parsing `string` and `number` in contract transactions

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

<!-- end pr-codex -->
2024-08-21 17:02:36 +00:00
MananTank 783e448e2e Stricter correctness rules in biome (#4216)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to remove unnecessary error handling blocks in various catch statements.

### Detailed summary
- Removed error variable from catch blocks in multiple files.
- Simplified catch blocks to just `catch {}` where error handling was not required.

> The following files were skipped due to too many changes: `apps/dashboard/src/utils/fetchChain.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/main/useBuyTxStates.ts`, `packages/thirdweb/src/react/core/hooks/transaction/useSendTransaction.ts`, `packages/thirdweb/src/auth/verify-hash.ts`, `packages/thirdweb/src/contract/verification/constructor-params.ts`, `apps/wallet-ui/src/components/NftModal.tsx`, `apps/playground-web/src/components/in-app-wallet/connect-button.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/ChainOverviewSection.tsx`, `packages/thirdweb/src/extensions/erc721/lazyMinting/write/createDelayedRevealBatch.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/WalletConnectReceiverScreen.tsx`, `apps/dashboard/src/contract-ui/components/solidity-inputs/helpers.ts`, `packages/service-utils/src/core/api.ts`, `apps/playground-web/src/components/in-app-wallet/sponsored-tx.tsx`, `apps/playground-web/src/components/account-abstraction/sponsored-tx.tsx`, `apps/playground-web/src/app/connect/auth/page.tsx`, `apps/dashboard/src/components/contract-components/hooks.ts`, `packages/thirdweb/src/wallets/in-app/native/helpers/auth/middleware.ts`, `apps/dashboard/src/lib/sdk.ts`, `apps/playground-web/src/app/page.tsx`, `apps/dashboard/src/contexts/configured-chains.tsx`, `legacy_packages/unity-js-bridge/src/thirdweb-bridge.ts`, `packages/thirdweb/src/cli/commands/generate/generate.ts`

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

<!-- end pr-codex -->
2024-08-21 09:56:04 +00:00
MananTank 6c87d7ba3a Add useHookAtTopLevel rule in biome and fix lint errors (#4213)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to address linting issues related to the use of hooks at the top level in various components.

### Detailed summary
- Added `correctness` rule in `biome.json` for `useHookAtTopLevel`
- Added error handling and comments for `useQuery` in `useReadContract` functions
- Refactored `RNImage.tsx` to use `useMemo` for image handling
- Improved error handling in `ViewNFTs.tsx` for `fetchNFTs` function

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

<!-- end pr-codex -->
2024-08-21 01:11:23 +00:00
kien-ngo 6b8bde1abf [Dashboard] Replace useSDKChainId (#4217)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor hook dependencies in the dashboard component to use `useDashboardEVMChainId` instead of `useSDKChainId`.

### Detailed summary
- Updated imports to use `useDashboardEVMChainId` from `@3rdweb-sdk/react`
- Replaced all instances of `useSDKChainId` with `useDashboardEVMChainId`

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

<!-- end pr-codex -->
2024-08-21 00:40:41 +00:00
kien-ngo 81b33c7d7c [Dashboard] useContractEvents to v5 (#4215)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates event handling in the dashboard by refactoring components, adding type definitions, and improving event filtering.

### Detailed summary
- Refactored components to handle events using `ThirdwebContract` type
- Added type definitions for `InternalTransaction` and `PreparedEvent`
- Improved event filtering and handling in `useActivity` and `EventsFeed`
- Updated `LatestEvents` and `ContractEventsPage` components to use `ThirdwebContract` type

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/events/components/events-feed.tsx`

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

<!-- end pr-codex -->
2024-08-21 00:40:40 +00:00
kien-ngo e37ac839b2 [Dashboard] claim-condition page (#4208)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update claim conditions for ERC721, ERC1155, and ERC20 contracts.

### Detailed summary
- Updated claim condition tabs for ERC721, ERC1155, and ERC20 contracts
- Added detection of new claim conditions for different contract types
- Refactored components to use updated contract information

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

<!-- end pr-codex -->
2024-08-21 00:24:22 +00:00
kien-ngo 462e1fd2aa [Dashboard] chore: remove getErc (1155) (#4207)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the `useNFTDrawerTabs` function in the `useNftDrawerTabs.tsx` file to use `isERC1155` instead of `erc1155` for better clarity.

### Detailed summary
- Refactored references from `erc1155` to `isERC1155` for clarity
- Updated `contractAddress` and `chainId` values to use `contract` object properties instead of `erc1155`

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

<!-- end pr-codex -->
2024-08-20 23:58:29 +00:00
kien-ngo b4d8be4f91 [Dashboard] Remove some stuff from claim-condition-form (#4206)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the Claim Conditions Form component to use the `useReadContract` hook and `decimals` extension from `thirdweb/extensions/erc20`.

### Detailed summary
- Replaced `useTokenDecimals` with `useReadContract` for token decimals retrieval
- Added `decimals` import from `thirdweb/extensions/erc20`
- Added `useReadContract` import from `thirdweb/react`

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

<!-- end pr-codex -->
2024-08-20 23:57:54 +00:00
kien-ngo 15b7e8cfb8 [Dashboard] Remove type UploadProgressEvent (#4205)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to re-export `UploadProgressEvent` type and import it in `batch-lazy-mint-button.tsx`.

### Detailed summary
- Re-exported `UploadProgressEvent` type from `progress-box.tsx`
- Imported `UploadProgressEvent` in `batch-lazy-mint-button.tsx`

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

<!-- end pr-codex -->
2024-08-20 23:57:52 +00:00
kien-ngo 886094fbac [Dashboard] Migrate /code page to v5 (#4204)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR improves contract code rendering in the dashboard.

### Detailed summary
- Updated rendering logic for contract code in various components
- Added type `AbiType` for compatibility
- Refactored `ContractCodePage` to use `ThirdwebContract` instead of `contractAddress`

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

<!-- end pr-codex -->
2024-08-20 22:36:27 +00:00
greg 0a1bce8fa8 FIX: In-App Metadata Image Display (#4214) 2024-08-20 15:19:37 -07:00
dependabot[bot] 3ccfa981a8 chore(deps): bump @sentry/nextjs from 8.9.2 to 8.26.0 (#4182)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 15:10:32 -07:00
dependabot[bot] fb96e83081 chore(deps-dev): bump tailwindcss from 3.4.4 to 3.4.10 (#4183)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 14:57:14 -07:00
Jonas Daniels 9768b0c0b7 [Refactor] Update account plan management and remove trial-related logic (#4221) 2024-08-20 14:55:26 -07:00
Jonas Daniels 2312f61329 [Update] Replace abuse redirect with email link (#4220) 2024-08-20 14:54:50 -07:00
Jonas Daniels 042439aab9 [Refactor] Remove Twitter handles from ambassadors list (#4209) 2024-08-20 14:54:04 -07:00
kien-ngo 0368ee538e [Dashboard] Add useDashboardOwnedNFTs hook (#4203)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the `quantityOwned` type in the NFTs types, add a new hook for getting owned NFTs, and make adjustments in the Create Listings Form component.

### Detailed summary
- Updated `quantityOwned` type to `bigint` in NFTs types.
- Added `useDashboardOwnedNFTs` hook for fetching owned NFTs.
- Adjusted logic in Create Listings Form component for using the new hook and contract handling.

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

<!-- end pr-codex -->
2024-08-20 21:37:09 +00:00
gregfromstl c6d4aef91b Revert "Dashboard: Allow more domains (#4192)" (#4212)
This reverts commit 4bf8296546.

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the domain validation logic in `validations.ts` to allow only "localhost" as a domain prefix.

### Detailed summary
- Updated domain validation to allow only "localhost" as a domain prefix.

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

<!-- end pr-codex -->
2024-08-20 21:15:09 +00:00
kien-ngo 86c953f18e [Dashboard] Remove useContract from Explorer page (#4202)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update contract-related components and hooks to use `ThirdwebContract` instead of `SmartContract`.

### Detailed summary
- Updated components and hooks to use `ThirdwebContract` instead of `SmartContract`
- Added conditional rendering based on contract and ABI availability
- Removed unnecessary imports and code snippets

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

<!-- end pr-codex -->
2024-08-20 20:33:38 +00:00
MananTank 4ce4072031 Hide Buy Funds section on testnet chain pages (#4210)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a conditional rendering for a `FaucetSection` component based on the `chain.testnet` value in the `page.tsx` file of the `chainPage` in the dashboard.

### Detailed summary
- Added conditional rendering for `FaucetSection` based on `chain.testnet` value
- Renamed "Buy Funds" to "Faucet / Buy Funds"
- Updated rendering logic for `FaucetSection` and `BuyFundsSection` based on `chain.testnet` and service availability

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

<!-- end pr-codex -->
2024-08-20 20:18:41 +00:00
Jonas Danielsandgithub-actions[bot] bd42363602 Version Packages (#4175)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-20 11:27:36 -07:00
gregfromstl 42cdc3a2bc UI Cleanup (#4191)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the connect modal styles and adds support for wallet authentication in the authentication flow.

### Detailed summary
- Updated connect modal styles
- Added support for wallet authentication
- Modified styles for various UI components
- Added a new component for copying addresses
- Improved wallet image rendering based on wallet type

> The following files were skipped due to too many changes: `packages/thirdweb/src/wallets/custom/smart/image.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx`

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

<!-- end pr-codex -->
2024-08-20 17:52:34 +00:00
MananTank 4abf7a7f25 Fix Conditionally rendered hook error in Buy with Fiat flow (#4211)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing a conditionally rendered hook error when buying funds using fiat.

### Detailed summary
- Added a new `onPostOnrampSuccess` function to handle successful post onramp swap
- Changed the logic to report fiat status instead of post onramp swap status after successful swap

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

<!-- end pr-codex -->
2024-08-20 17:31:14 +00:00
kien-ngo 8b0fd13adb [Dashboard] Sources page to v5 (#4201)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update contract-related components and hooks, resolve ABI types, and improve UX in the dashboard.

### Detailed summary
- Updated components and hooks related to contracts
- Resolved ABI types with `abitype`
- Improved UX in the dashboard by updating sources display

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

<!-- end pr-codex -->
2024-08-20 17:11:57 +00:00
dependabot[bot] 20bd3aa399 chore(deps): bump tailwind-merge from 2.4.0 to 2.5.2 (#4189)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 10:10:48 -07:00
joaquim-verges fcfd22c01e feat(adapters): add documentation for wagmi and privy integration (#4198)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the usage of adapters in the thirdweb SDK for compatibility with different libraries.

### Detailed summary
- Updated adapter names in sidebar links
- Added new adapters in sidebar
- Modified the conversion process for ethers5 and ethers6 adapters
- Added examples for using thirdweb SDK with wagmi and privy

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

<!-- end pr-codex -->
2024-08-20 16:54:22 +00:00
kien-ngo 8dc23e376e [Dashboard] Fix import path (#4200)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the dashboard contract UI tabs page by removing unused imports and refactoring some dependencies.

### Detailed summary
- Removed unused import `thirdwebClient`
- Refactored dependencies related to `3rdweb-sdk/react` and `3rdweb-dev/react`

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

<!-- end pr-codex -->
2024-08-20 10:12:12 +00:00
Kien Ngo 542f97dc4b [Dashboard] Migrate useContractSources to v5 (#4145) 2024-08-20 21:04:19 +12:00
kien-ngo 46ca21d128 [Dashboard] Explorer page to v5 (#4174)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance contract function interaction by integrating V5 features and updating contract call handling.

### Detailed summary
- Added `useV5DashboardChain` and `getContract` from `lib/v5-adapter` and `thirdweb` respectively
- Updated `ContractFunction` component to use V5 contract and handle contract calls
- Updated `InteractiveAbiFunction` component to use `ThirdwebContract` and improve contract call handling

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

<!-- end pr-codex -->
2024-08-20 08:45:43 +00:00
kien-ngo 551349cbc6 [Dashboard] envs clean-up (#4170)
- [x] Remove a lof of duplicated instances of `ThirdwebClient` & env variables across multiple files
- [x] There's only 1 main ThirdwebClient from now on which can be imported from `lib/thirdweb-client`. It can switch between clientId and secretKey depends on the environment
- [x] All env variables like `DASHBOARD_THIRDWEB_CLIENT_ID`, `DASHBOARD_THIRDWEB_SECRET_KEY`, `isProd` etc. now live inside `@/constants/env`

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates import paths and constants related to the `thirdwebClient` and `isProd` across multiple files.

### Detailed summary
- Updated import paths for `thirdwebClient` and `isProd`
- Replaced `constants/rpc` with `constants/env`
- Removed unused imports and constants

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/overview/page.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/airdrop-tab.tsx`, `apps/dashboard/src/components/app-layouts/app.tsx`, `apps/dashboard/src/components/app-layouts/provider-setup.tsx`, `apps/dashboard/src/contract-ui/tabs/manage/page.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/opengraph-image.tsx`, `apps/dashboard/src/lib/sdk.ts`, `apps/dashboard/src/@/constants/client.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/components/server/chain-icon.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/FaucetButton.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/tx/[txHash]/page.tsx`, `apps/dashboard/src/pages/api/moralis/balances.ts`

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

<!-- end pr-codex -->
2024-08-20 07:55:31 +00:00
gregfromstl 4bf8296546 Dashboard: Allow more domains (#4192)
Requested for electron app domains

<!-- start pr-codex -->

---

## PR-Codex overview
This PR loosens the domain validation in `validations.ts` to allow cases where strict validation was causing issues.

### Detailed summary
- Loosened domain validation to allow cases where strict validation was too limiting
- Updated the condition to check if the domain includes ":" instead of splitting it

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

<!-- end pr-codex -->
2024-08-20 07:34:44 +00:00
Joaquim Verges 7efef7d9e1 feat(pay): show pay modal when insufficient balance for gas cost (#4194) 2024-08-20 19:29:52 +12:00
kien-ngo 4d85aa56c6 [Dashboard] Fix types for contract published version (#4197)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `publish.tsx` and `index.tsx` files to handle cases where `version` is undefined by defaulting to "latest".

### Detailed summary
- In `publish.tsx`, added a default value of "latest" if `v` is undefined in the `SelectItem` component.
- In `index.tsx`, changed the `version` type from `string` to `string | undefined` and added a default value of "latest" if `version` is undefined when constructing the `PublishedContractOG` object.

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

<!-- end pr-codex -->
2024-08-20 07:18:40 +00:00
Jonas Daniels decc1a56d2 [Fix] Handle optional versions in contract publishing (#4196) 2024-08-19 21:57:27 -07:00
joaquim-verges a60db3a057 feat(adapters): add documentation and examples for ethers5, ethers6, and viem adapters (#4195)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to introduce adapters for converting between Thirdweb and ethers.js/viem objects.

### Detailed summary
- Added `ethers5Adapter` and `ethers6Adapter` for Thirdweb to ethers.js conversion
- Added `viemAdapter` for Thirdweb to viem conversion
- Convert Thirdweb accounts, contracts, clients to ethers.js/viem and vice versa

> The following files were skipped due to too many changes: `packages/thirdweb/src/adapters/viem.ts`

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

<!-- end pr-codex -->
2024-08-20 04:51:32 +00:00
Jonas Daniels 377f176b10 [Refactor] Replace max with min function and update import paths (#4193) 2024-08-19 20:08:13 -07:00
joaquim-verges 5ead75e41a fix(dashboard): update Expo Starter repo URL (#4190)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the repository link in the Expo Starter template from `node-starter` to `expo-starter`.

### Detailed summary
- Updated repository link from "https://github.com/thirdweb-example/node-starter" to "https://github.com/thirdweb-example/expo-starter".

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

<!-- end pr-codex -->
2024-08-20 00:32:31 +00:00
MananTank 8836c27b8d Fix Table loading spinner position (#4187)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a `className="relative"` to various `TableContainer` components in different files for improved styling consistency.

### Detailed summary
- Added `className="relative"` to `TableContainer` in `contract-table/index.tsx`
- Added `className="relative"` to `TableContainer` in `contract-table-v2/index.tsx`
- Added `className="relative"` to `TableContainer` in `deployed-contracts.tsx`
- Added `className="relative"` to `TableContainer` in `table.tsx`
- Added `className="relative"` to `TableContainer` in `marketplace-table.tsx`

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

<!-- end pr-codex -->
2024-08-20 00:04:50 +00:00
kien-ngo cbd6fd87d0 [SDK] Update Lens test (#4188)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating a test in `resolveAddress.test.ts` to run only if a secret key is provided.

### Detailed summary
- Updated test to run only if `process.env.TW_SECRET_KEY` is provided.

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

<!-- end pr-codex -->
2024-08-19 21:51:35 +00:00
kien-ngo ef9cc55b69 [Dashboard] Remove v4 code on some Marketplace components
(#4128)

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR exposes `max()` and `min()` utility methods for bigints and updates marketplace-related components to use these methods for better handling of large numbers.

### Detailed summary
- Exposes `max()` and `min()` utility methods for bigints in `thirdweb/utils`
- Updates components in `dashboard` related to marketplace to use `max()` and `min()` for handling large numbers efficiently

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/overview/components/MarketplaceDetails.tsx`

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

<!-- end pr-codex -->
2024-08-19 20:06:26 +00:00
kien-ngo 15899ea231 [Dashboard] Fix styling for no-image NFT (#4181)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the styling of the `NFTMedia` component by adding explicit `width` and `height` properties.

### Detailed summary
- Added inline styles for `width` and `height` based on `props`
- Updated `className` to include `border-border` class

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

<!-- end pr-codex -->
2024-08-19 19:47:32 +00:00
kien-ngo bd4669984d [Portal] Update some docs (#4177)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to introduce gasless transaction configurations and transaction annotations.

### Detailed summary
- Added gasless transaction configurations for Engine, OpenZeppelin, and Biconomy providers
- Introduced transaction annotations for Engine, OpenZeppelin, and gasless options
- Updated transaction button components to include transaction annotations
- Exposed GaslessOptions type for gasless transactions configuration

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

<!-- end pr-codex -->
2024-08-19 19:29:55 +00:00
MananTank fb799ccb6d Move publish metadata spinner inside form, show error message (#4180)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds an error message display for failed metadata fetch in the `CustomContractForm` component.

### Detailed summary
- Added error message display for failed metadata fetch
- Imported `InfoIcon` component
- Removed conditional rendering for loading spinner outside the form provider block

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

<!-- end pr-codex -->
2024-08-19 18:24:20 +00:00
kien-ngo c8f7a68225 [Dashboard] (partial) useContract removal (#4111)
Slowly moving everything upward. This PR mainly focuses on removing `useContract` from the page level (`page.tsx` files)

Routes to test:
- [x] direct listings page
- [x] english auction page
- [x] Split contract page
- [x] Contract account page
- [x] contract settings page
- [x] contract token page

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update various components to use `ThirdwebContract` instead of `contractAddress` and `chainId`.

### Detailed summary
- Update components to use `ThirdwebContract` instead of `contractAddress` and `chainId`
- Replace `useContract` calls with `contract.address`
- Import `ThirdwebContract` type for type checking

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/shared-components/marketplace-table.tsx`, `apps/dashboard/src/contract-ui/tabs/shared-components/cancel-tab.tsx`, `apps/dashboard/src/contract-ui/tabs/shared-components/listing-drawer.tsx`, `apps/dashboard/src/contract-ui/tabs/english-auctions/components/table.tsx`, `apps/dashboard/src/contract-ui/tabs/direct-listings/components/table.tsx`, `apps/dashboard/src/contract-ui/tabs/english-auctions/page.tsx`, `apps/dashboard/src/contract-ui/tabs/direct-listings/page.tsx`, `apps/dashboard/src/contract-ui/tabs/split/page.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/page.tsx`, `apps/dashboard/src/contract-ui/tabs/shared-components/list-button.tsx`, `apps/dashboard/src/contract-ui/tabs/account-permissions/page.tsx`, `apps/dashboard/src/contract-ui/tabs/embed/page.tsx`, `apps/dashboard/src/contract-ui/tabs/settings/page.tsx`, `apps/dashboard/src/contract-ui/tabs/account/page.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/page.tsx`, `apps/dashboard/src/contract-ui/hooks/useRouteConfig.tsx`

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

<!-- end pr-codex -->
2024-08-19 18:12:53 +00:00
gregfromstl 246701d615 Wallet Linking UI (#4124)
https://github.com/user-attachments/assets/abf70934-8070-4844-8f15-8db6ec40c116

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds the ability to link a wallet in the Connect UI.

### Detailed summary
- Added a new `linkWallet` field in locale types for various languages
- Updated UI components to support linking a wallet
- Introduced `WalletAuth` component for wallet authentication
- Modified wallet selection behavior in `WalletSelector` component

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/ui/ConnectWallet/WalletSelector.tsx`, `packages/thirdweb/src/react/web/wallets/shared/PassKeyLogin.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/WalletAuth.tsx`

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

<!-- end pr-codex -->
2024-08-19 17:01:20 +00:00
Joaquim Verges cb591aa6af feat(pay): only show pay modal if the active account doesnt have enough funds (#4172) 2024-08-19 21:15:54 +12:00
Jonas Danielsandgithub-actions[bot] 09927f3ac5 Version Packages (#4162)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-19 20:17:56 +12:00
gregfromstl 7778063458 Improve Blobbie Appearance (#4173)
Blobbies now select from a subset of predefined colors to form a basic radial gradient form the bottom right corner.

![image](https://github.com/user-attachments/assets/5b708533-506d-417d-ac49-2356aa0a2247)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the appearance of the Blobbie avatar in the ConnectWallet feature of `thirdweb`.

### Detailed summary
- Updated Blobbie appearance with unique gradient colors based on address
- Replaced complex color pairing logic with predefined color options
- Simplified Blobbie rendering logic for better performance

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

<!-- end pr-codex -->
2024-08-19 06:17:43 +00:00
Joaquim Verges 574ff0295d feat(dashboard): update apple-app-site-association for universal links (#4171) 2024-08-19 11:54:40 +12:00
kien-ngo a43907e2df [SDK] resolveAddress for Lens handles (#4150)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance the `Lens` extension in the `thirdweb` package by adding the ability to resolve addresses and handle crypto transactions efficiently.

### Detailed summary
- Added `resolveAddress` function for handling crypto transactions with lens handles
- Updated contract addresses and overrides for Lens smart contracts
- Created tests for `resolveAddress` function to ensure correct address resolution

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

<!-- end pr-codex -->
2024-08-18 23:10:46 +00:00
kien-ngo f6d6c86ec0 [Dashboard] Fix ENS resolve issue (#4168)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `thirdwebClient` configuration in `thirdweb-client.ts` to include a `secretKey` option if `DASHBOARD_THIRDWEB_SECRET_KEY` is defined.

### Detailed summary
- Updated `thirdwebClient` configuration to include `secretKey` if `DASHBOARD_THIRDWEB_SECRET_KEY` is defined
- Added conditional logic for `secretKey` presence

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

<!-- end pr-codex -->
2024-08-18 22:21:10 +00:00
Joaquim Verges 23041c013f feat(dashboard): add apple universal link association (#4169) 2024-08-19 10:04:20 +12:00
kien-ngo 43f9319ac7 [SDK] Add GaslessOptions to useSendAndConfirmTransaction (#4165)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add Gasless transaction support for the `sendTransaction` and `sendAndConfirmTransaction` functions, as well as for the `useSendTransaction` and `useSendAndConfirmTransaction` hooks.

### Detailed summary
- Added `GaslessOptions` support to `sendTransaction`
- Introduced Gasless usage with `thirdweb Engine` in various transaction-related functions and hooks
- Added `GaslessOptions` configuration to `useSendTransaction` and `useSendAndConfirmTransaction` hooks
- Updated documentation and examples to showcase Gasless transaction usage

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

<!-- end pr-codex -->
2024-08-18 10:05:37 +00:00
kien-ngo fc8daaa2bc [Dashboard] Remove ethers.js (#4163)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on exporting a utility method `isBytes` and updating types to `bigint`.

### Detailed summary
- Exported `isBytes` utility method
- Updated `nextTokenIdToMint` type to `bigint`
- Updated imports for `isAddress`, `isBytes`, and `isHex`
- Refactored display balance calculations to use `toTokens` function

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/nfts/components/batch-lazy-mint-button.tsx`

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

<!-- end pr-codex -->
2024-08-18 07:04:05 +00:00
kien-ngo 9133b45700 [Dashboard] useVote to v5 (#4154)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates TypeScript documentation and refactors Vote-related components for clarity and consistency.

### Detailed summary
- Updated TypeScript documentation for `ProposalVoteInfo`
- Refactored `VoteButton` and `DelegateButton` components to use `ThirdwebContract`
- Improved display of voting token decimals in `Proposal` component

> The following files were skipped due to too many changes: `apps/dashboard/src/@3rdweb-sdk/react/hooks/useVote.ts`

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

<!-- end pr-codex -->
2024-08-18 05:02:05 +00:00
kien-ngo 44c78f4643 [Dashboard] useRemoveContractMutation to v5 + minor cleanups (#4155)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor gasless transaction handling in the Dashboard by centralizing contract addresses and relayer URLs.

### Detailed summary
- Introduced `MULTICHAIN_REGISTRY_CONTRACT` constant for contract address
- Centralized relayer URL and forwarder address in `DASHBOARD_ENGINE_RELAYER_URL` and `DASHBOARD_FORWARDER_ADDRESS`
- Updated functions to use centralized constants for contract addresses and relayer URLs

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

<!-- end pr-codex -->
2024-08-18 03:55:32 +00:00
kien-ngo 7aee37b10f [Dashboard] Replace useSDKChainId with useDashboardEVMChainId (#4144)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to replace the usage of `useSDKChainId` with `useDashboardEVMChainId` in multiple components for better compatibility and functionality.

### Detailed summary
- Replaced `useSDKChainId` with `useDashboardEVMChainId` in multiple components.
- Updated imports and dependencies accordingly.
- Improved compatibility and functionality for the dashboard.

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

<!-- end pr-codex -->
2024-08-18 03:43:32 +00:00
kien-ngo 23a665bdaa [Dashboard] Remove v4 type: OptionalPropertiesInput (#4158)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update the type definition for `attributes` in the `IPropertyFieldValues` interface.

### Detailed summary
- Updated `OptionalPropertiesInput` type definition to be a key-value pair object
- Changed `attributes` type in `IPropertyFieldValues` interface to use the updated type definition

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

<!-- end pr-codex -->
2024-08-18 03:32:30 +00:00
Jonas Danielsandgithub-actions[bot] 9e46b5b94e Version Packages (#4121)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-18 12:37:18 +12:00
gregfromstl e0dcc64256 Fix connect button border in firefox (#4160)
Corrects an issue with the border visibility in firefox by explicitly specifying the div height

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing the connect button border issue on Firefox browser.

### Detailed summary
- Added `height: "50px"` to the button style in `Details.tsx` for proper display on Firefox.

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

<!-- end pr-codex -->
2024-08-18 00:03:46 +00:00
gregfromstl f0d6e343ee Adds EIP-1271 Signature Validation Fallback (#4156)
This PR EIP-1271 fallback for smart contract validation since not all chains support the deployless call used in 6792 flow.

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to fix smart contract wallet signature validation on older chains.

### Detailed summary
- Updated the prompt text for signing in on the wallet UI
- Added a fallback to EIP1271 validation for chains not supporting eth_call simulation
- Introduced a new function `verifyEip1271Signature` for EIP1271 signature validation

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

<!-- end pr-codex -->
2024-08-17 23:43:45 +00:00
gregfromstl cf4443a9eb Improve Blobbie Algo (#4159)
![image](https://github.com/user-attachments/assets/cfc34112-3b94-4125-8aba-4a065d7c9ec2)
![image](https://github.com/user-attachments/assets/9daf26b0-fde8-4a77-bebf-a77f94d444f2)
![image](https://github.com/user-attachments/assets/91c4ceb1-c3c0-4be6-a654-d233b699495a)
![image](https://github.com/user-attachments/assets/7a298ad2-7fa4-4967-a7ea-7e9ec2fcf7be)

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to improve the Blobbie algorithm for generating unique gradient avatars based on provided addresses.

### Detailed summary
- Updated color calculation logic for better color pairing
- Removed unused `nearestColor` function
- Refactored color and position calculations for Blobbie avatar
- Adjusted ellipse positions and sizes for better visual representation

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

<!-- end pr-codex -->
2024-08-17 23:12:15 +00:00
gregfromstl 355795a2d4 Fix text wrapping on connect button (#4157)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing text wrapping on the Connect Button in the `Details.tsx` file.

### Detailed summary
- Added `whiteSpace: "nowrap"` to prevent text wrapping
- Updated styles for better button display

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

<!-- end pr-codex -->
2024-08-17 19:37:43 +00:00
kien-ngo 5fda794569 [SDK] Add more VoteERC20 extensions (for Dashboard) (#4139)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR exposes ERC20Vote extensions and adds more Vote contract extensions.

### Detailed summary
- Exposed ERC20Vote extensions
- Added more Vote contract extensions
- Updated types for vote and proposal states
- Implemented functions for proposal existence, execution, and voting counts

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/vote/read/getAll.ts`

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

<!-- end pr-codex -->
2024-08-17 12:28:02 +00:00
kien-ngo 93b3bad783 [SDK] Expose thirdweb extensions (for Dashboard) (#4149)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to export contracts related to Publisher, Multichain Registry, and Contract Factory functionalities.

### Detailed summary
- Added Publisher contract exports for reading and writing operations
- Added Multichain Registry exports for reading and writing operations
- Added Contract Factory export for deploying proxies

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

<!-- end pr-codex -->
2024-08-17 12:02:02 +00:00
Joaquim Verges f5952621ab feat(wallet): handle eth_sendTransaction when doing zksync direct deploys (#4153) 2024-08-17 23:52:10 +12:00
kien-ngo 1d9f4e5e3e [Dashboard] MismatchButton to v5 (#4152)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview

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

<!-- end pr-codex -->
2024-08-17 10:01:56 +00:00
gregfromstl 2e99057f90 feat(wallet-ui): initial app (#3478)
1. Created a new `.env.example` file specifying the `NEXT_PUBLIC_ROOT_DOMAIN` variable.
2. Updated `.gitignore` to include `.env*.local` instead of `.env*`.
3. Modified the `Layout` component in `[ecosystem]/layout.tsx` to accept `children` and `params` properties and display the ecosystem and children elements.
4. Updated the `Page` component in `[ecosystem]/page.tsx` to return a simple `div` with the text `Page`.
5. Added a new `middleware.ts` file to handle dynamic routing based on the request host, matching all paths except for specific routes (e.g., `/api`, `/_next`, `/_static`). Rewrites the URL to point to either the root application or the appropriate ecosystem dynamic route.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding ecosystem-related features and improving UI components.

### Detailed summary
- Added `Ecosystem` and token types
- Updated `biome.json` schema
- Implemented revalidate function
- Added NFT loading and card components
- Updated environment variables
- Improved layout and metadata handling
- Added new UI components like `Skeleton`, `Label`, and `Input`
- Enhanced client and ecosystem API integration

> The following files were skipped due to too many changes: `apps/wallet-ui/src/lib/chains.ts`, `apps/wallet-ui/src/components/ui/sonner.tsx`, `apps/wallet-ui/src/components/ConnectButton.tsx`, `apps/wallet-ui/src/app/[ecosystem]/login/page.tsx`, `apps/wallet-ui/src/app/[ecosystem]/(ui)/layout.tsx`, `apps/wallet-ui/src/components/ui/badge.tsx`, `apps/wallet-ui/src/components/ui/popover.tsx`, `apps/wallet-ui/src/middleware.ts`, `apps/wallet-ui/src/lib/assets/erc20.ts`, `apps/wallet-ui/src/components/ui/button.tsx`, `apps/wallet-ui/src/components/NftCard.tsx`, `apps/wallet-ui/src/components/NftGallery.tsx`, `apps/wallet-ui/src/lib/auth.ts`, `apps/wallet-ui/src/lib/assets/erc721.ts`, `apps/wallet-ui/src/app/[ecosystem]/(ui)/wallet/[address]/layout.tsx`, `apps/wallet-ui/src/util/simplehash.ts`, `apps/wallet-ui/src/components/ChainCombobox.tsx`, `apps/wallet-ui/src/components/TransactionToastProvider.tsx`, `apps/wallet-ui/src/app/globals.css`, `apps/wallet-ui/src/components/ChainIcon.tsx`, `apps/wallet-ui/src/components/ui/dialog.tsx`, `apps/wallet-ui/src/components/ui/form.tsx`, `apps/wallet-ui/src/components/ui/command.tsx`, `apps/wallet-ui/src/components/NftModal.tsx`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-08-17 08:08:48 +00:00
gregfromstl 13764f1abb Connect UI Profile Image Improvements (#4126)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on cosmetic improvements to the Connect UI, introduces Blobbie component for unique avatars, and updates button styles and sizes.

### Detailed summary
- Increased `minWidth` of `TransactionButton` to 165px
- Updated `defaultButtonTitle` in `en.ts`
- Added `Blobbie` component for unique avatars
- Updated button styles and sizes in `ConnectButton.tsx`
- Added `shortenAddress` import in `wallet.ts`
- Updated styles in `Details.tsx` and `DetailsModal`

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

<!-- end pr-codex -->
2024-08-17 08:03:28 +00:00
iuwqyir 997c3945a7 export usageEventSchema and UsageEvent (#4147)
## Problem solved

Almost the same as https://github.com/thirdweb-dev/js/pull/4122. Made a new PR, because hadn't setup commit signing for graphite, so it failed to merge

Exports the Zod schema for usage events. This way it can be used for validate the message before sending it to the usage tracker queue.
Moved it under core because it is not tied to worker logic and can be used outside workers.
Also exported `UsageEvent` and `usageEventSchema` under node, because I think core is not exported

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to export `usageEventSchema` for Cloudflare worker and define `UsageEvent` schema for node.

### Detailed summary
- Exported `usageEventSchema` for Cloudflare worker and defined `UsageEvent` schema for node
- Added detailed schema for usage events with various optional fields

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

<!-- end pr-codex -->
2024-08-16 21:15:34 +00:00
MananTank 2bf2e1eec4 Update Engine page header (#4125)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces UI improvements to the Engine page layout, including new components, styling updates, and a modal for updating the Engine version.

### Detailed summary
- Added `CopyTextButton`, `Button`, and `Separator` components
- Updated styling and structure of the Engine page layout
- Implemented a modal for updating the Engine version
- Added new icons and components for UI enhancements

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

<!-- end pr-codex -->
2024-08-16 20:37:12 +00:00
MananTank 9b3725a56e Migrate Engine list UI to shadcn/tailwind (#4123)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances UI components in the dashboard app.

### Detailed summary
- Updated tooltip styling in `tooltip.tsx`.
- Refactored dropdown menu in `dropdown-menu.tsx`.
- Improved table UI with dropdown menus in `TWTable.tsx`.
- Implemented modals for editing and removing engine instances in `engine-instances-table.tsx`.

> The following files were skipped due to too many changes: `apps/dashboard/src/components/engine/engine-instances-table.tsx`

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

<!-- end pr-codex -->
2024-08-16 20:37:11 +00:00
MananTank beafe43f46 Move Engine import from Modal to /dashboard/engine/import (#4119)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the Engine sidebar component and improve error handling in Engine pages.

### Detailed summary
- Refactored `EngineSidebar` component
- Improved error handling with `PageLoading` and `EngineErrorPage`
- Added import functionality for Engine instances

> The following files were skipped due to too many changes: `apps/dashboard/src/pages/dashboard/engine/import.tsx`

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

<!-- end pr-codex -->
2024-08-16 20:37:11 +00:00
Winston Yeo 214a74c36a chore: add authentication method to usage tracking (#4146) 2024-08-16 20:17:57 +00:00
MananTank d0e3c4defc Fix hydration error in markdown renderer + property and ts cleanup (#4141)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors the `MarkdownRenderer` component in `published-contract`.

### Detailed summary
- Refactored heading components (`h1`, `h2`, `h3`, `h4`, `h5`, `h6`) to remove explicit `any` type
- Refactored `a`, `code`, `p`, `table`, `th`, `td`, `ul`, `ol`, `li` components to use cleaned props without `node`

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

<!-- end pr-codex -->
2024-08-16 18:30:57 +00:00
MananTank 0cdf34ea98 Move Engine pages from client Router to Pages Router (#4113)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR upgrades Engine navigation links, adds new pages for Engine management, and refactors list styling.

### Detailed summary
- Updated Engine navigation links
- Added new pages for Engine management
- Refactored list styling in components

> The following files were skipped due to too many changes: `apps/dashboard/src/components/engine/engine-instances-table.tsx`, `apps/dashboard/src/pages/dashboard/engine/create.tsx`, `apps/dashboard/src/components/engine/EnginePageLayout.tsx`, `apps/dashboard/src/components/engine/engine-list.tsx`

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

<!-- end pr-codex -->
2024-08-16 15:45:43 +00:00
MananTank b1632a3df1 Add force-dynamic declaration for pages using cookies - fix sentry errors (#4140)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a new export `dynamic = "force-dynamic"` in three files due to the usage of `cookies()`.

### Detailed summary
- Added `export const dynamic = "force-dynamic"` in `page.tsx` under `dashboard/connect/pay`
- Added `export const dynamic = "force-dynamic"` in `page.tsx` under `dashboard/connect/ecosystem`
- Added `export const dynamic = "force-dynamic"` in `layout.tsx` under `dashboard/connect/ecosystem/[slug]/(active)`

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

<!-- end pr-codex -->
2024-08-16 15:34:13 +00:00
jnsdls d3f43a757b [Optimize] Add CI optimization step using Graphite action (#4115)
tl;dr: https://graphite.dev/docs/stacking-and-ci#reducing-ci-runs-for-github-actions

<!-- start pr-codex -->

---

## PR-Codex overview
This PR optimizes the CI workflow by adding a step to skip unnecessary processes based on a condition.

### Detailed summary
- Added `optimize_ci` job with skip condition
- Updated `build`, `lint`, `test`, `e2e`, and `size` jobs to depend on `optimize_ci` and skip if condition is met

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

<!-- end pr-codex -->
2024-08-15 21:22:24 +00:00
gregfromstl 825352476c fix: throw when no encryption key (#4120)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing security by throwing an error when no encryption key is provided for custom authentication.

### Detailed summary
- Added error throwing when encryption key is missing for custom JWT authentication
- Added error throwing when encryption key is missing for custom auth endpoint authentication

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

<!-- end pr-codex -->
2024-08-15 21:17:20 +00:00
arcoraven 8caa095a67 fix: update transaction drawer labels (#4118)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance transaction details display in the dashboard by adding support for effective gas price calculation and showing additional information like account address and block number.

### Detailed summary
- Added `effectiveGasPrice` field to calculate transaction fee
- Displayed account address and linked to explorer
- Differentiated recipient address and contract address
- Showed transaction value in tokens and symbol
- Linked block number to explorer

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

<!-- end pr-codex -->
2024-08-15 19:22:51 +00:00
jnsdls 997e1197e9 analytics overhaul (#4107)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances blockchain analytics in the dashboard. It introduces support for analytics on specific chains and updates chart components for better visualization.

### Detailed summary
- Added `CHAINSAW_API_KEY` environment variable for contract analytics
- Updated chart components for better visualization
- Improved analytics support for specific chains
- Refactored chart styling for better UI/UX

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/overview/components/Analytics.tsx`, `apps/dashboard/src/contract-ui/tabs/analytics/page.tsx`

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

<!-- end pr-codex -->
2024-08-15 15:29:50 +00:00
Jonas Daniels c9ac25fe3f Version Packages (#4114) 2024-08-15 07:38:54 -07:00
Wyatt Mufson 79260c8cd0 Add new auth fields for redirect (#4099) 2024-08-15 07:30:59 -07:00
MananTank cf8badbc46 Move Network Configuration Form+Modal to shadcn/tailwind (#4105)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates various UI components for consistency and usability.

### Detailed summary
- Updated styling for `ClaimConditionsForm`, `CustomChainRenderer`, `ToolTipLabel`, `RpcInput`, `ChainIdInput`, `TooltipBox`, `ConfigureNetworkModal`, `ResetClaimEligibility`, `NetworkIdInput`, `IconUpload`, and `ConfigureNetworks`.
- Replaced `TooltipBox` with `ToolTipLabel` and `CircleHelpIcon`.
- Added `Input` from `@/components/ui/input`.
- Removed unnecessary imports.
- Replaced `Modal` components with `Dialog` and `DialogContent`.
- Used `toast` for error notifications.
- Updated button styling and functionality.

> The following files were skipped due to too many changes: `apps/dashboard/src/components/configure-networks/ConfigureNetworks.tsx`, `apps/dashboard/src/pages/[chain_id]/[...paths].tsx`, `apps/dashboard/src/components/configure-networks/ConfigureNetworkForm.tsx`

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

<!-- end pr-codex -->
2024-08-15 05:59:21 +00:00
MananTank 09e4d80b89 Show Top Progress Bar on navigation initiated using useRouter hook (#4097)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates Next.js navigation usage in the dashboard app to `useDashboardRouter` from `@/lib/DashboardRouter`.

### Detailed summary
- Replaces `useRouter` with `useDashboardRouter` in multiple files
- Adds `DashboardRouterTopProgressBar` component import in layout files
- Introduces `useDashboardRouter` import in various components
- Defines `createStore` function in `@/lib/reactive.ts`

> The following files were skipped due to too many changes: `apps/dashboard/src/@/lib/DashboardRouter.tsx`

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

<!-- end pr-codex -->
2024-08-15 05:48:22 +00:00
kien-ngo 1edd6c7e4c embed-setup.tsx to v5 (#4108)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the Contract Embed feature by integrating with `thirdwebClient` and `useV5DashboardChain`.

### Detailed summary
- Added `thirdwebClient` and `useV5DashboardChain` for contract setup
- Updated `contract` type to `ThirdwebContract`
- Refactored `buildIframeSrc` function to use `ThirdwebContract` properties

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

<!-- end pr-codex -->
2024-08-15 05:37:15 +00:00
kien-ngo 588f19639f [Dashboard] ContractMetadata settings to v5 (#4100)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the SettingsMetadata component in the contract UI to handle contract data more efficiently.

### Detailed summary
- Refactored the SettingsMetadata component to use ThirdwebContract type
- Updated schema imports and data handling
- Removed unnecessary dependencies and functions

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

<!-- end pr-codex -->
2024-08-15 05:26:34 +00:00
Jonas Danielsandgithub-actions[bot] f2c12781ef Version Packages (#4044)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-15 17:14:31 +12:00
kien-ngo 9d7d513d37 [Dashboard] PrimarySaleRecipient to v5 (#4098)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating the contract UI settings for primary sale recipient address handling.

### Detailed summary
- Updated handling of primary sale recipient address in contract settings UI
- Refactored usage of Thirdweb SDK functions
- Added error handling for invalid recipient address
- Improved transaction handling and form reset functionality

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

<!-- end pr-codex -->
2024-08-15 01:11:20 +00:00
kien-ngo 10de2712dd [Dashboard] Remove useClaimNFT; use erc1155/claimTo (#4102)
The component in this PR is meant for Edition Drop only

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the `ClaimTab` component to support ERC1155 contracts and improve transaction handling.

### Detailed summary
- Renamed `ClaimTab` component to `ClaimTabERC1155`.
- Updated `ClaimTabERC1155` to work with ERC1155 contracts.
- Improved transaction handling in `ClaimTabERC1155`.
- Removed unnecessary imports and updated dependencies.

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

<!-- end pr-codex -->
2024-08-15 00:59:13 +00:00
gregfromstl 0ca1a79342 feat: cleanup ui (#4092)
- Reduced border radius on buttons
- Reduced connected button size
- Removed layout shift between connected and unconnected states
- Remove Rainbow from default wallets (replaced with Rabby)

https://github.com/user-attachments/assets/334f09d5-46d1-40e3-8b3a-5937771f277c

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on UI cosmetic improvements for wallet-related components.

### Detailed summary
- Added `io.rabby` wallet
- Adjusted padding and borderRadius in various components
- Modified button sizes and styles
- Updated wallet image sizes and text styles

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

<!-- end pr-codex -->
2024-08-15 00:44:18 +00:00
kien-ngo be344ac8c4 [Dashboard] Migration Royalties to v5 (#4051)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `SettingsRoyalties` component to use new contract and royalty information and improves error handling during royalty settings updates.

### Detailed summary
- Updated `SettingsRoyalties` component to use new contract and royalty information
- Improved error handling during royalty settings updates
- Replaced `thirdweb` imports with `sonner` and `thirdweb/react`
- Refactored default royalty info handling and transaction mutation logic

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

<!-- end pr-codex -->
2024-08-15 00:26:39 +00:00
754ad99cfd Feat: Transaction Simulator (#3715)
Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2024-08-14 17:24:31 -07:00
MananTank d6e4898458 Add Pay success tracking (#4103)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances payment tracking in `MismatchButton` and `PayModalButton` components.

### Detailed summary
- Added tracking events for payment attempts and successes in `MismatchButton` and `PayModalButton`
- Utilized `useTrack` hook for event tracking
- Improved event tracking for different payment types and statuses

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

<!-- end pr-codex -->
2024-08-14 21:37:11 +00:00
Yash 191fb3a3a6 Modular contracts - rename extensions to modules (#3969) 2024-08-14 21:35:36 +00:00
MananTank 03a809a33f Add onPurchaseSuccess callback for Pay (#4101)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds `onPurchaseSuccess` callback to various components and hooks in the codebase, triggering when a user completes a purchase using thirdweb pay.

### Detailed summary
- Added `onPurchaseSuccess` callback to `PayEmbed`, `ConnectButton`, `TransactionButton`, and `useSendTransaction`
- Updated props in multiple components to include `onSuccess` callback parameter
- Added type definitions for `BuyWithCryptoStatus` and `BuyWithFiatStatus`
- Implemented logic to call `onSuccess` callback upon successful purchase completion

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatFlow.tsx`

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

<!-- end pr-codex -->
2024-08-14 21:05:41 +00:00
kien-ngo 874ef7af4e [Dashboard] Hide ERC721 Claim button if viewing ERC1155 Drop (#4104)
For Edition Drop we have a dedicated ClaimTabERC1155 inside each Edition's page
2024-08-14 20:10:11 +00:00
joaquim-verges ef9c7df220 feat(native): add passkey support in connect UI (#4077)
## Problem solved

Added passkey UI in connect for react native

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces passkey login support in React Native.

### Detailed summary
- Updated colors in the design system
- Added passkey domain logic
- Improved wallet loading components
- Added passkey authentication screen
- Updated wallet icons and images

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/native/ui/connect/InAppWalletUI.tsx`

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

<!-- end pr-codex -->
2024-08-14 19:44:37 +00:00
joaquim-verges a640a1e147 feat(inapp): add passkey authentication for native clients (#4022)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces support for `passkeyDomain` in in-app wallets, updates error handling in signup screens, and improves storage handling.

### Detailed summary
- Added `passkeyDomain` support in in-app wallets
- Updated error handling in signup screens
- Improved storage handling for in-app wallets

> The following files were skipped due to too many changes: `packages/thirdweb/src/wallets/in-app/web/utils/Storage/LocalStorage.ts`, `packages/thirdweb/src/utils/bytecode/cbor-decode.ts`, `packages/thirdweb/package.json`, `packages/thirdweb/src/wallets/wallet-connect/receiver/session-store.test.ts`, `pnpm-lock.yaml`, `packages/thirdweb/src/wallets/in-app/native/native-connector.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts`, `packages/thirdweb/src/wallets/in-app/core/authentication/passkeys.ts`, `packages/thirdweb/src/wallets/in-app/native/auth/passkeys.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/auth/passkeys.ts`

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

<!-- end pr-codex -->
2024-08-14 19:44:35 +00:00
kien-ngo 52678e02a8 [Dashboard] use MediaRenderer for contract's avatar (#4095)
- [x] Contract metadata header now uses <MediaRenderer /> instead of <Image/>
This way is works with videos and it gets rid of that weird border-radius bug (see image)

<img width="324" alt="image" src="https://github.com/user-attachments/assets/a57f95c1-eb45-4e6f-8121-0d10358c7c6b">

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the `MetadataHeader` component in the custom-contract folder by replacing the `resolveScheme` function with `MediaRenderer` for image rendering.

### Detailed summary
- Replaced `resolveScheme` with `MediaRenderer` for image rendering
- Updated image rendering logic with additional props
- Removed unused imports and variables

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

<!-- end pr-codex -->
2024-08-14 14:04:07 +00:00
MananTank b9ed7535a4 Fix Connection with Safe using WalletConnect Link (#4091)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing the connection with Safe using WalletConnect link.

### Detailed summary
- Added support for Safe supported chains in WalletConnect
- Updated chain selection logic based on walletId
- Included specific chains for Safe connection

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

<!-- end pr-codex -->
2024-08-14 11:39:29 +00:00
Joaquim Verges 70d4a5a3db fix(dashboard): fix wrong 'version' prop import (#4096) 2024-08-14 21:51:56 +12:00
jnsdls ea28704a04 [Refactor] Remove unused functions and improve faucet validation (#4093) 2024-08-14 00:50:22 +00:00
jnsdls 814024ae24 [Chore] Remove unused 'amount' field from FaucetButton component and claim route (#4090)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the testnet faucet claim route to fix issues related to the amount handling.

### Detailed summary
- Removed `amount` from request payload
- Updated amount handling in the faucet claim route to always transfer 0.01
- Improved error handling and response consistency

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

<!-- end pr-codex -->
2024-08-13 23:11:24 +00:00
joaquim-verges 9d3fa73da7 feat(dashboard): bring zksync signer back to direct deploys (#4089)
## Problem solved

for direct deploys, right now go back to the zksync ethers signer wrapper - will implement it properly inside account v5
2024-08-13 22:14:05 +00:00
jnsdls fea4a4afe8 [Fix] Remove unused loginRequired prop from MismatchButton component (#4088)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `MismatchButton.tsx` component in the dashboard app.

### Detailed summary
- Updated `CustomConnectWallet` component with new props
- Removed `loginRequired={false}` prop from `CustomConnectWallet` usage

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

<!-- end pr-codex -->
2024-08-13 22:00:38 +00:00
Phillip Ho 2e16f9ecef chore: Add queue metrics to dashboard (#4075) 2024-08-13 21:59:34 +00:00
dependabot[bot] 1032bc7cc4 chore(deps): bump @stripe/react-stripe-js from 2.7.2 to 2.7.3 (#4063)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 13:02:34 -07:00
dependabot[bot] 7e6d1decfc chore(deps-dev): bump react-native from 0.74.2 to 0.74.5 (#4061)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 12:48:51 -07:00
jnsdls 73b2c512ce [Chore] Add temporary redirect for /gas to /explore and remove GasPage component (#4087) 2024-08-13 18:14:18 +00:00
MananTank 13cda91d10 Remove sign-in requirement for TransactionButton (#4086)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `MismatchButton` component in the dashboard by adding the `loginRequired` prop to `CustomConnectWallet`.

### Detailed summary
- Added `loginRequired={false}` prop to `CustomConnectWallet` in `MismatchButton.tsx`

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

<!-- end pr-codex -->
2024-08-13 17:58:37 +00:00
MananTank e91421a252 Fix isLoggedin auth action (#4085)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the authentication logic in `auth-actions.ts` to check for a matching creatorWalletAddress in the JSON data.

### Detailed summary
- Updated condition to check for `creatorWalletAddress` in JSON data instead of `address`.

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

<!-- end pr-codex -->
2024-08-13 17:45:31 +00:00
dependabot[bot] 74c6bca538 chore(deps): bump @hookform/resolvers from 3.6.0 to 3.9.0 (#4064)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 10:45:02 -07:00
MananTank 23beb9d263 Add validation for NFT claim amount to be integer (#4080)
## Problem solved

Short description of the bug fixed or feature added
2024-08-13 17:21:15 +00:00
jnsdls 69657377f4 [Fix] Lower faucet amount to 0.01 (#4084) 2024-08-13 16:48:33 +00:00
MananTank 9db4b293a5 dynamically import onboarding components - reduce Stripe errors and bundle size (#4081)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the codebase by implementing lazy loading for onboarding components to improve performance.

### Detailed summary
- Implemented lazy loading for onboarding components
- Added `LazyOnboardingBilling` component for billing
- Updated multiple files to use lazy loading for onboarding components

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

<!-- end pr-codex -->
2024-08-13 16:37:26 +00:00
MananTank 867d2dae8a Fix useLayoutEffect warnings (#4079)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the usage of `useLayoutEffect` to `useIsomorphicLayoutEffect` for consistent server-side rendering compatibility.

### Detailed summary
- Replaces `useLayoutEffect` with `useIsomorphicLayoutEffect` in multiple files
- Ensures consistent rendering behavior across client and server side

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

<!-- end pr-codex -->
2024-08-13 16:26:34 +00:00
MananTank cb27dafca7 Do not show "No Funds" Modal when switch chain is required (#4083)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to handle a specific condition `networksMismatch` before executing the button's `onClick` functionality.

### Detailed summary
- Added a condition to check for `networksMismatch` before executing the button's `onClick` functionality.
- Stored the event reference in `eventRef.current` when `networksMismatch` is true.

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

<!-- end pr-codex -->
2024-08-13 16:21:33 +00:00
kien-ngo 6b7eedeecb [Dash] various small updates and fixes (#4076)
- [x] Fix clipboard value for the [copy button] inside /explorer page
- [x] Better handling for some edge cases where the contract's compilation target is a very long string
- [x] Instead of displaying "Custom" for non-thirdweb contracts, display the contract type based on the compilation target

<hr />

Before:
<img width="1241" alt="image" src="https://github.com/user-attachments/assets/397cc15f-5941-4a5c-ae11-cae5a7a7fbde">

After:
<img width="830" alt="image" src="https://github.com/user-attachments/assets/2a353e9c-04c8-4d6d-b15f-c26b7f423213">

<hr />

Before:
<img width="665" alt="image" src="https://github.com/user-attachments/assets/93465f35-d3c4-466c-b9cd-ab905c4fc6f1">

After:
<img width="667" alt="image" src="https://github.com/user-attachments/assets/24c59796-913d-42a4-95a2-2a63e6e726c3">

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance how contract metadata is displayed in the dashboard.

### Detailed summary
- Improved handling of long contract names from the thirdweb endpoint
- Updated the display of contract type in the contract table
- Refactored the usage of contract metadata in different components

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

<!-- end pr-codex -->
2024-08-13 07:16:13 +00:00
MananTank 53da850397 Fix Various "couldn't be rendered statically" errors in Sentry (#4067)
TLDR; is - In the Chain landing page, we don't really care about filtering the popular contracts - so I removed so we can statically render the chain page,

Added force-dynamic for /popular and /trending pages where we allow filtering by search params

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to implement dynamic rendering using searchParams and improve sorting functionality in the dashboard pages.

### Detailed summary
- Implemented dynamic rendering using `searchParams`
- Updated sorting functionality in trending pages
- Refactored `searchParams` in components
- Removed unnecessary imports

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

<!-- end pr-codex -->
2024-08-13 04:11:48 +00:00
kien-ngo de1bd6e903 [Dashboard] Fix contract query key (#4073)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the `useDashboardContractMetadata` hook to use a more descriptive query key and improve code readability.

### Detailed summary
- Refactored the query key to include contract metadata details
- Improved code readability by restructuring the Promise.all block
- Updated the return object format for consistency

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

<!-- end pr-codex -->
2024-08-13 03:56:15 +00:00
DustinandJonas Daniels ff7f61c038 Dustin/treasure chain page update (#4072)
Co-authored-by: Jonas Daniels <[email protected]>
2024-08-12 20:26:37 -07:00
Firekeeper 2408a7f9ed Docs - .NET 1.4.0 // Unity 5.0.0-beta.3 (#4071) 2024-08-12 20:25:49 -07:00
dependabot[bot]anddependabot 98bb37c1a1 chore(deps-dev): bump @swc-node/register from 1.10.0 to 1.10.9 (#4060)
Co-authored-by: dependabot <[email protected]>
2024-08-12 20:24:21 -07:00
gregfromstl 3c32b99b3a refactor(thirdweb): update siwe interface (#4045)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the SIWE interface to include a new `wallet` authentication option and refactors related methods for consistency.

### Detailed summary
- Added `wallet` as a new authentication option
- Updated interface methods to support `wallet` authentication
- Refactored SIWE-related functions for consistency

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

<!-- end pr-codex -->
2024-08-13 02:36:29 +00:00
kien-ngo e5a046ecdd [Dashboard] Fix missing contract metadata (#4070)
- [x] Remove duplicated formatCompilerMetadata method
- [x] Add getCompilerMetadata method to the SDK
- [x] Add a custom hook for Dashboard for fetching basic contract metadata (useDashboardContractMetadata)

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a contract utility method `getCompilerMetadata()` and update contract metadata handling in the dashboard.

### Detailed summary
- Added `getCompilerMetadata()` utility method to fetch and format compiler metadata
- Updated contract metadata handling in the dashboard components
- Added `useDashboardContractMetadata` hook for fetching contract metadata in the dashboard

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

<!-- end pr-codex -->
2024-08-13 02:07:44 +00:00
kien-ngo 237f5faf42 [Dashboard] Migrate PlatformFees to v5 (#4050)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to migrate zod schemas from SDK v4 to a new location for form validations in the dashboard.

### Detailed summary
- Migrated zod schemas for PlatformFees and Royalties from SDK v4 to `schemas.ts`
- Updated `page.tsx` and `platform-fees.tsx` to use the new zod schemas and adapt to the changes in the SDK
- Refactored form validations and platform fee settings handling in `platform-fees.tsx`

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

<!-- end pr-codex -->
2024-08-13 01:50:49 +00:00
greg ad2588b5de chore: fix deploy-split test (#4068) 2024-08-12 18:49:52 -07:00
kien-ngo db8695d0e8 [Dashboard]: Migrate major NFT features to v5 (#3998)
# High level changes
- `mint-form.tsx` is "over-abstracted" (not sure if that's the right word) - it's being used for too many different NFT features, making the code hard-to-migrate.
- solution: breaking it down to different component which makes it much easier to remove v4 code

# to test
- [x] UpdateMetadataForm
  - [x] Drop contracts
  - [x] Collection contracts
- [x] SharedMetadataForm
- [x] NFTMintForm
- [x] LazyMintForm

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces NFT extensions for ERC721 and ERC1155 contracts, adds a new `updateTokenURI` function, and updates components for NFT minting and metadata management.

### Detailed summary
- Added NFT extension with `updateTokenURI` function for ERC721 and ERC1155 contracts
- Updated components for NFT minting and metadata management

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/permissions/components/contract-permission.tsx`, `packages/thirdweb/src/extensions/erc721/write/updateTokenURI.ts`, `packages/thirdweb/src/extensions/erc1155/write/updateTokenURI.ts`, `apps/dashboard/src/contract-ui/tabs/nfts/components/shared-metadata-form.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/lazy-mint-form.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/update-metadata-form.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/mint-form.tsx`

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

<!-- end pr-codex -->
2024-08-13 00:27:22 +00:00
MananTank 2d4a5c3384 Update Deploy modal (#4057)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the custom contract deployment process by introducing a new `DeployStatusModal` component.

### Detailed summary
- Added `DeployStatusModal` component for custom contract deployment status tracking
- Refactored `useCustomContractDeployMutation` to use `DeployStatusModal`
- Removed `DeployModalProvider` component and related context logic

> The following files were skipped due to too many changes: `apps/dashboard/src/components/contract-components/contract-deploy-form/deploy-context-modal.tsx`

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

<!-- end pr-codex -->
2024-08-13 00:06:43 +00:00
Joaquim Verges dbf3873aaf feat(dashboard): add handle_all_urls relation to assetlinks.json for Android app link verification (#4069) 2024-08-13 12:06:09 +12:00
MananTank b15aa4cdff Add Deploy button link on the Contract Card (#4066)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a deploy button with a rocket icon to the ContractCard component in the Explore section.

### Detailed summary
- Added `RocketIcon` and deploy button to `ContractCard`
- Adjusted styling of `ContractCard` component for better layout
- Linked deploy button to deployment page with `Link`

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

<!-- end pr-codex -->
2024-08-12 23:31:51 +00:00
gregfromstl 689b8dc160 test: fix split tests (#4065)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates test descriptions in the `split` extension to run only if a secret key is present, enhancing security.

### Detailed summary
- Updated test descriptions to run only if a secret key is present
- Renamed test suites for `getAllRecipientsAddresses`, `getAllRecipientsPercentages`, and `getRecipientSplitPercentage`

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

<!-- end pr-codex -->
2024-08-12 22:40:18 +00:00
gregfromstl 218355bf95 docs: fix multi auth jsdocs (#4056)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates documentation comments in `useProfiles.ts` and `profiles.ts` for clarity.

### Detailed summary
- Updated description comments in `profiles.ts` for clarity and consistency.
- Added `@wallet` tag to indicate in-app wallet-specific methods.
- Removed redundant descriptions to improve readability.

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

<!-- end pr-codex -->
2024-08-12 22:01:39 +00:00
9be0a2fe85 Update Startup program page layout (#4058)
Co-authored-by: Ginessi <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2024-08-12 14:49:03 -07:00
gregfromstl 22b335b1f2 chore: delete solutions page (#4059)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to restructure the directory layout by deleting specific files and updating URL redirects related to gaming solutions.

### Detailed summary
- Deleted `page.mdx`, `layout.tsx`, and `sidebar.tsx` in `solutions` directory
- Removed images `unreal.png` and `preview.png` in `gaming/assets`
- Deleted `page.mdx` in `gaming/overview` directory
- Updated URL redirects for `/gaming`, `/solutions`, and `/solutions/gaming`
- Redirected `/gaming` to `/`
- Redirected `/solutions` to `/`
- Redirected `/solutions/gaming` to `/`
- Updated redirect from `/signature-minting` to `/contracts/design-docs/signature-mint`
- Updated reference from `/references/typescript/v5/embeddedWallet` to `/references/typescript/v5/inAppWallet`

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

<!-- end pr-codex -->
2024-08-12 20:57:30 +00:00
MananTank dfbaeb1c3d [dashboard] Fix chains fetch failture in localhost (#4053)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to simplify the API request in the `useApi.ts` file by removing unnecessary headers and changing the request method to GET.

### Detailed summary
- Removed unnecessary headers from the API request
- Changed the request method to GET

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

<!-- end pr-codex -->
2024-08-12 20:46:03 +00:00
MananTank dc99b88cac Fix Chainlist can't be rendered statically error in sentry (#4054)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a `dynamic` export to force the page as dynamic for determining table/grid view based on viewport.

### Detailed summary
- Added `dynamic` export to force page as dynamic
- Updated comments to explain the purpose of the `dynamic` export

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

<!-- end pr-codex -->
2024-08-12 19:13:27 +00:00
Phillip Ho 66906dbef3 chore: Engine v2-beta in docs (#4049) 2024-08-12 10:04:29 -07:00
gregfromstl 7a68e3b8ed fix(react): switch chains for SIWE (#4047)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating authentication logic to switch to the proper chain before signing payloads.

### Detailed summary
- Updated `getLoginPayload` to include `chainId` parameter
- Added logic to switch to the correct chain before signing payloads
- Updated initialization of `thirdwebAuth` to handle chain switching
- Imported `getCachedChain` function in `useSiweAuth.ts`

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

<!-- end pr-codex -->
2024-08-12 05:34:36 +00:00
gregfromstl cb4b6fde85 fix(playground): do not attempt to decode nonexistent jwt (#4046)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update how the authentication result is retrieved in the `GatedContentPreview` function.

### Detailed summary
- Refactored the authentication result retrieval logic to handle `jwt?.value` more efficiently.
- Updated the conditional check for `authResult` to account for the new retrieval logic.

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

<!-- end pr-codex -->
2024-08-12 05:01:02 +00:00
kien-ngo 141fd53759 [Dashboard/SDK] Add more Split extensions and remove Split v4 code from Dashboard (#4033)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds more functionality to the `Split` contract extensions, including deploying the `Split` contract, reading recipient addresses and percentages, and testing these features.

### Detailed summary
- Added more Split contract extensions
- Updated `deploys.ts` with new exports for deploying Split contract
- Updated `split.ts` with new exports for reading recipient addresses and percentages
- Modified `page.tsx` to display contract balance using `getContract`
- Added new files for reading recipient addresses and percentages
- Updated `account-balance.tsx` to use `getContract` and `useSplitBalances`
- Added tests for getting all recipient addresses and percentages
- Added functionality to get recipient split percentage and corresponding tests

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/split/__generated__/Split/read/totalShares.ts`, `apps/dashboard/src/contract-ui/tabs/split/components/distribute-button.tsx`, `packages/thirdweb/test/src/test-contracts.ts`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useSplit.ts`, `packages/thirdweb/src/extensions/prebuilts/deploy-split.ts`, `packages/thirdweb/src/extensions/prebuilts/__generated__/Split/write/initialize.ts`, `apps/dashboard/src/contract-ui/tabs/split/page.tsx`

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

<!-- end pr-codex -->
2024-08-11 22:17:38 +00:00
joaquim-verges 478d843975 feat(dashboard): add apple-app-site-association for iOS app link verification (#4043)
## Problem solved

for passkeys on ios

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `apple-app-site-association` and `assetlinks.json` files in the dashboard public directory to include specific app and web credentials information.

### Detailed summary
- Added `webcredentials` for specific app in `apple-app-site-association`
- Updated `sha256_cert_fingerprints` in `assetlinks.json`

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

<!-- end pr-codex -->
2024-08-11 22:11:13 +00:00
Jonas Danielsandgithub-actions[bot] 386fe1ce68 Version Packages (#4042)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-11 12:38:36 -07:00
jnsdls 539bdab403 [Refactor] Remove unused Bun availability check in CLI bin file (#4040)
FIXES: https://github.com/thirdweb-dev/js/issues/3991
2024-08-11 19:13:39 +00:00
jnsdls 0e3cb1338b [Hotfix] Remove async modifier from TrendingContractSection in trending-table.tsx (#4041)
FIXES: DASH-128
2024-08-11 19:02:09 +00:00
Joaquim Vergesandjoaquim-verges 34cdd4ce95 feat(dashboard): add assetlinks.json for Android app link verification (#4039)
Co-authored-by: joaquim-verges <[email protected]>
2024-08-11 11:18:22 -07:00
Jonas Daniels c31617436c [Chore] Remove unused 'faucet' service from chain logic (#4038) 2024-08-11 01:31:34 -07:00
Jonas Daniels 40fbe9abb9 [Feature] Refactor chain services handling in API calls (#4037) 2024-08-11 00:08:15 -07:00
Nick Papadakis 74e005214d Update page.mdx (#4036)
Signed-off-by: Nick Papadakis <[email protected]>
2024-08-10 20:54:45 -07:00
Lubov 1c48c20785 Update page.mdx (#4035)
Signed-off-by: Lubov <[email protected]>
2024-08-10 21:28:38 +12:00
gregfromstl 7befc61b70 Unreal 1.1 Docs (#3917)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the Thirdweb Unreal SDK documentation by adding detailed information about Blueprint system, signers, runtime settings, and common enums.

### Detailed summary
- Added documentation for Blueprint Overview, ThirdwebSigner, ThirdwebRuntimeSettings, and ThirdwebCommon.
- Updated sidebar links and icons.
- Updated tsconfig.json with consistent casing.
- Added Getting Started guide with integration steps and images.

> The following files were skipped due to too many changes: `apps/portal/src/app/unreal/thirdweb-wallet-handle/page.mdx`, `apps/portal/src/app/unreal/thirdweb-subsystem/page.mdx`, `apps/portal/src/app/unreal/thirdweb/page.mdx`, `apps/portal/src/app/unreal/page.mdx`, `apps/portal/src/app/unreal/thirdweb-function-library/page.mdx`

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

<!-- end pr-codex -->
2024-08-10 03:42:49 +00:00
MananTank 6b4503a91c Deploy form layout updates, Fix faucet claim condition (#4030)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the logic for checking if a user can claim in the testnet faucet, adds a new React switch component, refactors common form fieldsets, and improves UI components.

### Detailed summary
- Updated `canClaim` logic in testnet faucet route
- Added `@radix-ui/react-switch` component
- Refactored common form fieldsets into `Fieldset` component
- Improved UI components and form field layouts

> The following files were skipped due to too many changes: `apps/dashboard/src/components/contract-components/contract-deploy-form/platform-fee-fieldset.tsx`, `pnpm-lock.yaml`, `apps/dashboard/src/components/contract-components/contract-deploy-form/trusted-forwarders-fieldset.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/split-fieldset.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/custom-contract.tsx`

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

<!-- end pr-codex -->
2024-08-09 22:04:48 +00:00
Jonas Danielsandgithub-actions[bot] 0fe38b9210 Version Packages (#3987)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-09 14:51:07 -07:00
Alec Ananian c953c3f4c8 feat(react): add enabled param to useWalletBalance hook (#4032) 2024-08-09 14:38:14 -07:00
MananTank 1a71de0983 Fix broken Contract metadata image (#4031)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the `MetadataHeader` component by adding a new function `resolveScheme` to handle image URIs with a thirdweb client.

### Detailed summary
- Added `resolveScheme` function import from `thirdweb/storage`
- Modified `src` attribute in `Image` component to use `resolveScheme` for handling image URIs

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

<!-- end pr-codex -->
2024-08-09 21:09:32 +00:00
gregfromstl b0494f6eb4 fix(wallet): fix SIWE auth in ecosystem wallets (#4029)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing SIWE authentication in ecosystem wallets.

### Detailed summary
- Added `ecosystem` parameter to SIWE authentication functions
- Updated SIWE authentication logic to include `ecosystem` parameter

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

<!-- end pr-codex -->
2024-08-09 20:15:32 +00:00
MananTank fe9e9c7ba3 Show No Funds modal with Faucet/Pay options for TransactionButton (#4025)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates components related to the testnet faucet functionality and improves the UI/UX of the dashboard.

### Detailed summary
- Added a new `CanClaimResponseType` type for claim eligibility status
- Updated styles and logic for the `FaucetButton` component
- Improved tooltip functionality with a new `ToolTipLabel` component
- Added a new dialog component and updated styles for `MismatchButton`

> 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-08-09 19:05:45 +00:00
Firekeeper d41dc9a632 Force legacy 248, 9372, 841, 842 (#4020) 2024-08-09 12:04:18 -07:00
Jonas Daniels 4c659a1d82 fix account signer crash (#4028) 2024-08-09 12:03:26 -07:00
gregfromstl b56f21b87d chore: upgrade viem to 2.19.3 and cleanup redundant imports (#4023)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The PR updates `viem` to version 2.19.3 and removes a constant from `constants.ts`.

### Detailed summary
- Updated `viem` dependency to version 2.19.3
- Removed `universalSignatureValidatorAbi` constant from `constants.ts`

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

<!-- end pr-codex -->
2024-08-09 18:10:23 +00:00
MananTank 4d49a7c228 add type='button' as default to shadcn button component (#4026)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a conditional `type` property to the `button` component based on the component type.

### Detailed summary
- Added `btnOnlyProps` variable to conditionally set `type` property for button component based on the component type.

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

<!-- end pr-codex -->
2024-08-09 17:50:33 +00:00
GWSzeto d8569fbd1f added back in build for cli (#4024)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the build process for smart contracts in the portal app by adding a new build command with options for detecting and compiling contracts.

### Detailed summary
- Added a new `Build` section in `page.mdx`
- Introduced a `Build` command to compile smart contracts
- Provided usage instructions and options for the `Build` command

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

<!-- end pr-codex -->
2024-08-09 17:42:37 +00:00
MananTank ed7d153cf6 Update Error Handler Modal UI (#4017)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the styling and functionality of error handling components in the dashboard.

### Detailed summary
- Updated styling and functionality of error handling components
- Added `CopyAddressFormControl` component
- Improved error message copying functionality
- Updated dialog structure and content
- Added support link button in the error dialog

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

<!-- end pr-codex -->
2024-08-09 17:37:42 +00:00
MananTank a3c0be4f40 Update Deploy Form Header UI (#4016)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a share button feature for contracts, enabling users to share contract links easily.

### Detailed summary
- Added `shareLink` function to enable sharing contract links
- Updated `ShareButton` component to use `toast` from `sonner`
- Modified UI to include a share button for contracts
- Improved version selection functionality for contracts

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

<!-- end pr-codex -->
2024-08-09 17:31:27 +00:00
kien-ngo c31f25c51e Add Vote extensions (#3993)
- This will be a part of the Dashboard migration to v5
- The changes in modular extensions are probably because whoever added the extensions, was not using the latest generate script (Joaquim modified it to include erc20Value)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds `erc20Value` functionality to various contract extensions in the `thirdweb` package.

### Detailed summary
- Added `erc20Value` functionality to multiple contract extensions in the `thirdweb` package.

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/modular/__generated__/BatchMetadataERC1155/write/uploadMetadata.ts`, `packages/thirdweb/src/extensions/modular/__generated__/RoyaltyERC721/write/setDefaultRoyaltyInfo.ts`, `packages/thirdweb/src/extensions/modular/__generated__/RoyaltyERC1155/write/setDefaultRoyaltyInfo.ts`, `packages/thirdweb/src/extensions/modular/__generated__/RoyaltyERC721/write/setRoyaltyInfoForToken.ts`, `packages/thirdweb/src/extensions/modular/__generated__/RoyaltyERC1155/write/setRoyaltyInfoForToken.ts`, `packages/thirdweb/src/extensions/modular/__generated__/DelayedRevealBatchMetadataERC721/write/reveal.ts`, `packages/thirdweb/src/extensions/modular/__generated__/MintableERC20/write/completeOwnershipHandover.ts`, `packages/thirdweb/src/extensions/modular/__generated__/ClaimableERC1155/write/setClaimConditionByTokenId.ts`, `packages/thirdweb/src/extensions/modular/__generated__/OpenEditionMetadataERC721/write/setSharedMetadata.ts`, `packages/thirdweb/src/extensions/modular/__generated__/OpenEditionMetadataERC1155/write/setSharedMetadata.ts`, `packages/thirdweb/src/extensions/modular/__generated__/DelayedRevealBatchMetadataERC721/write/uploadMetadata.ts`, `packages/thirdweb/src/extensions/vote/read/quorumNumeratorByBlockNumber.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/token.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/votingDelay.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/votingPeriod.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/COUNTING_MODE.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/proposalIndex.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/BALLOT_TYPEHASH.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/proposalThreshold.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/quorumDenominator.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/getAllProposals.ts`, `packages/thirdweb/scripts/generate/abis/vote/Vote.json`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/state.ts`, `packages/thirdweb/src/exports/extensions/vote.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/quorum.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/proposals.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/hasVoted.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/getVotes.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/proposalDeadline.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/proposalSnapshot.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/proposalVotes.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/write/setVotingDelay.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/write/castVote.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/getVotesWithParams.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/write/setVotingPeriod.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/write/relay.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/read/hashProposal.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/write/setProposalThreshold.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/write/updateQuorumNumerator.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/write/propose.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/write/execute.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/write/castVoteWithReason.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/write/castVoteBySig.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/write/castVoteWithReasonAndParams.ts`, `packages/thirdweb/src/extensions/vote/__generated__/Vote/write/castVoteWithReasonAndParamsBySig.ts`

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

<!-- end pr-codex -->
2024-08-09 01:38:27 +00:00
kien-ngo 5367eed3b6 Split extensions (#3995)
This will be a part of the Dashboard migration to v5 (Split page)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds Split contract extensions for Thirdweb, enabling token-specific functions like distribute and release.

### Detailed summary
- Added new Split contract extensions for token-specific operations
- Included functions like distributeByToken, totalReleasedByToken, releasableByToken
- Updated existing functions to support tokenAddress parameter

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/split/__generated__/Split/read/totalReleased.ts`, `packages/thirdweb/src/extensions/split/__generated__/Split/read/payee.ts`, `packages/thirdweb/src/extensions/split/__generated__/Split/read/shares.ts`, `packages/thirdweb/src/extensions/split/__generated__/Split/read/released.ts`, `packages/thirdweb/src/extensions/split/__generated__/Split/read/releasable.ts`, `packages/thirdweb/src/extensions/split/__generated__/Split/write/release.ts`

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

<!-- end pr-codex -->
2024-08-09 01:23:19 +00:00
kien-ngo 1586d774df Dashboard: Migrate account-signer to v5 (#4019)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update the account permissions feature in the dashboard.

### Detailed summary
- Added `thirdwebClient` and `useV5DashboardChain` for contract handling
- Updated `AccountSigners` component to fetch admins and signers
- Refactored `AccountSigner` component for better data handling

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

<!-- end pr-codex -->
2024-08-09 01:11:51 +00:00
Yash 0aeeccd42a Fix add to dashboard for zksync (#4007) 2024-08-08 18:05:49 -07:00
MananTank 4a807e41e8 Fix stretched chain icons (#4018)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the `ChainIcon` component to use the `cn` utility function for handling class names.

### Detailed summary
- Imported `cn` utility function
- Updated class name handling in `ChainIcon` component to use `cn` function for better readability and maintainability

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

<!-- end pr-codex -->
2024-08-09 00:32:09 +00:00
gregfromstl 05cee23bbb fix(wallet): resolve issues with native AutoConnect and URL token retrieval (#4015)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to fix the native AutoConnect feature in the `thirdweb` package by checking if the code is running in a web environment.

### Detailed summary
- Added a check for `window?.location` to ensure code is running in a web environment before fetching a URL token.

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

<!-- end pr-codex -->
2024-08-09 00:11:49 +00:00
gregfromstl bbb4f1c53f feat(react): multi-auth UI (#3870)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds account linking functionality, SIWE authentication, and profile management features to the Connect UI in `thirdweb`.

### Detailed summary
- Added account linking to Connect UI
- Introduced `useProfiles` hook for fetching linked profiles
- Updated UI components and locales for profile management
- Enhanced authentication options with SIWE
- Improved wallet icons and authentication methods

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/ui/ConnectWallet/icons/AddUserIcon.tsx`, `packages/thirdweb/src/react/web/wallets/shared/oauthSignIn.ts`, `packages/thirdweb/src/wallets/ecosystem/types.ts`, `packages/thirdweb/src/wallets/in-app/core/authentication/types.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/AnyWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/icons/MultiUserIcon.tsx`, `packages/thirdweb/src/wallets/in-app/web/lib/auth/oauth.ts`, `packages/thirdweb/src/wallets/in-app/core/authentication/getLoginPath.ts`, `packages/thirdweb/src/react/web/wallets/ecosystem/EcosystemWalletFormUI.tsx`, `packages/thirdweb/src/wallets/in-app/core/authentication/linkAccount.ts`, `packages/thirdweb/src/react/core/hooks/others/useProfiles.ts`, `packages/thirdweb/src/react/web/ui/components/WalletImage.tsx`, `packages/thirdweb/src/react/web/wallets/ecosystem/EcosystemWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/ManageWalletScreen.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletFormUI.tsx`, `packages/thirdweb/src/wallets/in-app/core/authentication/siwe.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/LinkProfileScreen.tsx`, `packages/thirdweb/src/wallets/in-app/web/lib/auth/otp.ts`, `packages/thirdweb/src/react/web/wallets/shared/ConnectWalletSocialOptions.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/LinkedProfilesScreen.tsx`, `packages/thirdweb/src/react/web/wallets/shared/SocialLogin.tsx`, `packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts`, `packages/thirdweb/src/wallets/in-app/native/native-connector.ts`, `packages/thirdweb/src/react/web/wallets/shared/PassKeyLogin.tsx`, `packages/thirdweb/src/react/web/wallets/shared/OTPLoginUI.tsx`, `packages/thirdweb/src/wallets/in-app/native/auth/native-auth.ts`

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

<!-- end pr-codex -->
2024-08-08 23:37:35 +00:00
gregfromstl f74d52369f feat(thirdweb): headless multi-auth (#3797)
### TL;DR

Wallets can now add additional profiles to an account. Once added, any connected profile can be used to access the same wallet. This feature allows multiple profiles such as Google and Discord to be linked to a single wallet.

### What changed?

- Introduced a new method `linkProfile` to connect additional profiles to an existing wallet
- Added backend logic to handle profile linking and retrieval of linked profiles
- Minor modifications in types and export statements
- Updated embedded wallet URL to `localhost:3000`

### How to test?

1. Connect a wallet using one strategy (e.g., Google)
2. Use the `linkProfile` method to add another profile (e.g., Discord)
3. Verify both profiles can access the same wallet
4. Retrieve all linked profiles using the `getProfiles` method and verify the details

### Why make this change?

This change provides more flexibility and convenience to users by allowing them to link multiple profiles to a single wallet. It enhances user experience by providing multiple avenues for wallet access.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates authentication types and imports across different wallet-related files.

### Detailed summary
- Updated imports and types in authentication-related files
- Replaced `type.js` with `types.js` in multiple files
- Added `Profile` type in `authentication/types.ts`
- Updated functions from `authenticate` to `connect` in multiple files

> The following files were skipped due to too many changes: `.changeset/green-wombats-rest.md`, `packages/thirdweb/src/wallets/in-app/native/auth/native-auth.ts`, `packages/thirdweb/src/wallets/in-app/core/interfaces/connector.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/auth/abstract-login.ts`, `packages/thirdweb/src/wallets/in-app/native/native-connector.ts`, `packages/thirdweb/src/wallets/in-app/core/wallet/profiles.ts`, `packages/thirdweb/src/wallets/in-app/core/wallet/in-app-core.ts`, `packages/thirdweb/src/wallets/in-app/core/authentication/linkAccount.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/auth/iframe-auth.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/auth/base-login.ts`, `packages/thirdweb/src/extensions/marketplace/english-auctions/english-auctions.test.ts`, `packages/thirdweb/src/extensions/marketplace/direct-listings/direct-listings.test.ts`

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

<!-- end pr-codex -->
2024-08-08 23:37:32 +00:00
kien-ngo 419873a3c6 [Hotfix] ethers v5 adapter (#4014)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to make a small fix in the `ethers5.ts` adapter by replacing the `chainId` parameter with a predefined chain value.

### Detailed summary
- Replaced `chainId` with a predefined chain value in the `fromEthersContract` function in `ethers5.ts` adapter.

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

<!-- end pr-codex -->
2024-08-08 21:53:52 +00:00
gregfromstl 357a03aa8f test(smart-wallet): update tests to run sequentially and improve admin check (#4011)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the test suite for SmartWallet integration by making adjustments to the expectations related to event logs.

### Detailed summary
- Updated expectations for event logs in tests
- Changed `expect` assertions to use `logs.some` method for checking conditions

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

<!-- end pr-codex -->
2024-08-08 21:27:49 +00:00
kien-ngo 164dbed673 Dashboard v5 Aug 07 run (#3988)
# High-level changes
- [x] ContractMetadata section now fully on v5
- [x] Moved some code of the ClaimCondition section to v5
- [x] Removed claimCondition utils methods -> used the inner logics directly to avoid importing types from v4 packages
- [x] Forcefully hard-coded some types in v4 that are not in v5
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update contract metadata handling and claim condition detection.

### Detailed summary
- Updated `ContractMetadata` component to use `ThirdwebContract`
- Improved claim condition detection in various components
- Refactored claim condition form components for better functionality

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/claim-conditions-form/phase.tsx`

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

<!-- end pr-codex -->
2024-08-08 21:08:10 +00:00
Joe-ThirdwebandJonas Daniels 6ccb6be3a0 Joe plume additions (#4013)
Signed-off-by: Joe-Thirdweb <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-08-08 13:58:13 -07:00
MananTank 7cba594046 Fix "All Wallets" not shown by default in Pay UI when trying to connect a new wallet (#4008)
## 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 "All Wallets" were not shown by default in the Pay UI when connecting a new wallet.

### Detailed summary
- Modified `BuyScreen.tsx` to ensure "All Wallets" are shown by default in the Pay UI
- Updated the logic for displaying recommended wallets and wallet options

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

<!-- end pr-codex -->
2024-08-08 20:32:37 +00:00
gregfromstl d48cd13d53 test(thirdweb): skip deployModularCore tests dependent on TW_SECRET_KEY (#4012)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR skips the test `deployModularCore` in `deploy-modular-core.test.ts`.

### Detailed summary
- Skips the test `deployModularCore` in `deploy-modular-core.test.ts` by changing `describe.runIf` to `describe.skip`

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

<!-- end pr-codex -->
2024-08-08 19:33:05 +00:00
MananTank ae83544c3a Move CMD+K search to shadcn/tailwind, clamp search result title to 2 lines (#4010)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the search functionality in the `CmdKSearch` component by introducing a new dialog UI for searching contracts.

### Detailed summary
- Added a new dialog UI for searching contracts
- Replaced Chakra UI components with custom UI components
- Updated search functionality with new design and features

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

<!-- end pr-codex -->
2024-08-08 19:20:31 +00:00
GWSzeto a996b54323 updated from modules to extensions in the build sidebar (#4009)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update the file `sidebar.tsx` in the contracts app to replace references to "modules" with "extensions" for clarity and consistency.

### Detailed summary
- Replaced all occurrences of `modulesSlug` with `extensionsSlug` for better naming
- Updated links and names to reflect the change from "Modules" to "Extensions"

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

<!-- end pr-codex -->
2024-08-08 18:23:05 +00:00
Bahador 91317dcba3 Update page.mdx (#4000)
Signed-off-by: Bahador <[email protected]>
2024-08-08 10:38:53 -07:00
MananTank e6ac1cc802 [dashboard] No sign-in required for /dashboard/connect/playground page (#4002)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the middleware and user hook in the dashboard app to use a new `isLoginRequired` function for checking logged-in paths.

### Detailed summary
- Added `isLoginRequired` function in `constants/auth.ts`
- Updated middleware to use `isLoginRequired` function
- Updated user hook to use `isLoginRequired` function

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

<!-- end pr-codex -->
2024-08-08 17:20:36 +00:00
MananTank 3649e3994a [dash] deploy form layout + various UI updates/fixes (#3994)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update various UI components and layouts across different pages in the dashboard app.

### Detailed summary
- Updated styling for `nav-link.client.tsx` and `color-mode-toggle.tsx`
- Refactored layout in `publish/[...paths].tsx`
- Removed `MobileMenu` import in `chain-header.tsx`
- Added `Sidebar` component in `layout.tsx` and `chainPage/layout.tsx`
- Updated UI components in `BurgerMenuButton.tsx` and `publish.tsx`

> The following files were skipped due to too many changes: `apps/dashboard/src/components/pages/publish.tsx`

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

<!-- end pr-codex -->
2024-08-08 13:11:45 +00:00
gregfromstl dd7d28c44f fix(ts): migrate serializeTransaction and universalSignatureValidatorByteCode to viem (#3997)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the `serializeTransaction` interface in the `thirdweb` package to include a separate signature input while maintaining backwards compatibility.

### Detailed summary
- Improved `serializeTransaction` interface in `thirdweb` package
- Added separate signature input while maintaining backwards compatibility
- Updated dependencies in `crypto/package.json`
- Updated `package.json` in `thirdweb`
- Updated `typesVersions` in `package.json` of `thirdweb`
- Updated imports in `verify-hash.ts`
- Updated exports in `package.json` of `thirdweb`
- Updated types and functions in `serialize-transaction.test.ts`
- Updated types and functions in `serialize-transaction.ts`

> The following files were skipped due to too many changes: `packages/thirdweb/src/transaction/serialize-transaction.ts`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-08-08 08:35:05 +00:00
Jonas Daniels b58a0e531f [Chore] Unify import statements in chain definition files (#3999) 2024-08-07 23:24:40 -07:00
Aryan MalikandJonas Daniels 2b4629b505 Added Fraxtal and Mode Testnets to the chain-definitions (#3996)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-08-07 21:42:16 -07:00
MananTank 698b8dbb97 allow useActiveWalletChain direct usage in dashboard (#3990)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to replace the usage of `useDashboardActiveWalletChain` with `useActiveWalletChain` for consistency and clarity.

### Detailed summary
- Replaced `useDashboardActiveWalletChain` with `useActiveWalletChain` in multiple files for consistent usage.
- Removed unnecessary imports of `useDashboardActiveWalletChain`.
- Updated functions and components to use `useActiveWalletChain` for better readability and understanding.

> 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-08-08 01:19:05 +00:00
MananTank a4bc285cb7 Sync Chain object changes to Connection manager and wallets from UI components (#3989)
* When `chain` or `chains` prop passed to UI components like `ConnectButton` , `ConnectEmbed` etc are updated - make sure that those chain makes their way to connection manager ( useActiveWalletChain ) and to all the wallets ( getChain )

This is mainly for dashboard - where users can modify the chains and we need to update the chain objects when that's done

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates wallet adapters to use cached chain objects for improved performance.

### Detailed summary
- Added `getCachedChainIfExists` function to retrieve cached chain objects.
- Updated `getChain` method in wallet adapters to use cached chains.
- Removed unnecessary `cacheChains` function calls.
- Added `useConnectionManager` hook to manage defined chains store.

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/native/ui/connect/ConnectButton.tsx`, `packages/thirdweb/src/wallets/manager/index.ts`

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

<!-- end pr-codex -->
2024-08-08 01:19:01 +00:00
GWSzeto 7c2f616dfe renamed from extension to module for modular contracts (#3985)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to remove numerous contract pages and assets related to ERC standards and extensions.

### Detailed summary
- Deleted multiple contract pages and assets related to ERC standards and extensions
- Renamed "extensions" to "modules" in contract descriptions and comments

> The following files were skipped due to too many changes: `apps/portal/src/app/contracts/modular-contracts/core-contracts/erc-20/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/core-contracts/erc-1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-20/misc/transferableERC20/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-721/misc/transferableERC721/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-1155/misc/transferableERC1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-1155/metadata/simpleMetadataERC1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-20/minting/mintableERC20/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-721/metadata/batchMetadataERC721/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-1155/metadata/batchMetadataERC1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-1155/metadata/openEditionMetadataERC1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-721/minting/mintableERC721/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-1155/minting/mintableERC1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-721/metadata/openEditionMetadataERC721/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-20/minting/claimableERC20/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-721/minting/claimableERC721/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-1155/minting/claimableERC1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-721/metadata/delayedRevealBatchMetadataERC721/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/how-it-works/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-721/misc/royaltyERC721/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/extension-contracts/erc-1155/misc/royaltyERC1155/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/overview/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/modular-contracts/page.mdx`, `apps/portal/src/app/contracts/modular-contracts/get-started/page.mdx`, `apps/portal/src/app/contracts/sidebar.tsx`

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

<!-- end pr-codex -->
2024-08-07 19:15:43 +00:00
Jarrod WattsandJonas Daniels 4d0e00a7c4 Add Abstract testnet to ZK Sync chain checks (#3986)
Co-authored-by: Jonas Daniels <[email protected]>
2024-08-07 11:18:54 -07:00
kien-ngo e3220d4a8d Dashboard v5: Remove v4 code (#3982)
High-level changes:
- [x] useAdmin migrated to v5
- [x] useAdminOrSelf migrated to v5
- [x] ERC20 mint form to v5
2024-08-07 16:12:49 +00:00
Firekeeper 68e0aa2d90 Unity v5 initial docs (#3958) 2024-08-06 21:24:56 -07:00
MananTank ce00999e95 cleanup-imports (#3983)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates import paths to use absolute imports and removes unnecessary imports.

### Detailed summary
- Updated import paths to use absolute imports (`@/lib/utils`, `@/components/ui`, `@/components/pagination-buttons`, etc.)
- Removed unnecessary imports from various files

> The following files were skipped due to too many changes: `apps/dashboard/src/pages/grant/superchain.tsx`, `apps/dashboard/src/pages/open-source.tsx`, `apps/dashboard/src/@/components/color-mode-toggle.tsx`, `apps/dashboard/src/pages/learn/index.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/Payouts.tsx`, `apps/dashboard/src/components/homepage/sections/PricingEngine.tsx`, `apps/dashboard/src/lib/vercel-utils.ts`, `apps/dashboard/src/components/color-mode/color-mode-toggle.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PayNewCustomers.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-ecosystem.ts`, `apps/dashboard/src/components/pay/PayConfig.tsx`, `apps/dashboard/src/components/explore/publisher/index.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useApi.ts`, `apps/dashboard/src/pages/template/[id].tsx`, `apps/dashboard/src/contract-ui/tabs/english-auctions/components/table.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useLoggedInUser.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/page.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/chainlist/components/server/chainlist-card.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/trusted-forwarders-fieldset.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PaymentsSuccessRate.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/contract-metadata-fieldset.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/chainlist/components/server/chainlist-row.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/sidebar-content.tsx`, `apps/dashboard/src/app/login/auth-actions.ts`, `apps/dashboard/src/pages/api/moralis/balances.ts`, `apps/dashboard/src/pages/404.tsx`, `apps/dashboard/src/pages/hackathon/earn.tsx`, `apps/dashboard/src/components/landing-pages/layout.tsx`, `apps/dashboard/src/pages/hackathon/consumer-crypto.tsx`, `apps/dashboard/src/pages/_app.tsx`, `apps/dashboard/src/pages/index.tsx`, `apps/dashboard/src/pages/hackathon/readyplayer3.tsx`, `apps/dashboard/src/pages/community/ambassadors.tsx`, `apps/dashboard/src/contract-ui/tabs/manage/components/getExtensionInstalledParams.ts`, `apps/dashboard/src/components/engine/overview/backend-wallets-table.tsx`, `apps/dashboard/src/components/product-pages/common/ProductPage.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PayCustomersTable.tsx`, `apps/dashboard/src/components/cmd-k-search/index.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts`, `apps/dashboard/src/components/buttons/TransactionButton.tsx`, `apps/dashboard/src/components/pages/publish.tsx`, `apps/dashboard/src/components/onboarding/Steps.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/PayAnalytics.tsx`, `apps/dashboard/src/contract-ui/tabs/manage/page.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PaymentHistory.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/custom-contract.tsx`, `apps/dashboard/src/app/(dashboard)/trending/components/trending-table.tsx`, `apps/dashboard/src/contract-ui/tabs/settings/components/metadata.tsx`, `apps/dashboard/src/components/selects/CustomChainRenderer.tsx`, `apps/dashboard/src/components/selects/NetworkSelectorButton.tsx`

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

<!-- end pr-codex -->
2024-08-07 01:29:48 +00:00
MananTank 347c4de046 Update deploy form layout (#3938)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update various text labels and add a new sidebar component for contracts in the dashboard.

### Detailed summary
- Updated text labels for wallet addresses in different contract settings
- Added a new `ContractsSidebar` component to the dashboard
- Updated styling for file upload components
- Modified form field labels and descriptions for contract settings

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

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

<!-- end pr-codex -->
2024-08-07 01:29:45 +00:00
MananTank 48eb472645 Move deploy form outside the drawer to a page (#3936)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update components related to publishing contracts, including adding deployment functionality and improving UI elements.

### Detailed summary
- Updated `NetworkSelectorButton` to handle deployment theme
- Added deployment functionality in `PublishPage`
- Enhanced `ShareButton` UI and functionality
- Improved UI elements in `TrustedForwardersFieldset`
- Updated `PublishWithVersionPage` with deployment logic and UI enhancements

> The following files were skipped due to too many changes: `apps/dashboard/src/components/pages/publish.tsx`

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

<!-- end pr-codex -->
2024-08-07 00:45:27 +00:00
Jonas Daniels 6530e41948 [Chore] Update turbo dependency to version 2.0.12 (#3979) 2024-08-06 16:19:11 -07:00
MananTank 06bc0c1ed4 Preserve Chain overrides in dashboard + enable editing / adding new chains in CustomConnectWallet button (#3972)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update chain-related functions and improve chain handling in various components.

### Detailed summary
- Updated chain-related functions in multiple files
- Improved chain handling in components and SDK contexts
- Refactored chain mapping and RPC URL retrieval functions

> The following files were skipped due to too many changes: `apps/dashboard/src/middleware.ts`, `apps/dashboard/src/components/contract-components/import-contract/modal.tsx`, `apps/dashboard/src/components/smart-wallets/AccountFactories/factory-contracts.tsx`, `apps/dashboard/.eslintrc.js`, `apps/dashboard/src/contract-ui/tabs/shared-components/cancel-tab.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useRegistry.ts`, `apps/dashboard/src/contract-ui/tabs/account/components/deposit-native.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/PayModal.tsx`, `apps/dashboard/src/contract-ui/tabs/shared-components/list-button.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/index.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts`, `apps/dashboard/src/hooks/useContractAbiItems.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/layout.tsx`, `apps/dashboard/src/pages/api/moralis/balances.ts`, `apps/dashboard/src/contract-ui/tabs/direct-listings/components/table.tsx`, `apps/dashboard/src/contract-ui/tabs/settings/components/platform-fees.tsx`, `apps/dashboard/src/contract-ui/tabs/settings/components/primary-sale.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/mint-form.tsx`, `apps/dashboard/src/contract-ui/tabs/english-auctions/components/table.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/mint-supply-tab.tsx`, `apps/dashboard/src/contract-ui/tabs/settings/components/royalties.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/claim-tab.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/FaucetButton.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/airdrop-tab.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/components/mint-button.tsx`, `apps/dashboard/src/contract-ui/tabs/accounts/page.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/burn-tab.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/mint-button.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/chain-header.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/add-chain-to-wallet.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/lazy-mint-button.tsx`, `apps/dashboard/src/components/buttons/TransactionButton.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/transfer-tab.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/reveal-button.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/batch-lazy-mint-button.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/reveal-form.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/components/claim-form.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/shared-metadata-button.tsx`, `apps/dashboard/src/contract-ui/tabs/manage/page.tsx`, `apps/dashboard/src/components/app-layouts/app.tsx`, `apps/dashboard/src/components/engine/contract-subscription/contract-subscriptions-table.tsx`, `apps/dashboard/src/components/selects/NetworkSelectorButton.tsx`, `apps/dashboard/src/components/app-layouts/provider-setup.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/MarketplaceDetails.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/tx/[txHash]/page.tsx`, `apps/dashboard/src/contract-ui/tabs/settings/components/metadata.tsx`, `apps/dashboard/src/components/app-layouts/providers.tsx`, `apps/dashboard/src/contract-ui/tabs/split/page.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/components/connect-wallet/index.tsx`, `apps/dashboard/src/pages/[chain_id]/[...paths].tsx`, `apps/dashboard/src/lib/v5-adapter.ts`, `apps/dashboard/src/components/buttons/MismatchButton.tsx`, `apps/dashboard/src/components/contract-components/hooks.ts`

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

<!-- end pr-codex -->
2024-08-06 22:47:21 +00:00
Jonas Daniels ccc3a2d2c8 speed up docs (#3967) 2024-08-06 15:44:36 -07:00
Jonas Danielsandgithub-actions[bot] deb704a084 Version Packages (#3966)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-06 15:26:32 -07:00
Isaac DubuqueandJonas Daniels dc86fa2e6e updated pay interface for onramp + gas (#3894)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-08-06 15:16:49 -07:00
Aryan Malik 64d1b79b61 fix: update import statement for smartWallet in smart-wallet.ts (#3968) 2024-08-06 15:09:37 -07:00
gregfromstl f4e84e099a test(ts): adds test case for signMessage (#3978)
### TL;DR

Added a new test case to `sign-message.test.ts` to verify the signature generated by the `signMessage` function when provided with a specific message and private key.

### What changed?

The test file `sign-message.test.ts` in the `thirdweb` package has been updated to include a new test case that checks the signature generated by the `signMessage` function.

### How to test?

Run the test suite for the `thirdweb` package to ensure all tests, including the new one, pass correctly.

### Why make this change?

To enhance test coverage and ensure that the `signMessage` function generates the expected signature when given specific inputs.

---
2024-08-06 21:39:57 +00:00
jnsdls b9807f001b [Feature] Add analytics tracking to FaucetButton component (#3977)
### TL;DR

Added analytics tracking to the `FaucetButton` component.

### What changed?

Integrated `useTrack` hook to capture and track events (attempt, success, error) for claiming funds via the FaucetButton. Updated error handling for clarity.

### How to test?

1. Deploy the dashboard.
2. Navigate to the FaucetButton component.
3. Attempt to claim funds and observe tracking behavior in the configured analytics dashboard.

### Why make this change?

To gain better insights into how users interact with the FaucetButton and to capture relevant events for analysis.

---
2024-08-06 21:10:38 +00:00
gregfromstl 358a7577c1 fix(wallet): resolve wallet adapter info retrieval issue (#3976) 2024-08-06 20:54:38 +00:00
kien-ngo c05a94d985 Dashboard: Delete Marketplace v2 listing page (#3975)
- [x] Marketplace v2 is very outdated
- [x] Marketplace v3 is out for over 2 years
- [x] After the _incident_, people should be on v3 now
- [x] This also helps remove more sdk v4 code

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor and clean up the contract UI listings components.

### Detailed summary
- Removed unused components from listings page
- Updated route configuration for listings
- Refactored ListingStats component
- Updated imports and dependencies

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

<!-- end pr-codex -->
2024-08-06 20:49:05 +00:00
ian ab5d6bcfe2 New Pay Guides + Sidebar Structure (#3970) 2024-08-06 13:11:00 -07:00
d7e59305bd upstream viem tweaks (#3934)
Co-authored-by: greg <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-08-06 10:48:48 -07:00
Jonas Daniels edb86b9728 [Chore] Update CI badge link in README.md (#3973) 2024-08-06 10:45:44 -07:00
Jonas Daniels 23c1cfa283 [Test] Conditionally run toSerializableTransaction tests based on TW_SECRET_KEY environment variable (#3965) 2024-08-06 00:12:22 -07:00
Jonas Daniels 9944f9d731 [Chore] Remove benchmark job from CI workflow (#3964) 2024-08-06 00:10:33 -07:00
jnsdls 2e3c5e9dbd [Fix] Handle account switching inside connected wallet for SIWE auth (#3963)
FIXES: #3912

### TL;DR
This PR fixes the handling of account switching within a connected wallet in Sign-In with Ethereum (SIWE) authentication states.

### What changed?
- Updated the `isLoggedIn` function to accept an `address` argument and added more checks to validate the JWT and the associated address.
- Pass `account` as a new parameter to `useSiweAuth` to ensure the correct account is handled.
- Removed experimental server external packages from `next.config.mjs`.
- Removed `@shikijs/twoslash` dependency from `package.json`.

### How to test?
1. Switch accounts within a connected wallet and ensure the SIWE authentication state updates correctly.
2. Verify that the application runs without errors related to the removed experimental packages and dependencies.

### Why make this change?
To ensure better account management and state consistency within the SIWE authentication framework, and to remove unused or experimental configurations for better stability and performance.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing account switching in SIWE authentication states.

### Detailed summary
- Updated functions to include `account` parameter for SIWE authentication
- Changed login and authentication logic
- Added `getAuthResult` function for server-side auth
- Updated dependencies and imports

> 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-08-06 06:53:24 +00:00
gregfromstl 206b825d7c fix(portal): update prefix URL in EditPage component (#3962)
Updated the GitHub edit URL prefix in the EditPage component from 'https://github.com/thirdweb-dev/docs-v2/edit/main/src/app' to 'https://github.com/thirdweb-dev/js/edit/main/apps/portal/src/app'.

---

## Problem solved

Short description of the bug fixed or feature added
2024-08-06 06:33:23 +00:00
gregfromstl 584aa7a5fe test(thirdweb): add condition to serialize-transaction eip1559 test based on TW_SECRET_KEY (#3955)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding a conditional test suite for the `eip1559` function based on the presence of a secret key.

### Detailed summary
- Conditionally runs the `eip1559` test suite based on the presence of `TW_SECRET_KEY` environment variable.

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

<!-- end pr-codex -->
2024-08-06 05:29:27 +00:00
kien-ngo 2500be36e7 Dashboard v5: Aug 05 updates (#3942)
### High level changes
- [x] Deleted `apps/dashboard/src/components/contract-tabs/code/ContractCode.tsx` - doesn't seem to be used anywhere
- [x] Uninstall v4's react-core and wallets packages
- [x] Rename some components's names to make it clear that they are for ERC20 only (`mint-form-erc20`)
- [x] `useTxNotifications` now only accepts v5 contract

### Tested areas
- [x] ERC20 mintTo button
- [x] CreateListingButton (minor change but need to test anyway)
- [x] ContractSidebar.tsx

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update contract-related components and dependencies.

### Detailed summary
- Updated `CreateListingButton` props in different tab pages
- Added `contractV5` variable in multiple components
- Updated dependencies and removed unused ones

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/nfts/components/batch-lazy-mint-button.tsx`, `apps/dashboard/src/core-ui/batch-upload/batch-lazy-mint.tsx`, `apps/dashboard/src/contract-ui/tabs/shared-components/list-button.tsx`, `apps/dashboard/src/hooks/useTxNotifications.ts`, `apps/dashboard/src/core-ui/sidebar/detail-page.tsx`, `apps/dashboard/src/contexts/error-handler.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/components/mint-form.tsx`

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

<!-- end pr-codex -->
2024-08-06 05:18:27 +00:00
gregfromstl b7daefb394 fix(app): update header texts and contract address (#3956)
### TL;DR
Updates various UI headings in the payment-related pages and updates the NFT contract address in the transaction button component.

### What changed?
- Updated headings in `pay/page.tsx`:
  - 'Fund wallets' to 'Top Up'
  - 'Direct Payments' to 'Commerce'
  - 'Onchain Payments' to 'Transactions'
- Changed NFT contract address in `transaction-button.tsx` from `0x96B30d36f783c7BC68535De23147e2ce65788e93` to `0x827c1c3889923015C1FC31BF677D00FbE6F01D52`.

### How to test?
1. Navigate to the payment page and verify that the headings are updated.
2. Ensure that the transactions are working correctly with the new contract address.

### Why make this change?
The updates are intended to enhance user comprehension and ensure the correct NFT contract is being used.

---

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update text and component names related to payment transactions in the playground web app.

### Detailed summary
- Updated the `nftContract` address in `transaction-button.tsx`
- Changed "Fund wallets" to "Top Up" in `page.tsx`
- Renamed "Direct Payments" to "Commerce"
- Replaced "Onchain Payments" with "Transactions"

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

<!-- end pr-codex -->
2024-08-06 05:14:51 +00:00
ian 9eeb69e3dd Add direct payments guide and webhooks documentation (#3957) 2024-08-05 22:10:43 -07:00
Joe-ThirdwebandJonas Daniels 2e963137fb Updating Aleph Zero and Lumia chainlist (#3960)
Co-authored-by: Jonas Daniels <[email protected]>
2024-08-05 22:04:23 -07:00
kien-ngo 0ae539f384 Docs: Update locale table (#3959)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the language codes for French and Korean in the sign-in customization page.

### Detailed summary
- Updated language code for French to `fr_FR`
- Updated language code for Korean to `ko_KR`

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

<!-- end pr-codex -->
2024-08-06 03:13:25 +00:00
gregfromstl dce096fba4 chore: remove faulty test (#3954)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR skips unit tests requiring a secret key and updates a URL in the downloadMock function.

### Detailed summary
- Skips unit tests in claimERC20, claimERC721, and claimERC1155 if no secret key available
- Updated URL in `downloadMock` function in `storage.ts`

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

<!-- end pr-codex -->
2024-08-06 00:07:45 +00:00
34e6f69568 Version Packages (#3953)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-08-05 17:04:41 -07:00
Jonas Daniels c9e14e366c Revert "Version Packages (#3950)"
This reverts commit 65eb299eb0.
2024-08-05 16:24:13 -07:00
Jonas Daniels 4308c4a1cf [Chore] Update thirdweb dependency to use workspace protocol (#3952) 2024-08-05 16:20:44 -07:00
Jonas Danielsandgithub-actions[bot] 65eb299eb0 Version Packages (#3950)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-05 16:18:53 -07:00
gregfromstl 1309602889 docs: adds telegram changeset (#3951)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a new feature to the `thirdweb` module, enabling users to log in to in-app wallets using Telegram.

### Detailed summary
- Added support for Telegram login option in in-app wallets using `thirdweb`
- Updated `inAppWallet` function to include Telegram login strategy
- Added example code snippet for connecting to wallet using Telegram strategy

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

<!-- end pr-codex -->
2024-08-05 22:54:17 +00:00
GWSzeto 09ebee8e41 added build back into the docs (#3949)
Modified .gitignore so that it accepts the build folder

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add detailed documentation for various ERC standards in smart contracts.

### Detailed summary
- Added documentation for ERC721, ERC1155, and ERC20 smart contract standards
- Included usage examples and base contracts for each extension
- Updated metadata and images for clarity and consistency

> The following files were skipped due to too many changes: `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155Mintable/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-721/ERC721Mintable/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155Enumerable/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-721/ERC721Revealable/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155Revealable/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-721/ERC721Enumerable/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155Burnable/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-721/ERC721BatchMintable/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-20/ERC20BatchMintable/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-721/ERC721Supply/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155Supply/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155Claimable/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155BatchMintable/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-721/ERC721Claimable/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-20/ERC20ClaimConditions/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-20/ERC20/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-721/ERC721ClaimConditions/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-20/base/page.mdx`, `apps/portal/src/app/contracts/build/extensions/general/Multicall/page.mdx`, `apps/portal/src/app/contracts/build/modular-contracts/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-721/ERC721ClaimCustom/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155ClaimCustom/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-4337/account-factory/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-20/vote/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155ClaimConditions/page.mdx`, `apps/portal/src/app/contracts/build/extensions/general/PermissionsEnumerable/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-4337/managed-account-factory/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-20/drop/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155ClaimPhases/page.mdx`, `apps/portal/src/app/contracts/build/extensions/general/Ownable/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-20/drop-vote/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-721/ERC721ClaimPhases/page.mdx`, `apps/portal/src/app/contracts/build/extensions/general/BatchMintMetadata/page.mdx`, `apps/portal/src/app/contracts/build/extensions/general/Permissions/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-721/ERC721Staking/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-20/ERC20Permit/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-20/signature-mint/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-4337/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-20/ERC20Staking/page.mdx`, `apps/portal/src/app/contracts/build/extensions/general/ContractMetadata/page.mdx`, `apps/portal/src/app/contracts/build/extensions/general/PlatformFee/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-721/delayed-reveal/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-20/signature-mint-vote/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-1155/delayed-reveal/page.mdx`, `apps/portal/src/app/contracts/build/extensions/general/LazyMint/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-721/signature-mint/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-4337/AccountExtension/page.mdx`, `apps/portal/src/app/contracts/build/extensions/general/PrimarySale/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-1155/signature-mint/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-4337/managed-account/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155Staking/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-721/base/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-4337/SmartWallet/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-4337/account/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-721/lazy-mint/page.mdx`, `apps/portal/src/app/contracts/build/extensions/general/DelayedReveal/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-4337/SmartWalletFactory/page.mdx`, `apps/portal/src/app/contracts/build/get-started/page.mdx`, `apps/portal/src/app/contracts/build/extensions/general/Royalty/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-721/drop/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-1155/lazy-mint/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-1155/base/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/erc-1155/drop/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-20/ERC20SignatureMint/page.mdx`, `apps/portal/src/app/contracts/build/base-contracts/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-721/ERC721SignatureMint/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155SignatureMint/page.mdx`, `apps/portal/src/app/contracts/build/extensions/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155DropSinglePhase/page.mdx`, `apps/portal/src/app/contracts/build/extensions/general/DropSinglePhase/page.mdx`, `apps/portal/src/app/contracts/build/extensions/general/Drop/page.mdx`, `apps/portal/src/app/contracts/build/extensions/erc-1155/ERC1155Drop/page.mdx`, `apps/portal/src/app/contracts/build/overview/assets/extension-model.svg`

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

<!-- end pr-codex -->
2024-08-05 22:42:20 +00:00
Aryan MalikandJonas Daniels ea2247c40c Added Celo Alfajores Testnet within the chain-definitions (#3941)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-08-05 15:30:42 -07:00
dependabot[bot] a8061277fb chore(deps-dev): bump typescript from 5.5.2 to 5.5.4 (#3945)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 15:23:19 -07:00
Jonas Daniels eb94d2ad18 [Feature] Add Content Security Policy and security headers configuration (#3943) 2024-08-05 15:20:13 -07:00
kien-ngo b3aabee23b Dashboard v5: Remove more v4 code (#3927)
This PR is the first step to eventually remove all the v4 code inside `src/contract-ui/tabs/nfts/page.tsx`

2 main components that is now v4-free:
- [x] useIsMinter
- [x] MinterOnly

In fear of putting up a huge PR, I submit this PR as the first in this series

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates contract handling and minter role detection across multiple components.

### Detailed summary
- Updated contract handling to use `ThirdwebContract`
- Improved minter role detection logic
- Refactored minting components to use updated contract handling

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/nfts/components/shared-metadata-button.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/batch-lazy-mint-button.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/page.tsx`

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

<!-- end pr-codex -->
2024-08-05 20:43:02 +00:00
kien-ngo 72fad8f22d Dashboard v5: Remove useStorageUpload (#3929)
- Add new React hook that uses v5's `upload` under the hood
- Sacrifice has been made - we remove the progress % from the loading bar

<!-- start pr-codex -->

---

## PR-Codex overview
The PR focuses on replacing `useStorageUpload` with `useDashboardStorageUpload` in multiple components for IPFS file uploads.

### Detailed summary
- Replaced `useStorageUpload` with `useDashboardStorageUpload` in `button.tsx`, `string-input.tsx`, `IconUpload.tsx`, and `dropzone.tsx`.
- Updated file upload logic in `FileUpload` component in `dropzone.tsx`.
- Added `useDashboardStorageUpload` in `useDashboardStorageUpload.tsx` for IPFS file uploads.

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

<!-- end pr-codex -->
2024-08-05 20:26:18 +00:00
MananTank e2db196790 Fix Forced dark theme on certain pages (#3940)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a new `useForceDarkTheme` hook to enforce dark theme across multiple pages.

### Detailed summary
- Added `useForceDarkTheme` hook to enforce dark theme.
- Updated multiple pages to use the new hook.
- Removed `DarkMode` component from affected pages.

> The following files were skipped due to too many changes: `apps/dashboard/src/pages/404.tsx`, `apps/dashboard/src/pages/index.tsx`, `apps/dashboard/src/pages/template/[id].tsx`, `apps/dashboard/src/pages/open-source.tsx`, `apps/dashboard/src/pages/contact-us.tsx`, `apps/dashboard/src/pages/community/ambassadors.tsx`

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

<!-- end pr-codex -->
2024-08-05 20:06:59 +00:00
gregfromstl ae28e27a8c feat: telegram login (#3830)
## TL;DR

This PR introduces support for Telegram OAuth across various components of the thirdweb packages.

## What changed?

- Added 'Telegram' as an OAuth option in `WALLETS` array within the `constants.ts` file.
- Introduced `telegramIconUri` constant and its usage across the application.
- Updated `socialIcons` object and methods to handle new Telegram icon.
- Enhanced `WalletImage` components to recognize and display the Telegram icon.
- Included Telegram in OAuth login path determination within `oauthSignIn.ts`.
- Updated enumerations and type definitions to include Telegram.
- Modified `InAppNativeConnector` and `InAppWebConnector` to handle Telegram OAuth redirection.

## How to test?

1. Navigate to the authentication section in the application.
2. Check for the new 'Sign in with Telegram' option.
3. Attempt to sign in using a Telegram account and verify the successful login flow.

## Why make this change?

To expand the authentication options available to users, providing more flexibility and convenience. Telegram is a popular messaging app, and integrating it as an OAuth option can enhance user experience.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add `Telegram` as a supported authentication option across various parts of the application.

### Detailed summary
- Added `Telegram` as an authentication option in various files
- Included `TELEGRAM_ICON` in multiple components
- Updated social icons with `telegramIconUri`

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

<!-- end pr-codex -->
2024-08-05 19:49:16 +00:00
kien-ngo 9640b184ad Dashboard: Fix [Open IPFS folder] link (#3935)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the logic for getting the folder path from an IPFS hash URL in the `dropzone.tsx` component.

### Detailed summary
- Refactored logic to extract folder path from IPFS hash URL
- Updated return statement to use the extracted folder path for the IPFS URL

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

<!-- end pr-codex -->
2024-08-05 16:59:18 +00:00
kien-ngo a2e13820f2 Dashboard v5: Update dashboard [...paths].tsx to v5 (#3925)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor contract detection logic and improve metadata handling.

### Detailed summary
- Removed `detectContractFeature` from `@thirdweb-dev/sdk`
- Added functions for detecting ERC20, ERC721, and ERC1155 extensions
- Improved contract metadata handling with `getContractMetadata` function

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

<!-- end pr-codex -->
2024-08-05 16:46:09 +00:00
jnsdls d0ea16e887 [Fix] Add 'Chainlist' link to header and update navigation structure (#3939)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a new `Chainlist` link in the header and a corresponding button in the app shell.

### Detailed summary
- Added `Chainlist` link in the header navigation.
- Included a `Chainlist` button in the app shell for quick access.
- Removed previous `Chainlist` link implementation.

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

<!-- end pr-codex -->
2024-08-05 16:41:37 +00:00
kien-ngo 1f3448e1ea Portal: Improve ts docs (#3937)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances error handling and callback functionality in various components like `TransactionButton` and `CreateDirectListingButton`.

### Detailed summary
- Added guidance for error handling and callbacks in `TransactionButton`
- Updated comments in `CreateDirectListingButton`
- Improved error handling info in `ClaimButton`
- Added examples and instructions for handling errors and callbacks in components

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

<!-- end pr-codex -->
2024-08-05 06:27:14 +00:00
MananTank ad619a779c Use shadcn checkbox in deploy form (#3928)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor and improve the UI components in the custom contract form.

### Detailed summary
- Added `CheckboxWithLabel` component with enhanced functionality.
- Refactored `Tooltip` to `ToolTipLabel` for better usability.
- Updated usage of components like `TrackedLinkTW` and `Spinner`.
- Improved layout and styling for better user experience.

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

<!-- end pr-codex -->
2024-08-04 18:55:17 +00:00
MananTank 09e89e5e6b Move FileInput from chakra to tailwind (#3926)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates various components to replace Chakra UI props with className for styling consistency.

### Detailed summary
- Replaced Chakra UI props with className for consistent styling in multiple components.
- Updated styling in `FileInput` component for better consistency and maintainability.
- Added new imports and removed unnecessary imports in `FileInput` component.

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

<!-- end pr-codex -->
2024-08-04 18:46:46 +00:00
jnsdls baefa5e9c7 [Chore] Uniform formatting in package.json and update fs imports (#3933) 2024-08-03 23:53:16 +00:00
kien-ngo 57e87528c8 chore: add a small test for numberToHex() (#3932)
Happened to write this quick test when debugging an issue

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a test for the `numberToHex` function in `hex.ts`.

### Detailed summary
- Added a test suite for `numberToHex` function in `hex.ts`
- Tested conversion of a number to a hexadecimal string with specified size and sign
- Asserted the correctness of the conversion result

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

<!-- end pr-codex -->
2024-08-03 23:39:39 +00:00
Jonas Daniels 0b5dc2a137 [Fix] Validate and decode nextPath to ensure it is a relative path before redirecting (#3930) 2024-08-03 15:56:32 -07:00
jnsdls 0d23d5d6d5 [Fix] Exclude auth token from pay URLs when setting request headers (#3931)
This PR updates the fetch utility in the Thirdweb package to exclude the authorization token from being sent when the endpoint is related to the pay service. This ensures that requests to 'pay.' prefixed URLs are always made on behalf of the 'developer' rather than the 'end user.' It introduces a new function, isPayUrl, to determine if the URL belongs to the pay service.

---
2024-08-03 22:38:12 +00:00
kien-ngo 16376e56d7 Fix typo in docs (#3924)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces information about using Ethers.js in version 5 of the thirdweb SDK.

### Detailed summary
- Added a section titled "Ethers.js in v5" in `page.mdx`
- Clarified that SDK v5 is compatible with Ethers.js v5 and v6

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

<!-- end pr-codex -->
2024-08-03 05:19:07 +00:00
kien-ngo 3f923e4469 Update to React migration docs (#3923)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on migrating React SDK v4 to v5. It includes changes in installation steps, interacting with contracts, and introducing an ethers.js adapter.

### Detailed summary
- Updated installation steps for React SDK v5
- Added new components for interacting with contracts
- Introduced an ethers.js adapter for compatibility with v5
- Updated sidebar links for migration guidance

> The following files were skipped due to too many changes: `apps/portal/src/app/react/v5/sidebar.tsx`

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

<!-- end pr-codex -->
2024-08-03 05:09:30 +00:00
kien-ngo c7a417e285 <Crusade> Claim NFT drop to v5 (#3910)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to optimize NFT claiming functionality in the dashboard.

### Detailed summary
- Refactored NFTClaimButton to use `contractAddress` and `chainId`
- Updated NFTClaimForm to use `contractAddress` and `chainId` instead of `contract`
- Improved error handling in NFTClaimForm
- Added transaction handling in NFTClaimForm

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

<!-- end pr-codex -->
2024-08-03 01:58:31 +00:00
gregfromstl a97d7636ba docs: add callouts for generating client ID across multiple guides (#3921)
### TL;DR

Added information callouts across various SDK documentation pages, prompting users to generate a client ID to access blockchain APIs, storage, and more.

### What changed?

1. Integrated `Link` and `Button` components from `next/link` and `@/components/ui/button` respectively.
2. Added `<Callout>` components with instructional text and links for generating client IDs.
3. Changed existing callout in TypeScript client page from 'Api Key' to 'Client ID'.

### How to test?

Check the following pages for the new callout additions:
- `/connect`
- `/react-native/v5`
- `/react/v5`
- `/typescript/v5`
- `/typescript/v5/client`

### Why make this change?

To guide users in generating a client ID, which is necessary to access various features offered by the SDK.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update references from "Api Key" to "Client ID" and add a `Link` and `Button` component for generating client IDs in various pages.

### Detailed summary
- Updated "Api Key" to "Client ID" in callouts
- Added `Link` and `Button` components for generating client IDs in multiple pages

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

<!-- end pr-codex -->
2024-08-03 01:55:02 +00:00
Jonas Daniels 80e0957857 [Feature] Add portal build configuration to turbo.json and update changeset (#3922) 2024-08-02 18:11:35 -07:00
gregfromstl 14d3d18ad2 fix: portal dependencies (#3920)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating dependencies and adding webpack configuration.

### Detailed summary
- Skipped a test for executing zkcandy tx via SDK
- Updated `remark-gfm` version
- Added webpack configuration for external libraries
- Updated dependencies for linting and fixed scripts
- Updated various `mdast-util` packages
- Updated `micromark-extension` packages
- Updated `remark-gfm` version in multiple places

> 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-08-03 00:38:06 +00:00
MananTank 079dc921d4 [dashboard] Enhance UI consistency across chain page components (#3919)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update various UI components in the dashboard app for better styling consistency and functionality.

### Detailed summary
- Updated styling of `CopyTextButton`, `ExplorerSection`, `LiveStats`, and `ChainOverviewSection`.
- Replaced `CopyButton` import with `CopyTextButton`.
- Improved button and link styling for better user experience.

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

<!-- end pr-codex -->
2024-08-03 00:10:36 +00:00
kien-ngo c2e86c6828 <Crusade> Type-only migration! (#3909)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update types and imports related to NFT metadata handling in various files.

### Detailed summary
- Updated types to use `NFTInput` instead of `NFTMetadataInput` for NFT metadata handling.
- Updated imports to use `NFTInput` from "thirdweb/utils" in multiple files.
- Adjusted function signatures and parameters accordingly for consistency and compatibility.

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

<!-- end pr-codex -->
2024-08-02 23:32:06 +00:00
gregfromstl 9d519c6590 chore: move the docs to the monorepo (#3915)
Adds the docs to the monorepo
2024-08-02 22:41:36 +00:00
kien-ngo d04b03226a <Crusade> Dashboard to v5: Marketplace v3 (#3907)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a `type` field to `DirectListing` and `EnglishAuction` types in the marketplace extensions.

### Detailed summary
- Added `type` field to `DirectListing` and `EnglishAuction` types
- Updated components to handle `type` field for pricing display
- Refactored contract role checks for Marketplace v3 compatibility

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/listings/components/list-form.tsx`

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

<!-- end pr-codex -->
2024-08-02 22:17:03 +00:00
MananTank c24dadaa60 Chain page tweaks (#3916)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates various components and functions related to chain metadata and wallet connection logic.

### Detailed summary
- Improved conditional rendering for `ChainCTA` component
- Updated styles and behavior in `SidebarContent` and `MobileMenu`
- Added `useCustomConnectModal` hook for custom wallet connection modal
- Enhanced `AddChainToWallet` component with custom connect modal functionality

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

<!-- end pr-codex -->
2024-08-02 22:09:42 +00:00
gregfromstl 2c751b4fce test: adds msw (#3913)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add `msw` for network call mocking, update dependencies, and enhance wallet integration tests.

### Detailed summary
- Added `msw` for network call mocking in tests
- Updated dependencies
- Improved wallet integration tests with new functions

> 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-08-02 20:16:31 +00:00
Joe-Thirdweb e7f7ae8452 Chainlist default banner for PAID CHAINS (#3911)
## Problem solved

Short description of the bug fixed or feature added
Added a default banner and CTA image for every paying chain except lens.
Added an about section to every paying chain
Added a link to their website for every paying chain

##How to test
Visit the chain's chainlist page and view the images.
Click on their "learn More" butttons to be taken to their website.
Chains Added
- Lumia Mainnet
- Superposition Testnet
- Aleph 0 Mainnet
- b3 Mainnet
- Campnetwork v2 testnet
- Donatuz mainnet
- Fuse
- Gemuchain
- 0g labs testnet
- zkCandy
- zkSync

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add metadata for different blockchains in the dashboard.

### Detailed summary
- Added metadata for Lumia Mainnet, Superposition Testnet, Aleph 0 Mainnet, B3 Mainnet, CampNetwork Testnet v2, Donatuz, Fuse, Gemuchain, 0G-Newton-Testnet, Plume, zkCandy, and zkSync
- Updated `utils.ts` with imports for new assets
- Updated chain metadata record with details for each blockchain

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

<!-- end pr-codex -->
2024-08-02 19:14:22 +00:00
Jonas DanielsandManan Tank 9c292a4903 [dashboard] Chain page redesign (#3826)
Co-authored-by: Manan Tank <[email protected]>
2024-08-02 19:01:12 +00:00
jnsdls b06272c35d [Feature] Add Chainlist link and update header styles (#3899)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a new link "Chainlist" to the dashboard header and update styles for better user experience.

### Detailed summary
- Added "Chainlist" link to the dashboard header
- Updated styles for the "Chainlist" link to match the design
- Adjusted styles for active links in the header for better visibility and consistency

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

<!-- end pr-codex -->
2024-08-02 17:44:14 +00:00
joaquim-verges 366646e354 chore(jsdocs): enhance JSDoc examples across multiple hooks and functions (#3908)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces enhancements related to wallet interactions, contract calls, and event monitoring in the application.

### Detailed summary
- Added functionality to pre-authenticate users via email or phone number
- Enhanced wallet connection components with account abstraction and gas sponsorship options
- Updated wallet connection buttons to support account abstraction and gas sponsorship
- Improved wallet information retrieval with examples
- Expanded capabilities for fetching wallet balances for native and specific tokens
- Enhanced contract call preparation with examples of different method signatures and value options
- Improved contract event monitoring with event extensions and custom event watching
- Updated contract read hooks to automatically update on contract changes

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/core/hooks/contract/useReadContract.ts`, `packages/thirdweb/src/transaction/actions/send-transaction.ts`, `packages/thirdweb/src/react/web/hooks/transaction/useSendTransaction.tsx`

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

<!-- end pr-codex -->
2024-08-02 03:17:02 +00:00
joaquim-verges 8eeec64388 fix(tests): update PayEmbed tests to use waitFor for render assertions (#3906)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update test files in `PayEmbed-disconnected.test.tsx` and `PayEmbed.test.tsx` to use `waitFor` for asynchronous operations.

### Detailed summary
- Added `waitFor` for asynchronous operations in test files
- Updated test cases to handle asynchronous rendering and interactions

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

<!-- end pr-codex -->
2024-08-01 20:03:45 +00:00
4dea4ba3c0 Version Packages (#3900)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-08-02 08:02:39 +12:00
Jonas Daniels a66071b2c2 [Fix] Correct integer check logic in middleware function (#3905) 2024-08-01 12:20:15 -07:00
gregfromstl 306f3da606 fix(thirdweb): resolve occasional iframe error during OAuth login (#3903)
### TL;DR
Fix occasional iframe error when logging in with oauth

### What changed?
Removed error throwing for invalid event type in OAuth login flow.

### How to test?
Attempt OAuth login and ensure no errors occur related to iframes.

### Why make this change?
To prevent unnecessary exceptions which impede the OAuth login user experience.

---
2024-08-01 18:56:12 +00:00
Manan Tank e6495c1541 Remove ja_JP locale set in playground for ConnectButton (#3904) 2024-08-02 06:23:16 +12:00
Joaquim Verges 825ef239a0 fix(gas): handle gas free chains where baseFeePerGas is 0 (#3901) 2024-08-01 21:30:09 +12:00
joaquim-verges 13d9741f77 feat(localization): Add Korean and French locale support (#3895)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds Korean and French locales, updates wallet connection screens, and adds smart wallet content.

### Detailed summary
- Added Korean and French locales
- Updated wallet connection screens with new locales
- Added smart wallet content for Korean locale

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/wallets/local/locale/kr.ts`, `packages/thirdweb/src/react/web/wallets/shared/locale/kr.ts`, `packages/thirdweb/src/react/web/wallets/local/locale/fr.ts`, `packages/thirdweb/src/react/web/wallets/local/locale/ja.ts`, `packages/thirdweb/src/react/web/wallets/shared/locale/ja.ts`, `packages/thirdweb/src/react/web/wallets/shared/locale/fr.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/locale/kr.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/locale/fr.ts`

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

<!-- end pr-codex -->
2024-08-01 08:07:23 +00:00
Jonas Danielsandgithub-actions[bot] 94f5ed601d Version Packages (#3898)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-31 23:24:25 -07:00
Jonas Daniels 4463848671 [Fix] Remove 'create' command from key-requiring CLI commands (#3897) 2024-07-31 23:10:54 -07:00
greg 3b49b18f4d fix(react): OTP validation in React Native Connect UI (#3896) 2024-07-31 23:10:43 -07:00
Joaquim Verges 2e0ca0ecee feat(webGL): Update CB wallet v4 for webGL (#3893) 2024-08-01 13:25:05 +12:00
MananTank ff6a319caf Map generic inputs to prebuilt components for Modular Contract install params fiedsets (#3887)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update contract form components with improved form handling and modular extension support.

### Detailed summary
- Added `isBeta` prop to `ContractCard` and `publishedContractToShow` check
- Updated `PrimarySaleFieldset` and `RoyaltyFieldset` with improved form handling
- Enhanced modular extension support in `ModularContractDefaultExtensionsFieldset`

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

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

<!-- end pr-codex -->
2024-07-31 23:23:41 +00:00
MananTank 744c570ed1 [dashboard] Use dark default Theme for first time users (#3890)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces a new `defaultTheme` prop set to "dark" in the `_app.tsx` file.

### Detailed summary
- Added `defaultTheme` prop with value "dark" in the `_app.tsx` file.

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

<!-- end pr-codex -->
2024-07-31 22:08:51 +00:00
MananTank fff9550c8f [dashboard] Fix Spinner size in Add to wallet button in chain page (#3888)
## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the styling of the "Add to wallet" button in the `add-chain-to-wallet.tsx` component.

### Detailed summary
- Updated the `className` of the button to include `gap-2` for spacing
- Adjusted the Spinner size with the class `size-3`

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

<!-- end pr-codex -->
2024-07-31 19:16:32 +00:00
f925451c15 Version Packages (#3874)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-08-01 06:45:44 +12:00
gregfromstl fd30702ffd fix(thirdweb): mobile auth (#3886)
### TL;DR

Improved social authentication flexibility by adding support for an optional `redirectUrl` parameter and a new `mobile` mode.

### What changed?

- `getLoginPath.ts`: Added handling for `redirectUrl` and a new mode `mobile`.
- `native-auth.ts`: Updated social login to use `mobile` mode and include `redirectUrl`.
- `auth/middleware.ts`: Enhanced error handling for recovery codes by attempting fallback recovery code method.
- `native-connector.ts`: Fixed typo in console error message and ensured `redirectUrl` defaults correctly for native social logins.

### How to test?

1. Initiate a social login with the added `mobile` mode and verify if the `redirectUrl` functions correctly.
2. Trigger an error scenario in recovery code fetching and check that the fallback method is attempted and appropriate error is thrown if both fail.
3. Check the console for corrected error messages.

### Why make this change?

To increase the robustness and flexibility of social authentication by supporting mobile specific workflows and enhanced error resilience.

---

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance mobile authentication in the thirdweb application by updating redirect URLs and recovery code handling.

### Detailed summary
- Updated authentication mode to "mobile" instead of "popup"
- Added `redirectUrl` parameter for mobile authentication
- Improved error handling for recovery code retrieval
- Modified login path generation to support mobile authentication

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

<!-- end pr-codex -->
2024-07-31 16:44:08 +00:00
Joaquim Verges 6cd279bc49 fix(ethers5adapter): correct transaction result nonces handling (#3885) 2024-07-31 22:19:28 +12:00
jnsdls 75cc5a6434 [Fix] Improve contract deploy logging and optimize Redis initialization (#3883)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor the Redis caching implementation by encapsulating the Redis instance creation and usage inside a function to avoid unnecessary calls during build.

### Detailed summary
- Encapsulated Redis instance creation and usage inside a function `getRedis()`
- Refactored cache functions to use `getRedis()` function for Redis instance access

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

<!-- end pr-codex -->
2024-07-30 22:07:21 +00:00
kien-ngo e7d6161819 Add prebuilt component: CreateDirectListingButton (#3881)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds a `CreateDirectListingButton` component for the Marketplace v3, allowing users to create direct listings for NFTs.

### Detailed summary
- Added `CreateDirectListingButton` component
- Updated `getPayMetadata` function
- Added test file for `CreateDirectListingButton`
- Updated `CreateDirectListingButton` component implementation

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

<!-- end pr-codex -->
2024-07-30 21:51:19 +00:00
MananTank 4171f1536d Improved error messages when connection management hooks used outside ThirdwebProvider (#3882)
<!-- start pr-codex -->

## PR-Codex overview
This PR improves error messages for connection management hooks used outside `ThirdwebProvider`.

### Detailed summary
- Added `useConnectionManagerCtx` to provide specific error messages
- Updated hooks to use `useConnectionManagerCtx` instead of `useConnectionManager`

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

<!-- end pr-codex -->
2024-07-30 20:59:57 +00:00
MananTank 5eb495581d Fix autoconnect of wallets connected from "All wallets" screen (#3880)
FIXES: DASH-104

<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on fixing the `useAutoConnectCore` function in `useAutoConnect.ts` to handle auto-connect for wallets from the "All wallets" screen.

### Detailed summary
- Fixed autoConnect for wallets from "All wallets" screen
- Added `createWallet` import
- Updated logic to handle lastActiveWalletId not found in availableWallets

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

<!-- end pr-codex -->
2024-07-30 17:37:45 +00:00
MananTank 36172a0476 [dash] Use the correct chain in Smart Account deposit native funds transaction (#3879)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update the DepositNative component to include the chain information for better functionality.

### Detailed summary
- Updated `DepositNative` component in `account/page.tsx` to include `chain` information
- Added `mapStoredChainTov5Chain` function to map chain data in `map-chains.tsx`
- Imported `mapStoredChainTov5Chain` in `NetworkSelectorButton.tsx` and `deposit-native.tsx`

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

<!-- end pr-codex -->
2024-07-30 16:56:06 +00:00
kien-ngo cee989d41d (crusade) Dashboard v5 (#3876)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor components in the contract UI tabs to use `contractAddress` and `chainId` instead of passing the entire `contract` object.

### Detailed summary
- Refactored `DirectListingsTable` and `EnglishAuctionsTable` components to accept `contractAddress` and `chainId`
- Updated `CancelDirectListing` and `CancelEnglishAuction` components to use `contractAddress` and `chainId`
- Modified `MarketplaceTable` components to receive `contractAddress` and `chainId` instead of `contract` object

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/snapshot-upload.tsx`, `apps/dashboard/src/utils/tx-frame.ts`, `apps/dashboard/src/contract-ui/tabs/shared-components/listing-drawer.tsx`, `apps/dashboard/src/contract-ui/tabs/shared-components/cancel-tab.tsx`, `apps/dashboard/src/constants/currencies.ts`

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

<!-- end pr-codex -->
2024-07-30 16:42:41 +00:00
MananTank c55652f310 [dash] Fix wrong balance shown in Split contract (#3878)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `nativeBalanceQuery` function in `page.tsx` to use the `contractAddress` instead of `address`.

### Detailed summary
- Updated `nativeBalanceQuery` to use `contractAddress` instead of `address`

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

<!-- end pr-codex -->
2024-07-30 16:29:19 +00:00
MananTank 9246ecb1e6 [dashboard] Add missing chakra color in theme (#3877)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update the `backgroundCardHighlight` theme property in `apps/dashboard/src/theme/index.ts`.

### Detailed summary
- Updated `backgroundCardHighlight` property values
- Removed unused theme properties like `backgroundBody`, `wordmark`, `heading`, etc.

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

<!-- end pr-codex -->
2024-07-30 16:22:39 +00:00
jnsdls 337c8c953e [Feature] Add German localization for ConnectWallet and related components (#3875)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds German localization to the `thirdweb` package, including translations and locale updates for various wallet-related components.

### Detailed summary
- Added German localization to the `thirdweb` package
- Updated `LocaleId` type to include `"de_DE"`
- Added German translations for wallet connection screens and instructions
- Updated locale files for smart wallets, injected wallets, and shared wallets to include German translations

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

<!-- end pr-codex -->
2024-07-30 08:08:47 +00:00
IDubuque 7e21d93a77 add refund to substatus (#3856)
## Problem solved

- add refund status

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a new status "REFUNDED" to the `getStatus.ts` file and defines a new `SwapType` type with values "SAME_CHAIN" and "CROSS_CHAIN".

### Detailed summary
- Added status "REFUNDED" to possible statuses in `getStatus.ts`
- Defined new `SwapType` type with values "SAME_CHAIN" and "CROSS_CHAIN"

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

<!-- end pr-codex -->
2024-07-30 07:41:48 +00:00
jnsdls 97f7ad4d29 [Fix] Redirect CLI login to support page and remove CLI login route (#3872)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to temporarily redirect the CLI login page to a support page to troubleshoot device linking issues.

### Detailed summary
- Added a temporary redirect for `/cli/login` to a support page for troubleshooting device linking issues.

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

<!-- end pr-codex -->
2024-07-30 06:54:39 +00:00
jnsdls f702cf7216 [Fix] Ensure -k flag is included for key-requiring thirdweb CLI commands (#3871)
FIXES: DASH-50

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to temporarily disable CLI login and provide guidance on using secret keys for specific commands.

### Detailed summary
- Temporarily disable CLI login functionality
- Provide guidance on passing secret keys for specific commands
- Check for missing -k flag in certain commands

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

<!-- end pr-codex -->
2024-07-30 06:42:40 +00:00
Jonas Daniels 0797a56ba6 Update CODEOWNERS (#3873)
Signed-off-by: Jonas Daniels <[email protected]>
2024-07-29 23:41:51 -07:00
AmineAfia 76d35bd428 Add a status page to engine dashboard (#3848)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Added status page to engine
![CleanShot 2024-07-29 at 00 34 13@2x](https://github.com/user-attachments/assets/68b79b2b-7256-4015-89c9-0cc84a361ee8)

- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test: navigate to engine page and click on the statu snavigation in the left menu

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add system metrics functionality to the dashboard, including error rates and status codes.

### Detailed summary
- Added system metrics styling for charts
- Implemented system metrics components like `Healthcheck`, `ErrorRate`, and `StatusCodes`
- Updated `useEngineSystemHealth` hook with a polling interval parameter
- Updated UI components for better visualization of metrics

> The following files were skipped due to too many changes: `apps/dashboard/src/components/engine/system-metrics/components/StatusCodes.tsx`, `apps/dashboard/src/@/components/ui/chart.tsx`

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

<!-- end pr-codex -->
2024-07-30 06:19:09 +00:00
kien-ngo 24459b259b Update OG image for thirdweb.com/support (#3868)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add metadata for Open Graph support in the dashboard page.

### Detailed summary
- Added `metadata` object with title and openGraph properties
- Imported `Metadata` type from "next"
- Updated the title for Open Graph support on the dashboard page

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

<!-- end pr-codex -->
2024-07-30 05:01:26 +00:00
195064adf7 Version Packages (#3852)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-30 14:24:25 +12:00
Joaquim Verges bd44ce935e chore(thirdweb): better TSdocs + more exports (#3869) 2024-07-30 13:39:58 +12:00
gregfromstl 109575eba5 fix(react): update social button styling and behavior logic (#3867)
![Screenshot 2024-07-29 at 5.35.57 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/G5kV6fAq4H1wu10SVop6/b85da5cc-045e-47b9-bde4-e85321c2d802.png)

![Screenshot 2024-07-29 at 4.33.04 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/G5kV6fAq4H1wu10SVop6/36aa163a-2d6a-450f-879f-35a81078360a.png)

![Screenshot 2024-07-29 at 4.30.51 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/G5kV6fAq4H1wu10SVop6/587c10c8-ccd3-4578-a609-83842a037894.png)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR increases the minimum number of social logins displayed before switching to a different layout. It also adjusts the styling of the social login buttons.

### Detailed summary
- Increased minimum social logins displayed to 3
- Adjusted social login buttons layout based on the number of logins
- Updated styling for social login buttons to improve alignment and spacing

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

<!-- end pr-codex -->
2024-07-29 23:21:36 +00:00
kien-ngo e27ebef85b Prebuilt UI: BuyDirectListingButton for Marketplace v3 (#3847)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds a new prebuilt component `BuyDirectListingButton` for Marketplace v3 in Thirdweb.

### Detailed summary
- Added `BuyDirectListingButton` component for buying NFTs from a listing
- Includes necessary logic for preparing and executing transactions
- Provides detailed documentation and testing for the component

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

<!-- end pr-codex -->
2024-07-29 22:39:16 +00:00
Manan Tank f31e21196a [dashboard] Fix faucet filter in chainlist page (#3859) 2024-07-29 22:37:50 +00:00
dependabot[bot] 5f8c7976dc chore(deps): bump CodSpeedHQ/action from 2 to 3 (#3858)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 15:01:42 -07:00
dependabot[bot] 07cc040391 chore(deps): bump tailwind-merge from 2.3.0 to 2.4.0 (#3862)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 15:00:52 -07:00
kien-ngo 91edae58a7 <Crusade> Dashboard to v5 (#3843)
<!-- start pr-codex -->

## PR-Codex overview
This PR exposes `multicall` and `encodeSafeTransferFrom` extensions, adds `RequiredParam` type, and updates NFT UI components.

### Detailed summary
- Exposed `multicall` and `encodeSafeTransferFrom` extensions
- Added `RequiredParam` type
- Updated NFT UI components with new features and improvements

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/nfts/components/transfer-tab.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/burn-tab.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/airdrop-tab.tsx`

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

<!-- end pr-codex -->
2024-07-29 21:38:25 +00:00
kien-ngo 7ec421f0e7 Add util function: convertParamValues (#3854)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a utility function `parseAbiParams` to convert parameter values based on type for Solidity smart contracts.

### Detailed summary
- Added `parseAbiParams` function to convert parameter values
- Added tests for `parseAbiParams` function
- Utility for ensuring correct parameter formatting

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

<!-- end pr-codex -->
2024-07-29 21:21:46 +00:00
gregfromstl d5e546726a feat(thirdweb): adds useChainMetadata hook to retrieve metadata for a chain (#3857)
### TL;DR

This PR adds a new hook, `useChainMetadata`, to the thirdweb library. The hook allows developers to retrieve metadata for a specific blockchain, such as name, icon, available faucets, and block explorers.

### What changed?

- Added `useChainMetadata` hook in `thirdweb/react`.
- Deprecated `useChainQuery` hook.
- Updated documentation to reflect the new hook.

### How to test?

1. Import the `useChainMetadata` from `thirdweb/react`.
2. Call the hook with a chain defined using `defineChain`.
3. Check the returned metadata for correctness.

### Why make this change?

This change provides a more intuitive and documented way to retrieve chain metadata, replacing the deprecated `useChainQuery` hook. It enhances developer experience by offering a straightforward API to access chain-related information.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a new hook `useChainMetadata` to retrieve chain metadata in Thirdweb React. It also updates the `useChainQuery` hook to `useChainMetadata`.

### Detailed summary
- Added `useChainMetadata` hook to retrieve chain metadata
- Updated `useChainQuery` to `useChainMetadata`
- Improved documentation for `useChainMetadata`

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

<!-- end pr-codex -->
2024-07-29 21:02:05 +00:00
gregfromstl e26d0705f7 fix: passkey, email, phone auth (#3860)
### TL;DR
Updated the in-app wallet authentication logic to correctly handle redirect strategies. The previous logic incorrectly threw an error when the strategy was within the list of supported social authentication options.

### What changed?
Modified the condition to check if the strategy is included in the socialAuthOptions and call `connector.authenticateWithRedirect` accordingly.

### How to test?
1. Set up an in-app wallet with a supported social authentication strategy.
2. Initiate the authentication process and verify that the redirection occurs without errors.

### Why make this change?
Ensures that supported social authentication methods that require redirection are handled correctly without causing errors.

---
2024-07-29 20:44:32 +00:00
Manan Tank 77b852af16 Fix contract card height in dashboard (#3853) 2024-07-29 15:58:22 +00:00
Manan Tank 9b043315bf Disable system option in next-theme provider (#3855) 2024-07-29 21:17:13 +05:30
kien-ngo cdb2970806 ClaimButton to handle approval for ERC20 (#3846)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to handle ERC20 approval for the ClaimButton component in the Thirdweb package.

### Detailed summary
- Added `getPayMetadata` function to handle custom Pay metadata
- Updated `ClaimButton` component to handle ERC20 approval
- Utilized hooks for contract interaction and transaction handling

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

<!-- end pr-codex -->
2024-07-29 11:50:27 +00:00
gregfromstl dcfc9363fa docs: jsdoc content improvements (#3851)
### TL;DR

This PR enhances the `createThirdwebClient` and `download` functions by adding detailed descriptions, examples, and additional parameters.

### What changed?

1. `createThirdwebClient` function now includes options for `clientId` and `secretKey`.
2. `download` function now supports multiple URI schemes (IPFS, Arweave, HTTP) and includes examples for each.
3. Added `requestTimeoutMs` parameter to `download` function.
4. Improved JSDoc comments and examples for both functions.

### How to test?

- Create a Thirdweb client using both client ID and secret key, and test its functionality.
- Test downloading files using IPFS, Arweave, and HTTP URIs with different timeout settings.

### Why make this change?

These changes enhance the flexibility and usability of the Thirdweb client and download functions by providing more detailed documentation and additional configurable parameters. This aims to improve developer experience and clarity.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the Thirdweb SDK by adding the ability to create a client using a client ID or secret key and improving the file download functionality.

### Detailed summary
- Updated `createThirdwebClient` function to accept `clientId` and `secretKey`
- Added support for downloading files from IPFS, Arweave, or HTTP URIs in the `download` function
- Improved error handling and request timeout handling in the `download` function

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

<!-- end pr-codex -->
2024-07-29 05:00:49 +00:00
Jonas Daniels 78651115d2 Update CODEOWNERS (#3850)
Signed-off-by: Jonas Daniels <[email protected]>
2024-07-28 18:52:18 -07:00
kien-ngo 7abe1b528f Update templates demo links (#3849)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates homepage URLs for the `Vite Starter` and `Next Starter` templates to include `https://`.

### Detailed summary
- Updated homepage URL for `Vite Starter` template
- Updated homepage URL for `Next Starter` template

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

<!-- end pr-codex -->
2024-07-29 00:34:52 +00:00
YashandJoaquim Verges 2e549837f7 Add @component toshow component on components section in docs (#3832)
Co-authored-by: Joaquim Verges <[email protected]>
2024-07-28 16:51:01 -07:00
4f539ad8d4 Version Packages (#3837)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-28 09:04:01 +12:00
gregfromstl b551b69291 feat(react): add tabs to view assets screen (#3845)
1. Renamed `ViewFunds` to `ViewAssets` throughout the codebase for better clarity.
2. Updated file names and corresponding imports to reflect this change.
3. Modified the styling of the tabs on the `TransactionsScreen`.
4. Updated the grid layout and spacing in the `ViewNFTs` component.
5. Streamlined token viewing logic by creating reusable content components for tokens and NFTs in `ViewAssets`, `ViewNFTs`, and `ViewTokens`.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to restyle the View Assets Connect UI page and rename `ViewFunds` to `ViewAssets`.

### Detailed summary
- Restyled the View Assets Connect UI page
- Renamed `ViewFunds` component to `ViewAssets`
- Updated references and function names accordingly
- Added new components `ViewTokensContent` and `ViewNFTsContent`
- Updated UI layout and styling for better user experience

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

<!-- end pr-codex -->
2024-07-27 19:53:41 +00:00
gregfromstl 6901a41839 feat(react): adds tab icons to connect ui transactions page (#3844)
![Screenshot 2024-07-27 at 2.07.20 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/G5kV6fAq4H1wu10SVop6/006213aa-0e02-4b06-a3ec-335bcbb91069.png)
![Screenshot 2024-07-27 at 2.07.25 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/G5kV6fAq4H1wu10SVop6/acc841ae-cd8d-4e02-942c-4872aa2b4c2c.png)

### TL;DR
Improved the TransactionsScreen UI in the thirdweb package by adding new icons for better visualization and adjusted some layout styles for uniformity.

### What changed?
- Added CoinsIcon and FundsIcon for better tab representation in TransactionsScreen.tsx.
- Updated Tabs component to support labels with React nodes.
- Implemented padding and minHeight adjustments in BuyTxHistory and WalletTransactionHistory components.
- Conditionally rendered transaction history buttons only when transactions are available.

### How to test?
1. Navigate to the TransactionsScreen in the thirdweb package.
2. Verify that the tabs now display icons alongside text labels.
3. Check the layout adjustments in the transaction history components for proper spacing and padding.

### Why make this change?
To enhance the user experience by improving the visual representation of tabs and ensuring consistency in the layout of transaction history components.

---
2024-07-27 19:24:47 +00:00
kien-ngo d775333b40 Expose ERC20 extension: getApprovalForTransaction (#3831)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to expose a new ERC20 extension function `getApprovalForTransaction` for handling ERC20 token approvals.

### Detailed summary
- Exposed `getApprovalForTransaction` in `erc20.ts`
- Added `getApprovalForTransaction` function in `getApprovalForTransaction.ts`
- Defined `GetApprovalForTransactionParams` interface in `getApprovalForTransaction.ts`
- Provided detailed documentation and example usage for `getApprovalForTransaction`

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

<!-- end pr-codex -->
2024-07-27 18:44:11 +00:00
gregfromstl b0a303d5ef feat: farcaster login (#3827)
### TL;DR

Added Farcaster icon and login support to the thirdweb package.

### What changed?

- Added Farcaster icon to `socialIcons.ts` and `svgs.ts`
- Updated `WalletImage.tsx` to include Farcaster icon.
- Added Farcaster as a supported social login option throughout the codebase.

### How to test?

1. Ensure the Farcaster icon is rendered correctly by using the Farcaster login option.
2. Verify the Farcaster login flow works as expected on both web and native applications.

### Why make this change?

This update adds support for Farcaster as a social login option, enhancing the flexibility and options available to users for authentication.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds support for the "Farcaster" authentication option in various parts of the application.

### Detailed summary
- Added "Farcaster" as an authentication option
- Updated login and connection flows to include "Farcaster"
- Introduced Farcaster icons for web and native UI components
- Enhanced social auth login paths to support Farcaster

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/core/utils/socialIcons.ts`

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

<!-- end pr-codex -->
2024-07-27 06:24:10 +00:00
MananTank 95d90ea344 Explore page UI tweaks (#3840)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update UI components and improve code readability in the dashboard explore feature.

### Detailed summary
- Updated UI components in `ContractCard` and `PublishUpsellCard`
- Simplified `showSkeleton` logic in `ContractCard`
- Replaced `ChakraNextImage` with `Image` and `Button` components
- Reorganized JSX structure for better readability

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

<!-- end pr-codex -->
2024-07-27 03:48:11 +00:00
jnsdls 0da9703284 [Refactor] Remove unused TimeRangeSwitcher component (#3839) 2024-07-27 01:17:30 +00:00
MananTank 22f7a5ddb3 Update Explorer page layout to tailwind, add Modular contracts (#3836)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance the UI/UX of the dashboard explore section and components.

### Detailed summary
- Updated styling and layout for Explore page components
- Added `TrackedLinkTW` component for analytics tracking
- Introduced `isBeta` flag for contracts
- Improved UI consistency and accessibility across components

> The following files were skipped due to too many changes: `apps/dashboard/src/components/explore/upsells/deploy-your-own.tsx`, `apps/dashboard/src/components/explore/contract-card/index.tsx`

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

<!-- end pr-codex -->
2024-07-27 01:11:56 +00:00
Manan Tank 7cb39cdd2a Fix flash of dark theme when loading dashboard in light mode + replace useColorMode with useTheme (#3838) 2024-07-27 00:32:47 +00:00
Manan Tank b128530355 Move connection manager creation to context instead of global singleton (#3817) 2024-07-26 23:13:22 +00:00
kumaryash90 dd3ae00279 Refresh button for contract metadata (#3834)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a feature for refreshing contract metadata in the Contract Sources page.

### Detailed summary
- Added `RefreshContractMetadataButton` component for refreshing contract metadata
- Imported `useMutation` and `useQueryClient` from `@tanstack/react-query`
- Imported `toast` from `sonner`
- Updated `VerifyContractParams` type to `ContractParams`
- Modified function parameters in `verifyContract`
- Updated conditional check in `ContractSourcesPage`
- Added logic to handle refreshing contract metadata and invalidating queries

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

<!-- end pr-codex -->
2024-07-26 21:20:28 +00:00
jnsdls 676411898b [Feature] Add support for Webhooks in Pay UI component (#3810)
CLOSES: DASH-88, DASH-87, DASH-85, DASH-86

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the Pay UI in the dashboard by adding a new "Webhooks" tab with functionality to create, view, and delete webhooks.

### Detailed summary
- Added a new `WebhooksPage` component
- Integrated webhooks functionality with API calls
- Implemented create and delete webhook features with dialogs
- Updated UI components for webhooks management

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

<!-- end pr-codex -->
2024-07-26 21:06:34 +00:00
jnsdls 169b02020d [Fix] Update AppFooter layout: streamline class names and enhance social media links (#3833)
Refactored the AppFooter component in the dashboard app to simplify the DOM structure, clean up redundant class names and properties, and group social media icons more effectively. Adjusted the layout to use container and grid classes for better organization.

---
2024-07-26 19:42:02 +00:00
kien-ngo 794282533c Add Vanar CTA text (#3828)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `title` property in the `ChainMetadata` object in `utils.ts`.

### Detailed summary
- Updated the `title` property value in the `ChainMetadata` object to "Fully EVM compatible L1 for Entertainment".

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

<!-- end pr-codex -->
2024-07-26 16:05:31 +00:00
MananTank ebfcbd7051 Fix various UI issues/improvements in dashboard (#3829)
* Improved Dialog styles on mobile
* Use the correct color in form error message
* Fix z-index issue with footer
* Fix z-index issue with tab underline
* Fix padding for various other elements

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update styles and components in the dashboard layout.

### Detailed summary
- Added padding to a container in `layout.tsx`
- Updated form layout in `create-ticket.client.tsx`
- Adjusted styling in `sidebar.client.tsx`
- Enhanced uninstall dialog in `InstalledExtensionsTable.tsx`
- Modified classnames in `form.tsx`
- Revised dialog styles in `dialog.tsx`
- Refactored layout structure in `index.tsx`

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

<!-- end pr-codex -->
2024-07-26 15:12:22 +00:00
9eea6e17ab Version Packages (#3819)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-26 21:20:50 +12:00
jnsdls 74714ccf31 [Feature] Add AppFooter component and integrate it across the app (#3825)
- New `AppFooter` component added in `app-footer.tsx` under `components/blocks`.
- Replaced `DashboardFooter` with `AppFooter` in `dashboard/layout.tsx`.
- Deleted old `DashboardFooter` implementation.
- Updated social icons and layout in the footer.
- Adjusted `DashboardHeader` styles for consistency.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the footer component and layout in the dashboard app.

### Detailed summary
- Changed `DashboardFooter` to `AppFooter` in `DashboardLayout`
- Updated styles and content in `AppFooter`
- Removed `MobileBurgerMenu` import
- Updated button variant in `MobileBurgerMenu`
- Updated header layout in `DashboardHeader`

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

<!-- end pr-codex -->
2024-07-26 08:03:19 +00:00
Joaquim VergesandManan Tank 4a4a0612ed feat(pay): Add metadata support for purchase flows (#3750)
Co-authored-by: Manan Tank <[email protected]>
2024-07-26 20:00:51 +12:00
MananTank c7f8bea4bc Move faucet inside chain page layout + UI tweaks (#3824)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor the `faucet` page in the dashboard for a specific chain.

### Detailed summary
- Moved `getChain` import to a different path
- Reorganized `InfoCard` and added new headings with styling
- Updated `SpinWheel` component with `Skeleton` import and conditional rendering

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

<!-- end pr-codex -->
2024-07-26 00:09:33 +00:00
gregfromstl 3848327373 feat(thirdweb): adds redirect oauth (#3822)
### TL;DR

Added support for OAuth redirects in the In-App wallet authentication flow.

### What changed?

1. Introduced `auth.mode` with options `

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the ability to open OAuth windows as a redirect, beneficial for embedded applications like Telegram web apps.

### Detailed summary
- Added `mode: "redirect"` option for OAuth windows
- Implemented functions for OAuth redirection
- Updated authentication options for in-app wallets

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/core/hooks/wallets/useAutoConnect.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts`

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

<!-- end pr-codex -->
2024-07-25 23:33:31 +00:00
Firekeeper bff7a0af6f Unity 4.17.0 (#3812) 2024-07-25 14:49:19 -07:00
Manan Tank d25a169d47 Fix Modular contracts encodeAbi error when deploying (#3823) 2024-07-26 02:53:05 +05:30
Yash 9e0dd0194b Fix transaction count for modular deployments (#3820) 2024-07-26 01:29:37 +05:30
Manan Tank 3ffd555e15 Move /trending page inside dashboard layout (#3816) 2024-07-25 18:47:56 +00:00
Manan Tank 87dc9a5f90 Allow selecting non-connected wallet on sign-in screen in ConnectEmbed (#3815) 2024-07-25 18:26:53 +00:00
kien-ngo 6081ac7b18 chore: Remove more v4 code from Dashboard (#3813)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR exposes new types `NFTInput` and `NFTMetadata`, updates type imports, and adds `SUPPORTED_CHAIN_ID` type.

### Detailed summary
- Exposed types: `NFTInput` and `NFTMetadata`
- Updated type imports in various files
- Added `SUPPORTED_CHAIN_ID` type definition

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

<!-- end pr-codex -->
2024-07-25 17:31:36 +00:00
kien-ngo 80379a22e3 Give Dashboard > Marketplace section some luv (#3811)
Use this preview link to test:
https://thirdweb.com/avalanche-fuji/0x8C1D464B385A2B7EAa80dcAAD66DD8BC0256e717/direct-listings

<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance the listing details display in the dashboard UI.

### Detailed summary
- Added `Listing ID` and `Type` display sections
- Improved `Status` section with additional text for clarity
- Included `Price` section with currency value and symbol
- Commented out a TODO for adding a Buy button in the future

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

<!-- end pr-codex -->
2024-07-25 16:42:10 +00:00
kien-ngo 97a8405d4e Update Vanar page (thirdweb.com/vanar) (#3814)
Note: We are still waiting for the CTA text from them

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add support for the VANAR blockchain in the dashboard.

### Detailed summary
- Added support for VANAR blockchain in `utils.ts`
- Imported `vanarBanner` and `vanarCTABG` images
- Defined metadata for VANAR blockchain in `chainMetaRecord`

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

<!-- end pr-codex -->
2024-07-25 16:37:02 +00:00
jnsdls 26c7cf17d1 [Refactor] Remove radix toast dependencies and related components (#3808)
### TL;DR

This PR refactors the dashboard application by removing the custom toast component and its dependencies, and migrating to the 'sonner' library for toasts. Key changes include the deletion of toast-related components and utilities, adjustments to the `ExportToCSVButton` component to use 'sonner' for toast notifications, and the streamlining of `package.json` and `pnpm-lock.yaml` files.

### What changed?

- Removed custom toast components (`toast.tsx`, `toaster.tsx`, `use-toast.ts`).
- Updated `ExportToCSVButton.tsx` to use 'sonner' for toast notifications.
- Removed `@radix-ui/react-toast` dependency from `package.json` and `pnpm-lock.yaml`.
- Cleaned up `package.json` and `pnpm-lock.yaml` by removing the old toast dependencies.

### How to test?

1. Export a CSV in the dashboard and confirm that toast notifications appear correctly.
2. Check the application for any missing toast notifications that might indicate issues with the migration.

### Why make this change?

The custom toast implementation was redundant with the introduction of the 'sonner' library, which provides a more efficient and streamlined approach to toast notifications. This migration simplifies the codebase and reduces dependencies.

---
2024-07-25 05:34:06 +00:00
jnsdls df4e58b754 [Fix] Remove redundant z-index values in dialog and toast components (#3807) 2024-07-25 05:02:12 +00:00
GWSzeto d6bbca576b Explorer page to show transaction information (#3674)
- ETH RPC calls to block, transaction and receipt
- TODO: tooltips (copy from blockscout), replace in ENS names where appropriate, decode input data, detect whether it's a transfer or contract interaction, event logs page

### What it looks like
<img width="1055" alt="Screenshot 2024-07-12 at 11 00 23 AM" src="https://github.com/user-attachments/assets/182f392a-1f2a-4323-ab55-706374060b4a">

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on restructuring file paths and importing components for better organization in the dashboard chain pages.

### Detailed summary
- Moved components to `(chainPage)` directory for clarity
- Updated import paths for components in various files
- Refactored file paths for consistency and organization

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/tx/[txHash]/page.tsx`

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

<!-- end pr-codex -->
2024-07-25 04:49:46 +00:00
Jonas Danielsandgithub-actions[bot] 79e34e1f81 Version Packages (#3794)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-24 21:46:52 -07:00
dependabot[bot] 284cfdf95c chore(deps): bump typedoc from 0.25.13 to 0.26.5 (#3780)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-24 21:26:56 -07:00
dependabot[bot]anddependabot 83517fbe08 chore(deps-dev): bump @testing-library/jest-dom from 6.4.6 to 6.4.7 (#3778)
Co-authored-by: dependabot <[email protected]>
2024-07-24 21:26:28 -07:00
9cc9f05f68 fix: bun detect (#3791)
Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-07-24 21:26:08 -07:00
dependabot 25b07c4ee7 chore(deps): bump next from 14.2.4 to 14.2.5 (#3776)
Bumps [next](https://github.com/vercel/next.js) from 14.2.4 to 14.2.5.
<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>v14.2.5</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>avoid merging global css in a way that leaks into other chunk groups (<a href="https://redirect.github.com/vercel/next.js/issues/67373">#67373</a>)</li>
<li>Fix server action edge redirect with middleware rewrite (<a href="https://redirect.github.com/vercel/next.js/issues/67148">#67148</a>)</li>
<li>fix(next): reject protocol-relative URLs in image optimization (<a href="https://redirect.github.com/vercel/next.js/issues/65752">#65752</a>)</li>
<li>fix(next-swc): correct path interop to filepath for wasm (<a href="https://redirect.github.com/vercel/next.js/issues/65633">#65633</a>)</li>
<li>Use addDependency to track metadata route file changes (<a href="https://redirect.github.com/vercel/next.js/issues/66714">#66714</a>)</li>
<li>Fix noindex is missing on static not-found page (<a href="https://redirect.github.com/vercel/next.js/issues/67135">#67135</a>)</li>
<li>perf: improve retrieving versionInfo on Turbo HMR (<a href="https://redirect.github.com/vercel/next.js/issues/67309">#67309</a>)</li>
<li>fix(next/image): handle invalid url (<a href="https://redirect.github.com/vercel/next.js/issues/67465">#67465</a>)</li>
<li>fix(next): initial prefetch cache not set properly with different search params (<a href="https://redirect.github.com/vercel/next.js/issues/65977">#65977</a>)</li>
<li>fix: Backport class properties fix (<a href="https://redirect.github.com/vercel/next.js/issues/67377">#67377</a>)</li>
<li>Upgrade acorn (<a href="https://redirect.github.com/vercel/next.js/issues/67592">#67592</a>)</li>
</ul>
<h3>Misc</h3>
<ul>
<li>Log stdio for pull-turbo-cache script (<a href="https://redirect.github.com/vercel/next.js/issues/66759">#66759</a>)</li>
<li>Ensure turbo is setup when building in docker (<a href="https://redirect.github.com/vercel/next.js/issues/66804">#66804</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a href="https://github.com/devjiwonchoi"><code>@​devjiwonchoi</code></a>, <a href="https://github.com/ijjk"><code>@​ijjk</code></a>, <a href="https://github.com/emmerich"><code>@​emmerich</code></a>, <a href="https://github.com/huozhi"><code>@​huozhi</code></a>,  <a href="https://github.com/kdy1"><code>@​kdy1</code></a>, <a href="https://github.com/kwonoj"><code>@​kwonoj</code></a>, <a href="https://github.com/styfle"><code>@​styfle</code></a>, and <a href="https://github.com/sokra"><code>@​sokra</code></a> for helping!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/vercel/next.js/commit/0bf7f52db8b2c1e0b13d332de105fab645240e1e"><code>0bf7f52</code></a> v14.2.5</li>
<li><a href="https://github.com/vercel/next.js/commit/30d6dfc8bb97dfa674033c27e5c6a09d6d8e11f0"><code>30d6dfc</code></a> fix: metadata route merging conflicts</li>
<li><a href="https://github.com/vercel/next.js/commit/186ec6b58b0e6cd74a00f72c3bf2d7e1fe1941aa"><code>186ec6b</code></a> Log stdio for pull-turbo-cache script (<a href="https://redirect.github.com/vercel/next.js/issues/66759">#66759</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/45656d3323d164cf3917a8d6ea21b1a4f34a9844"><code>45656d3</code></a> Ensure turbo is setup when building in docker (<a href="https://redirect.github.com/vercel/next.js/issues/66804">#66804</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/08e7fd1f010077b13e29a59ce0a5edc50e4886ec"><code>08e7fd1</code></a> Upgrade acorn (<a href="https://redirect.github.com/vercel/next.js/issues/67592">#67592</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/1d08dab887a349ebd010e99201fd64000d030066"><code>1d08dab</code></a> avoid merging global css in a way that leaks into other chunk groups (<a href="https://redirect.github.com/vercel/next.js/issues/67373">#67373</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/21a9d591412e2dd0473808216c8edce854d27d88"><code>21a9d59</code></a> Fix server action edge redirect with middleware rewrite (<a href="https://redirect.github.com/vercel/next.js/issues/67148">#67148</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/1b10b13a7486d223df87d82e93b75eac2e8ed65a"><code>1b10b13</code></a> fix(next): reject protocol-relative URLs in image optimization (<a href="https://redirect.github.com/vercel/next.js/issues/65752">#65752</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/c64c61d8a8c06d4c6f8d8c773a662c12ac20635e"><code>c64c61d</code></a> fix(next-swc): correct path interop to filepath for wasm (<a href="https://redirect.github.com/vercel/next.js/issues/65633">#65633</a>)</li>
<li><a href="https://github.com/vercel/next.js/commit/6c661d2ce5126de18abb8f6326e79725dbd5493c"><code>6c661d2</code></a> Use addDependency to track metadata route file changes (<a href="https://redirect.github.com/vercel/next.js/issues/66714">#66714</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/vercel/next.js/compare/v14.2.4...v14.2.5">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=14.2.4&new-version=14.2.5)](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 Next.js version to 14.2.5 in multiple packages and dependencies.

### Detailed summary
- Updated Next.js version to 14.2.5 in `wallet-ui`, `playground-web`, `dashboard`
- Updated `next-auth` to version 4.24.7
- Updated `typescript` to version 5.5.2

> 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-07-25 03:34:07 +00:00
Joaquim Verges b27c842f26 chore(claim-button): add ClaimButton component changeset (#3806) 2024-07-25 15:14:47 +12:00
dependabot 10c292d7bd chore(deps): bump viem from 2.16.5 to 2.17.10 (#3783)
Bumps [viem](https://github.com/wevm/viem) from 2.16.5 to 2.17.10.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/wevm/viem/releases">viem's releases</a>.</em></p>
<blockquote>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/2513">#2513</a> <a href="https://github.com/wevm/viem/commit/3af06fe23dda1f44d43b3d3cec5d985894c2840a"><code>3af06fe</code></a> Thanks <a href="https://github.com/hoangtan282"><code>@​hoangtan282</code></a>! - Added Funki Mainnet.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/2519">#2519</a> <a href="https://github.com/wevm/viem/commit/01cdac14d508fbae50a31492e244b7adbe858bab"><code>01cdac1</code></a> Thanks <a href="https://github.com/cbfyi"><code>@​cbfyi</code></a>! - Added dispute game factory address for Base Sepolia.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/2515">#2515</a> <a href="https://github.com/wevm/viem/commit/b7e4fa518b1798741cf029f34ed3154695ab3a16"><code>b7e4fa5</code></a> Thanks <a href="https://github.com/JoeyKhd"><code>@​JoeyKhd</code></a>! - Added Root Network chain.</p>
</li>
</ul>
<h2>[email protected].9</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github.com/wevm/viem/commit/b71e656e08dadc44e2c1eccb5f505f70ce4d3aaf"><code>b71e656e</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Exported types required for inference.</li>
</ul>
<h2>[email protected].8</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github.com/wevm/viem/commit/690cb9a78a801edf7ea3ab1d8cf1a0cd794fc32a"><code>690cb9a7</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Exported types required for inference.</li>
</ul>
<h2>[email protected].7</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github.com/wevm/viem/commit/7d3d505221d4bb2ccc002be1cddc9e2011e33c01"><code>7d3d505</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Allow override of <code>Content-Type</code> header on <code>http</code> transport.</p>
</li>
<li>
<p><a href="https://github.com/wevm/viem/commit/aa42f47fe8b5ce19858e5855ecdceae7000dbb92"><code>aa42f47</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Updated Darwinia chain explorer URL.</p>
</li>
<li>
<p><a href="https://github.com/wevm/viem/commit/759e34dde23ca50275d9e4df38805e8f0b285753"><code>759e34d</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Enforced <code>r</code> and <code>s</code> hex values on <code>Signature</code> to be always padded to 32 bytes.</p>
</li>
</ul>
<h2>[email protected].5</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/wevm/viem/pull/2500">#2500</a> <a href="https://github.com/wevm/viem/commit/f6d60054bdcf8ada44c8af46b66eda50b05dd08b"><code>f6d60054</code></a> Thanks <a href="https://github.com/lucadonnoh"><code>@​lucadonnoh</code></a>! - Added OP Stack contract addresses for Mode Testnet chain.</li>
</ul>
<h2>[email protected].4</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/wevm/viem/pull/2493">#2493</a> <a href="https://github.com/wevm/viem/commit/ef3601d1db04e41c993943c0cfc72d3a64bbb6db"><code>ef3601d</code></a> Thanks <a href="https://github.com/billalxcode"><code>@​billalxcode</code></a>! - Added DreyerX Testnet chain</li>
</ul>
<h2>[email protected].3</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github.com/wevm/viem/commit/ec3b0e08f0a379249224e65092277191f1a8502b"><code>ec3b0e0</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Added fallback verification in <code>verifyHash</code>.</li>
</ul>
<h2>[email protected].2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/2479">#2479</a> <a href="https://github.com/wevm/viem/commit/5028b3fb723100e49ca9b301405360b23c2a1003"><code>5028b3f</code></a> Thanks <a href="https://github.com/keyding"><code>@​keyding</code></a>! - Added Artela Testnet chain.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/2478">#2478</a> <a href="https://github.com/wevm/viem/commit/795ca46cf93bc496abb23a5b868ea48bd80860ae"><code>795ca46</code></a> Thanks <a href="https://github.com/sj719045032"><code>@​sj719045032</code></a>! - Added zkLink Nova Sepolia Testnet chain.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/wevm/viem/commit/8e3c9ec058885ac94f5b3a3d8f38eee201130ab5"><code>8e3c9ec</code></a> chore: bump size</li>
<li><a href="https://github.com/wevm/viem/commit/892d62fd17d14e60cfcb36caa671516caee990c4"><code>892d62f</code></a> chore: version package (<a href="https://redirect.github.com/wevm/viem/issues/2520">#2520</a>)</li>
<li><a href="https://github.com/wevm/viem/commit/01cdac14d508fbae50a31492e244b7adbe858bab"><code>01cdac1</code></a> feat: add dispute game factory address for Base Sepolia (<a href="https://redirect.github.com/wevm/viem/issues/2519">#2519</a>)</li>
<li><a href="https://github.com/wevm/viem/commit/7e17bb1b7413cb9d9f406c6d274511a6c8b7eef4"><code>7e17bb1</code></a> chore: up solady test</li>
<li><a href="https://github.com/wevm/viem/commit/b7e4fa518b1798741cf029f34ed3154695ab3a16"><code>b7e4fa5</code></a> feat: add root and root poricini (<a href="https://redirect.github.com/wevm/viem/issues/2515">#2515</a>)</li>
<li><a href="https://github.com/wevm/viem/commit/c3fac1be047cac22b3e0e1bd154038754b2b583e"><code>c3fac1b</code></a> chore: tweak funkiMainnet</li>
<li><a href="https://github.com/wevm/viem/commit/42c197776b300c5c44f09e86157fa344ddc2659f"><code>42c1977</code></a> chore: format</li>
<li><a href="https://github.com/wevm/viem/commit/3af06fe23dda1f44d43b3d3cec5d985894c2840a"><code>3af06fe</code></a> feat: add Funki Mainnet (<a href="https://redirect.github.com/wevm/viem/issues/2513">#2513</a>)</li>
<li><a href="https://github.com/wevm/viem/commit/3354c46174cdb7e86036bf28b696a0ce6cf982d5"><code>3354c46</code></a> docs: add missing <code>http</code> import in the config file example (<a href="https://redirect.github.com/wevm/viem/issues/2517">#2517</a>)</li>
<li><a href="https://github.com/wevm/viem/commit/752680e14df5ef6b4afcff5c2b9a2ecd1491f1a7"><code>752680e</code></a> chore: update nonceManager tests</li>
<li>Additional commits viewable in <a href="https://github.com/wevm/viem/compare/[email protected]@2.17.10">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=viem&package-manager=npm_and_yarn&previous-version=2.16.5&new-version=2.17.10)](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
The focus of this PR is updating the `viem` package version from `2.16.5` to `2.17.10` across multiple locations.

### Detailed summary
- Updated `viem` package version from `2.16.5` to `2.17.10` in multiple files
- Peer dependencies and dev dependencies updated to `[email protected]`

> 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-07-25 02:45:39 +00:00
kumaryash90 8599fbf4e0 Deploy modular core with default extensions (#3524)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces support for modular extensions in contract publishing forms.

### Detailed summary
- Added support for modular extensions in contract publishing forms
- Updated extension input fields to handle modular extensions
- Implemented extension installation parameters for modular extensions

> The following files were skipped due to too many changes: `apps/dashboard/src/components/contract-components/contract-publish-form/index.tsx`, `legacy_packages/sdk/src/evm/common/any-evm-utils/getModularDeploymentInfo.ts`, `legacy_packages/sdk/src/evm/core/sdk.ts`

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

<!-- end pr-codex -->
2024-07-25 02:18:44 +00:00
jnsdls 5c9af853fa [Refactor] Simplify RPC client map key usage in getRpcClient function (#3805)
### TL;DR
Fixes an issue with RPC client reuse to improve performance.

### What changed?
The change replaces the use of `chainId` with `rpcUrl` as the key in the `rpcClientMap` to ensure the correct RPC client is reused.

### How to test?
Test by running existing unit tests and functional tests for RPC client related functionality. Ensure that performance metrics show improvement in RPC client reuse scenarios.

### Why make this change?
This change is motivated by the need to improve performance by ensuring the RPC client is correctly reused.

---
2024-07-25 01:35:50 +00:00
joaquim-verges cb616f75ed fix(gas): correct gas estimation logic on Arbitrum Sepolia (#3804)
<!-- start pr-codex -->

## PR-Codex overview
This PR fixes gas estimation issues on Arbitrum Sepolia and ensures proper handling of zero `maxPriorityFeePerGas`.

### Detailed summary
- Fixed gas estimation for Arbitrum Sepolia
- Added test case for 0 `maxPriorityFeePerGas`
- Updated conditions for handling `maxPriorityFeePerGas` as `null`

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

<!-- end pr-codex -->
2024-07-25 00:36:07 +00:00
joaquim-verges c82c524e13 feat(smart): allow overriding nonce for smart accounts (#3782)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to allow overriding the nonce for smart accounts in the `thirdweb` package.

### Detailed summary
- Added the ability to override nonce for smart accounts
- Exported `generateRandomUint192` function
- Updated imports and added new functions in `userop.ts` file
- Modified `createUnsignedUserOp` function to use custom nonce logic

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

<!-- end pr-codex -->
2024-07-24 22:37:45 +00:00
joaquim-verges e7581fc5bd fix(tests): conditionally run ClaimButton tests based on TW_SECRET_KEY environment variable (#3803) 2024-07-24 22:32:07 +00:00
Manan Tank 8fa7eef5bc Add missing JSdoc tags for docs organization (#3802) 2024-07-24 20:40:38 +00:00
joaquim-verges 39b31d9d0c fix(tests): conditionally run tests based on TW_SECRET_KEY environment variable (#3790)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates test descriptions to conditionally run based on a secret key presence.

### Detailed summary
- Updated test descriptions to run conditionally with `runIf` based on `TW_SECRET_KEY`
- Added conditional execution for specific test cases
- Ensured tests run only if the secret key is present

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

<!-- end pr-codex -->
2024-07-24 19:57:35 +00:00
gregfromstl a51f53f531 fix: standardize RPC URL construction across the codebase (#3801)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on fixing the RPC URL construction for chains in the `thirdweb` package.

### Detailed summary
- Updated RPC URL construction in `IFrameWallet` for signing transactions and typed data
- Updated RPC URL construction in chain utilities for defining, caching, and converting chains

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

<!-- end pr-codex -->
2024-07-24 19:40:26 +00:00
gregfromstl b15118a34f fix(thirdweb): clean-up send funds styles (#3800)
### TL;DR

This pull request centers the text and aligns the spinner in the SendFunds button within the ConnectWallet screen.

### What changed?

- Added `textAlign: "center"` to the button style to center the text
- Moved the spinner alignment condition to ensure it appears correctly when the button is in a pending state

### How to test?

1. Navigate to the `ConnectWallet` screen
2. Trigger the `SendFunds` action
3. Verify that the button text is centered and the spinner is correctly aligned during pending state

### Why make this change?

This change improves the UI by ensuring the button text is consistently centered and the spinner is appropriately aligned during the fund sending process.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on making minor style fixes on the Connect UI Send Funds page.

### Detailed summary
- Updated the text element to be centered and multiline with a red color for error messages
- Adjusted the conditional rendering of the spinner to display only when sending funds is pending

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

<!-- end pr-codex -->
2024-07-24 19:17:08 +00:00
kien-ngo f4d44428b4 Dashboard cleanup (#3789)
- [x] Remove ethers.utils.isAddress
- [x] Remove useBalanceForAddress
- [x] Remove useTransferNativeToken

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates wallet balance functions and address validation in various components.

### Detailed summary
- Updated `getWalletBalance` function parameter from `account` to `address`
- Replaced `utils.isAddress` with `isAddress` for address validation
- Updated balance retrieval and address validation in multiple components
- Added new wallet balance hooks for fetching balances
- Refactored deposit functionality to use new wallet balance hooks

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

<!-- end pr-codex -->
2024-07-24 17:50:46 +00:00
jnsdls 634923ae29 [Fix] Handle non-SVG chain icons correctly in opengraph-image component (#3799) 2024-07-24 17:22:02 +00:00
Kien Ngo 15df5f7cbf Update middleware.ts (#3798) 2024-07-24 15:18:34 +00:00
kien-ngo 105e523ce4 Prebuilt UI: ClaimButton for all thirdweb Drop contracts (#3785)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a `ClaimButton` component for claiming tokens from thirdweb Drop contracts.

### Detailed summary
- Added `ClaimButton` component for thirdweb Drop contracts
- Defined types for different token claim parameters
- Implemented claim logic for ERC721, ERC1155, and ERC20 tokens
- Added tests for ERC721 and ERC1155 claim scenarios

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/ui/prebuilt/thirdweb/ClaimButton/ClaimButton.test.tsx`

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

<!-- end pr-codex -->
2024-07-24 10:19:35 +00:00
MananTank fc23b90c34 Dashboard color fixes (#3781)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update text colors across the application for better consistency and clarity.

### Detailed summary
- Updated text color classes to `text-success-text` and `text-destructive-text` for better clarity and consistency.
- Renamed background color class from `bg-destructive` to `bg-warning` for better semantics.
- Adjusted CSS variables for text colors to enhance readability and maintain consistency.

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

<!-- end pr-codex -->
2024-07-24 07:55:31 +00:00
gregfromstl a560af22a1 fix(dashboard): audited contract icon alignment (#3793)
### TL;DR

Improve the UI layout of the contract-card component by adjusting spacing and removing unnecessary Skeleton wrappers.

### What changed?

The `gap` property for the `Flex` component was increased from 0 to 1 to provide better spacing. The `Skeleton` wrappers around the `Icon` and `Text` components were removed for a cleaner design.

### How to test?

1. Go to the dashboard and navigate to the explore section.
2. Check the contract-card components and observe the new spacing and the absence of loading skeletons around the `Icon` and `Text`.

### Why make this change?

The change is aimed at improving the user interface by making the contract-card component cleaner and visually more appealing.

---
2024-07-24 07:43:09 +00:00
Joaquim Verges c51f7857e2 fix(gas): handle Polygon Amoy Gas Station fee data (#3796) 2024-07-24 13:29:09 +12:00
Manan Tank 5fabe66613 Fix XDC network sendTransaction issue (#3792) 2024-07-24 01:54:34 +05:30
kien-ngo 891bc988d6 update middleware to handle chainId: 404 (#3786)
<!-- start pr-codex -->

## PR-Codex overview
This PR ensures that the `possibleChainId` is not rewritten to the slug if it equals 404.

### Detailed summary
- Updated condition to exclude rewriting `possibleChainId` if it equals 404.

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

<!-- end pr-codex -->
2024-07-23 04:19:44 +00:00
MananTank 934ab63f6a Fix import contract not working in dashboard (#3784)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `useRegistry.ts` and `hooks.ts` files to include a new `account` value of `300000n`.

### Detailed summary
- Updated `useRegistry.ts` and `hooks.ts` with `account: 300000n` value
- Called `deployContext.nextStep()` after the changes

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

<!-- end pr-codex -->
2024-07-22 23:42:27 +00:00
e0e4ce016c Version Packages (#3768)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-23 10:22:02 +12:00
gregfromstl d3c83023f8 Auth Refactor (#3779)
### TL;DR
Improved the in-app wallet sign-in speed by refactoring OAuth path handling to make it more generic and efficient.

### What changed?
- Standardized the OAuth path handling to make it more generic and reusable across multiple providers.
- Updated `getLoginPath` to `getSocialAuthLoginPath` for OAuth providers like Google, Facebook, Apple, and Discord.
- Improved login speed and reduced redundancy by streamlining the OAuth path logic.
- Removed outdated and redundant code related to individual OAuth provider handling.

### How to test?
1. Test the sign-in process using various OAuth providers such as Google, Facebook, Apple, and Discord.
2. Ensure the redirection and sign-in speed are improved.
3. Verify that the in-app wallet sign-in works seamlessly without any errors.

### Why make this change?
The changes were necessary to optimize and standardize the OAuth sign-in process, improving the overall user experience. The previous implementation had redundant code for individual providers, which was refactored to be more efficient and easier to maintain.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR improves in-app wallet sign-in speed by updating authentication strategies and paths.

### Detailed summary
- Updated OAuth authentication strategy to `SocialAuthOption`
- Improved login path retrieval for social authentication providers
- Refactored Discord-specific authentication to generic OAuth approach

> The following files were skipped due to too many changes: `packages/thirdweb/src/wallets/in-app/native/auth/native-auth.ts`

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

<!-- end pr-codex -->
2024-07-22 20:58:26 +00:00
gregfromstl a9a3f0f423 fix(deploy): add missing version argument in computeDeploymentInfoFromContractId function (#3769)
Fix deterministic deploys with specified versions by adding the 'version' argument to the 'computeDeploymentInfoFromContractId' function.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing deterministic deploys with specified versions in the `compute-published-contract-deploy-info.ts` file under `thirdweb` package.

### Detailed summary
- Added `version` field to `computePublishedContractDeployInfo` function parameters.
- Utilizes the specified version for deterministic deployments.

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

<!-- end pr-codex -->
2024-07-22 17:34:29 +00:00
jnsdls 3de2dce384 [Feature] Add placeholder chain to provider setup and custom SDK context, make middleware method async (#3773)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance the app setup process by adding placeholder chains and improving dynamic routing.

### Detailed summary
- Added `PLACEHOLDER_CHAIN` object in `Billing.tsx` and `provider-setup.tsx`
- Updated context with placeholder chain if configured chains are empty
- Added dynamic routing logic in `middleware.ts` for chain IDs

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

<!-- end pr-codex -->
2024-07-22 15:28:44 +00:00
kien-ngo 4d392efc0c Hotfix: avoid page crash on loading :chainId/contractAddress (#3772)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates a conditional check in the file `apps/dashboard/src/pages/[chain_id]/[...paths].tsx`.

### Detailed summary
- Updated conditional check for `configuredChain` to compare `getDashboardChainRpc` values for different chain IDs.

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

<!-- end pr-codex -->
2024-07-22 15:07:34 +00:00
kumaryash90 f082af0403 Proxy resolution with storage slot (#3687)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on fixing proxy resolution in the `thirdweb` package. It includes updates to contract deployment and implementation extraction logic.

### Detailed summary
- Fixed proxy resolution in `resolveImplementation.ts`
- Added tests for extracting implementation address
- Updated proxy bytecode and constructor ABI for ERC1967 proxy
- Added `DUMMY_BYTECODE` for contract deployment

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

<!-- end pr-codex -->
2024-07-22 14:24:10 +00:00
jnsdls b07f9207a4 [Feature] Add Ecosystem Wallet Pricing Card component and integrate it across pages (#3770) 2024-07-22 10:52:50 +00:00
kien-ngo 9f555cab0d Dashboard: removal of @thirdweb-dev/chains (#3766)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update chain definitions and RPC URLs, improve network configuration, and enhance contract component utilities.

### Detailed summary
- Updated chain definitions for various networks
- Adjusted RPC URLs in network configuration
- Enhanced contract component utilities with new features

> The following files were skipped due to too many changes: `packages/thirdweb/src/chains/chain-definitions/polygon-zkevm-testnet.ts`, `packages/thirdweb/src/chains/chain-definitions/scroll-sepolia-testnet.ts`, `packages/thirdweb/src/chains/chain-definitions/manta-pacific-testnet.ts`, `packages/thirdweb/src/chains/chain-definitions/scroll-alpha-testnet.ts`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useActiveChainId.tsx`, `apps/dashboard/src/lib/ens.ts`, `apps/dashboard/src/components/custom-contract/contract-header/contract-metadata.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useApi.ts`, `apps/dashboard/package.json`, `apps/dashboard/src/components/custom-contract/contract-header/metadata-header.tsx`, `apps/dashboard/src/constants/chains.ts`, `apps/dashboard/src/hooks/chains/configureChains.ts`, `apps/dashboard/src/lib/rpc.ts`, `apps/dashboard/src/pages/[chain_id]/[...paths].tsx`, `apps/dashboard/src/utils/tx-frame.ts`, `.changeset/beige-seas-design.md`, `apps/dashboard/src/utils/fetchChain.ts`, `apps/dashboard/src/components/settings/Account/Billing/CreditsItem.tsx`, `apps/dashboard/src/pages/publish/[...paths].tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useFavoriteChains.ts`, `apps/dashboard/src/components/wallets/ConnectWalletPlayground/PreviewThirdwebProvider.tsx`, `apps/dashboard/src/lib/v5-adapter.ts`, `apps/dashboard/src/pages/profile/[profileAddress].tsx`, `apps/dashboard/src/@3rdweb-sdk/react/components/popularChains.ts`, `apps/dashboard/src/components/engine/overview/transactions-table.tsx`, `apps/dashboard/src/components/explore/contract-card/index.tsx`, `apps/dashboard/src/pages/api/revalidate/publish.ts`, `apps/dashboard/src/components/smart-wallets/AccountFactories/factory-contracts.tsx`, `apps/dashboard/src/components/smart-wallets/AccountFactories/index.tsx`, `apps/dashboard/src/components/contract-components/contract-publish-form/index.tsx`, `apps/dashboard/src/contexts/all-chains.tsx`, `apps/dashboard/src/components/app-layouts/provider-setup.tsx`, `apps/dashboard/src/components/shared/DeprecatedAlert.tsx`, `apps/dashboard/src/contract-ui/tabs/embed/components/embed-setup.tsx`, `apps/dashboard/src/constants/currencies.ts`, `packages/thirdweb/src/exports/chains.ts`, `apps/dashboard/src/contexts/configured-chains.tsx`, `apps/dashboard/src/components/contract-components/hooks.ts`, `pnpm-lock.yaml`, `apps/dashboard/src/lib/wallet/nfts/types.ts`

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

<!-- end pr-codex -->
2024-07-22 10:22:37 +00:00
kien-ngo 26d825bc4f Lens extensions (no Playground) (#3764)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds extension support for the Lens Protocol, updates text in a component, and includes various changes related to Lens metadata handling.

### Detailed summary
- Added extension support for Lens Protocol
- Updated text in SponsorshipPolicies component
- Added functions in various Lens-related JSON files
- Modified test files to use `MAX_UINT256`
- Updated Lens profile schema and metadata attributes
- Added tests for Lens protocol functions and metadata retrieval

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/lens/read/getHandleFromProfileId.test.ts`, `packages/thirdweb/src/extensions/lens/consts.ts`, `packages/thirdweb/src/extensions/lens/read/getHandleFromProfileId.ts`, `packages/thirdweb/src/extensions/lens/read/getProfileMetadata.ts`, `packages/thirdweb/src/extensions/lens/__generated__/FollowNFT/read/getFollowerCount.ts`, `packages/thirdweb/src/extensions/lens/__generated__/LensHandle/read/getHandleTokenURIContract.ts`, `packages/thirdweb/src/extensions/lens/read/getFullProfile.ts`, `packages/thirdweb/src/extensions/lens/__generated__/LensHub/read/nonces.ts`, `packages/thirdweb/src/extensions/lens/__generated__/LensHub/read/exists.ts`, `packages/thirdweb/src/extensions/lens/__generated__/TokenHandleRegistry/read/nonces.ts`, `packages/thirdweb/src/extensions/lens/__generated__/TokenHandleRegistry/read/resolve.ts`, `packages/thirdweb/src/extensions/lens/__generated__/LensHandle/read/getHandle.ts`, `packages/thirdweb/src/extensions/lens/__generated__/LensHandle/read/getTokenId.ts`, `packages/thirdweb/src/extensions/lens/__generated__/LensHandle/read/getLocalName.ts`, `packages/thirdweb/src/extensions/lens/__generated__/FollowNFT/read/isFollowing.ts`, `packages/thirdweb/src/extensions/lens/__generated__/LensHub/read/tokenDataOf.ts`, `packages/thirdweb/src/extensions/lens/__generated__/LensHub/read/mintTimestampOf.ts`, `packages/thirdweb/src/extensions/lens/__generated__/FollowNFT/read/mintTimestampOf.ts`, `packages/thirdweb/src/extensions/lens/__generated__/ModuleRegistry/read/getModuleTypes.ts`, `packages/thirdweb/src/extensions/lens/__generated__/TokenHandleRegistry/read/getDefaultHandle.ts`, `packages/thirdweb/src/extensions/lens/__generated__/FollowNFT/read/getFollowTokenId.ts`, `packages/thirdweb/src/extensions/lens/__generated__/LensHub/read/getContentURI.ts`, `packages/thirdweb/src/extensions/lens/__generated__/FollowNFT/read/getFollowTimestamp.ts`, `packages/thirdweb/src/extensions/lens/__generated__/ModuleRegistry/read/isModuleRegistered.ts`, `packages/thirdweb/src/extensions/lens/__generated__/FollowNFT/read/getFollowerProfileId.ts`, `packages/thirdweb/src/extensions/lens/__generated__/FollowNFT/read/getFollowData.ts`, `packages/thirdweb/src/extensions/lens/__generated__/LensHub/read/getProfile.ts`, `packages/thirdweb/src/extensions/lens/__generated__/LensHub/read/getProfileIdByHandleHash.ts`, `packages/thirdweb/src/extensions/lens/__generated__/ModuleRegistry/read/isErc20CurrencyRegistered.ts`, `packages/thirdweb/src/extensions/lens/__generated__/FollowNFT/read/getOriginalFollowTimestamp.ts`, `packages/thirdweb/src/extensions/lens/__generated__/ModuleRegistry/read/isModuleRegisteredAs.ts`, `packages/thirdweb/src/extensions/lens/__generated__/FollowNFT/read/getProfileIdAllowedToRecover.ts`, `packages/thirdweb/src/extensions/lens/__generated__/LensHub/read/getPublication.ts`, `packages/thirdweb/src/exports/extensions/lens.ts`

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

<!-- end pr-codex -->
2024-07-21 08:29:50 +00:00
kien-ngo 11b2ad05ad Remove @thirdweb-dev/sdk from dashboard (partially) (#3767)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to expose `roleMap` and `getRoleHash` functions.

### Detailed summary
- Exposed `roleMap` and `getRoleHash` functions in `permissions.ts`
- Updated imports to use `thirdweb` instead of `@thirdweb-dev/sdk`
- Added `roleMap` import in `permissions` component
- Updated address resolution and validation in `airdrop-upload.tsx`

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

<!-- end pr-codex -->
2024-07-20 19:43:03 +00:00
kien-ngo a580e6a71e [Dashboard to v5] Remove ethers.constants, some ethers.utils, some other things (#3765)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor address-related functions and constants, consolidating them under `thirdweb` library.

### Detailed summary
- Refactored address-related functions and constants to use `thirdweb` library
- Updated imports and usage of `isAddress`, `ZERO_ADDRESS`, and `NATIVE_TOKEN_ADDRESS`
- Replaced `constants.AddressZero` with `ZERO_ADDRESS` where applicable

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/nfts/components/claim-tab.tsx`, `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/claim-conditions-form/index.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/airdrop-upload.tsx`, `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/snapshot-upload.tsx`, `apps/dashboard/src/contract-ui/tabs/split/page.tsx`, `apps/dashboard/src/contract-ui/tabs/permissions/components/permissions-editor.tsx`, `apps/dashboard/src/components/shared/CurrencySelector.tsx`, `apps/dashboard/src/contract-ui/tabs/permissions/components/contract-permission.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/cache-keys.ts`

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

<!-- end pr-codex -->
2024-07-20 18:51:54 +00:00
kien-ngo 0148864ebc Playground Auth without Supabase example (#3757)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance authentication and authorization features using Thirdweb for the `playground-web` app.

### Detailed summary
- Updated `client.ts` to handle secret key for Thirdweb client
- Modified authentication logic in `auth-button.tsx` and `basic-auth.tsx`
- Added gated content feature in `gated-content.tsx`
- Updated page layout and content for authentication in `page.tsx`

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

<!-- end pr-codex -->
2024-07-20 01:40:38 +00:00
9a29beb460 Version Packages (#3749)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-20 13:32:24 +12:00
MananTank 6a94696c7e Fix Wallet switcher icon position in wallet details modal (#3762)
<!-- start pr-codex -->

## PR-Codex overview
This PR fixes the wallet switcher icon position in the wallet details modal.

### Detailed summary
- Adjusted the wallet switcher icon position in `Modal.tsx`
- Updated the `borderRadius` in `buttons.tsx`
- Added a new `ShuffleIconLucide` component in `ShuffleIconLucide.tsx`
- Replaced `ShuffleIcon` with `ShuffleIconLucide` in `Details.tsx`

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

<!-- end pr-codex -->
2024-07-19 22:52:06 +00:00
kumaryash90 d6b2c259d9 Register zksync contract on multichain registry after deployment (#3717)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance the deployment process of contracts by adding a gas override option and improving the registration process on the multichain registry for ZkSync contracts.

### Detailed summary
- Added `gasOverride` option for contract deployment
- Improved ZkSync contract registration process
- Removed unnecessary contract registration function
- Updated contract deployment handling for ZkSync
- Refactored contract deployment logic and metadata handling

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

<!-- end pr-codex -->
2024-07-19 22:35:39 +00:00
Manan Tank 742207c8fe Fix Get started Billing form edit button not working (#3759) 2024-07-19 21:53:07 +00:00
gregfromstl ec3405b307 feat(react-native): add discord login (#3716)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds Discord login functionality to the React Native SDK, including new paths, UI changes, and authentication methods.

### Detailed summary
- Added Discord login feature to React Native SDK
- Updated UI components for Discord login
- Implemented Discord authentication methods
- Created new paths for Discord login
- Updated authentication middleware for Discord integration

> The following files were skipped due to too many changes: `packages/thirdweb/src/wallets/in-app/native/helpers/wallet/recoveryCode.ts`

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

<!-- end pr-codex -->
2024-07-19 21:19:31 +00:00
ElasticBottle 31ee4e53e2 feat(thirdweb): Add support for discord auth in in app wallet (#3678)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds Discord login option to thirdweb in-app and ecosystem wallets.

### Detailed summary
- Added Discord login option to in-app and ecosystem wallets
- Updated authentication constants and locales
- Implemented Discord login functionality
- Updated wallet images and social login components

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/wallets/shared/ConnectWalletSocialOptions.tsx`, `packages/thirdweb/src/react/native/ui/icons/svgs.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/auth/discord.ts`

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

<!-- end pr-codex -->
2024-07-19 21:19:27 +00:00
gregfromstl ec5ef50085 fix: correct typo in addSessionKey.ts file and update jsdocs with contract parameter (#3758) 2024-07-19 21:03:37 +00:00
gregfromstl 83cd9e5a8f fix(transaction): handle undefined predefinedGas value in estimate-gas and add test for 0 gas value (#3761)
### TL;DR

This pull request addresses a bug in the `estimateGas` function where a gas value of `0` is now respected instead of being overridden.

### What changed?

- Updated `estimateGas` function to properly handle and respect a gas value of `0`.
- Added a test case to ensure that a gas value of `0` does not throw an error and is correctly serialized.

### How to test?

- Run unit tests to ensure the new test case passes.

### Why make this change?

This change ensures that transactions explicitly set with a gas value of `0` are respected and not overridden, providing more accurate and expected behavior.

---
2024-07-19 20:41:08 +00:00
gregfromstl d8ea41dd4e fix(dashboard): replace Wrench icon with Pencil icon in partners table (#3760)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the icon used for editing partners in the partners table component.

### Detailed summary
- Updated icon for editing partners from `Wrench` to `Pencil` in `partners-table.tsx`

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

<!-- end pr-codex -->
2024-07-19 19:29:03 +00:00
870be083f7 fix(connect-ui): update Connect UI tabs styling with new design enhancements (#3746)
Co-authored-by: gregfromstl <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2024-07-19 19:18:28 +00:00
kien-ngo 56b34ce197 Allow to add extra call data to prepareContractCall (#3676)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances the `prepareContractCall` function in the `thirdweb` package to allow adding extra call data to transactions.

### Detailed summary
- Added support for extra call data in `prepareContractCall`
- Introduced internal functions to handle extra call data in transactions
- Updated tests to cover extra call data scenarios

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

<!-- end pr-codex -->
2024-07-19 17:38:36 +00:00
iuwqyir b7295f93c5 use workspace version for service-utils (#3756)
## Problem solved

Reverts back to workspace version for `service-utils` package

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the dependency resolution for `@thirdweb-dev/service-utils` and `@thirdweb-dev/dynamic-contracts`.

### Detailed summary
- Updated `@thirdweb-dev/service-utils` dependency resolution to `workspace:*`
- Removed specific dependencies for `@thirdweb-dev/[email protected]`
- Updated snapshot for `@thirdweb-dev/[email protected]`

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

<!-- end pr-codex -->
2024-07-19 17:25:24 +00:00
jnsdls 38ce393078 [Feature] Add Rootstock banner and CTA images and update chain metadata (#3755) 2024-07-19 17:09:30 +00:00
gregfromstl fde7ad5e93 fix(dashboard): add update partner form and refactor domain validation (#3747)
### TL;DR

This PR introduces new functionalities and updates aimed at improving partner management within the ecosystem section of the dashboard.

### What changed?

1. **Partner Update Feature**: Added a new form and modal to enable the updating of partner details, including name, domains, bundle IDs, and permissions.
2. **Refactored Domain Validation**: Moved domain validation regex to a constants file for improved code maintainability.
3. **UI Enhancements**: Updated UI components to include an edit button for partner details in the partners' table.
4. **Code Cleanup**: Removed redundant code and improved component structure for better readability.

### How to test?

1. Navigate to the ecosystem section in the dashboard.
2. Select a partner and click the edit button to open the update modal.
3. Update the partner details and save changes. Ensure that the details are updated correctly in the database and UI.

### Why make this change?

This change aims to enhance the user experience by allowing easier management of ecosystem partners directly from the dashboard. It also improves code maintainability and readability by refactoring existing components and validation logic.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates partner permission handling and refactors form validation in the ecosystem dashboard.

### Detailed summary
- Added `PartnerPermission` type and `isValidPermission` function
- Updated partner object permissions to use `PartnerPermission`
- Refactored form validation using `partnerFormSchema`
- Added `useUpdatePartner` hook for updating partners
- Updated UI components and modals for partner management

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/server/partners-table.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/update-partner-form.client.tsx`

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

<!-- end pr-codex -->
2024-07-19 16:38:07 +00:00
gregfromstl 713ff296fd fix(tests): update wait function test precision (#3754)
### TL;DR
Improve the precision of the wait function tests by changing the expectation from a simple greater-than-or-equal check to an absolute difference check within a margin of error of 10 milliseconds.

### What changed?
In `wait.test.ts` files located in the `thirdweb/src/react/core/utils/` and `thirdweb/src/utils/promise/` paths, the expectation `expect(elapsedTime).toBeGreaterThanOrEqual(waitTime)` was updated to `expect(Math.abs(elapsedTime - waitTime)).toBeLessThan(10)` to improve test accuracy by accounting for slight timing variations.

### How to test?
Run the test suites located in `thirdweb/src/react/core/utils/wait.test.ts` and `thirdweb/src/utils/promise/wait.test.ts` to ensure that they pass successfully with the updated precision checks.

### Why make this change?
The motivation behind this change is to enhance the reliability and precision of the wait function tests by accommodating minor variations in elapsed time, which can occur due to factors like system load and execution context.

---
2024-07-19 16:23:58 +00:00
iuwqyir af4acc4319 add chainsaw service description (#3745)
## Problem solved

Added chainsaw service description so it can be used for auth

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a new service called `chainsaw` to the service-utils package and updates dependencies and configurations related to it.

### Detailed summary
- Added `chainsaw` service definition in `service-utils`
- Updated dependencies and configurations for the `chainsaw` service
- Updated `service-utils` version to `0.4.36` in various files and lock files

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

<!-- end pr-codex -->
2024-07-19 15:56:20 +00:00
kien-ngo 091b6099e7 Update ancient8 banner (#3753)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates banner images and gradient styling in the dashboard for a better visual experience.

### Detailed summary
- Deleted `ancient8-banner.jpg` and updated to `ancient8-banner.png` for better quality.
- Changed gradient styling in the header for improved visual appeal.
- Updated imports of banner images in `utils.ts` to match file extensions.

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

<!-- end pr-codex -->
2024-07-19 15:04:09 +00:00
joaquim-verges aba1266431 fix(thirdweb): Handle minimum purchase amount errors in buy with crypto flow (#3751)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on handling the minimum amount in the buy-to-crypto flow.

### Detailed summary
- Updated error handling messages for buy with fiat and crypto flows
- Added functions to set token amount and track editing status
- Improved error messages display for minimum purchase amount
- Implemented functionality to set the minimum amount in the UI

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

<!-- end pr-codex -->
2024-07-19 05:23:39 +00:00
Joaquim Verges 24bcee24ea fix(RN): correct disconnect button color in light mode and other minor UI adjustments (#3748) 2024-07-19 14:52:02 +12:00
joaquim-verges c6741b42cd feat(pay): add async ERC20 value property to transaction options (#3661)
### TL;DR

This PR introduces support for ERC20 tokens in the transaction flow, allowing users to seamlessly interact with contracts that require ERC20 token payments.

### What changed?

1. Added ERC20 token handling in the `useSendTransaction` hook to check balance and prompt users to buy ERC20 if needed.
2. Integrated ERC20 token fields, such as `erc20Value`, into the transaction preparation and cost estimation processes.
3. Updated various contract-writing scripts to include `erc20Value` overrides where necessary.
4. Enhanced the UI in `TxModal` and `BuyScreen` to display and process ERC20 token transactions.
5. Added tests for ERC20 token transactions in the `drop721.test.ts` file.
6. Extended documentation and examples to include ERC20 token use cases in transaction flows.

### How to test?

1. Run the unit tests in the `drop721.test.ts` file to ensure ERC20 transactions are correctly processed.
2. Use the `useSendTransaction` hook in a sample component and attempt transactions with both native and ERC20 tokens.
3. Verify that the ERC20 token purchase prompt appears when balance is insufficient.

### Why make this change?

Adding ERC20 support enhances the flexibility and functionality of the transaction flow, making it easier for users to interact with a wider range of smart contracts that require different types of token payments.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on handling ERC20 transaction values in Pay components.

### Detailed summary
- Added `tokenDecimals` in `types.ts`
- Modified `title` in `PayEmbed.tsx` and `transferBatch.ts`
- Added `overrides` in `transfer.ts`, `transferFrom.ts`, `approve.ts`
- Added `erc20Value` in various transaction files
- Updated `prepare-transaction.ts` with `erc20Value`
- Added `erc20Value` in generated files for different ERC20 transactions

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/common/__generated__/IMulticall/write/multicall.ts`, `packages/thirdweb/src/extensions/erc20/__generated__/IMintableERC20/write/mintTo.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/IBurnableERC721/write/burn.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/IStaking721/write/withdraw.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IBundler/write/register.ts`, `packages/thirdweb/src/extensions/airdrop/__generated__/Airdrop/write/airdropERC20.ts`, `packages/thirdweb/src/extensions/airdrop/__generated__/Airdrop/write/claimERC1155.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IEntryPoint/write/addStake.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/IDelayedReveal/write/reveal.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/IERC721A/write/transferFrom.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IKeyGateway/write/addFor.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IMarketplace/write/buy.ts`, `packages/thirdweb/src/extensions/airdrop/__generated__/Airdrop/write/airdropERC721.ts`, `packages/thirdweb/src/extensions/airdrop/__generated__/Airdrop/write/setMerkleRoot.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IBurnableERC1155/write/burn.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IStaking1155/write/withdraw.ts`, `packages/thirdweb/src/extensions/erc20/__generated__/IBurnableERC20/write/burnFrom.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IEntryPoint/write/depositTo.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IEntryPoint/write/handleOps.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/IClaimableERC721/write/claim.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/IMintableERC721/write/mintTo.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IIdGateway/write/register.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IIdRegistry/write/recover.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IKeyRegistry/write/remove.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IOffers/write/makeOffer.ts`, `packages/thirdweb/src/extensions/airdrop/__generated__/Airdrop/write/airdropERC1155.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IEntryPoint/write/withdrawTo.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IIdRegistry/write/transfer.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IMarketplace/write/offer.ts`, `packages/thirdweb/src/extensions/modular/__generated__/ModularCore/write/grantRoles.ts`, `packages/thirdweb/src/extensions/prebuilts/__generated__/DropERC20/write/initialize.ts`, `packages/thirdweb/src/extensions/uniswap/__generated__/ISwapRouter/write/exactInput.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IClaimableERC1155/write/claim.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IMintableERC1155/write/mintTo.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IAccount/write/validateUserOp.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/IDrop/write/setClaimConditions.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/INFTMetadata/write/setTokenURI.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IStorageRegistry/write/rent.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IOffers/write/acceptOffer.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IOffers/write/cancelOffer.ts`, `packages/thirdweb/src/extensions/modular/__generated__/ModularCore/write/revokeRoles.ts`, `packages/thirdweb/src/extensions/prebuilts/__generated__/DropERC721/write/initialize.ts`, `packages/thirdweb/src/extensions/prebuilts/__generated__/TokenERC20/write/initialize.ts`, `packages/thirdweb/src/extensions/uniswap/__generated__/IQuoter/write/quoteExactInput.ts`, `packages/thirdweb/src/extensions/uniswap/__generated__/ISwapRouter/write/exactOutput.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/INFTMetadata/write/setTokenURI.ts`, `packages/thirdweb/src/extensions/erc20/__generated__/IAirdropERC20/write/airdropERC20.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/IERC721A/write/safeTransferFrom.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IIdGateway/write/registerFor.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IIdRegistry/write/recoverFor.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IKeyRegistry/write/removeFor.ts`, `packages/thirdweb/src/extensions/multicall3/__generated__/IMulticall3/write/aggregate.ts`, `packages/thirdweb/src/extensions/prebuilts/__generated__/DropERC1155/write/initialize.ts`, `packages/thirdweb/src/extensions/prebuilts/__generated__/Marketplace/write/initialize.ts`, `packages/thirdweb/src/extensions/prebuilts/__generated__/TokenERC721/write/initialize.ts`, `packages/thirdweb/src/extensions/thirdweb/__generated__/IRulesEngine/write/deleteRule.ts`, `packages/thirdweb/src/extensions/uniswap/__generated__/IQuoter/write/quoteExactOutput.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IERC1155/write/safeTransferFrom.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IStaking1155/write/claimRewards.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IEntryPoint/write/withdrawStake.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/IERC721A/write/setApprovalForAll.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IIdRegistry/write/transferFor.ts`, `packages/thirdweb/src/extensions/modular/__generated__/ModularCore/write/renounceRoles.ts`, `packages/thirdweb/src/extensions/multicall3/__generated__/IMulticall3/write/aggregate3.ts`, `packages/thirdweb/src/extensions/prebuilts/__generated__/TokenERC1155/write/initialize.ts`, `packages/thirdweb/src/extensions/airdrop/__generated__/Airdrop/write/airdropNativeToken.ts`, `packages/thirdweb/src/extensions/common/__generated__/IRoyaltyPayments/write/getRoyalty.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IBurnableERC1155/write/burnBatch.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IERC1155/write/setApprovalForAll.ts`, `packages/thirdweb/src/extensions/erc20/__generated__/IAirdropERC20Claimable/write/claim.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IEntryPoint/write/incrementNonce.ts`, `packages/thirdweb/src/extensions/permissions/__generated__/IPermissions/write/grantRole.ts`, `packages/thirdweb/src/extensions/thirdweb/__generated__/ITWMultichainRegistry/write/add.ts`, `packages/thirdweb/src/extensions/uniswap/__generated__/IUniswapV3Factory/write/setOwner.ts`, `packages/thirdweb/src/extensions/erc20/__generated__/IDropERC20/write/setClaimConditions.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/DropERC721/write/setMaxTotalSupply.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/IAirdropERC721/write/airdropERC721.ts`, `packages/thirdweb/src/extensions/multicall3/__generated__/IMulticall3/write/tryAggregate.ts`, `packages/thirdweb/src/extensions/permissions/__generated__/IPermissions/write/revokeRole.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IDrop1155/write/setClaimConditions.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IEntryPoint/write/getSenderAddress.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IEntryPoint/write/simulateHandleOp.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/DropERC721/write/freezeBatchBaseURI.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/DropERC721/write/updateBatchBaseURI.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/IAirdropERC721Claimable/write/claim.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/INFTStake/write/depositRewardTokens.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IStorageRegistry/write/batchRent.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IMarketplace/write/acceptOffer.ts`, `packages/thirdweb/src/extensions/modular/__generated__/ModularCore/write/installExtension.ts`, `packages/thirdweb/src/extensions/uniswap/__generated__/ISwapRouter/write/exactInputSingle.ts`, `packages/thirdweb/src/extensions/uniswap/__generated__/IUniswapV3Factory/write/createPool.ts`, `packages/thirdweb/src/extensions/common/__generated__/IRoyalty/write/setDefaultRoyaltyInfo.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/DropERC1155/write/setMaxTotalSupply.ts`, `packages/thirdweb/src/extensions/erc20/__generated__/ITokenStake/write/depositRewardTokens.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IAccountFactory/write/createAccount.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IAccountFactory/write/onSignerAdded.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/INFTStake/write/withdrawRewardTokens.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IMarketplace/write/closeAuction.ts`, `packages/thirdweb/src/extensions/modular/__generated__/IModularCore/write/installExtension.ts`, `packages/thirdweb/src/extensions/modular/__generated__/ModularCore/write/transferOwnership.ts`, `packages/thirdweb/src/extensions/permissions/__generated__/IPermissions/write/renounceRole.ts`, `packages/thirdweb/src/extensions/thirdweb/__generated__/ITWMultichainRegistry/write/remove.ts`, `packages/thirdweb/src/extensions/uniswap/__generated__/IQuoter/write/quoteExactInputSingle.ts`, `packages/thirdweb/src/extensions/uniswap/__generated__/ISwapRouter/write/exactOutputSingle.ts`, `packages/thirdweb/src/extensions/common/__generated__/IPlatformFee/write/setPlatformFeeInfo.ts`, `packages/thirdweb/src/extensions/common/__generated__/IRoyalty/write/setRoyaltyInfoForToken.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/DropERC1155/write/freezeBatchBaseURI.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/DropERC1155/write/updateBatchBaseURI.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IAirdropERC1155/write/airdropERC1155.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IAirdropERC1155Claimable/write/claim.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IERC1155/write/safeBatchTransferFrom.ts`, `packages/thirdweb/src/extensions/erc20/__generated__/ITokenStake/write/withdrawRewardTokens.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IEntryPoint/write/simulateValidation.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IMarketplace/write/createListing.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IMarketplace/write/updateListing.ts`, `packages/thirdweb/src/extensions/modular/__generated__/ModularCore/write/uninstallExtension.ts`, `packages/thirdweb/src/extensions/multicall3/__generated__/IMulticall3/write/aggregate3Value.ts`, `packages/thirdweb/src/extensions/prebuilts/__generated__/OpenEditionERC721/write/initialize.ts`, `packages/thirdweb/src/extensions/uniswap/__generated__/IQuoter/write/quoteExactOutputSingle.ts`, `packages/thirdweb/src/extensions/common/__generated__/IContractMetadata/write/setContractURI.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IAccountFactory/write/onSignerRemoved.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IEntryPoint/write/handleAggregatedOps.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/IERC721Receiver/write/onERC721Received.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IMarketplace/write/setContractURI.ts`, `packages/thirdweb/src/extensions/modular/__generated__/IModularCore/write/uninstallExtension.ts`, `packages/thirdweb/src/extensions/common/__generated__/IRoyaltyPayments/write/setRoyaltyEngine.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/ISharedMetadata/write/setSharedMetadata.ts`, `packages/thirdweb/src/extensions/multicall3/__generated__/IMulticall3/write/blockAndAggregate.ts`, `packages/thirdweb/src/extensions/airdrop/__generated__/Airdrop/write/airdropERC20WithSignature.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IEditionStake/write/depositRewardTokens.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IDirectListings/write/cancelListing.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IDirectListings/write/createListing.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IDirectListings/write/updateListing.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IEnglishAuctions/write/bidInAuction.ts`, `packages/thirdweb/src/extensions/thirdweb/__generated__/IRulesEngine/write/createRuleThreshold.ts`, `packages/thirdweb/src/extensions/thirdweb/__generated__/IThirdwebContract/write/setContractURI.ts`, `packages/thirdweb/src/extensions/uniswap/__generated__/IUniswapV3Factory/write/enableFeeAmount.ts`, `packages/thirdweb/src/extensions/airdrop/__generated__/Airdrop/write/airdropERC721WithSignature.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IERC1155Receiver/write/onERC1155Received.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IEditionStake/write/withdrawRewardTokens.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IPaymaster/write/validatePaymasterUserOp.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IDirectListings/write/buyFromListing.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IEnglishAuctions/write/cancelAuction.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IEnglishAuctions/write/createAuction.ts`, `packages/thirdweb/src/extensions/airdrop/__generated__/Airdrop/write/airdropERC1155WithSignature.ts`, `packages/thirdweb/src/extensions/common/__generated__/IPrimarySale/write/setPrimarySaleRecipient.ts`, `packages/thirdweb/src/extensions/erc20/__generated__/ISignatureMintERC20/write/mintWithSignature.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IIdRegistry/write/changeRecoveryAddress.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IMarketplace/write/setPlatformFeeInfo.ts`, `packages/thirdweb/src/extensions/multicall3/__generated__/IMulticall3/write/tryBlockAndAggregate.ts`, `packages/thirdweb/src/extensions/thirdweb/__generated__/IContractPublisher/write/publishContract.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/DropERC1155/write/setSaleRecipientForToken.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IMarketplace/write/cancelDirectListing.ts`, `packages/thirdweb/src/extensions/permissions/__generated__/IPermissionsEnumerable/write/grantRole.ts`, `packages/thirdweb/src/extensions/thirdweb/__generated__/IRulesEngine/write/setRulesEngineOverride.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/ISharedMetadataBatch/write/setSharedMetadata.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/ISignatureMintERC721/write/mintWithSignature.ts`, `packages/thirdweb/src/extensions/modular/__generated__/ModularCore/write/completeOwnershipHandover.ts`, `packages/thirdweb/src/extensions/permissions/__generated__/IPermissionsEnumerable/write/revokeRole.ts`, `packages/thirdweb/src/extensions/thirdweb/__generated__/IContractPublisher/write/unpublishContract.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IPackVRFDirect/write/openPackAndClaimRewards.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IIdRegistry/write/changeRecoveryAddressFor.ts`, `packages/thirdweb/src/extensions/thirdweb/__generated__/IRulesEngine/write/createRuleMultiplicative.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/IERC1155Receiver/write/onERC1155BatchReceived.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/ISignatureMintERC1155/write/mintWithSignature.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IIdRegistry/write/transferAndChangeRecovery.ts`, `packages/thirdweb/src/extensions/permissions/__generated__/IPermissionsEnumerable/write/renounceRole.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/ISharedMetadataBatch/write/deleteSharedMetadata.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IEnglishAuctions/write/collectAuctionPayout.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IEnglishAuctions/write/collectAuctionTokens.ts`, `packages/thirdweb/src/extensions/farcaster/__generated__/IIdRegistry/write/transferAndChangeRecoveryFor.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IDirectListings/write/approveBuyerForListing.ts`, `packages/thirdweb/src/extensions/thirdweb/__generated__/IContractPublisher/write/setPublisherProfileUri.ts`, `packages/thirdweb/src/extensions/erc4337/__generated__/IAccountPermissions/write/setPermissionsForSigner.ts`, `packages/thirdweb/src/extensions/common/__generated__/IClaimConditionsSinglePhase/write/setClaimConditions.ts`, `packages/thirdweb/src/extensions/marketplace/__generated__/IDirectListings/write/approveCurrencyForListing.ts`, `packages/thirdweb/src/extensions/thirdweb/__generated__/IContractFactory/write/deployProxyByImplementation.ts`, `packages/thirdweb/src/extensions/erc20/write/sigMint.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/main/useBuyTxStates.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/BuyTxHistory.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/TxDetailsScreen.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/TransactionsScreen.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/pay-transactions/FiatDetailsScreen.tsx`, `packages/thirdweb/src/extensions/erc20/write/deposit.ts`, `packages/thirdweb/src/utils/extensions/drops/get-claim-params.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/PayTokenIcon.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.tsx`, `packages/thirdweb/src/extensions/erc20/write/getApprovalForTransaction.ts`, `apps/playground-web/src/components/pay/transaction-button.tsx`, `packages/thirdweb/src/extensions/erc721/drop721.test.ts`, `packages/thirdweb/src/react/core/hooks/transaction/useSendTransaction.ts`, `packages/thirdweb/src/react/web/hooks/transaction/useSendTransaction.tsx`

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

<!-- end pr-codex -->
2024-07-19 01:57:06 +00:00
26ca958b55 Version Packages (#3722)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-19 07:16:46 +12:00
AmineAfia 7098c8435b changed comeback tomorrow to give funds (#3744)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] come back tomorrow gives funds now

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the SpinWheel component in the dashboard app to adjust the amount displayed based on the result and improve the success message.

### Detailed summary
- Updated the amount displayed based on the result in `SpinWheel.tsx`
- Improved success message with a more informative and positive message

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

<!-- end pr-codex -->
2024-07-18 18:29:44 +00:00
Yash c073ce59d1 Update XAI logo on homepage (#3743) 2024-07-18 20:28:46 +02:00
gregfromstl 4ae0bf72f5 chore: remove random logs (#3742) 2024-07-18 16:34:46 +00:00
AmineAfia 9b7f7938f2 added cache removal when faucet transfer fails (#3726)
## Problem solved

Users rate limited when faucet fails to transfer funds e.g. faucet empty

## Changes made

- [ ] Added the mechanism to remove users from the cache when the funding transfer fails (e.g. when the faucet is empty)

## How to test

- [ ] empty the faucet or make the transfer request fail

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a new function `cacheDeleteKey` to delete a cache key and update its usage in the testnet faucet route.

### Detailed summary
- Added `cacheDeleteKey` function to delete a cache key in `lib/redis`
- Updated the testnet faucet route to use `cacheDeleteKey` for cache management

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

<!-- end pr-codex -->
2024-07-18 11:57:56 +00:00
Joaquim Verges 8aa69f4129 fix(docs): tsdoc linting (#3739) 2024-07-18 20:29:17 +12:00
joaquim-verges 6cc3038298 fix(thirdweb): add optional 'from' in readContract method (#3735)
Fixes #3683

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add an optional 'from' parameter in the `readContract()` function and update default max block wait times to 100 in various files.

### Detailed summary
- Added optional 'from' parameter in `readContract()`
- Updated default max block wait times to 10 in specific files
- Increased default max block wait times to 100 in other files

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

<!-- end pr-codex -->
2024-07-18 07:55:17 +00:00
Manan Tank db2cadfc4b Increased Transaction cost buffer for Pay Modal (#3730) 2024-07-18 07:54:10 +00:00
Joaquim Verges 85f6cca8fc docs(thirdweb): Add examples and documentation tags for modular and utility functions (#3738) 2024-07-18 15:42:10 +12:00
gregandgregfromstl 80e6855a19 docs: fix fetchProofs jsdocs (#3736)
Co-authored-by: gregfromstl <[email protected]>
2024-07-18 14:54:00 +12:00
Farhan Khwaja e02a18a4d8 Updates: Engine (#3737) 2024-07-18 07:15:46 +05:30
farhanW3 029a0ad9e8 Update: Engine Deletion Logic (#3734)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the condition for rendering a form in the `engine-instances-table.tsx` component based on the `instance` status.

### Detailed summary
- Changed the condition for rendering a form based on `instance.status`
- Form now appears for instances with status "paymentFailed" or "active" without `cloudDeployedAt`

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

<!-- end pr-codex -->
2024-07-18 01:09:18 +00:00
Joaquim Verges f351054d34 fix(dashboard): Fix zksync deployments with inapp wallet (#3721) 2024-07-18 13:08:13 +12:00
gregfromstl 6bda057306 feat(connect-wallet): add transaction history page to connect modal UI (#3718)
This pull request introduces new features and modifications to the transaction history feature within the connect modal UI. Key changes include:

- Addition of a transaction history page accessible from the connect modal's main menu, allowing users to view and manage their transaction history more effectively.
- Refactoring of transaction-related components to enhance code maintainability and readability. Specifically, renaming components related to 'BuyTxHistory' to 'PayTxHistory' to better reflect their functionality.
- Updates to locale files to include new translations for added labels such as 'payTransactions' and 'walletTransactions'.
- Integration of new navigation options within the connect modal, enabling seamless switching between different transaction views, including 'Fiat Transactions' and 'Wallet Transactions'.
- Ensuring that the transaction history page supports multiple languages, with updated English, Spanish, Japanese, and Vietnamese locale files.
- Improvements to UI components to ensure consistent styling and user experience across the transaction history pages.

These enhancements aim to provide users with an improved interface for managing their transaction histories, thereby enhancing overall user experience.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a transaction history page to the connect modal UI.

### Detailed summary
- Added transaction history page to connect modal UI
- Renamed "pending-tx" to "transactions"
- Updated text and components related to transactions and fiat transactions
- Reorganized file structure for transaction-related screens and components

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/ui/ConnectWallet/TransactionsScreen.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/WalletTransactionHistory.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.tsx`

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

<!-- end pr-codex -->
2024-07-18 00:25:12 +00:00
MananTank faaa426bbb Fix chain page crash when adding ref query param on dashboard (#3732)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor the handling of search parameters in the trending section of the dashboard.

### Detailed summary
- Updated the handling of search parameters in the trending section of the dashboard.
- Reorganized the code to use `searchParams` object for time range, page, and sort by.
- Refactored the `TrendingContractSection` and `TrendingTable` components to utilize `searchParams` object efficiently.

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

<!-- end pr-codex -->
2024-07-17 21:56:15 +00:00
Manan TankandMananTank 0a5af48f70 Fix custom chain RPC not used if passed via chains prop (#3728)
Co-authored-by: MananTank <[email protected]>
2024-07-17 18:44:19 +00:00
joaquim-verges 0f9170caf1 feat(dashboard): add trending link in contracts section (#3720)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds a new "Trending" section to the sidebar, updates the pagination component, and modifies search filters for gas usage. Additionally, it refactors the package.json file for thirdweb.

### Detailed summary
- Added "Trending" section to sidebar
- Updated pagination component
- Modified search filters for gas usage
- Refactored package.json for thirdweb

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

<!-- end pr-codex -->
2024-07-17 08:42:42 +00:00
joaquim-verges 05df89cb61 feat(smart): ERC20 paymaster support (#3719)
### TL;DR

Adds support for using an ERC20 paymaster in smart accounts. This includes functionality to check and approve ERC20 allowances as needed.

### What changed?

- Introduced support for ERC20 paymasters in smart accounts.
- Added logic to check and approve ERC20 allowances.
- Updated the `defaultTokens` list to include a new token for testing purposes.

### How to test?

1. Ensure that the smart account can interact with ERC20 paymasters.
2. Verify that the account approval for ERC20 paymasters works as expected.
3. Check that the default tokens list reflects the new token and can be utilized appropriately.

### Why make this change?

To enable smart accounts to use ERC20 tokens for paymaster functionalities, enhancing versatility and use-case scenarios for smart accounts.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add support for ERC20 paymaster for smart accounts.

### Detailed summary
- Added ERC20 paymaster support for smart accounts
- Implemented functions for approving ERC20 transactions
- Modified smart account creation to handle ERC20 paymasters

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

<!-- end pr-codex -->
2024-07-17 08:25:38 +00:00
joaquim-verges 8bc814aaf9 feat(pay): add metadata title support for pay screens (#3664)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates various components across different files to allow for dynamic customization of titles in the UI screens.

### Detailed summary
- Added `title` prop to multiple components for dynamic title customization.
- Updated titles in UI screens to use the dynamic `title` prop.
- Enhanced flexibility for customizing display titles in the UI.

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

<!-- end pr-codex -->
2024-07-17 08:07:47 +00:00
080903e3a9 Version Packages (#3675)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-17 19:23:27 +12:00
Farhan Khwaja c5b97407b0 updates: UserOp example + receipt retrieval function (#3712) 2024-07-16 22:32:35 -07:00
AmineAfia 39b329a56e Add Faucet to every Testnet chain page (#3660)
## Problem solved

Faucet for EVM every chain. When the faucet is empty we crowdfund faucet sponsors

## Changes made

- [ ] Added faucet UI
- [ ] Added faucet endpoint
- [ ] Added faucet eligibility endpoint

## How to test

- [ ] See video

https://github.com/user-attachments/assets/b4414d63-c4cf-44f9-8824-c7307ad34013

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to implement a faucet feature for testnet chains, allowing users to claim testnet funds.

### Detailed summary
- Added "faucet" service type and functionality.
- Implemented faucet-related components and pages.
- Utilized Redis for caching faucet requests.
- Added necessary dependencies for faucet functionality.
- Updated chain metadata generation for faucet feature.

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/faucet/components/SpinWheel.tsx`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-07-16 22:29:18 +00:00
d4mr 910b115030 Engine Configuration: IP Allowlist (#3700)
Corresponding Engine PR: https://github.com/thirdweb-dev/engine/pull/564
<img width="773" alt="image" src="https://github.com/user-attachments/assets/a27098a6-4d6f-4cbb-a2aa-795f50d531ac">

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces IP allowlisting feature to the engine configuration.

### Detailed summary
- Added `ipaddr.js` library for IP address validation
- Implemented IP allowlist configuration in the engine settings
- Created hooks for fetching and setting IP allowlist
- Added UI components for managing IP allowlist in the dashboard

> 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-07-16 20:00:30 +00:00
jnsdls b85eabd991 [Fix] Update AddYourChainButton URL in ChainList page to new support form link (#3714) 2024-07-16 18:01:31 +00:00
jnsdls 7b96f417a1 [Fix] Use encodeURIComponent for URL paths in redirect and Link components (#3713) 2024-07-16 17:47:51 +00:00
Manan Tank a5573046f1 Fix adding a chain as favorite not working in dashboard (#3711) 2024-07-16 17:33:18 +00:00
0xFirekeeper cae0e280fa Unity 4.16.7 (#3710)
Sync chains too

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates various chain configurations with corrected URLs, symbols, and RPC endpoints. It also adds icons and red flags for better identification.

### Detailed summary
- Corrected URLs, symbols, and RPC endpoints for multiple chains
- Added icons for chain identification
- Updated red flags for specific chains

> The following files were skipped due to too many changes: `legacy_packages/chains/chains/1116.ts`, `legacy_packages/chains/chains/48900.ts`, `legacy_packages/chains/chains/65536.ts`, `legacy_packages/chains/chains/28122024.ts`, `legacy_packages/chains/chains/1115.ts`, `legacy_packages/chains/chains/44787.ts`, `legacy_packages/chains/chains/31.ts`, `legacy_packages/chains/chains/16350.ts`, `legacy_packages/chains/chains/179.ts`, `legacy_packages/chains/chains/852.ts`, `legacy_packages/chains/chains/123321.ts`, `legacy_packages/chains/chains/2702128.ts`, `legacy_packages/chains/chains/46.ts`, `legacy_packages/chains/chains/1648.ts`, `legacy_packages/chains/chains/10096.ts`, `legacy_packages/chains/chains/190.ts`, `legacy_packages/chains/chains/16481.ts`, `legacy_packages/chains/chains/1578.ts`, `legacy_packages/chains/chains/178.ts`, `legacy_packages/chains/chains/77677.ts`, `legacy_packages/chains/chains/1223.ts`, `legacy_packages/chains/chains/245022929.ts`, `legacy_packages/chains/chains/1570.ts`, `legacy_packages/chains/chains/7774.ts`, `legacy_packages/chains/chains/1398243.ts`, `legacy_packages/chains/chains/187.ts`, `legacy_packages/chains/chains/1313.ts`, `legacy_packages/chains/chains/9496.ts`, `legacy_packages/chains/chains/328527.ts`, `legacy_packages/chains/chains/327126.ts`, `legacy_packages/chains/chains/8869.ts`, `legacy_packages/chains/chains/12227331.ts`, `legacy_packages/chains/chains/29732.ts`, `legacy_packages/chains/chains/184.ts`, `legacy_packages/chains/chains/19191.ts`, `legacy_packages/chains/chains/20240603.ts`, `legacy_packages/chains/chains/10241024.ts`, `legacy_packages/chains/chains/199991.ts`, `legacy_packages/chains/chains/1811.ts`, `legacy_packages/chains/chains/486487.ts`, `legacy_packages/chains/chains/59902.ts`, `legacy_packages/chains/chains/42026.ts`, `legacy_packages/chains/chains/55614.ts`, `legacy_packages/chains/chains/6550.ts`, `legacy_packages/chains/chains/261.ts`, `legacy_packages/chains/chains/15430.ts`, `legacy_packages/chains/chains/65100003.ts`, `legacy_packages/chains/chains/8022.ts`, `legacy_packages/chains/chains/55239.ts`, `legacy_packages/chains/chains/5566.ts`, `legacy_packages/chains/chains/292003.ts`, `legacy_packages/chains/chains/65357.ts`, `legacy_packages/chains/chains/56667.ts`, `legacy_packages/chains/chains/87566.ts`, `legacy_packages/chains/chains/65010003.ts`, `legacy_packages/chains/chains/16680.ts`, `legacy_packages/chains/chains/22562.ts`, `legacy_packages/chains/chains/57056.ts`, `legacy_packages/chains/chains/62454.ts`, `legacy_packages/chains/chains/62587.ts`, `legacy_packages/chains/chains/75991.ts`, `legacy_packages/chains/chains/22721.ts`, `legacy_packages/chains/chains/26945.ts`, `legacy_packages/chains/chains/85677.ts`, `legacy_packages/chains/chains/9302.ts`, `legacy_packages/chains/chains/40875.ts`, `legacy_packages/chains/chains/420000.ts`, `legacy_packages/chains/chains/19077.ts`, `legacy_packages/chains/chains/3338.ts`, `legacy_packages/chains/chains/86602.ts`, `legacy_packages/chains/chains/86225.ts`, `legacy_packages/chains/chains/99083.ts`, `legacy_packages/chains/chains/24076.ts`, `legacy_packages/chains/chains/17071.ts`, `legacy_packages/chains/chains/8886.ts`, `legacy_packages/chains/chains/16180.ts`, `legacy_packages/chains/chains/4444444.ts`, `legacy_packages/chains/chains/9372.ts`, `legacy_packages/chains/chains/2311.ts`, `legacy_packages/chains/chains/1456.ts`, `legacy_packages/chains/chains/6806.ts`, `legacy_packages/chains/chains/1903648807.ts`, `legacy_packages/chains/chains/646.ts`, `legacy_packages/chains/chains/4457845.ts`, `legacy_packages/chains/chains/325000.ts`, `legacy_packages/chains/chains/175177.ts`, `legacy_packages/chains/chains/7001.ts`, `legacy_packages/chains/src/index.ts`

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

<!-- end pr-codex -->
2024-07-16 17:00:19 +00:00
joaquim-verges 8e1a24a60e feat(pay): add recipient address support to PayEmbed (#3662)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds the recipient address feature to PayEmbed and refactors recipient address handling in various components.

### Detailed summary
- Added recipient address to PayEmbed for sending purchased tokens
- Refactored handling of recipient address in different screens and hooks
- Updated logic for onramp and swap processes based on recipient address

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

<!-- end pr-codex -->
2024-07-16 15:24:08 +00:00
Joaquim Verges aadbd33e9d fix(thirdweb): make client and chain mandatory in useWalletBalance (#3706) 2024-07-16 20:19:18 +12:00
joaquim-verges 1a09f46f24 feat(RN): support auth in React Native (#3708) 2024-07-16 05:55:45 +00:00
gregfromstl f8f6790da7 fix(auth): resolve typed data signatures issue in in-app wallet (#3707)
### TL;DR

- Added domain data for typed data signatures.
- Updated hooks and utilities to use `account` instead of `signer`.

### What changed?

- Modified `useRegistry.ts`, `hooks.ts`, and `utils.ts` to replace `signer` with `account` for signing transactions.
- Updated `in-app-account.ts` to correctly handle domain data for typed data signatures.

### How to test?

1. Deploy a contract using the dashboard and ensure that `account` is used correctly instead of `signer`.
2. Validate that typed data signatures are correctly generated in the in-app wallet.

### Why make this change?

To improve the accuracy and reliability of in-app wallet typed data signatures by ensuring the correct handling of domain data and consistent use of `account` across the application.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to fix in-app wallet typed data signatures and optimize contract-related functions.

### Detailed summary
- Fixed in-app wallet typed data signatures
- Updated contract-related functions for better optimization and clarity

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

<!-- end pr-codex -->
2024-07-16 05:38:11 +00:00
gregfromstl 73c74f11d4 feat(airdrop): add fetchProofsERC methods for ERC20, ERC721, and ERC1155 (#3709)
This update introduces new methods for fetching proofs for ERCXX tokens (specifically ERC20, ERC721, and ERC1155). The methods `fetchProofsERC20`, `fetchProofsERC721`, and `fetchProofsERC1155` have been added to the airdrop extension. These methods allow users to retrieve claim Merkle proofs for the specified address and tokens, ensuring that users in the allowlist can claim their airdrop. Additionally, example usage and detailed docstrings have been included to guide developers on how to implement these methods in their projects.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add `fetchProofsERCXX` methods for ERC721, ERC20, and ERC1155 airdrop contracts.

### Detailed summary
- Added `fetchProofsERC721`, `fetchProofsERC20`, and `fetchProofsERC1155` methods
- Updated `claimERC20` to use `fetchProofsERC20`
- Added detailed documentation for each method
- Renamed `fetchProofsrERC20` to `fetchProofsERC20`

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

<!-- end pr-codex -->
2024-07-16 05:27:46 +00:00
kien-ngo 3479117b28 Add Vietnamese locale (#3681)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds Vietnamese locale support for the ConnectButton components and updates various language files for the ConnectWallet feature.

### Detailed summary
- Added Vietnamese locale for ConnectButton components
- Updated language files for ConnectWallet screens and wallets with Vietnamese translations

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/wallets/local/locale/vi.ts`, `packages/thirdweb/src/react/web/wallets/shared/locale/vi.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/locale/vi.ts`

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

<!-- end pr-codex -->
2024-07-16 03:38:43 +00:00
kien-ngo 34f6fd5fdd Add chainlist link to the contract page (#3705)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a link to the `MetadataHeader` component that redirects to a specific chain page.

### Detailed summary
- Added `Link` import from "next/link"
- Applied `as={Link}` and `href={`/${chain.chainId}`}` to make the header clickable
- Set `cursor="pointer"` for better user interaction

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

<!-- end pr-codex -->
2024-07-16 00:57:30 +00:00
joaquim-verges baec85f6b4 fix(thirdweb): update TransactionError constructor to correctly set message property (#3704) 2024-07-16 00:44:17 +00:00
gregfromstl 88fa60d4ad fix(dashboard): domain validation for ecosystem partner domains (#3701)
### TL;DR
Updated the domain validation regex in the AddPartnerForm component to handle new wildcard subdomain cases and made minor formatting fixes.

### What changed?
- Updated the domain validation regex to handle new wildcard subdomain cases.
- Fixed minor formatting issues with array and string declarations.

### How to test?
1. Navigate to the Add Partner form in the dashboard.
2. Test the domain input field with the following cases to ensure proper validation:
   - general domains (e.g., example.com)
   - wildcard subdomains (e.g., *.example.com)
   - nested wildcard subdomains (e.g., *.*.example.com)

### Why make this change?
The changes were necessary to improve the domain validation mechanism by accommodating new wildcard subdomain cases, and to maintain code quality through consistent formatting.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the `isDomainRegex` pattern in the `add-partner-form.client.tsx` file for improved domain validation.

### Detailed summary
- Updated the `isDomainRegex` pattern for domain validation with additional flexibility and accuracy.

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

<!-- end pr-codex -->
2024-07-15 22:40:41 +00:00
iuwqyir d780bff72f new fields for usage event schema (#3692)
## Problem solved

Adds 2 new optional fields to usage event schema:
* evmRequestParams
* providerIp

Allows a new possible source for the event - `rpcV2`

## Changes made

- [x] service-utils: Update usage tracker schema

## How to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the schema for the usage tracker event in the `service-utils` package to include new fields `evmRequestParams` and `providerIp`.

### Detailed summary
- Added `evmRequestParams` field to the usage event schema
- Added `providerIp` field to the usage event schema

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

<!-- end pr-codex -->
2024-07-15 22:17:53 +00:00
gregfromstl 062bcc79f9 fix(dashboard): update ecosystem wallet copy to include wallet count (#3702)
### TL;DR

Updated UI elements and feature list in the create page of the ecosystem section.

### What changed?

- Adjusted padding and positioning of elements for better alignment and appearance.
- Added a new feature item to the list: '30,000 active wallets included*'.
- Included a note regarding additional wallet costs ('$0.02 per additional wallet').

### How to test?

Navigate to the 'Create Ecosystem' page in the dashboard. Verify that the layout changes are correctly applied and the new feature/item is visible with the note on wallet costs.

### Why make this change?

These updates improve the clarity of information provided to users and enhance the overall user experience on the create page of the ecosystem section.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the ecosystem creation page in the dashboard with additional wallet information.

### Detailed summary
- Added display of 30,000 active wallets included
- Added pricing information for additional wallets

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

<!-- end pr-codex -->
2024-07-15 22:12:27 +00:00
Manan Tank 817a778a17 Fix Network Selector only showing 1 search result (#3694) 2024-07-16 01:48:17 +05:30
jnsdls 5eddf27a48 [Feature] Update title in PRICING_SECTIONS for Monthly Active In-App Wallets (#3693) 2024-07-15 18:46:14 +00:00
Manan TankandJonas Daniels 81751d3e08 Fix "add custom network" button not closing details modal (#3690)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-07-15 18:25:59 +00:00
Manan TankandMananTank 7e416c0f6b Add queryOptions for useWalletBalance hook (#3688)
Co-authored-by: MananTank <[email protected]>
2024-07-15 18:07:46 +00:00
MananTank 6ad65e234c Add type prop for TransactionButton (#3689)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a `type` prop for the `TransactionButton` component in the `thirdweb` package.

### Detailed summary
- Added `type` prop for `TransactionButton`
- Updated `TransactionButton` component to include `type` attribute for button element

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

<!-- end pr-codex -->
2024-07-15 17:38:47 +00:00
Manan Tank d27f9ffdd1 Fix wrong isBrave check in dashboard (#3691) 2024-07-15 22:58:10 +05:30
Joaquim Verges a3fb673e50 fix(thirdweb): handle universal links on ios for coinbase wallet connection (#3677) 2024-07-15 14:30:47 +12:00
kien-ngo aee7aef76f Export getClaimParams for thirdweb Drop contracts (#3685)
Initially this is for interacting with other frameworks like frog.fm
Might be useful elsewhere idk

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on exporting a new utils method `getClaimParams` for thirdweb Drop contracts.

### Detailed summary
- Added export for `getClaimParams` method in `utils/extensions/drops/get-claim-params.js`
- Exported type `GetClaimParamsOptions` for thirdweb Drop contracts

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

<!-- end pr-codex -->
2024-07-15 02:10:44 +00:00
kien-ngo b67519aecb Allow uploading .obj file (#3684)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances file input handling in components by adding support for `.obj` files alongside `.usdz` and `.glb` files.

### Detailed summary
- Updated `FileInput.tsx` to support `.obj` files for 3D models
- Updated `mint-form.tsx` to recognize `.gltf` files and `.obj` files for 3D models

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

<!-- end pr-codex -->
2024-07-14 21:30:21 +00:00
kien-ngo eabb2150a9 Add support for Zora1155 in ERC1155 > getOwned (#3659)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add support for Zora1155 in ERC1155 > getOwned.

### Detailed summary
- Added support for Zora1155 contract in ERC1155 > getOwned function
- Updated functions to handle Zora1155 contract methods
- Introduced new functions for Zora1155 contract interaction

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

<!-- end pr-codex -->
2024-07-12 21:09:23 +00:00
Joaquim Verges 9f3fb7d1ee feat(smart): respect accountAddress override (#3673) 2024-07-13 05:59:47 +12:00
arcoraven 0d4852787f feat: Tools pages (#3665)
Adds new tools pages:
- Wei converter
- Hex converter
- Unix time converter
- Keccak256 converter

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add new tools to the dashboard for converting between different formats like hex, decimal, Unix time, and Keccak-256 hashes.

### Detailed summary
- Added Hex Converter, Wei Converter, Unix Time Converter, and Keccak256 Converter tools
- Created components for each converter tool
- Implemented share functionality for each tool
- Added metadata for each tool
- Included tab navigation for easy access to tools

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/tools/unixtime-converter/components/UnixTimeConverter.tsx`, `apps/dashboard/src/app/(dashboard)/tools/wei-converter/components/WeiConverter.tsx`

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

<!-- end pr-codex -->
2024-07-12 16:56:13 +00:00
Joaquim Verges 4a1d1494ec feat(dashboard): add import for SortBy type to chain page (#3670) 2024-07-12 21:29:04 +12:00
Joaquim Verges 0e555529d4 feat(dashboard): handle trending contracts in chain page (#3669) 2024-07-12 21:25:18 +12:00
Joaquim Verges 21b72baf5b fix(dashboard): ensure scrolling sticks for pagination (#3668) 2024-07-12 20:35:20 +12:00
farhanW3 00fd82b08e Updates: Engine Demo (#3666)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance the dashboard engine functionality by adding a demo engine feature and improving user interactions.

### Detailed summary
- Added a demo engine URL environment variable
- Updated import engine instance button style
- Implemented try demo button functionality with analytics tracking
- Improved error handling for missing environment variables

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

<!-- end pr-codex -->
2024-07-12 07:54:16 +00:00
Joaquim Verges 95397cd0f7 feat(dashboard): implement sorting feature in trending table (#3667) 2024-07-12 19:31:12 +12:00
a629ae53f1 Version Packages (#3658)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-12 08:23:22 +12:00
joaquim-verges 3d14162a69 fix(core): correct extension detection (#3657)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on fixing extension contract detection and enhancing ownership function detection for ERC721 contracts.

### Detailed summary
- Fixed extension contract detection in `detectExtension.ts`
- Added ownership function detection in `getOwnedNFTs.test.ts`
- Updated imports for test clients and contract utils

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

<!-- end pr-codex -->
2024-07-11 19:32:30 +00:00
Jonas Danielsandgithub-actions[bot] 12f829f4f1 Version Packages (#3643)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-12 06:44:19 +12:00
Joaquim Vergesandjoaquim-verges 77d7dd135f fix(thirdweb): resolve autoconnect issue for phone number sign-in on React Native (#3656)
Co-authored-by: joaquim-verges <[email protected]>
2024-07-12 06:27:34 +12:00
Manan Tank 9dd7b4de79 Ensure account address is checksum encoded (#3655) 2024-07-11 23:25:26 +05:30
jnsdls 44eb1bdd51 [Refactor] Clean up create-ticket.action.ts to streamline form data handling (#3654)
### TL;DR
Updated the createTicketAction function to ensure that only specific fields (attachments and json) are retained in formData during ticket creation.

### What changed?
- Introduced a constant KEEP_FIELDS to specify fields that should be retained in formData.
- Added the content field to formData before deleting non-essential fields.
- Removed specific deletion of extraInfo_Problem_Area key.

### How to test?
1. Trigger the createTicketAction function in support component.
2. Verify if only attachments and json fields are present in the formData when a ticket is created.

### Why make this change?
To ensure that only necessary data is sent when creating a ticket, optimizing the data payload and avoiding potential issues with extraneous fields.

---
2024-07-11 15:41:28 +00:00
jnsdls 727467b41a [Feature] Add Mantle banner and update ChainPageLayout for visual consistency (#3653)
This PR enhances the ChainPageLayout by adding support for background images for different chains and integrating Mantle chain-specific assets. Key updates include:
- Addition of the `mantle-banner.jpeg` and `mantle-cta.jpeg` images.
- Updates to `add-chain-to-wallet.tsx` and `layout.tsx` to support dynamic background and text color adjustments based on the presence of a background image.
- Modification of the `chainMetaRecord` to include metadata for the Mantle chain (chain ID 5000).

 ### TL;DR
Enhanced the ChainPageLayout component by adding support for chain-specific background images and integrating Mantle assets.

 ### What changed?
- New chain-specific background image support
- Integration with Mantle assets
- Updates to relevant components to handle background and text adjustments dynamically.

 ### How to test?
1. Go to the ChainPageLayout for any chain that has a background image (e.g., Mantle).
2. Verify that the background image is displayed correctly.
3. Check that text color and other UI elements adjust appropriately based on the background image.
4. Ensure that Mantle-specific content is displayed correctly.

 ### Why make this change?
This enhancement provides a more visually engaging and chain-specific user experience. The integration with Mantle also helps in showcasing specific chains more effectively.

---
2024-07-11 15:20:26 +00:00
joaquim-verges 9bbbba44f2 refactor(search): use trending contract data in search (#3652)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates time range handling and contract fetching in the trending feature.

### Detailed summary
- Updated time range handling in `TimeRangeSwitcher`
- Moved `TimeRange` type to `lib/search`
- Refactored contract fetching logic to `fetchTopContracts`
- Added new types and functions related to trending contracts
- Updated imports and removed redundant code in `trending-table`

> The following files were skipped due to too many changes: `apps/dashboard/src/app/trending/components/trending-table.tsx`, `apps/dashboard/src/components/cmd-k-search/index.tsx`

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

<!-- end pr-codex -->
2024-07-11 08:44:56 +00:00
jnsdls 17f5b5ab52 [Feature] Add background image and update login page UI (#3651) 2024-07-11 07:11:25 +00:00
jnsdls 0bbf157a31 [Refactor] Update ChainPageLayout and ChainCTA components for visual consistency and add ancient8 banner asset (#3650) 2024-07-11 07:01:24 +00:00
joaquim-verges f402f6d1c2 trending contracts (#3641)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance the dashboard UI and functionality.

### Detailed summary
- Updated UI components like `Spinner` and `Toggle`
- Improved styling and color schemes
- Added new pages and components for trending contracts
- Refactored search functionality
- Integrated thirdweb client for chain icons

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/page.tsx`, `apps/dashboard/src/@/components/ui/table.tsx`, `apps/dashboard/src/app/trending/components/icons.tsx`, `apps/dashboard/src/app/trending/components/trending-table.tsx`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-07-11 04:19:17 +00:00
jnsdls 4661731561 [Feature] Add /support path to the list of logged in only paths (#3649) 2024-07-11 03:08:05 +00:00
jnsdls 509c584e7a [Refactor] Update environment variable usage and integrate Radix Dialog component (#3648)
This refactor replaces the usage of individual Unthread environment variables with a single `UNTHREAD_API_KEY`. Additionally, components and forms related to support tickets have been updated to streamline the support request flow. The Chakra UI components have been replaced with Radix UI components for consistency. Unused components have been removed and some components were slightly enhanced for development simplicity.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor code in the dashboard app, update dependencies, and improve UI components.

### Detailed summary
- Removed support-related components and pages
- Updated layout and styling in various dashboard components
- Added new products and product-related functions
- Updated dependencies in `package.json` and `pnpm-lock.yaml`
- Refactored form inputs and layouts in support forms

> The following files were skipped due to too many changes: `apps/dashboard/src/components/help/contact-forms/engine/index.tsx`, `apps/dashboard/src/components/help/contact-forms/connect/AffectedAreaInput.tsx`, `apps/dashboard/src/components/help/contact-forms/shared/SupportForm_SelectInput.tsx`, `apps/dashboard/src/components/help/contact-forms/contracts/index.tsx`, `apps/dashboard/src/components/help/contact-forms/connect/index.tsx`, `apps/dashboard/src/@/components/ui/dialog.tsx`, `apps/dashboard/src/app/(dashboard)/support/components/create-ticket.client.tsx`, `apps/dashboard/src/app/(dashboard)/support/components/create-ticket.action.ts`, `apps/dashboard/src/components/help/contact-forms/shared/SupportForm_AttachmentUploader.tsx`, `apps/dashboard/src/app/(dashboard)/support/page.tsx`

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

<!-- end pr-codex -->
2024-07-10 16:00:39 -07:00
Manan Tank 979a2b8147 Fix zero token amount formatting (#3646) 2024-07-10 21:29:41 +05:30
kien-ngo f239d09eae MediaRenderer: only render video poster if it's an image (#3642)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating the `MediaRenderer` component to only render the video poster if it's an image.

### Detailed summary
- Updated `MediaRenderer` to conditionally render video poster based on MIME type
- Improved handling of poster rendering for better compatibility

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

<!-- end pr-codex -->
2024-07-10 03:44:29 +00:00
133eae1384 Version Packages (#3635)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-10 09:01:31 +12:00
jnsdls 6370b7cc90 [Refactor] Remove NeedSomeHelp component and its references (#3640)
### TL;DR
This PR removes the `ContextAIBotButton` and `NeedSomeHelp` components from the dashboard source code.

### What changed?
- Deleted `context-ai-button.tsx` and `need-some-help.tsx` files from the help folder.
- Updated `support.tsx` to remove the `NeedSomeHelp` component.

### How to test?
1. Navigate to the support page in the dashboard.
2. Ensure that the `NeedSomeHelp` section is no longer displayed.
3. Check that there are no console errors related to the missing components.

### Why make this change?
These components are no longer needed as part of the dashboard's help system and are being removed to simplify the codebase and reduce unnecessary dependencies.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to remove unused help components and restructure the Support page layout.

### Detailed summary
- Deleted `NeedSomeHelp` and `ContextAiButton` components
- Removed unnecessary import statements
- Updated the layout of the Support page to exclude `NeedSomeHelp` component

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

<!-- end pr-codex -->
2024-07-09 18:34:41 +00:00
jnsdls f91a024cc5 [Refactor] Update THIRDWEB_API_HOST integration in ensure-login flow (#3638)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update authentication endpoints and improve error handling in the codebase.

### Detailed summary
- Updated logout endpoint in `General.tsx`
- Changed user authentication endpoint to `/v1/account/me`
- Removed `decodeJWT` function import
- Added `THIRDWEB_API_HOST` environment variable
- Improved error handling in `GET` function in `route.ts`

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

<!-- end pr-codex -->
2024-07-09 18:34:36 +00:00
joaquim-verges cebf6d4e89 fix(sdk): enforce legacy transactions on Vanar mainnet (#3639) 2024-07-09 18:15:43 +00:00
jnsdls 17701b69f0 [Feature] Add conditional page refresh on specific routes and integrate PayUI component (#3607)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates components related to Pay analytics and configuration.

### Detailed summary
- Updated `usePayPurchases`, `usePayVolume`, `usePayNewCustomers`, and `usePayCustomers` hooks
- Refactored `PayUI` component in `dashboard/connect/pay/components/pay-ui.client.tsx`
- Added `getApiKeys` function in `dashboard/connect/pay/page.tsx`

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/dashboard/connect/pay/page.tsx`

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

<!-- end pr-codex -->
2024-07-09 17:56:10 +00:00
gregfromstl e4d9963f2d chore(dashboard): remove nft checkout from api page (#3636)
<!-- start pr-codex -->

## PR-Codex overview
This PR removes the `checkout` service from `services.ts` and adjusts the `pay` service properties.

### Detailed summary
- Removed `checkout` service
- Adjusted properties of `pay` service

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

<!-- end pr-codex -->
2024-07-09 17:43:28 +00:00
joaquim-verges 02fff7d9e8 fix(thirdweb): loosen react native peer dep version restriction (#3637) 2024-07-09 17:36:29 +00:00
Manan Tank 4d24208099 Fix smart wallet connection not updating connection manager properly (#3634) 2024-07-09 21:34:52 +05:30
Jonas Danielsandgithub-actions[bot] f8016071e2 Version Packages (#3612)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-09 19:34:41 +12:00
Joaquim Verges 636fe40779 fix(storage): correct directory handling for mobile file uploads (#3633) 2024-07-09 19:21:00 +12:00
jnsdls a02d1111e0 [Refactor] Remove unused useConfirmEmbeddedWallet hook and clean up onboarding flow (#3632)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor authentication and onboarding flows, removing unused code and optimizing user creation and confirmation processes.

### Detailed summary
- Added user creation logic if user does not exist
- Removed `useConfirmEmbeddedWallet` hook
- Refactored onboarding flow and removed unused code
- Optimized handling of account confirmation and email verification

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

<!-- end pr-codex -->
2024-07-09 05:08:24 +00:00
jnsdls 9b2591cc21 [Feature] Add CustomPayEmbed component to pay page for chain integration (#3629)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a custom payment embed component for a specific chain in the dashboard.

### Detailed summary
- Added `CustomPayEmbed` component in `pay-embed.client.tsx`
- Utilized `thirdwebClient` and `defineChain` for payment functionality
- Integrated theme handling and payment options for a specific chain

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

<!-- end pr-codex -->
2024-07-09 00:02:48 +00:00
jnsdls 3f0291def5 [Feature] Enhance login flow with loading spinner and redirect button (#3631) 2024-07-08 23:55:59 +00:00
MananTank 41b9a53e35 Fix search in Network selector (#3630)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to fix the search functionality in the Network Selector screen by optimizing chain queries and improving user experience.

### Detailed summary
- Added `useChainsQuery` and `useChainQuery` functions for chain data retrieval
- Improved search functionality by optimizing chain queries and handling loading states
- Updated dependencies and imports for better code organization

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

<!-- end pr-codex -->
2024-07-08 22:35:37 +00:00
jnsdls 73105cc4ff [Feature] Extend useEcosystem hook and update Layout and Ecosystem components (#3604)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor ecosystem creation and management components in the dashboard.

### Detailed summary
- Refactored ecosystem creation components
- Updated ecosystem status handling
- Improved ecosystem selection functionality
- Reorganized ecosystem layout components

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/ecosystem-header.client.tsx`

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

<!-- end pr-codex -->
2024-07-08 22:05:45 +00:00
Joaquim Verges 95c9d3d924 chore(sdk): export smart wallet and bundler utilities (#3622) 2024-07-09 08:34:53 +12:00
gregfromstl 325416ea19 feat(chain): add Blast chain definition and export (#3619)
### TL;DR

Added a new chain definition for the 'Blast' chain.

### What changed?

- Added a new file `blast.ts` in `chain-definitions`
- Defined the Blast chain with ID 81457, name 'Blast', and native currency 'Ether'.
- Added Blastscan as the block explorer with corresponding URL and API URL.
- Updated `chains.ts` to export the `blast` chain.

### How to test?

1. Verify that the `blast.ts` file exists in the `chain-definitions` directory.
2. Check that the chain ID, name, and native currency are correctly defined.
3. Ensure the block explorer details are accurate.
4. Confirm that `chains.ts` exports the `blast` chain.

### Why make this change?

This change adds support for the Blast chain, which may be required for upcoming features or integrations. Including it ensures that the system can recognize and interact with the Blast blockchain.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds the `blast` chain preset to `thirdweb` package.

### Detailed summary
- Added `blast` chain definition in `blast.ts`
- Exported `blast` in `chains.ts` for use in `thirdweb` package

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

<!-- end pr-codex -->
2024-07-08 19:41:36 +00:00
gregfromstl 444ac06b10 fix(dashboard): update partner ID description in ecosystem partners section (#3620)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance the user guidance in the ecosystem-partners-section by adding a reminder to generate at least one partner ID for use in the app.

### Detailed summary
- Added a reminder to generate at least one partner ID for app usage.

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

<!-- end pr-codex -->
2024-07-08 19:27:42 +00:00
Manan Tank 5470dd9cf8 Pay UI improvements - Token amount rounding (#3621) 2024-07-09 00:38:42 +05:30
Jonas Daniels 9b67df7d11 [Fix] Enhance error logging in login flow (#3617) 2024-07-08 15:32:23 +00:00
jnsdls 21aaec802f [Refactor] Improve MediaRenderer component and update token components (#3602)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances ERC20 functionality and token details display.

### Detailed summary
- Added `transferBatch()` extension to `erc20.ts`
- Updated `TokenDetails` component to include `chainId`
- Improved ERC20 contract handling in `useTxNotifications`
- Updated `TokenBurnButton` and `TokenAirdropButton` components to use V5 contract handling

> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/tokens/components/airdrop-button.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/components/transfer-button.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/components/supply.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/components/airdrop-form.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/components/transfer-form.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/components/burn-form.tsx`

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

<!-- end pr-codex -->
2024-07-08 08:26:40 +00:00
Jonas Daniels 230a49be7b [Fix] Add support for legacy TW_AUTH_TOKEN in useLoggedInUser hook (#3616) 2024-07-08 01:25:11 -07:00
Jonas Daniels 36b6ef3e68 [Refactor] Update environment variable usage for THIRDWEB_API_HOST in login flow (#3615) 2024-07-08 00:47:41 -07:00
jnsdls 342d74efff api proxy (#3603)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing JWT utils, updating API host paths, and optimizing user authentication handling.

### Detailed summary
- Export JWT utils, fix naming of `decodeJWT`
- Update API host paths to use relative paths
- Optimize user authentication handling in various components

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-delete-partner.ts`, `apps/dashboard/src/components/app-layouts/app.tsx`, `apps/dashboard/src/components/buttons/TransactionButton.tsx`, `apps/dashboard/src/pages/dashboard/settings/notifications.tsx`, `apps/dashboard/src/components/engine/overview/transaction-timeline.tsx`, `apps/dashboard/src/pages/dashboard/settings/devices.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-add-partner.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-update-ecosystem.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/pay/page.tsx`, `apps/dashboard/src/pages/dashboard/engine/index.tsx`, `apps/dashboard/src/pages/dashboard/settings/billing.tsx`, `apps/dashboard/src/components/engine/engine-instances-table.tsx`, `apps/dashboard/src/pages/dashboard/settings/usage.tsx`, `apps/dashboard/src/pages/dashboard/settings/gas-credits.tsx`, `apps/dashboard/src/pages/dashboard/settings/api-keys/index.tsx`, `apps/dashboard/src/pages/api/server-proxy/api/[...paths].tsx`, `apps/dashboard/src/pages/dashboard/connect/analytics.tsx`, `apps/dashboard/src/components/storage/your-files.tsx`, `apps/dashboard/src/pages/api/server-proxy/pay/[...paths].tsx`, `apps/dashboard/src/components/engine/engine-list.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/hooks/usePayVolume.ts`, `apps/dashboard/src/components/pay/PayAnalytics/hooks/usePayNewCustomers.ts`, `apps/dashboard/src/components/pay/PayAnalytics/hooks/usePayPurchases.ts`, `apps/dashboard/src/pages/dashboard/connect/in-app-wallets.tsx`, `apps/dashboard/src/middleware.ts`, `apps/dashboard/src/components/pay/PayAnalytics/hooks/usePayCustomers.ts`, `apps/dashboard/src/pages/dashboard/connect/account-abstraction.tsx`, `apps/dashboard/src/app/login/page.tsx`, `apps/dashboard/src/app/components/ThirdwebMiniLogo.tsx`, `apps/dashboard/src/app/api/auth/ensure-login/route.ts`, `apps/dashboard/src/app/login/auth-actions.ts`, `apps/dashboard/src/components/buttons/MismatchButton.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useLoggedInUser.ts`, `apps/dashboard/src/@3rdweb-sdk/react/components/connect-wallet/index.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useApi.ts`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts`

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

<!-- end pr-codex -->
2024-07-08 06:17:38 +00:00
gregfromstl d253bad72f feature(ts): adds verifyTypedData and verifyHash (#3613) 2024-07-08 04:18:01 +00:00
gregfromstl f6ff5a78fc feat(connect-modal): Integrate NFT support into connect modal (#3585)
This PR introduces the ability to add NFTs to the connect modal in the thirdweb package. By using the `supportedNFTs` configuration, users can customize which NFTs are shown in the 'View Funds' section within the details modal. This update includes modifications to several TypeScript files to support the new functionality, adjustments in the UI components to handle NFT displays, and updates to hooks and utility functions to fetch and display owned NFTs.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add support for NFTs in the connect modal and customize the NFTs shown in the "View Funds" screen.

### Detailed summary
- Added support for NFTs in the connect modal with `supportedNFTs`
- Customized NFTs shown in the "View Funds" screen with `supportedNFTs`
- Updated components and types to handle NFTs
- Added NFT customization examples in documentation

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/ViewFunds.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/ViewNFTs.tsx`

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

<!-- end pr-codex -->
2024-07-05 06:06:20 +00:00
MananTank f103a902f3 Fix TransactionButton callbacks not called when sending tx from pay modal (#3611)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on fixing Transaction Button callbacks not being called when a transaction is executed in the Pay Modal.

### Detailed summary
- Added `rejectTx` parameter with reason in `useSendTransaction.ts`
- Added `resolveTx` parameter in `useSendTransaction.ts`
- Updated `useSendTransaction` in `useSendTransaction.tsx` to handle `rejectTx` and `resolveTx`
- Added `onTxSent` callback in `TxModal` and `ExecutingTxScreen` to handle transaction data

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

<!-- end pr-codex -->
2024-07-05 05:19:20 +00:00
0191e8dbad Version Packages (#3610)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-05 16:48:57 +12:00
Manan Tank 2ab8b3ca78 reset selection data on wallet button click (no custom selection UI) (#3608) 2024-07-05 03:24:00 +00:00
gregfromstl 9faa8fc112 feat(auth): add ERC-6492 utilities and verification compatibility (#3609) 2024-07-05 01:46:21 +00:00
gregfromstl 34b9bbe77f fix(wallet): ensure disconnect events are emitted (#3597)
Introducing a patch in the `thirdweb` library to address wallet disconnect events. The main changes involve making the `onDisconnect` function asynchronous and ensuring that it correctly emits disconnect events. Affected files include `coinbaseWebSDK.ts` and `index.ts` in the `thirdweb/src/wallets` directory.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing wallet disconnect events not being emitted in the `thirdweb` package.

### Detailed summary
- Added `async` keyword to `onDisconnect` function in `injected/index.ts` and `coinbaseWebSDK.ts`
- Replaced `disconnect` with `onDisconnect` in `onConnect` functions in both files

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

<!-- end pr-codex -->
2024-07-05 01:30:32 +00:00
Jonas Danielsandgithub-actions[bot] 4b72c1174c Version Packages (#3606)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-04 21:39:31 +12:00
Joaquim Verges c261921e55 fix(ui): resolve inapp wallet layout reset issue (#3605) 2024-07-04 21:27:00 +12:00
jnsdls 84e4d60752 [Fix] Remove outdated @ts-expect-error comments and update class usage (#3601) 2024-07-04 04:58:52 +00:00
b34ac5f524 Version Packages (#3586)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-04 16:10:22 +12:00
gregfromstl 059063f95f fix(dashboard): update and add tooltips in ecosystem form component (#3596) 2024-07-04 03:53:15 +00:00
Manan Tank e22b308fa7 Add Pay/Receive wallet Selector in Pay UI, Wallet switcher in Details Modal (#3591) 2024-07-04 03:28:04 +00:00
joaquim-verges e598f46422 fix(sdk): enforce legacy transactions on Vanguard chain (#3600) 2024-07-04 03:00:19 +00:00
jnsdls d2de83da66 [Refactor] Replace useApiAuthToken with useAccessToken (#3592)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances the `siwe_auth` functionality for better user authentication and access control.

### Detailed summary
- Renamed `ConnectWallet` component to `ConnectButton`
- Updated `useExtensionContractInfo` to use `useActiveAccount`
- Replaced `useApiAuthToken` with `useAccessToken` in multiple files
- Improved `useSiweAuth` with additional features and mutations
- Updated components to use `useAccessToken` for authentication
- Refactored `useLoggedInUser` to fetch user data efficiently

> The following files were skipped due to too many changes: `apps/dashboard/src/@3rdweb-sdk/react/hooks/useApi.ts`, `apps/dashboard/src/@3rdweb-sdk/react/components/connect-wallet/index.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts`

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

<!-- end pr-codex -->
2024-07-04 02:16:03 +00:00
joaquim-verges eac126bb14 fix(react-native): respect modal title and theme colors (#3599) 2024-07-04 01:45:44 +00:00
Joaquim Verges e0f4e5a233 fix(ui): correct error handling in SendFundsForm component (#3593) 2024-07-04 12:52:39 +12:00
Manan Tank e5cccb9d70 Fix Send TX UI (#3598) 2024-07-04 12:51:24 +12:00
gregfromstl a6ed6e66da fix(dashboard): ecosystem images (#3594)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds the `sizes`, `alt`, `fill`, and `unoptimized` attributes to the image in `ecosystem-header.client.tsx`.

### Detailed summary
- Added `sizes="100px"` attribute to the image
- Added `alt={ecosystem.name}` attribute
- Added `fill` attribute
- Added `unoptimized` attribute

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

<!-- end pr-codex -->
2024-07-03 22:25:23 +00:00
jnsdls 106c01356c [Fix] Update awaitTransaction and alignedTx nonce handling (#3590)
FIXES: DASH-58

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing the `ethers5` adapter's `populateTransaction` method for `sendTransaction`.

### Detailed summary
- Updated `populateTransaction` method in `ethers5.ts` to fix `sendTransaction` functionality
- Adjusted `nonce` default value from -1 to 0 for better handling

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

<!-- end pr-codex -->
2024-07-03 19:37:09 +00:00
kumaryash90 687328aae9 Blockscout v2 contract verification (#3576)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding support for Blockscout v2 contract verification.

### Detailed summary
- Added `ExplorerType` enum for different explorer types
- Modified contract verifier to handle Blockscout v2 verification
- Updated verification functions to support different explorer types

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

<!-- end pr-codex -->
2024-07-03 18:18:53 +00:00
gregfromstl 073359698e fix(hooks): update useLoggedInUser to include address validation (#3589) 2024-07-03 17:36:38 +00:00
gregfromstl ca54aa71c2 fix(dashboard): update to use new THIRDWEB_API_HOST in dashboard ecosystem components (#3588)
### TL;DR

Replaced `process.env.NEXT_PUBLIC_THIRDWEB_API_HOST` with `THIRDWEB_API_HOST` constant for ecosystem wallet-related fetch calls.

### What changed?

1. Updated import statements to bring in the `THIRDWEB_API_HOST` constant.
2. Replaced instances of `${process.env.NEXT_PUBLIC_THIRDWEB_API_HOST}` with `${THIRDWEB_API_HOST}` in ecosystem wallet-related fetch calls.
3. Updated links in the main ecosystem page for better navigation.

### How to test?

1. Ensure all ecosystem wallet functionality (fetching list, creating, etc.) still works without errors.
2. Verify that the navigation links on the main ecosystem page point to the correct URLs.

### Why make this change?

To replace the use of environment variables with constants for better code maintainability and readability.

---
2024-07-03 16:44:25 +00:00
Kien Ngo ff6d15491e Hotfix: Update support form to use Connect v5 (#3587) 2024-07-03 15:18:59 +00:00
Joaquim Verges 229561e1a7 feat(react-native): animated connect loading states (#3583) 2024-07-03 20:51:54 +12:00
e739d550e9 Version Packages (#3578)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-03 17:45:37 +12:00
gregfromstl 4353229a55 docs(ts): fix ecosystem wallet jsdocs (#3580)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the ecosystem wallet integration by replacing the `integratorId` parameter with `partnerId`.

### Detailed summary
- Replaced `integratorId` parameter with `partnerId` for connecting to a restricted ecosystem wallet with designated partner ID.
- Updated the code comments to reflect the change in parameter name.

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

<!-- end pr-codex -->
2024-07-03 02:14:50 +00:00
joaquim-verges 9651b96b96 feat: expose waitForUserOpReceipt helper function (#3582) 2024-07-03 02:09:23 +00:00
joaquim-verges 3c1734f639 fix: unit price conversion for ERC20 claimTo (#3581) 2024-07-03 00:43:53 +00:00
jnsdls 49ae575211 refactor: ConnectWallet v5 in dashboard (#3397)
### TL;DR

Rewrite `useAddress` function with `useActiveAccount` function across various components to streamline account state handling. Replace `useChainId` with `useActiveWalletChain` to manage chain IDs more accurately. Update various other functions to align with the `thirdweb/react` package changes.

### What changed?

1. Replaced `useAddress` with `useActiveAccount` in multiple components.
2. Replaced `useChainId` with `useActiveWalletChain` in multiple components.
3. Updated hook imports and usages to align with the `thirdweb/react` package updates.
4. Revisited and updated certain functionalities, including wallet connections, contract interactions, and UI updates for better efficiency.

### How to test?

1. Check if the `useActiveAccount` function accurately reflects the current active account state across different components.
2. Verify the `useActiveWalletChain` function is managing and reflecting the chain ID appropriately.
3. Test various functionalities including wallet connections and contract interactions to ensure they are working as expected after the hook changes.

### Why make this change?

To streamline account and chain state handling, leveraging the latest hooks from the `thirdweb/react` package for better modernity and efficiency in code maintenance and functionality.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on improving loading performance for chains and updating to useActiveAccount instead of useAddress.

### Detailed summary
- Improved loading performance for chains
- Replaced `useAddress` with `useActiveAccount` in multiple components
- Updated `fetchAuthToken` function to remove promises from the map when done

> The following files were skipped due to too many changes: `apps/dashboard/src/pages/dashboard/settings/billing.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/components/burn-button.tsx`, `apps/dashboard/src/contract-ui/tabs/proposals/page.tsx`, `apps/dashboard/src/core-ui/nft-drawer/useNftDrawerTabs.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/components/transfer-button.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/components/burn-form.tsx`, `apps/dashboard/src/contract-ui/tabs/claim-conditions/components/claim-conditions-form/index.tsx`, `apps/dashboard/src/contract-ui/tabs/settings/components/royalties.tsx`, `packages/thirdweb/src/react/web/ui/components/ChainName.tsx`, `apps/dashboard/src/contract-ui/components/solidity-inputs/address-input.tsx`, `apps/dashboard/src/components/engine/contract-subscription/contract-subscriptions-table.tsx`, `apps/dashboard/src/contract-ui/tabs/listings/components/listing-drawer.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/components/airdrop-button.tsx`, `apps/dashboard/src/pages/api/moralis/balances.ts`, `apps/dashboard/src/contract-ui/tabs/tokens/components/mint-form.tsx`, `apps/dashboard/src/contract-ui/tabs/tokens/components/airdrop-form.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/index.tsx`, `apps/dashboard/src/contract-ui/tabs/shared-components/listing-drawer.tsx`, `apps/dashboard/src/contract-ui/tabs/settings/components/primary-sale.tsx`, `apps/dashboard/src/contract-ui/tabs/account-permissions/components/account-signer.tsx`, `apps/dashboard/src/pages/profile/[profileAddress].tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/claim-form.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/layout.tsx`, `apps/dashboard/src/components/onboarding/Steps.tsx`, `apps/dashboard/src/contract-ui/tabs/shared-components/list-button.tsx`, `apps/dashboard/src/contract-ui/components/primary-dashboard-button.tsx`, `packages/thirdweb/src/react/native/ui/components/ChainIcon.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts`, `apps/dashboard/src/contract-ui/tabs/nfts/components/mint-supply-tab.tsx`, `apps/dashboard/src/contract-ui/tabs/split/page.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/airdrop-tab.tsx`, `packages/thirdweb/src/react/web/ui/components/TokenIcon.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/claim-tab.tsx`, `packages/thirdweb/src/react/web/ui/components/token/TokenSymbol.tsx`, `apps/dashboard/src/pages/dashboard/contracts/deploy.tsx`, `apps/dashboard/src/components/contract-components/published-contract/index.tsx`, `apps/dashboard/src/contract-ui/tabs/english-auctions/components/table.tsx`, `apps/dashboard/src/pages/dashboard/contracts/publish.tsx`, `apps/dashboard/src/components/contract-components/contract-publish-form/index.tsx`, `apps/dashboard/src/app/(dashboard)/providers.tsx`, `apps/dashboard/src/components/engine/engine-instances-table.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/swap/BuyTokenInput.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/tx-history/TokenInfoRow.tsx`, `apps/dashboard/src/contract-ui/tabs/direct-listings/components/table.tsx`, `apps/dashboard/src/components/contract-tabs/code/ContractCode.tsx`, `apps/dashboard/src/components/cmd-k-search/index.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/components/mint-form.tsx`, `packages/thirdweb/src/react/native/ui/connect/SendScreen.tsx`, `apps/dashboard/src/contract-ui/tabs/settings/components/metadata.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/swap/ConfirmationScreen.tsx`, `apps/dashboard/src/contract-ui/tabs/code/components/code-overview.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useRegistry.ts`, `apps/dashboard/src/contract-ui/tabs/settings/components/platform-fees.tsx`, `packages/thirdweb/src/chains/utils.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/tx-history/BuyTxHistory.tsx`, `packages/thirdweb/src/react/native/ui/connect/ConnectedModal.tsx`, `apps/dashboard/src/pages/dashboard/index.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatTxDetailsTable.tsx`, `apps/dashboard/src/contract-ui/tabs/overview/components/MarketplaceDetails.tsx`, `apps/dashboard/src/components/engine/overview/backend-wallets-table.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/TokenSelector.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useVote.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.tsx`, `apps/dashboard/src/components/ipfs-upload/dropzone.tsx`, `apps/dashboard/src/components/app-layouts/app.tsx`, `apps/dashboard/src/components/contract-components/import-contract/modal.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/components/client/add-chain-to-wallet.tsx`, `apps/dashboard/src/components/wallets/PosthogIdentifier.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useContractRoles.ts`, `apps/dashboard/src/components/onboarding/index.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useLoggedInUser.ts`, `apps/dashboard/src/components/selects/CustomChainRenderer.tsx`, `apps/dashboard/src/pages/cli/login.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/tx-history/SwapDetailsScreen.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.tsx`, `apps/dashboard/src/components/app-layouts/providers.tsx`, `apps/dashboard/src/components/buttons/TransactionButton.tsx`, `apps/dashboard/src/components/contract-components/hooks.ts`, `packages/thirdweb/src/react/core/hooks/others/useChainQuery.ts`, `apps/dashboard/src/components/buttons/MismatchButton.tsx`, `apps/dashboard/src/components/selects/NetworkSelectorButton.tsx`, `apps/dashboard/src/components/app-layouts/provider-setup.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/components/connect-wallet/index.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/NetworkSelector.tsx`

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

<!-- end pr-codex -->
2024-07-02 21:57:22 +00:00
jnsdls f5b8afef5c [Fix] Remove IPFS replacement hack in ChainIcon component (#3579)
no longer needed
2024-07-02 21:44:10 +00:00
gregfromstl 4786c2da72 feature(dashboard): ecosystem wallets (#3537)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces new error classes, updates routing, adds UI components, and refactors styles in the dashboard app.

### Detailed summary
- Added `FetchError` class for errors in API fetch requests
- Updated routing for ecosystem permissions
- Added new UI components for alerts, dropdown menus, and tabs
- Refactored global CSS styles for colors and backgrounds
- Updated ecosystem and partner types
- Refactored layout and input components
- Added hooks for fetching partners and ecosystem status
- Added pages for payment failure and ecosystem creation status
- Updated user authentication hook for better handling of connection status

> The following files were skipped due to too many changes: `apps/dashboard/src/@3rdweb-sdk/react/hooks/useLoggedInUser.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-ecosystem.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/hooks/use-ecosystem-list.ts`, `apps/dashboard/src/app/components/Header/DashboardHeader.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/layout.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/components/sidebar/sidebar.client.tsx`, `apps/dashboard/src/@/components/ui/form.tsx`, `apps/dashboard/src/@/components/ui/ConfirmationDialog.tsx`, `apps/dashboard/src/app/components/DashboardFooter.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-delete-partner.ts`, `apps/dashboard/src/@/components/ui/image-upload.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-update-ecosystem.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/create/page.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/chainlist/components/server/chainlist-card.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/create/hooks/use-create-ecosystem.ts`, `apps/dashboard/src/@/components/ui/radio-group.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-add-partner.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/chainlist/components/client/filters.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/integration-permissions-toggle.client.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/ecosystem-header.client.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/page.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/server/partners-table.tsx`, `apps/dashboard/src/@/components/ui/alert-dialog.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/create/components/client/create-ecosystem-form.client.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/add-partner-form.client.tsx`, `apps/dashboard/src/@/components/ui/dropdown-menu.tsx`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-07-02 21:17:53 +00:00
gregfromstl 6b919e1385 feature(react): show ecosystem wallet branding regardless of modal size (#3577)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on displaying ecosystem wallet branding in a wide modal layout.

### Detailed summary
- Display ecosystem wallet branding in wide modal layout
- Updated `EcosystemWalletFormUI.tsx` to show wallet header in all layouts

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

<!-- end pr-codex -->
2024-07-02 20:58:52 +00:00
Jonas Daniels 2b5ee62b2b Version Packages (#3571) 2024-07-02 11:37:11 -07:00
Manan Tank 59531310d9 Reset selection data on wallet selection (#3575) 2024-07-02 15:58:00 +00:00
joaquim-verges 9516259245 fix(react-native): ensure onClose is called on successful wallet connection in ConnectModal (#3573) 2024-07-02 15:13:22 +00:00
MananTank f526d733d0 Fix inApp wallet connection screen on compact modal (#3574)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on fixing issues related to the inApp wallet connection flow in the Compact size Connect UI.

### Detailed summary
- Fixed broken inApp wallet connection flow
- Added missing back button in inApp wallet connection flow
- Updated handling of going back to main screen in wallet UI components

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

<!-- end pr-codex -->
2024-07-02 15:07:24 +00:00
dependabot[bot] 931cca3a7e build(deps): bump viem from 2.16.4 to 2.16.5 (#3567)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 22:49:57 -07:00
dependabot[bot] 20d4c90b54 build(deps-dev): bump @swc/core from 1.6.5 to 1.6.6 (#3566)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 22:49:47 -07:00
edwardysun e5f772dd5c Support localhost in Pay domains (#3569)
## Problem solved

Use "http://" if localhost domain used for thirdweb Pay

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds support for using localhost as a domain override option for the Pay service.

### Detailed summary
- Added support for localhost as a domain override option for the Pay service in `definitions.ts`
- Updated all endpoint URLs to use the `getPayBaseUrl()` function instead of directly fetching the domain from `getThirdwebDomains().pay`

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

<!-- end pr-codex -->
2024-07-02 05:13:20 +00:00
jnsdls 373ce19286 fix lockfile (#3572) 2024-07-02 04:49:24 +00:00
joaquim-verges 1a2e056329 feat(react native): add Skeleton loading state across components (#3570) 2024-07-02 03:58:23 +00:00
joaquim-verges 0077d38c65 feat: Connect components in React Native [part 1] (#3246)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on refactoring, updating dependencies, and improving code organization.

### Detailed summary
- Updated dependencies and file paths
- Refactored wallet-related functions
- Added default wallets for various chains
- Updated UI components and design system configurations

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/wallets/shared/OTPLoginUI.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/WalletSelector.tsx`, `packages/thirdweb/src/react/web/wallets/shared/SocialLogin.tsx`, `packages/thirdweb/src/react/native/ui/components/TokenIcon.tsx`, `packages/thirdweb/src/react/web/wallets/shared/PassKeyLogin.tsx`, `packages/thirdweb/src/react/web/ui/PayEmbed.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/FiatSteps.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/SmartWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/TokenSelector.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/ViewFunds.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/SignatureScreen.tsx`, `packages/thirdweb/src/react/web/ui/components/WalletImage.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/AnyWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/swap/PayWithCrypto.tsx`, `packages/thirdweb/src/react/native/ui/connect/ErrorView.tsx`, `packages/thirdweb/src/react/web/hooks/transaction/useSendTransaction.tsx`, `packages/thirdweb/src/react/native/ui/connect/SuccessView.tsx`, `packages/react-native-adapter/README.md`, `packages/thirdweb/src/react/native/ui/components/text.tsx`, `packages/thirdweb/src/react/native/ui/components/ChainIcon.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/ConnectButton.tsx`, `packages/thirdweb/src/wallets/manager/index.ts`, `packages/thirdweb/src/react/web/wallets/shared/ConnectWalletSocialOptions.tsx`, `packages/thirdweb/src/react/native/ui/components/Address.tsx`, `packages/thirdweb/src/react/web/hooks/wallets/useAutoConnect.ts`, `packages/thirdweb/src/react/native/ui/components/RNImage.tsx`, `packages/thirdweb/src/exports/react.native.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/ConnectButtonProps.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/BuyScreen.tsx`, `packages/thirdweb/src/react/native/ui/components/Header.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/defaultTokens.ts`, `packages/thirdweb/src/react/native/ui/connect/ReceiveScreen.tsx`, `packages/thirdweb/src/react/native/ui/components/button.tsx`, `packages/thirdweb/src/exports/react.ts`, `packages/thirdweb/src/react/native/ui/components/WalletImage.tsx`, `packages/thirdweb/src/react/native/ui/connect/ConnectedButton.tsx`, `packages/thirdweb/src/react/core/hooks/wallets/useSendToken.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/SendFunds.tsx`, `packages/thirdweb/src/react/native/ui/components/input.tsx`, `packages/thirdweb/src/react/core/utils/wallet.ts`, `packages/thirdweb/src/react/web/ui/components/ChainIcon.tsx`, `packages/thirdweb/src/react/native/ui/connect/ExternalWalletsList.tsx`, `packages/thirdweb/package.json`, `packages/thirdweb/src/react/native/ui/connect/TokenListScreen.tsx`, `packages/thirdweb/src/react/native/ui/connect/ConnectButton.tsx`, `packages/thirdweb/src/react/native/ui/connect/SendScreen.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx`, `packages/thirdweb/src/react/native/ui/connect/ConnectModal.tsx`, `packages/thirdweb/src/react/native/ui/connect/InAppWalletUI.tsx`, `packages/thirdweb/src/react/core/hooks/connection/ConnectEmbedProps.ts`, `packages/thirdweb/src/react/native/ui/connect/ConnectedModal.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectEmbed.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/icons/dataUris.ts`, `packages/thirdweb/src/react/native/ui/icons/svgs.ts`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-07-02 02:01:48 +00:00
53aa8674b4 Version Packages (#3555)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-02 13:59:25 +12:00
gregfromstl 98a9e226fa fix(ts): import of coinbase sdk in vite (#3562)
### TL;DR

Corrected the import handling for CoinbaseWalletSDK in the coinbaseWebSDK.ts file.

### What changed?

The import statement for CoinbaseWalletSDK was modified to handle cases where the import does not return a default function directly.

### How to test?

- Verify the Coinbase wallet integration in the application.
- Ensure that different environments (e.g., development, production) can import and utilize the CoinbaseWalletSDK without errors.

### Why make this change?

This change ensures that the CoinbaseWalletSDK import is handled correctly, thereby preventing potential import errors that could occur in various environments.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR fixes coinbase wallet connections on Vite by addressing import errors related to `CoinbaseWalletSDK`.

### Detailed summary
- Fixed import error for `CoinbaseWalletSDK` on Vite
- Added workaround for Vite dev import issues
- Ensured proper initialization of `CoinbaseWalletSDK` to connect coinbase wallet

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

<!-- end pr-codex -->
2024-07-01 22:05:33 +00:00
kien-ngo a1d6a3c93e Add announcement for Onchain Olympics (#3568)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update the AnnouncementBanner component with a new link and label for the Onchain Olympics event, along with revised text content.

### Detailed summary
- Updated link `href` to "https://onchainolympics.com"
- Updated `label` to "onchain-olympics"
- Revised text content to promote the Onchain Olympics event and NFT minting.

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

<!-- end pr-codex -->
2024-07-01 21:42:49 +00:00
dependabot[bot] 6c0edcd673 build(deps): bump @radix-ui/react-focus-scope from 1.0.4 to 1.1.0 (#3564)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 14:41:54 -07:00
kien-ngo 3bee20d545 Fix playground docs link (#3561)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the link in the sign-in page to direct users to the new "overview" section instead of the main sign-in page.

### Detailed summary
- Updated the link `href` in the sign-in page to navigate to the "overview" section instead of the main sign-in page.

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

<!-- end pr-codex -->
2024-07-01 15:30:00 +00:00
Joaquim Verges 6e24b3f0f5 fix: add missing sendTransaction import in multiple files to ensure proper transaction handling (#3559) 2024-07-01 20:35:52 +12:00
gregfromstl 54c1789330 fix(utils): correct filter condition for recommended wallets (#3558)
## Problem solved

Recommended wallets were being compared for object equality when sorting, which caused confusion when using inline `createWallet` to set the recommended wallets. This PR updates sorting to compare the recommended wallets by ID (installed providers already work this way)
2024-07-01 01:33:08 +00:00
jnsdls cbb0bc2835 [Fix] Update package dependencies and improve import paths (#3554)
This pull request updates package.json dependencies to specific versions across multiple packages, moving from using caret (^) to specific version numbers for consistency and to prevent unwanted updates. Additionally, it includes changes to various TypeScript files, primarily adding the ESLint directive `@typescript-eslint/no-unused-vars` to suppress warnings for unused variables.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates dependencies, adds styled components, and disables eslint for unused vars in various React components.

### Detailed summary
- Updated dependencies in multiple package.json files
- Added styled components for DialogContent, Overlay, DropContainer, QRPlaceholder, and more
- Disabled eslint for unused vars in React components
- Updated next.config.mjs in playground-web
- Updated pnpm-workspace.yaml
- Added eslint and styled components in wallets package.json
- Updated dependencies in wallet-ui package.json

> The following files were skipped due to too many changes: `apps/playground-web/src/components/blockchain-api/write-contract-extension.tsx`, `legacy_packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx`, `apps/playground-web/package.json`, `legacy_packages/react/package.json`, `apps/playground-web/src/components/blockchain-api/write-contract-raw.tsx`, `package.json`, `apps/dashboard/package.json`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-06-30 00:06:16 +00:00
gregfromstl 80b9cd967c chore(tests): update tests to use sendAndConfirmTransaction method (#3548)
This pull request updates the function names and constants used in the deploy-modular-core.test.ts file. Specific changes include:

- Replacing `ADDRESS_ZERO` with `ZERO_ADDRESS` to align with existing codebase conventions.
- Changing `sendTransaction` to `sendAndConfirmTransaction` to include transaction confirmation within the test cases.

### TL;DR

Updated function names and constants in the deploy-modular-core.test.ts for better alignment with the codebase.

### What changed?

- Replaced `ADDRESS_ZERO` with `ZERO_ADDRESS`.
- Replaced `sendTransaction` with `sendAndConfirmTransaction`.

### How to test?

Run the updated tests in deploy-modular-core.test.ts to ensure all changes work as expected.

### Why make this change?

These changes improve the code readability and follow naming conventions already established in the codebase. By including transaction confirmation, the tests are more robust and reliable.

---
2024-06-28 20:49:55 -07:00
Jonas Daniels cddd0ca302 Version Packages (#3530) 2024-06-28 19:57:12 -07:00
Jonas Daniels 8bfba81d2e Create poor-dragons-eat.md
Signed-off-by: Jonas Daniels <[email protected]>
2024-06-28 19:28:46 -07:00
Jonas Daniels 9250ac5b44 Update packages/thirdweb/src/chains/chain-definitions/linea-sepolia.ts
Signed-off-by: Jonas Daniels <[email protected]>
2024-06-28 19:28:46 -07:00
maciekzygmunt 5f7e9545ce add exports 2024-06-28 19:28:46 -07:00
Maciej Zygmunt 439976b7a6 add linea chain configs 2024-06-28 19:28:46 -07:00
jnsdls b6ab038802 Update Dependencies (#3551)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates various dependencies across different packages to their latest versions.

### Detailed summary
- Updated `webpack` to `5.92.1`
- Updated `@types/node` to `20.14.9`
- Updated `@microsoft/api-documenter` to `^7.25.4`
- Updated `abitype` to `1.0.5`
- Updated `@babel/preset-react` to `^7.24.7`
- Updated `eslint-config-turbo` to `2.0.6`
- Updated `@typescript-eslint/eslint-plugin` to `7.14.1`
- Updated `viem` to `2.16.4`
- Updated various other dependencies across packages

> The following files were skipped due to too many changes: `apps/dashboard/package.json`, `packages/thirdweb/package.json`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-06-29 02:14:34 +00:00
gregfromstl 31775dc1dc feature(ts): unpin files from ipfs (#3552)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds a new `unpin` function to `thirdweb` package for unpinning files from IPFS.

### Detailed summary
- Added `unpin` function to unpin files from IPFS in `thirdweb` package
- Defined `UnpinOptions` type for specifying client and CID
- Implemented unpin logic with error handling and authorization check

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

<!-- end pr-codex -->
2024-06-29 01:34:02 +00:00
jnsdls 32d1838d6a [Chore] Update Foundry version to nightly-c4a984fbf2c48b793c8cd53af84f56009dd1070c in CI workflow (#3553) 2024-06-29 01:13:24 +00:00
jnsdls 049a91a52a [Chore] Bump turbo from 2.0.5 to 2.0.6 (#3550) 2024-06-29 00:01:38 +00:00
gregfromstl 31d8b830f2 chore(wallet-ui): initialize project (#3477)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on adding Thirdweb Wallet UI to the project, configuring Next.js, Tailwind CSS, and PostCSS, setting up Biome, and defining TypeScript settings.

### Detailed summary
- Added Thirdweb Wallet UI
- Configured Next.js, Tailwind CSS, and PostCSS
- Set up Biome configuration
- Defined TypeScript settings for Wallet UI
- Added global CSS styles for the app
- Updated dependencies and scripts in package.json

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

<!-- end pr-codex -->
2024-06-28 23:42:02 +00:00
MananTank be9118a04f [dashboard] Add copy button for chain id (#3538)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a `CopyTextButton` component with copy functionality and icon positioning to enable copying text in various components.

### Detailed summary
- Added `CopyTextButton` component for copying text with icon positioning
- Implemented `CopyTextButton` in multiple files for copying chain IDs and addresses
- Updated components to include the new `CopyTextButton` for better user experience

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

<!-- end pr-codex -->
2024-06-28 23:24:24 +00:00
jnsdls 3ffad1a5a6 [Fix] Update import paths in engine-explorer and _app.tsx for better modularity (#3547)
### TL;DR

Corrected stylesheet imports for `swagger-ui.css` in the Engine Explorer component and added the Toaster component import in the _app.tsx.

### What changed?

- Added missing `swagger-ui.css` import in `engine-explorer.tsx`
- Removed duplicate `swagger-ui.css` import from `_app.tsx`
- Ensured Toaster component import in `_app.tsx`

### How to test?

- Verify UI for the Engine Explorer relies on the correct styles
- Ensure the Toaster component renders correctly without issues

### Why make this change?

To ensure the correct CSS styles are applied and to improve the maintainability of the import statements.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds `swagger-ui.css` to `engine-explorer.tsx` and removes it from `_app.tsx`.

### Detailed summary
- Added `swagger-ui.css` import to `engine-explorer.tsx`
- Removed `swagger-ui.css` import from `_app.tsx`

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

<!-- end pr-codex -->
2024-06-28 23:06:04 +00:00
jnsdls 37d9373cf2 [Feature] Update dependencies and add new form and toaster components (#3546)
### TL;DR

This PR introduces new form components and integrates Sonner for toast notifications, along with various enhancements and fixes.

### What changed?

- Added new form components (`Form`, `FormField`, `FormLabel`, etc.) to the `ui` directory.
- Integrated `sonner` for toast notifications, adding a `Toaster` component.
- Migrated `pay.tsx` to the App Router and refactored its structure.
- Updated `DashboardHeader` and `DashboardLayout` for consistent spacing and padding.
- Refactored existing API key components and updated styles for better alignment and responsiveness.
- Fixed layout issues in `PayConfig` and other related components.

### How to test?

1. Navigate to the Dashboard and ensure the form components are rendering correctly.
2. Interact with forms and verify validation and error messages display as expected.
3. Trigger actions that would show toast notifications and ensure they are styled and positioned correctly.
4. Check the `PayConfig` and API key management sections for any UI regressions or inconsistencies.

### Why make this change?

- To enhance the user experience with improved form components and toast notifications.
- To maintain consistency in layout and design across the Dashboard.
- To address layout and spacing issues reported in the Pay section and other related components.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the layout, components, and dependencies in the dashboard app.

### Detailed summary
- Updated layout styles in `layout.tsx` and `DashboardHeader.tsx`
- Added `Toaster` component in `layout.tsx`
- Updated `sonner` package to version `1.5.0`
- Refactored components in `ConnectWalletPrompt.tsx` and `NoApiKeys.tsx`
- Implemented a new `Toaster` component in `sonner.tsx`
- Added new components and refactored UI in `Menu.tsx` and `ApiKeys/NoApiKeys.tsx`
- Updated page structure in `connect/pay.tsx`

> The following files were skipped due to too many changes: `apps/dashboard/src/@/components/ui/form.tsx`, `apps/dashboard/src/components/pay/PayConfig.tsx`

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

<!-- end pr-codex -->
2024-06-28 23:06:02 +00:00
gregfromstl 27daf22010 fix(ts): prepare incoming walletconnect transactions (#3541)
Adding thirdwebClient to createWalletConnectClient and fulfillRequest functions to ensure proper transaction execution through WalletConnect. This update includes a refactor of handleSendTransactionRequest to utilize the new client and various other related changes for consistency.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing in-app wallet transaction execution via WalletConnect by introducing `thirdwebClient` and updating related functions.

### Detailed summary
- Introduced `thirdwebClient` to handle WalletConnect transactions
- Updated functions to include `thirdwebClient` parameter
- Added tests using `TEST_CLIENT` for `thirdwebClient` integration

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

<!-- end pr-codex -->
2024-06-28 22:46:53 +00:00
gregfromstl 7e242602e9 fix(wallet): handle errors when connecting with open access ecosystem (#3545)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on fixing errors related to connecting with an open access ecosystem by updating permissions logic in the `in-app-account.ts` file.

### Detailed summary
- Updated permissions logic to include partnerId check for ecosystem connectivity.

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

<!-- end pr-codex -->
2024-06-28 22:18:35 +00:00
gregfromstl 85f2f6d2bd fix(ts): properly disconnect wallet connect (#3539)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on fixing WalletConnect client disconnections and improving error handling.

### Detailed summary
- Added a delay in testing for WalletConnect client disconnections
- Updated the `onDisconnect` function in `WalletConnectReceiverScreen.tsx` to handle loading state and query invalidation
- Improved error handling in `wallet-connect/receiver/index.ts` by catching errors during disconnect
- Added a function to remove sessions in `disconnectWalletConnectSession`
- Updated `disconnectWalletConnectSession` to handle errors gracefully

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

<!-- end pr-codex -->
2024-06-28 21:50:37 +00:00
gregfromstl 6704fa8870 fix(mint): add ability to override transaction properties in mintTo functions (#3543)
This pull request introduces a minor update to the thirdweb library, specifically adding the feature to override transaction properties in the `mintTo` functions for ERC1155, ERC20, and ERC721 tokens. Additionally, it refines the ENS avatar resolution tests by removing an offchain record test that relies on a secret key, improving overall test reliability.

---
2024-06-28 21:02:33 +00:00
jnsdls d2c1038845 [Feature] Add new Dashboard sidebar components and ecosystem wallets link (#3531)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the dashboard layout and styling, adds Ecosystem Wallet features, and refactors navigation components.

### Detailed summary
- Added "Ecosystem Wallets" section to dashboard sidebar
- Updated button styles in UI components
- Implemented Ecosystem Wallet page with alerts and buttons
- Refactored navigation components for better usability

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/dashboard/components/sidebar/sidebar.client.tsx`

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

<!-- end pr-codex -->
2024-06-28 20:20:14 +00:00
gregfromstl 517ecff0b2 fix(sepolia): rename Sepolia native currency symbol to ETH (#3542) 2024-06-28 20:15:10 +00:00
gregfromstl cf2d1b8df3 feat(utils): add shortenHex function to utils for shortening hexadecimal strings (#3534) 2024-06-28 00:35:21 +00:00
gregfromstl e4b6391cb3 fix(transaction): export StoredTransaction type from transaction-store.js (#3533)
### TL;DR

This pull request modifies the `transaction-store.ts` module by exporting the type `StoredTransaction`, making it available for external use.

### What changed?

- The type `StoredTransaction` was exported from `transaction-store.ts`
- Updated the export statement for `StoredTransaction` in `transaction.ts`

### How to test?

1. Ensure that the module `transaction-store.ts` exports the type `StoredTransaction`.
2. Verify that importing `StoredTransaction` from the module works correctly in another file.

### Why make this change?

This change was made to facilitate the external utilization of the `StoredTransaction` type.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a `StoredTransaction` type to the `thirdweb` package.

### Detailed summary
- Added `StoredTransaction` type to `transaction-store.ts`
- Exported `StoredTransaction` type in `transaction.ts`

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

<!-- end pr-codex -->
2024-06-28 00:29:52 +00:00
arcoraven 07ec487320 fix: bigint crash on tooltip (#3532)
## Problem solved

Fix error: "Do not know how to serialize bigint" by casting bigint to number when used as a string.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the README file to provide instructions for starting a local dev server and modifies a query key in a TypeScript file for improved functionality.

### Detailed summary
- Updated README.md to include instructions for starting a local dev server
- Modified query key in contract-subscriptions-table.tsx for better functionality

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

<!-- end pr-codex -->
2024-06-27 22:29:12 +00:00
gregfromstl 18c3d3be9f fix(react): remove problematic console errors (#3529)
These console.error logs don't represent an actual error state, and trigger error monitoring services for users
2024-06-27 19:06:27 +00:00
Jonas Danielsandgithub-actions[bot] 5dcc8c57ab Version Packages (#3426)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-27 10:27:48 -07:00
gregfromstl f9f5250b58 feat(auth): fetch ecosystem auth options from server (#3528)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor ecosystem wallet related functions, update UI components, and integrate new auth options fetching mechanism.

### Detailed summary
- Refactored ecosystem wallet related functions for better clarity and consistency.
- Updated UI components in various files for improved user experience.
- Integrated a new mechanism to fetch auth options for ecosystem wallets.
- Added a loading screen component for better user feedback during data fetching.

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

<!-- end pr-codex -->
2024-06-27 17:12:13 +00:00
Jonas Daniels 2ccb59e3fc [Chore] Remove concurrency limit from build:release script in package.json (#3527) 2024-06-26 21:48:23 -07:00
Jonas Daniels d908851504 [Chore] Rename .changeset/v4-changesets-apply-later directory to .v4-changesets-apply-later for consistency (#3526) 2024-06-26 21:36:09 -07:00
jnsdls 6b6c03563e [Chore] Update dependencies and refactor changesets directory structure (#3525)
### TL;DR

This PR adjusts the `.changeset/config.json` to update dependency settings and reorganizes changeset markdown files under a new directory.

### What changed?

- Removed `fixed` and `linked` fields from the `.changeset/config.json`.
- Updated the `ignore` array in `config.json` to include additional thirdweb-dev packages.
- Moved existing `.changeset/*.md` files to a newly created `v4-changesets-apply-later` directory.

### How to test?

Verify that dependency updates and changeset file reorganization are reflected correctly in the `.changeset/config.json` and file structure.

### Why make this change?

We are temporarily only releasing v5 packages (while figuring a path forward regarding `@thirdweb-dev/react` with npm).

---
2024-06-27 04:21:19 +00:00
0xFirekeeper 0751a6c6ea Unity 4.16.6 (#3522)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the X_SDK_VERSION in `thirdweb-bridge.ts` from "4.16.5" to "4.16.6".

### Detailed summary
- Updated X_SDK_VERSION from "4.16.5" to "4.16.6" in `thirdweb-bridge.ts`.

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

<!-- end pr-codex -->
2024-06-27 04:15:19 +00:00
gregfromstl 4dae68796e fix(ts): in-app wallet user op signatures (#3507)
### TL;DR

This PR updates the message handling in the in-app-account module of the thirdweb package. Specifically, it modifies the message decoding process and removes an unused import.

### What changed?

- Modified the IFrameWallet class to handle messages that are bytes or strings.
- Removed the `uint8ArrayToString` import which was no longer needed.

### How to test?

1. Run the existing test suite to ensure all tests pass.
2. Manually test the in-app wallet functionality to validate the message handling changes.

### Why make this change?

To improve the robustness and maintainability of the in-app-account module in the thirdweb package by cleaning up the code and ensuring proper handling of different message types.

---
2024-06-27 03:58:32 +00:00
gregfromstl c330d0d815 fix(ens): enhance ENS resolution tests and error handling (#3513)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances ENS resolution in `thirdweb` extension. It now returns null if no ENS exists for an address.

### Detailed summary
- Updated `resolveName` to return null if no ENS exists
- Added error handling to catch specific error code
- Updated tests to reflect changes in ENS resolution behavior

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

<!-- end pr-codex -->
2024-06-27 03:41:20 +00:00
MananTank 16ea2bc684 Fix openWindow not working inside iframe (#3521)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to fix the wallet app not opening when using `ConnectButton` inside an iframe.

### Detailed summary
- Updated `WalletConnectConnection.tsx` to handle opening wallet app inside iframes
- Modified `openWindow.ts` to address issues with `window.open` on iOS and WebViews

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

<!-- end pr-codex -->
2024-06-27 03:25:53 +00:00
jnsdls d974db533a [Chore] Update zksync-ethers to 5.9.0 and modify useCustomContractDeployMutation (#3523)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates `zksync-ethers` to version `5.9.0`, adds new assertions in `hooks.ts`, and introduces a fake provider for `zkSigner` initialization.

### Detailed summary
- Updated `zksync-ethers` to `5.9.0`
- Added assertions for `signer` and `walletAddress` in `hooks.ts`
- Introduced a fake provider for `zkSigner` initialization

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

<!-- end pr-codex -->
2024-06-26 23:04:01 +00:00
jnsdls 7be7b6ff84 [Fix] Prevent overriding gasLimit and maxFeePerGas settings if already present (#3519)
Respect gas overrides if they are passed in both the SDK and various wallet implementations by checking if gasLimit, maxFeePerGas, and maxPriorityFeePerGas are already set before applying default values. Added necessary type annotations and improved import statements for better code clarity.

---

<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to respect gas overrides passed in and avoid overriding existing values in transactions.

### Detailed summary
- Respect gas overrides if passed in
- Update `WrappedSigner` and `EthersSigner` classes to handle gas overrides
- Update `UserWallet` to set default gas values only if not already set

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

<!-- end pr-codex -->
2024-06-26 11:52:40 +00:00
Jonas Daniels 3979ff0238 [Chore] Add concurrency limit to build scripts and update turbo.json configuration (#3518) 2024-06-26 01:53:38 -07:00
Jonas Daniels 1e9baa688f [Chore] Remove unnecessary checkout step in release-nightly workflow and update import references (#3517) 2024-06-26 00:37:53 -07:00
Jonas Daniels 39455a096a [Chore] Upgrade TypeScript dependency to 5.5.2 across multiple packages (#3516) 2024-06-26 00:00:06 -07:00
Jonas Daniels 40aac265fe [Chore] Upgrade typescript dependency to 5.5.2 and update release-nightly workflow (#3515) 2024-06-25 23:58:16 -07:00
Jonas Daniels 370c686d37 [Chore] Downgrade TypeScript dependency to 5.4.5 (#3514) 2024-06-25 23:31:56 -07:00
Jonas Daniels 0708d4e71b [Chore] Enhance tsconfig to explicitly set noUncheckedIndexedAccess and update build:release script (#3512) 2024-06-25 23:05:16 -07:00
Jonas Daniels cde0c1741d [Chore] Rename Chain type alias to InternalChain and re-export as Chain (#3510) 2024-06-25 22:47:44 -07:00
Jonas Daniels ed3a04f20b [Chore] Enhance tsconfig.json in react-core to resolve JSON modules (#3509) 2024-06-25 22:13:48 -07:00
Jonas Daniels 2dac941399 [Chore] Add type annotations to SwapFees and SwapTransactionsScreen components (#3508) 2024-06-25 22:04:22 -07:00
Jonas Daniels fbb1493f1e [Chore] Enhance tsconfig and error handling across multiple packages (#3506) 2024-06-25 21:43:50 -07:00
Jonas Daniels 724ef108dc [Chore] Update release-nightly workflow to remove unnecessary checkout step (#3505) 2024-06-25 21:02:21 -07:00
Jonas Daniels af84d47bfb [Chore] Update wallets tsconfig.json to use dynamic configDir paths (#3504) 2024-06-25 20:49:38 -07:00
Jonas Daniels 4f462607e6 [Chore] Upgrade typescript dependency to 5.5.2 (#3503) 2024-06-25 20:05:50 -07:00
Jonas Daniels 3e41742213 [Chore] Update CI workflows to use latest Ubuntu version (#3502) 2024-06-25 19:20:30 -07:00
Jonas Daniels ba8a2c147f [Chore] Add @ts-nocheck to md5 and crypto-js-compat to suppress TypeScript errors (#3501) 2024-06-25 19:18:00 -07:00
Jonas Daniels 7b70919507 [Chore] Update .changeset/config.json to add new package and adjust build scripts (#3500) 2024-06-25 18:57:36 -07:00
Jonas Daniels d5dc5e5ff2 [Chore] Update esbuild dependency to version 0.21.5 (#3497) 2024-06-25 17:25:18 -07:00
Jonas Daniels aa72b675ac [Chore] Update .changeset/config.json to remove deprecated entries (#3496) 2024-06-25 17:07:08 -07:00
Jonas Daniels 3ee99e59d8 [Chore] Update configs and scripts (#3495) 2024-06-25 17:00:42 -07:00
kumaryash90 28ed28a8e9 ZkSync addresses update (#3492)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates ZkCandy addresses for the Sepolia Testnet and ZKSync Era Mainnet.

### Detailed summary
- Added new addresses for various contracts on the Sepolia Testnet for ZkCandy.
- Updated addresses for DropERC721 on the ZKSync Era Mainnet.

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

<!-- end pr-codex -->
2024-06-25 22:13:27 +00:00
gregfromstl 9b46a730b3 fix(transaction): update EIP721 to EIP712 naming in getEip721Domain and prepare-transaction (#3480)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates transaction options and serialization to use EIP712 instead of EIP721.

### Detailed summary
- Renamed `EIP721TransactionOptions` to `EIP712TransactionOptions`
- Renamed `EIP721SerializedTransaction` to `EIP712SerializedTransaction`
- Updated function parameters and return types accordingly

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

<!-- end pr-codex -->
2024-06-25 21:57:36 +00:00
dependabot 598654ee75 build(deps): bump @typescript-eslint/parser from 7.13.1 to 7.14.1 (#3468)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.13.1 to 7.14.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/parser</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.14.1</h2>
<h2>7.14.1 (2024-06-24)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] treat enums and literals as their underlying primitive types (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9376">#9376</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] ensure ternary fix does not remove parens (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9380">#9380</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Jake Bailey <a href="https://github.com/jakebailey"><code>@​jakebailey</code></a></li>
</ul>
<p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p>
<h2>v7.14.0</h2>
<h2>7.14.0 (2024-06-24)</h2>
<h3>🚀 Features</h3>
<ul>
<li>support TypeScript 5.5 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9397">#9397</a>)</li>
<li><strong>ast-spec:</strong> tighter types and documentation for declaration/* (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9211">#9211</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li>keep warnAbountTSVersion in sync with package.json (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9400">#9400</a>)</li>
<li><strong>eslint-plugin:</strong> [no-extraneous-class] handle abstract members (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9367">#9367</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-nullish-coalescing] handle intersected primitive types (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9378">#9378</a>)</li>
<li><strong>eslint-plugin:</strong> [no-invalid-this] support AccessorProperty (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9411">#9411</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Brad Zacher <a href="https://github.com/bradzacher"><code>@​bradzacher</code></a></li>
<li>cm-ayf <a href="https://github.com/cm-ayf"><code>@​cm-ayf</code></a></li>
<li>Jake Bailey <a href="https://github.com/jakebailey"><code>@​jakebailey</code></a></li>
<li>James Zhan</li>
<li>Joshua Chen</li>
<li>yoshi2no <a href="https://github.com/yoshi2no"><code>@​yoshi2no</code></a></li>
</ul>
<p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md"><code>@​typescript-eslint/parser</code>'s changelog</a>.</em></p>
<blockquote>
<h2>7.14.1 (2024-06-24)</h2>
<p>This was a version bump only for parser to align it with other projects, there were no code changes.</p>
<p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p>
<h2>7.14.0 (2024-06-24)</h2>
<h3>🚀 Features</h3>
<ul>
<li>support TypeScript 5.5</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Brad Zacher</li>
<li>cm-ayf</li>
<li>Jake Bailey</li>
<li>James Zhan</li>
<li>Joshua Chen</li>
<li>yoshi2no</li>
</ul>
<p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/b4fe94f7fcb4d6e631b0cd626ea48f3b88e16a33"><code>b4fe94f</code></a> chore(release): publish 7.14.1</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/dfc44691400b22634c8acf4666b5e7e4ba1fee9a"><code>dfc4469</code></a> chore(release): publish 7.14.0</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v7.14.1/packages/parser">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/parser&package-manager=npm_and_yarn&previous-version=7.13.1&new-version=7.14.1)](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 TypeScript-related packages to the latest versions for enhanced linting and type checking.

### Detailed summary
- Updated `@typescript-eslint/parser` to `7.14.1` in multiple files
- Updated various related packages to maintain compatibility with TypeScript versions
- Added new versions for `@typescript-eslint/scope-manager`, `@typescript-eslint/types`, and other related packages

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

<!-- end pr-codex -->
2024-06-25 21:49:30 +00:00
Jonas Daniels 518ec9d90c [Chore] Update labeler.yml to use 'changed-files' key for paths (#3493) 2024-06-25 14:26:33 -07:00
github-actions[bot] 6b0a96dcc7 chore(chains): update chains (#3491)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-25 14:19:47 -07:00
dependabot[bot] 1def50f871 build(deps-dev): bump @swc/core from 1.5.24 to 1.6.5 (#3470)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 14:18:27 -07:00
dependabot[bot] addd1bebcc build(deps): bump actions/labeler from 4 to 5 (#3473)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 14:18:14 -07:00
dependabot[bot] 87176a688b build(deps-dev): bump mocha and @types/mocha (#3483)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 14:18:01 -07:00
jnsdls 75a2736962 [Chore] Add conditional check in PayEmbed-disconnected test using TW_SECRET_KEY (#3490)
### TL;DR
Update PayEmbed and PayEmbed-disconnected tests to include conditional running based on TW_SECRET_KEY.

### What changed?
- Added conditional checks for TW_SECRET_KEY in PayEmbed-disconnected.test.tsx and PayEmbed.test.tsx
- Ensured tests run only if TW_SECRET_KEY is defined

### How to test?
1. Ensure TW_SECRET_KEY is set in your environment
2. Run the updated tests
3. Verify that the tests only execute if TW_SECRET_KEY is present

### Why make this change?
To add more robust control over test execution based on the presence of secret keys.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor test files for `PayEmbed` component by using `describe.runIf` to conditionally run tests based on the environment secret key.

### Detailed summary
- Refactored test files for `PayEmbed` component to conditionally run tests based on the secret key environment variable using `describe.runIf`.
- Updated test cases to improve readability and maintainability.

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

<!-- end pr-codex -->
2024-06-25 21:02:49 +00:00
gregfromstl edd904bd9e fix(auth): add warning and improve parameter checks in verifySignature (#3488)
### TL;DR
Added a warning that gets triggered once when the EOA signature verification fails and neither the chain nor the client parameter is provided in the verifySignature function. This is crucial to guide users on setting up smart accounts properly.

### What changed?
- Introduced a `warningTriggered` flag to ensure the warning is only logged once.
- Added a warning message to notify about missing chain and client parameters when EOA signature verification fails.
- Updated `isVerifyContractWalletSignatureParams` to explicitly check for undefined values in chain and client parameters.

### How to test?
1. Call the `verifySignature` function without providing the `chain` and `client` parameters.
2. Observe the console for the warning message.
3. Ensure the warning triggers only once even with multiple calls to `verifySignature` without the required parameters.

### Why make this change?
This change improves the developer experience by providing clear guidance when critical parameters are missing for using smart accounts with the Auth module. This helps in debugging and ensures proper setup for smart accounts.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a warning message when verifying a signature without a chain or client provided.

### Detailed summary
- Added a warning message when verifying a signature without a chain or client
- Updated the `isVerifyContractWalletSignatureParams` function to check for `options.chain` and `options.client` values

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

<!-- end pr-codex -->
2024-06-25 20:10:06 +00:00
kien-ngo 88070422ff Export getClaimConditionById for Drop1155 (#3481)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on exporting `getClaimConditionById` for Drop1155 in the `erc1155.ts` file.

### Detailed summary
- Export `getClaimConditionById` for Drop1155
- Import `GetClaimConditionByIdParams` from generated file

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

<!-- end pr-codex -->
2024-06-25 19:39:36 +00:00
gregfromstl 95cceff1a9 test(ts): improve airdrop test robustness (#3489)
This pull request updates multiple test cases to use the `sendAndConfirmTransaction` method instead of the `sendTransaction` method. The tests affected include those for airdropERC1155WithSignature, airdropERC20WithSignature, airdropERC721WithSignature, claimERC1155, claimERC20, and claimERC721. The main goal is to ensure transactions are confirmed within the tests for improved reliability and accuracy.

### TL;DR
Replaced `sendTransaction` with `sendAndConfirmTransaction` in multiple test cases to ensure transactions are confirmed.

### What changed?
- Updated `airdropERC1155WithSignature.test.ts` to use `sendAndConfirmTransaction`
- Updated `airdropERC20WithSignature.test.ts` to use `sendAndConfirmTransaction`
- Updated `airdropERC721WithSignature.test.ts` to use `sendAndConfirmTransaction`
- Updated `claimERC1155.test.ts` to use `sendAndConfirmTransaction`
- Updated `claimERC20.test.ts` to use `sendAndConfirmTransaction`
- Updated `claimERC721.test.ts` to use `sendAndConfirmTransaction`

### How to test?
Run the test suite to ensure all tests pass with the updated method.

### Why make this change?
This change improves the reliability and accuracy of the test cases by ensuring that transactions are confirmed within the tests.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates transaction handling in airdrop ERC contracts tests to use `sendAndConfirmTransaction` instead of `sendTransaction`.

### Detailed summary
- Replaced `sendTransaction` with `sendAndConfirmTransaction` in airdrop ERC contracts tests for better transaction handling.

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

<!-- end pr-codex -->
2024-06-25 11:58:37 -07:00
jnsdls 29102740a5 [Chore] Update PayEmbed test to increase timeout for connect wallet button (#3484)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to skip a flaky test for `eth_getLogs` and add a timeout to a test for rendering a connect wallet button.

### Detailed summary
- Skipped flaky test for `eth_getLogs`
- Added a timeout to the test for rendering a connect wallet button

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

<!-- end pr-codex -->
2024-06-25 17:58:33 +00:00
MananTank 66cc3e9d0f Add pay card in landing page (#3486)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the dashboard page by adding new product sections with updated styling and icons.

### Detailed summary
- Added `fontWeight` and `letterSpacing` styling to dashboard section titles
- Updated product sections with new names, labels, descriptions, and icons
- Included a new "Pay" product section for easy fiat onramps integration
- Improved the "Connect UI" section to "Sign in" with updated description

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

<!-- end pr-codex -->
2024-06-25 17:37:32 +00:00
MananTank ae47fd6ed0 Improved pay dashboard empty state ui (#3485)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update error handling messages and add loading overlays in the PayAnalytics components.

### Detailed summary
- Renamed `NoDataAvailable` function to `FailedToLoad` in `common.tsx`.
- Added `NoDataOverlay` function in `common.tsx`.
- Updated error handling and loading messages in `PayCustomersTable.tsx`.
- Updated error handling and loading messages in `PaymentHistory.tsx`.
- Updated error handling in `PaymentsSuccessRate.tsx`.

> The following files were skipped due to too many changes: `apps/dashboard/src/components/pay/PayAnalytics/components/PaymentsSuccessRate.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/TotalVolumePieChart.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/TotalPayVolume.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PayNewCustomers.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/Payouts.tsx`

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

<!-- end pr-codex -->
2024-06-25 17:37:30 +00:00
jnsdls 697d897c4c [Refactor] Update sponsorship policies to enable server verifier toggling (#3487)
### TL;DR

This PR refactors the SponsorshipPolicies component to include an 'enabled' boolean field within the serverVerifier object, and updates the related logic to enable conditional rendering based on this field.

### What changed?

- Added 'enabled' field in the serverVerifier validation schema
- Updated initial state and form submission logic to handle the 'enabled' field
- Modified conditional rendering logic in the GatedSwitch component to use the 'enabled' field

### How to test?

1. Go to the SponsorshipPolicies component
2. Toggle the GatedSwitch to enable/disable the serverVerifier settings
3. Ensure the form behaves as expected based on the enabled state

### Why make this change?

This refactor aims to simplify the management and conditional rendering of the serverVerifier settings by introducing an 'enabled' field. This makes the logic more intuitive and easier to maintain.

---
2024-06-25 17:29:00 +00:00
jnsdls a25bb49d5f [Fix] Add onClickApply handler to CreditsItem and CreditsButton components (#3482) 2024-06-25 15:42:27 +00:00
jnsdls da6fdf66eb [Refactor] Remove unused modal components and simplify form layout (#3479)
### TL;DR

Refactored the `ApplyForOpCreditsModal` component to simplify its usage and improve code maintainability. Updated related components to match this change.

### What changed?

- Removed `Modal` and related sub-components from `ApplyForOpCreditsForm.tsx` and adjusted the structure to use `Flex`.
- Simplified `ApplyForOpCreditsModal` by removing unnecessary props and state management, and updated its contents to directly return the form and additional modals.
- Updated references and affected components to use the new simplified `ApplyForOpCreditsModal`.
- Refactored `CreditsItem` component to use `useModalContext` for handling modals.
- Updated navigation link in `OnboardingSteps` to point to the new location of the form.
- Modified `SettingsGasCreditsPage` to directly include the updated `ApplyForOpCreditsModal` and added a link to the accelerator program's blog post.

### How to test?

1. Navigate to the gas credits application section in the dashboard settings.
2. Verify that the form for applying to the Optimism Superchain App Accelerator is displayed correctly and functions as expected.
3. Test the new navigation flow to ensure all links and modals work correctly after the refactor.

### Why make this change?

This refactor aims to simplify the modal implementation for applying for gas credits, reduce code complexity, and improve maintainability by removing unnecessary state management and props from the `ApplyForOpCreditsModal` component.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the UI content related to gas credits and sponsorship applications in the dashboard settings.

### Detailed summary
- Updated UI content for applying to the Optimism Superchain App Accelerator.
- Refactored ApplyForOpCreditsForm UI structure.
- Enhanced ApplyForOpCreditsModal functionality.
- Modified CreditsItem UI for applying to gas credits.
- Removed ApplyForOpCreditsModal from OnboardingSteps component.

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

<!-- end pr-codex -->
2024-06-25 04:35:06 +00:00
MananTank 9d65979d49 [v4] Fix buy with Crypto error when using InApp wallet (#3476)
<!-- start pr-codex -->

## PR-Codex overview
This PR fixes an error related to buying with Crypto transactions using InApp wallet.

### Detailed summary
- Fixed error in `ConfirmationScreen.tsx` related to Crypto transactions
- Added `walletIds` import from `@thirdweb-dev/wallets`
- Modified transaction request based on wallet type before sending

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

<!-- end pr-codex -->
2024-06-24 23:47:23 +00:00
jnsdls 0c166fc1d9 [Refactor] Remove deprecated contract payments page and references (#3475)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on removing unused code related to payments, contracts, and webhooks in the dashboard app.

### Detailed summary
- Removed multiple GraphQL files, components, hooks, and pages related to payments, contracts, and webhooks
- Updated page IDs and routes
- Updated redirects for payments settings and contracts
- Updated usage interfaces and route configurations
- Updated dependencies and package.json
- Updated cache keys for payments and contracts
- Updated solutions pages and products, removed NFT-checkout references

> The following files were skipped due to too many changes: `apps/dashboard/src/pages/solutions/gaming.tsx`, `apps/dashboard/src/components/app-layouts/app.tsx`, `apps/dashboard/src/pages/dashboard/connect/pay.tsx`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-06-24 23:02:51 +00:00
github-actions[bot] 0ec6448320 chore(chains): update chains (#3464)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-24 12:44:27 -07:00
CryptoFennecandManan Tank 70b31ddcd0 Fixed switch chain on WalletConnect (#3465)
Co-authored-by: Manan Tank <[email protected]>
2024-06-24 12:38:05 -07:00
IDubuque 860f61c727 Isaac/pay usage tracker schema (#3447)
## Problem solved

- update usage tracker schema with pay fields
- - chainName: String
- - tokenSymbol: String
- - dstChainId: UInt64
- - dstTokenAddress: String
- - dstChainName: String
- - dstTokenSymbol: String
- - msLatency: UInt64
- - toAmountUSDCents: UInt64
- - secondaryProvider: String
- - onRampId: String

## Changes made

- [x] service-utils: Update usage tracker schema

## How to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds new fields to the `UsageEvent` schema in the `usage.ts` file of the `service-utils` package for Cloudflare worker usage tracking.

### Detailed summary
- Added `chainName`, `tokenSymbol`, `dstChainId`, `dstTokenAddress`, `dstChainName`, `dstTokenSymbol`, `msLatency`, `toAmountUSDCents`, `secondaryProvider`, and `onRampId` fields to `UsageEvent` schema.

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

<!-- end pr-codex -->
2024-06-24 19:10:32 +00:00
kien-ngo 440ebd99b7 Show error message when uploading unaccepted file types (#3462)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a file type validation feature to the IPFS upload dropzone component.

### Detailed summary
- Added `useToast` for error notifications.
- Implemented file type validation to restrict uploading of certain file types.
- Display error toast for restricted file types.
- Updated file handling logic in the dropzone component.

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

<!-- end pr-codex -->
2024-06-24 17:34:04 +00:00
Manan Tank 02a70b928d Pay UI improvements (#3421) 2024-06-24 14:53:01 +00:00
gregfromstl c35a9adb69 docs(contributing): add instructions for testing React Native SDK changes (#3459)
### TL;DR

This PR adds a section for testing changes in the React Native SDK to the contributing guidelines and updates the formatting of type versions in the `package.json` file.

### What changed?

1. **Contributing Guidelines**: Added detailed instructions for testing React Native changes by creating a local React Native project, linking local changes, and using tools like wml and watchman.

2. **Formatting in `package.json`**: Updated the formatting of type versions to a more compact and readable style.

### How to test?

1. Follow the newly added instructions in the contributing guidelines to create a local React Native project and test changes using wml and watchman.
2. Verify that the `package.json` file's type versions formatting is correct and does not affect the build process.

### Why make this change?

This change aims to provide clearer guidance for contributors who need to test React Native SDK changes and improve the readability of the `package.json` file.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the `package.json` file in the `thirdweb` package and provide detailed instructions for testing React Native changes.

### Detailed summary
- Updated the `typesVersions` configuration in `package.json`
- Added instructions for testing React Native changes locally
- Provided steps for setting up `wml` and `watchman` for monitoring changes
- Included guidance on linking the local SDK to a React Native project

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

<!-- end pr-codex -->
2024-06-24 08:41:26 +00:00
github-actions[bot] 841da67712 chore(chains): update chains (#3460)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-24 01:36:12 -07:00
Jonas Daniels 1a9f4b0274 [Chore] Remove ZoraTestnet references and update .gitignore (#3463) 2024-06-24 01:20:56 -07:00
github-actions[bot] 91b8ab2784 chore(chains): update chains (#3448)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-23 22:49:25 -07:00
Jonas DanielsandKien Ngo 7cbe2be50e Enhance CS Form (#3395)
Co-authored-by: Kien Ngo <[email protected]>
2024-06-23 22:45:41 -07:00
Jelilat Anofiu 2eb6278a47 fix: update chain import paths (#3458) 2024-06-23 22:42:07 -07:00
gregfromstl 224463175e [Feature] Add session transaction storage (#3451)
https://linear.app/thirdweb/issue/CNCT-1398/ts-sdk-store-in-session-transactions-in-wallet

This update introduces the ability to track transactions during a "session" within the thirdweb SDK. The key additions and changes are:

1. Exporting `getSessionTransactions` from `transaction-store.js`.
2. Adding calls to `addTransactionToSession` in `send-gasless-transaction.ts` and `send-transaction.ts`.
3. Creating a new test file `transaction-store.test.ts` to cover the transaction session functionalities.
4. Including new constants in `settings.ts` specific to session storage keys.
5. Extending `LocalStorage` class functionalities to handle transaction session data.

These changes will act as the foundation of the v1 "transactions" page in the react SDK

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds a `getTransactionStore` function to retrieve transaction stores and updates transaction handling in the `sendTransaction` and `sendGaslessTransaction` actions.

### Detailed summary
- Added `getTransactionStore` function to retrieve transaction stores for addresses
- Updated `sendTransaction` action to store transactions
- Added `addTransactionToStore` function to update transaction stores
- Updated `sendGaslessTransaction` action to store gasless transactions

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

<!-- end pr-codex -->
2024-06-23 21:35:20 +00:00
Joe-Thirdweb 841c6f9ab5 Joe community updates (#3456)
## Problem solved

Community Programs updates

## Changes made

- [ ] Updated messaging for startup program
- [ ] Added myCreativeOwl to Ambassadors
- [ ] Added Alfredo to Ambassadors
- [ ] Removed Kien from Ambassadors
- [ ] Removed Yash from Ambassadors

## How to test

- [ ] Startup program messaging should read "Our startup program is designed to help you build, scale, and generate revenue."
- [ ] Manual tests:
1) Scroll down to the footer
2) Click on Startup Program
3) See messaging on hero section

- [ ] Ambassador program updates
1) Scroll down to the footer
2) Click on Ambassadors
3) Scroll down to "Meet the Ambassadors"
4) Verify Kien and yash have been removed.
5) Verify Alfredo and myCreativeOwls have been added.

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```0xc457BD51c599695333b0AE5320e9822DBc86E0e0 ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the startup program description and ambassador profiles in the community pages.

### Detailed summary
- Updated startup program description for clarity and coherence.
- Changed ambassador names, Twitter handles, and profile images for consistency.

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

<!-- end pr-codex -->
2024-06-23 16:23:04 +00:00
jnsdls e372a3f413 pay dashboard (#3393)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates package versions, improves UI components, enhances styling, and refactors URLs for consistency.

### Detailed summary
- Updated `pnpm` to version `9.4.0`
- Enhanced UI components like `Button`, `ScrollShadow`, `Badge`, and `Skeleton`
- Refactored URLs for consistency
- Improved styling and transitions in various components

> The following files were skipped due to too many changes: `apps/dashboard/src/@/components/ui/DynamicHeight.tsx`, `apps/dashboard/src/theme/index.ts`, `apps/dashboard/src/contract-ui/tabs/overview/components/Analytics.tsx`, `apps/dashboard/src/@/components/ui/CopyAddressButton.tsx`, `apps/dashboard/src/components/analytics/custom-tooltip.tsx`, `apps/dashboard/src/contract-ui/tabs/analytics/page.tsx`, `apps/dashboard/src/pages/_app.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/hooks/usePayNewCustomers.ts`, `apps/dashboard/src/components/analytics/stack-tooltip.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/ExportToCSVButton.tsx`, `apps/dashboard/src/@/components/pagination-buttons.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/hooks/usePayCustomers.ts`, `apps/dashboard/src/components/pay/PayAnalytics/hooks/usePayVolume.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/chainlist/components/client/pagination.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/hooks/usePayPurchases.ts`, `apps/dashboard/src/@/components/ui/calendar.tsx`, `apps/dashboard/src/@/styles/globals.css`, `apps/dashboard/src/components/pay/PayAnalytics/components/common.tsx`, `apps/dashboard/src/@/components/ui/DatePickerWithRange.tsx`, `apps/dashboard/src/@/components/ui/use-toast.ts`, `apps/dashboard/src/components/analytics/area-chart.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/TotalVolumePieChart.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PaymentsSuccessRate.tsx`, `apps/dashboard/src/@/components/ui/tabs.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/Payouts.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PayNewCustomers.tsx`, `apps/dashboard/src/@/components/ui/toast.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/PayAnalytics.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/TotalPayVolume.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PayCustomersTable.tsx`, `apps/dashboard/src/pages/dashboard/connect/pay.tsx`, `apps/dashboard/src/components/analytics/bar-chart.tsx`, `apps/dashboard/src/@/components/ui/select.tsx`, `apps/dashboard/src/components/analytics/auto-bar-chart.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PaymentHistory.tsx`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-06-23 16:11:16 +00:00
gregfromstl 4490a68c68 feat(cli): add --expo option to CLI for creating Expo projects (#3455) 2024-06-23 07:59:47 +00:00
jnsdls ce77f84407 [Refactor] Simplify ConnectModal properties and related components (#3453)
### TL;DR
Refactor the `ConnectWallet` modal to clean up and streamline the code.

### What changed?
- Refactored the `ConnectModal`, `ConnectEmbed`, `WalletSelector`, `SmartWalletConnectUI`, `InAppWalletFormUI`, etc. to replace the nested `connectModal` props with flatter independent props.
- Improved prop handling using `useMemo` hooks for better performance.
- Cleaned up redundant imports and types.

### How to test?
1. Ensure all modals (`ConnectModal`, `ConnectEmbed`) render correctly with different sizes (compact/wide).
2. Verify functionality of Wallet Selector and Connect UI components across various scenarios e.g. different wallet types, sizes, and settings.

### Why make this change?
To improve the maintainability and readability of the code, making it easier to manage and extend in the future. It also optimizes prop handling for better performance.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating wallet connection modals and button sizes for different locales.

### Detailed summary
- Updated wallet connection modals and button sizes for multiple locales
- Removed unnecessary size property from ConnectModal
- Standardized size property across different components
- Improved consistency and clarity in wallet connection UI components

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/wallets/shared/ConnectingScreen.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletSelectionUI.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/StartScreen.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModal.tsx`, `packages/thirdweb/src/react/web/wallets/ecosystem/EcosystemWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/wallets/shared/WalletConnectConnection.tsx`, `packages/thirdweb/src/react/web/wallets/ecosystem/EcosystemWalletFormUI.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/SmartWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/AnyWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletFormUI.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectEmbed.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModalInline.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModalContent.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/WalletSelector.tsx`

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

<!-- end pr-codex -->
2024-06-23 00:05:31 +00:00
jnsdls eaa509359f [Refactor] Remove unused ConnectUIContext and refactor wallet connection components (#3449)
This pull request aims to clean up the codebase by removing unused packages and files. The following tasks were carried out:

### What changed?

1. Deleted the `useWalletConnectionCtx.ts` file from the `thirdweb` package.
2. Deleted the `wallet-connection.tsx` file from the `thirdweb` package.
3. Updated `ConnectButton.tsx`, `AllWalletsUI.tsx`, `AnyWalletConnectUI.tsx`, `ConnectEmbed.tsx`, and other UI components to remove references to the deleted files.
4. Modified various other files in the `thirdweb` and `react` packages to ensure that no part of the codebase relies on the removed files.

### How to test?

1. Run the project and navigate through the UI to ensure that the wallet connection features are functioning as expected without any errors.
2. Check the console for any warnings or errors related to missing files or dependencies.

### Why make this change?

Removing unused packages and files helps to streamline the codebase, improving maintainability, and potentially reducing build times. This cleanup is part of ongoing efforts to ensure the codebase remains clean and efficient.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors context usage in the connect wallet UI and updates locale types for in-app wallets.

### Detailed summary
- Refactored context usage in connect wallet UI
- Updated locale types for in-app wallets
- Renamed functions for better clarity

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/wallets/shared/GetStartedScreen.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/InjectedConnectUI.tsx`, `packages/thirdweb/src/react/web/wallets/shared/CoinbaseSDKConnection.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/useConnectModal.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/ConnectButton.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/WalletEntryButton.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletSelectionUI.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/AllWalletsUI.tsx`, `packages/thirdweb/src/react/web/wallets/ecosystem/EcosystemWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/wallets/shared/SocialLogin.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/wallets/ecosystem/EcosystemWalletFormUI.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/StartScreen.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModal.tsx`, `packages/thirdweb/src/react/web/wallets/shared/ConnectWalletSocialOptions.tsx`, `packages/thirdweb/src/react/web/wallets/shared/OTPLoginUI.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletFormUI.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/SmartWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectEmbed.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModalInline.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/AnyWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/wallets/shared/WalletConnectConnection.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModalContent.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/WalletSelector.tsx`

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

<!-- end pr-codex -->
2024-06-23 00:05:29 +00:00
kien-ngo e743489135 Fix file input uploads (#3452)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR removes the `onClick` event listener from a `FileInput` component in the dashboard app.

### Detailed summary
- Removed `onClick` event listener from `FileInput.tsx` component in the dashboard app.

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

<!-- end pr-codex -->
2024-06-22 16:22:53 +00:00
0xFirekeeper ab460230fb Unity 4.16.5 (#3446)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the Unity SDK version to 4.16.5 and sets the platform accordingly.

### Detailed summary
- Updated Unity SDK version to 4.16.5
- Set X_SDK_PLATFORM to "unity"
- Updated X_SDK_VERSION to "4.16.5"
- Set X_SDK_OS to browser's OS or "unknown"

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

<!-- end pr-codex -->
2024-06-22 10:19:41 +00:00
YashandJonas Daniels b1d92ef4b7 fix broken account abstraction link on dashboard and playground (#3440)
Co-authored-by: Jonas Daniels <[email protected]>
2024-06-22 22:17:48 +12:00
Kien NgoandJonas Daniels 023dfddaeb Playground example: Blockchain API (#3394)
Co-authored-by: Jonas Daniels <[email protected]>
2024-06-22 18:24:46 +12:00
gregfromstl fe775166d4 [Chore] Add missing walletconnect exports to RN wallet exports (#3444)
### TL;DR

Adds wallet connect functions to react native.

### What changed?

- Added `createWalletConnectClient`, `createWalletConnectSession`, `disconnectWalletConnectSession`, `getActiveWalletConnectSessions`, and `DefaultWalletConnectRequestHandlers` exports to `wallets.native.ts`
- Added type exports `WalletConnectClient` and `WalletConnectSession` to `wallets.native.ts`

### How to test?

1. Import the new functions and types in a React Native project.
2. Test creating, managing, and disconnecting WalletConnect sessions.

### Why make this change?

To provide WalletConnect support in the React Native SDK for better wallet management and interoperability.

---
2024-06-21 19:53:42 +00:00
Jonas Daniels 5f880b2b35 [Chore] Add conditional check in ERC721 mintTo test using TW_SECRET_KEY (#3445) 2024-06-21 12:34:07 -07:00
kumaryash90 ea46c70d7a Fix eip155 check (#3443)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on fixing the EIP155 check for create2 factory deployment.

### Detailed summary
- Updated error handling logic in `any-evm-constants.ts` and `is-eip155-enforced.ts`
- Replaced `arr.some` with `forEach` loop for improved error checking efficiency

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

<!-- end pr-codex -->
2024-06-21 19:19:35 +00:00
Jonas Daniels c60d9086be [Chore] Add conditional check in ERC1155 claimTo test using TW_SECRET_KEY (#3442) 2024-06-21 22:48:32 +05:30
gregfromstl fc8dda15ef chore: upgrade TS (#3434)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update TypeScript versions across multiple packages to `5.5.2` and adjust some configurations accordingly.

### Detailed summary
- Updated `typescript` to version `5.5.2` in multiple `package.json` files
- Adjusted `typescript.tsdk` setting in `vscode/settings.json`
- Modified function in `resolve-abi.ts` for explicit typing

> The following files were skipped due to too many changes: `packages/thirdweb/package.json`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-06-21 07:10:27 +00:00
jnsdls 0f42ab5191 [Refactor] Update EngineNavigation with useCallback and useMemo, clean up imports (#3436)
This pull request focuses on refactoring the engine navigation and sidebar integration in the dashboard app.

### What changed?
- Refactored the `EngineNavigation` component to replace the tab-based navigation with a sidebar-based navigation using `SidebarNav` from `core-ui`.
- Removed the old `EngineSidebar` component as it is no longer needed.
- Adjusted the `BasisPointsInput` component to fix ESLint issues.
- Updated various files to improve consistency and address minor code quality issues.

### How to test?
1. Navigate to the engine section of the dashboard.
2. Verify that the new sidebar navigation works as expected.
3. Test the `BasisPointsInput` component to ensure it is functioning correctly.
4. Run the codebase through a linting tool to ensure no new linting issues have been introduced.

### Why make this change?
This refactor aims to enhance the user experience by providing a more intuitive navigation system and to improve the maintainability of the code.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the sidebar navigation in the dashboard by adding `onClick` functionality to sidebar links and updating the engine navigation component.

### Detailed summary
- Added `onClick` functionality to sidebar links in the dashboard
- Updated the engine navigation component with new functionalities and optimizations

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

<!-- end pr-codex -->
2024-06-21 07:05:20 +00:00
jnsdls 84b4cb80cc [Chore] Clean up Vercel utils import and refactor OG image generation (#3433)
### TL;DR

- Refactored and cleaned up the open graph image generation functions across multiple API routes.
- Fixed import paths and removed unused functions and dependencies.
- Addressed various TS and ESLint warnings/errors.
- Simplified BasisPointsInput component logic.

### What changed?

- Renamed `apps/dashboard/src/pages/api/og/chain/[chainId].tsx` to `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/opengraph-image.tsx`.
- Removed unused `getAbsoluteUrl` import from `layout.tsx` file.
- Updated OG image generation approach, including the removal of outdated utility functions.
- Streamlined import and usage of environment variables.
- Made changes to `BasisPointsInput` component to avoid unnecessary re-renders and to simplify effect dependencies.
- Fixed IPFS gateway URLs formatting.
- Fixed minor formatting issues.

### How to test?

1. Open the dashboard and navigate to different chain-specific pages. Verify that OG images for each chain load without issues.
2. Check the `BasisPointsInput` component functionality in relevant parts of the application.
3. Run the tests and linters to ensure no broken functionality or warnings/errors.

### Why make this change?

- To maintain clean and readable code by removing unused imports, functions, and redundant dependencies.
- Improve performance and maintainability by simplifying component logic and variable usage.
- Ensure consistent and correctly formatted OG images across the application.
- Fix TS and ESLint issues detected during development.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update IPFS gateway URLs and optimize image generation for OpenGraph images.

### Detailed summary
- Updated IPFS gateway URLs in multiple files
- Optimized image generation for OpenGraph images
- Removed unused imports and code
- Improved font loading for images

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

<!-- end pr-codex -->
2024-06-21 05:44:34 +00:00
github-actions[bot] 8050a4fe04 chore(chains): update chains (#3420)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-20 21:47:12 -07:00
Jonas Daniels 5a641ddf18 [Chore] Remove markdown formatter configuration from VSCode settings (#3435) 2024-06-20 21:39:09 -07:00
gregfromstl a3a4008831 feat(wallets): add disconnect functionality to WalletConnectReceiverScreen (#3429)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a WalletConnect disconnect screen in the `thirdweb` package.

### Detailed summary
- Added a new component `WalletConnectDisconnectScreen`
- Updated `WalletConnectReceiverScreen` to handle disconnecting WalletConnect sessions
- Imported necessary dependencies and types
- Implemented disconnect functionality with error handling

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

<!-- end pr-codex -->
2024-06-21 03:23:30 +00:00
gregfromstl 921ce67923 fix(dashboard): file uploads work across all browsers (#3431)
### TL;DR

The FileInput component has been updated to prevent event propagation when clicked, ensuring the click event does not trigger unintended parent component behavior, and to ensure the dropzone is always present -- fixing a bug with older versions of chrome and other chromium browsers.

### What changed?

- Added `onClick={(e) => e.stopPropagation()}` to the root stack holding the file input
- Moved the input element to the root stack and removed duplicated props `getRootProps` and `getInputProps`

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the `FileInput` component in the dashboard app for improved structure and functionality.

### Detailed summary
- Updated `FileInput` component structure for better readability
- Added `Stack` component for layout
- Enhanced event handling for better user experience

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

<!-- end pr-codex -->
2024-06-21 01:52:44 +00:00
jnsdls ea08a655b2 [Chore] Update OG API: Remove redundant <title> elements and add isProd flag (#3430)
### TL;DR

This pull request removes several unused packages and files to improve codebase cleanliness and reduce clutter.

### What changed?

- Removed the `airtable` package from `package.json` and `pnpm-lock.yaml`.
- Deleted `airtable.ts`, `check-verification-status.ts`, `etherscan-fetch.ts`, `verify.ts` from the `api` folder.
- Applied minor formatting changes across various source files for better consistency.

### How to test?

1. Pull the branch.
2. Run `pnpm install` to ensure no missing dependencies.
3. Run the application with `pnpm dev` to confirm it starts correctly.
4. Verify that the deleted endpoints are no longer accessible.

### Why make this change?

The removed packages and files were no longer in use, contributing to unnecessary bloat in the codebase. This change improves maintainability and reduces potential confusion for future developers.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds the `isProd` constant to dynamically switch between IPFS gateways based on the environment.

### Detailed summary
- Added `isProd` constant for dynamic IPFS gateway selection
- Updated IPFS gateway URL based on `isProd` constant in multiple files

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

<!-- end pr-codex -->
2024-06-20 23:57:54 +00:00
jnsdls d320777eea [Fix] Address ESLint issues in BasisPointsInput component (#3432) 2024-06-20 23:20:32 +00:00
jnsdls e8dc81d431 [Chore] Remove unused packages and files (#3425)
### TL;DR

This pull request removes several obsolete API routes and the associated Airtable package from the dashboard app.

### What changed?

- Removed Airtable package from `package.json` and `pnpm-lock.yaml`
- Deleted several unused API routes (`airtable.ts`, `check-verification-status.ts`, `etherscan-fetch.ts`, `verify.ts`)
- Minor codebase cleanup for consistent styling and formatting

### How to test?

Ensure the dashboard app builds and runs without any issues. Verify that removed API routes are no longer accessible.

### Why make this change?

These API routes and the Airtable package are no longer needed for the functionality of the dashboard app, and their removal simplifies the codebase.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update dependencies, fix function parameters, and improve code consistency.

### Detailed summary
- Updated dependencies in `package.json`
- Fixed function parameter formatting in multiple files
- Improved code consistency by adjusting function calls and declarations

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

<!-- end pr-codex -->
2024-06-20 22:00:10 +00:00
gregfromstl 6429acc1f7 feat(wallets): Adds dawn wallet support (#3381)
Adds Dawn Wallet since it's WC settings filter it out
2024-06-20 20:55:05 +00:00
jnsdls 1fb60a65be format with biome (#3415)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates formatting scripts to use `biome` instead of `prettier`.

### Detailed summary
- Updated formatting scripts in multiple package.json files
- Replaced `prettier` with `biome` for code formatting
- Minor code formatting changes in various files

> The following files were skipped due to too many changes: `legacy_packages/sdk/src/evm/common/any-evm-utils/deployCreate2Factory.ts`, `apps/dashboard/src/contract-ui/tabs/overview/components/LatestEvents.tsx`, `apps/dashboard/src/pages/[chain_id]/[...paths].tsx`, `legacy_packages/sdk/src/evm/core/classes/contract-roles.ts`, `legacy_packages/sdk/src/core/schema/properties.ts`, `legacy_packages/wallets/src/evm/connectors/blocto/index.ts`, `legacy_packages/sdk/src/evm/common/any-evm-utils/getCreate2FactoryAddress.ts`, `legacy_packages/sdk/src/evm/core/classes/erc-20.ts`, `legacy_packages/react/src/payments/additional.d.ts`, `legacy_packages/sdk/src/evm/core/classes/internal/marketplace/marketplace-auction.ts`, `legacy_packages/react-core/src/evm/hooks/async/roles.ts`, `legacy_packages/react/src/wallet/ConnectWallet/screens/Buy/swap/pendingSwapTx.ts`, `legacy_packages/sdk/src/evm/core/classes/erc-721.ts`, `legacy_packages/sdk/src/evm/common/any-evm-utils/getCreate2FactoryDeploymentInfo.ts`, `legacy_packages/sdk/src/evm/common/claim-conditions/processClaimConditionInputs.ts`, `legacy_packages/sdk/src/evm/core/classes/erc-1155.ts`, `legacy_packages/sdk/src/evm/integrations/thirdweb-checkout.ts`, `legacy_packages/sdk/src/evm/core/classes/contract-royalty.ts`, `legacy_packages/wallets/src/evm/wallets/abstract.ts`, `legacy_packages/auth/src/next/router-pages/types/index.ts`, `apps/dashboard/src/contract-ui/tabs/events/components/events-feed.tsx`, `legacy_packages/wallets/src/evm/connectors/smart-wallet/lib/erc4337-provider.ts`, `legacy_packages/merkletree/src/merkletree/MerkleTree.ts`, `legacy_packages/sdk/src/evm/core/classes/internal/erc1155/erc-1155-standard.ts`, `legacy_packages/sdk/src/evm/core/classes/extension-manager.ts`, `legacy_packages/cli/src/core/types/sync-disk-cache.d.ts`, `legacy_packages/auth/src/next/router-app/routes/switch-account.ts`, `legacy_packages/sdk/src/evm/contracts/prebuilt-implementations/pack.ts`, `legacy_packages/auth/src/next/index.ts`, `legacy_packages/react/src/wallet/ConnectWallet/screens/Buy/PaymentSelection.tsx`, `legacy_packages/react/src/components/modalElements.tsx`, `legacy_packages/wallets/src/evm/connectors/gcp-kms/signer.ts`, `legacy_packages/auth/src/next/router-app/routes/login.ts`, `legacy_packages/auth/src/next/router-app/types/index.ts`, `legacy_packages/sdk/src/evm/core/classes/internal/contract-wrapper.ts`, `legacy_packages/sdk/src/evm/core/classes/marketplacev3-english-auction.ts`, `legacy_packages/wallets/src/evm/index.ts`, `legacy_packages/react/src/wallet/ConnectWallet/screens/SwapTransactionsScreen.tsx`, `legacy_packages/cli/src/generate/command.ts`, `legacy_packages/sdk/src/evm/core/classes/marketplacev3-direct-listings.ts`, `legacy_packages/wallets/src/evm/wallets/aws-kms.ts`, `legacy_packages/wallets/src/evm/connectors/wallet-connect/qrModalOptions.d.ts`, `apps/dashboard/src/pages/api/og/chain/[chainId].tsx`, `legacy_packages/react/src/wallet/wallets/embeddedWallet/ExportPrivateKey.tsx`, `apps/dashboard/src/pages/api/og/contract.tsx`, `legacy_packages/sdk/src/evm/common/modular/compatibleExtensions.ts`, `legacy_packages/crypto/src/utils/uint8array-extras.d.ts`, `apps/dashboard/src/pages/api/og/profile.tsx`, `apps/dashboard/src/pages/api/og/publishedContract.tsx`, `legacy_packages/react/src/wallet/wallets/magicEden/magicEdenWallet.tsx`, `apps/dashboard/src/graphql/generated.ts`

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

<!-- end pr-codex -->
2024-06-20 20:36:16 +00:00
kumaryash90 6abdb45f6a Override contract publish id on CLI (#3424)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on adding the ability to override contract names with custom IDs in the CLI.

### Detailed summary
- Added option `--customid` to CLI for overriding contract names
- Added prompt for entering custom contract IDs
- Updated contract names based on user input

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

<!-- end pr-codex -->
2024-06-20 20:28:20 +00:00
Jonas Daniels fab5cd43be Update changesets and dependencies (#3428) 2024-06-20 12:06:37 -07:00
Jonas Daniels 5b8471355c [Chore] Remove unused changesets: chilly-phones-sort.md, khaki-penguins-swim.md (#3427) 2024-06-20 11:08:20 -07:00
gregfromstl b24e9b2320 feat(wallet): add support for ecosystem wallets (#3270)
This PR adds a new wallet type called `ecosystemWallet` to the thirdweb SDK.

### TL;DR

- New `ecosystemWallet` added to `thirdweb` SDK.

### What changed?

- `wallets.ts`: Added new export for `ecosystemWallet`
- `ConnectButtonProps.ts`: Adjusted types to account for new wallet.
- `create-wallet.ts`: Added new case for handling `ecosystemWallet` in the `createWallet` function.
- `types.ts`: Defined new types for `ecosystemWallet`.
- Updated various internal files to integrate `ecosystemWallet` functionality.

### How to test?

- Ensure the `ecosystemWallet` can be created and connected using different account types (smart account, direct connection, etc.)
- Test the new `integratorId` feature, which allows integration with a designated ecosystem.
- Validate that autoConnect functionality works as expected with `ecosystemWallet`.

### Why make this change?

This change aims to facilitate the integration of third-party ecosystem wallets into the thirdweb SDK, improving the overall flexibility and usability of the SDK for different blockchain ecosystems.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a minor update to `thirdweb` by adding ecosystem wallet UI and integrating ecosystemWallet to TS SDK.

### Detailed summary
- Added ecosystem wallet UI
- Integrated ecosystemWallet to TS SDK
- Updated wallet details for various platforms
- Refactored wallet locale types
- Improved wallet connection handling
- Added ecosystem partner permissions functionality

> The following files were skipped due to too many changes: `packages/thirdweb/src/wallets/ecosystem/is-ecosystem-wallet.ts`, `packages/thirdweb/src/wallets/__generated__/wallet/com.payperless/index.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/auth/base-login.ts`, `packages/thirdweb/src/wallets/__generated__/wallet/fun.tobi/index.ts`, `apps/playground-web/src/components/code/code-example.tsx`, `packages/thirdweb/src/wallets/in-app/core/wallet/types.ts`, `packages/thirdweb/src/react/web/ui/components/WalletImage.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/useInAppWalletLocale.ts`, `packages/thirdweb/scripts/wallets/generate.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/ManageWalletScreen.tsx`, `packages/thirdweb/src/wallets/__generated__/wallet/com.safemoon/index.ts`, `packages/thirdweb/src/wallets/__generated__/wallet-ids.ts`, `packages/thirdweb/src/wallets/ecosystem/is-ecosystem-wallet.test.ts`, `packages/thirdweb/src/wallets/in-app/core/wallet/in-app-core.ts`, `packages/thirdweb/src/wallets/in-app/web/types.ts`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletSelectionUI.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletSocialLogin.tsx`, `packages/thirdweb/src/wallets/in-app/web/lib/auth/abstract-login.ts`, `packages/thirdweb/src/react/web/wallets/ecosystem/EcosystemWalletHeader.tsx`, `packages/thirdweb/src/wallets/ecosystem/get-ecosystem-wallet-info.test.ts`, `packages/thirdweb/src/wallets/in-app/core/authentication/type.ts`, `packages/thirdweb/src/wallets/native/create-wallet.ts`, `packages/thirdweb/src/wallets/__generated__/wallet/app.clot/image.ts`, `packages/thirdweb/src/wallets/__generated__/wallet/co.lifedefi/image.ts`, `packages/thirdweb/src/utils/fetch.ts`, `packages/thirdweb/src/wallets/__generated__/wallet-infos.ts`, `packages/thirdweb/src/wallets/in-app/web/utils/iFrameCommunication/IframeCommunicator.ts`, `packages/thirdweb/src/wallets/ecosystem/get-ecosystem-wallet-info.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/auth/iframe-auth.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/PrivateKey.tsx`, `packages/thirdweb/src/wallets/in-app/web/ecosystem.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/auth/index.ts`, `packages/thirdweb/src/wallets/wallet-types.ts`, `packages/thirdweb/src/wallets/create-wallet.ts`, `packages/thirdweb/src/wallets/in-app/core/constants/settings.ts`, `packages/thirdweb/src/wallets/__generated__/wallet/fun.tobi/image.ts`, `packages/thirdweb/src/react/web/utils/usePreloadWalletProviders.ts`, `packages/thirdweb/src/wallets/in-app/web/utils/iFrameCommunication/InAppWalletIframeCommunicator.ts`, `packages/thirdweb/src/react/web/wallets/ecosystem/EcosystemWalletFormUI.tsx`, `packages/thirdweb/src/react/web/wallets/ecosystem/EcosystemWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletConnectUI.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletPassKeyLogin.tsx`, `packages/thirdweb/src/wallets/__generated__/wallet/me.komet/image.ts`, `packages/thirdweb/src/wallets/in-app/core/wallet/index.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/AnyWalletConnectUI.tsx`, `packages/thirdweb/src/wallets/in-app/core/wallet/ecosystem-core.ts`, `packages/thirdweb/src/wallets/__generated__/wallet/com.payperless/image.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletOTPLoginUI.tsx`, `packages/thirdweb/src/wallets/in-app/web/lib/in-app-account.ts`, `packages/thirdweb/src/wallets/in-app/web/utils/Storage/LocalStorage.ts`, `packages/thirdweb/src/wallets/in-app/web/lib/auth/passkeys.ts`, `packages/thirdweb/src/wallets/__generated__/getWalletInfo.ts`, `packages/thirdweb/src/react/web/wallets/shared/ConnectWalletSocialOptions.tsx`, `packages/thirdweb/src/wallets/__generated__/wallet/xyz.bonuz/image.ts`, `packages/thirdweb/src/react/web/wallets/in-app/InAppWalletFormUI.tsx`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-06-20 16:46:37 +00:00
6e6ab8753d Version Packages (#3423)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-06-20 09:29:11 -07:00
Manan Tank de354305ee Fix Connect UI not able to connect to unknown injected wallet + Fix icon, autoConnect (#3422) 2024-06-20 20:57:44 +05:30
b5a7b9d6d9 Version Packages (#3379)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-06-20 18:01:58 +12:00
joaquim-verges 6818c1194b refactor: update mobile upload to use getClientFetch for fetching (#3417)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to fix the `uploadMobile` function in the `thirdweb` package to properly handle the `bundleId` parameter.

### Detailed summary
- Updated `UploadFile` type in `types.ts` to include a generic object
- Modified `uploadMobile` function in `uploadMobile.ts` to handle options parameter correctly
- Refactored `uploadBatchMobile` function in `mobile.ts` to use `getClientFetch` for fetching

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

<!-- end pr-codex -->
2024-06-20 03:57:30 +00:00
joaquim-verges 59a846283b fix: always use CustomThemeProvider's theme prop in React (#3416)
### Main issue

StyledComponents come with their own `theme` prop, overriding our own `theme` prop. So instead of trying to use the `theme` prop in our Button component, always use the `CustomThemeProvider` one.

### TL;DR
This PR introduces a change to ensure that the `CustomThemeProvider` and related components respect an undefined `theme` prop. This is achieved by removing the default fallback to the `dark` theme when the `theme` prop is not provided.

### What changed?
- Updated `CustomThemeProvider` to accept `undefined` as a valid `theme` value.
- Modified components that use `CustomThemeProvider` to pass the `theme` prop directly without defaulting to `dark`.
- Replaced direct import and usage of `parseTheme` in `TransactionButton` with wrapping the button in `CustomThemeProvider`.
- Removed unnecessary imports and streamlined theme handling in the `Button` component to utilize `useCustomTheme`.
- Updated `dev:dashboard` script to also filter `./packages/thirdweb`.

### How to test?
- Verify the application operates correctly when the `theme` prop is explicitly set to `undefined` or not provided.
- Ensure all components render with the default theme correctly without any regressions.

### Why make this change?
This change ensures more flexible theme handling in the application and reduces the assumption that a `dark` theme should always be the fallback. This is particularly useful for dynamic theming use cases where the theme might not always be determinable upfront.

---
2024-06-20 03:39:27 +00:00
gregfromstl e117ab34e0 fix(dashboard): renames NFT Properties to Attributes in UI to match metadata (#3404)
<!-- start pr-codex -->

## PR-Codex overview
This PR renames 'Properties' to 'Attributes' in the dashboard UI components for consistency and clarity.

### Detailed summary
- Renamed 'Properties' to 'Attributes' in dashboard UI components for consistency.
- Updated labels and headings in multiple files to reflect the change.

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

<!-- end pr-codex -->
2024-06-20 03:27:56 +00:00
gregfromstl 7a5d9bc6b8 fix(wallets): add error handling to WalletConnectReceiverScreen and related modules (#3412)
<!-- start pr-codex -->

## PR-Codex overview
This PR refactors error messages and exports for better readability in the Wallet Connect module.

### Detailed summary
- Refactored error messages in Wallet Connect module for clarity.
- Updated exports for Wallet Connect client and session.
- Modified handling of session proposal and request errors.
- Improved error handling in session request fulfillment.
- Updated dependencies and imports for better organization.

> The following files were skipped due to too many changes: `packages/thirdweb/src/wallets/wallet-connect/receiver/session-request.test.ts`, `packages/thirdweb/src/wallets/wallet-connect/receiver/index.ts`

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

<!-- end pr-codex -->
2024-06-20 02:58:26 +00:00
jnsdls 5ca9094e26 update dependencies: (#3414)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates dependencies, enables linter rules, and refactors styled components in various files.

### Detailed summary
- Updated `ora` dependency to version `^8.0.1`
- Added `"@typescript-eslint/no-unused-vars": "warn"` to ESLint config
- Updated `@swc/cli` dependency to version `0.3.12`
- Enabled linter rules in `biome.json`
- Refactored styled components in multiple files

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/ui/components/formElements.tsx`, `packages/thirdweb/src/react/web/ui/components/modalElements.tsx`, `legacy_packages/unity-js-bridge/package.json`, `legacy_packages/react/src/wallet/ConnectWallet/screens/Buy/swap/SwapScreen.tsx`, `legacy_packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModalInline.tsx`, `legacy_packages/crypto/package.json`, `legacy_packages/chains/package.json`, `legacy_packages/merkletree/package.json`, `packages/thirdweb/src/react/web/ui/ConnectWallet/MenuButton.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/LinkButton.tsx`, `legacy_packages/react/src/wallet/wallets/embeddedWallet/LinkButton.tsx`, `packages/thirdweb/src/react/web/ui/components/Overlay.tsx`, `packages/thirdweb/src/react/web/ui/components/OTPInput.tsx`, `legacy_packages/react/src/components/OTPInput.tsx`, `legacy_packages/react/src/wallet/wallets/safe/SelectAccount.tsx`, `legacy_packages/react/src/wallet/ConnectWallet/Details.tsx`, `legacy_packages/eslint-config-thirdweb/package.json`, `.changeset/khaki-apricots-turn.md`, `legacy_packages/react/src/components/Drawer.tsx`, `legacy_packages/react/src/components/text.tsx`, `packages/thirdweb/src/react/web/ui/components/Drawer.tsx`, `packages/thirdweb/src/react/web/ui/components/text.tsx`, `legacy_packages/wallets/package.json`, `legacy_packages/react/src/wallet/ConnectWallet/screens/SwapTransactionsScreen.tsx`, `packages/thirdweb/src/react/web/ui/components/buttons.tsx`, `legacy_packages/auth/package.json`, `legacy_packages/react/src/components/basic.tsx`, `legacy_packages/storage/package.json`, `.vscode/settings.json`, `packages/thirdweb/src/react/web/ui/components/basic.tsx`, `legacy_packages/react-core/package.json`, `packages/thirdweb/src/react/web/ui/ConnectWallet/NetworkSelector.tsx`, `legacy_packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx`, `legacy_packages/react/src/components/buttons.tsx`, `packages/react-native-adapter/package.json`, `legacy_packages/react/src/components/modalElements.tsx`, `packages/service-utils/package.json`, `legacy_packages/cli/package.json`, `apps/playground-web/src/icons/sdks/UnityIcon.tsx`, `legacy_packages/sdk/package.json`, `legacy_packages/react/package.json`, `apps/playground-web/src/icons/sdks/TypeScriptIcon.tsx`, `apps/playground-web/src/components/ui/button.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectEmbed.tsx`, `apps/playground-web/package.json`, `apps/playground-web/src/icons/sdks/SolidityIcon.tsx`, `package.json`, `apps/dashboard/package.json`, `apps/playground-web/src/icons/thirdweb.tsx`, `packages/thirdweb/package.json`, `apps/playground-web/src/icons/sdks/PythonIcon.tsx`, `apps/playground-web/src/icons/sdks/DotNetIcon.tsx`, `apps/playground-web/src/icons/sdks/GoIcon.tsx`, `apps/playground-web/src/icons/products/contracts/ContractBuildIcon.tsx`, `apps/playground-web/src/icons/products/payments/PaymentsNFTCheckoutIcon.tsx`, `apps/playground-web/src/icons/products/payments/PayIcon.tsx`, `apps/playground-web/src/icons/products/contracts/ContractPublishIcon.tsx`, `apps/playground-web/src/icons/products/wallets/WalletsAuthIcon.tsx`, `apps/playground-web/src/icons/products/contracts/ContractExploreIcon.tsx`, `apps/playground-web/src/icons/solutions/GamingIcon.tsx`, `apps/playground-web/src/icons/products/wallets/WalletsConnectIcon.tsx`, `apps/playground-web/src/icons/products/contracts/ContractDeployIcon.tsx`, `apps/playground-web/src/icons/products/wallets/WalletsInAppIcon.tsx`, `apps/playground-web/src/icons/products/contracts/ContractInteractIcon.tsx`, `apps/playground-web/src/icons/products/infra/InfraRPCIcon.tsx`, `apps/playground-web/src/icons/products/infra/InfraStorageIcon.tsx`, `apps/playground-web/src/icons/products/payments/PaymentsSponsoredIcon.tsx`, `apps/playground-web/src/icons/products/wallets/WalletsSmartIcon.tsx`, `apps/playground-web/src/icons/products/infra/InfraEngineIcon.tsx`, `apps/playground-web/src/components/ui/dropdown-menu.tsx`, `apps/playground-web/src/icons/sdks/ReactIcon.tsx`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-06-20 02:01:29 +00:00
gregfromstl 29a643df2c fix(wallets): always pass a string for in-app wallet signatures (#3411)
### TL;DR

Updated the in-app wallet's `signMessage` function to properly handle different message formats. The function now decodes a message from a string, a `Uint8Array`, or a hex format into a string before signing.

### What changed?

- Imported `uint8ArrayToString` and `hexToString` utilities.
- Updated the `signMessage` method to decode messages from multiple formats (string, `Uint8Array`, and hex).
- Adjusted the type annotations and added in-line comments for clarity.

### How to test?

1. Attempt to sign a message with the in-app wallet using different message formats.
2. Verify that the message is correctly signed in each case without errors.

### Why make this change?

This update ensures that the in-app wallet can handle and correctly process various message formats, improving interoperability and user experience.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing hex-based signatures for in-app wallets by ensuring messages are properly decoded before signing.

### Detailed summary
- Fixed hex-based signatures for in-app wallets
- Added `uint8ArrayToString` import
- Updated `signMessage` method to handle different message types
- Ensured `message` parameter is always passed as a string for signing

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

<!-- end pr-codex -->
2024-06-20 01:32:14 +00:00
d88203a981 feat(react): add useWalletDetailsModal.open.onDisconnect prop to respond to disconnections (#3387)
Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-06-20 13:28:58 +12:00
gregfromstl 33777df88f fix(dashboard): can update image when no existing one (#3406)
### TL;DR
Fixes an issue where NFT image updates were not being applied if there was no existing image.

### What changed?
- Modified the `mint-form.tsx` to only disable the submit button if the form is not dirty and the image URL has not changed.

### How to test?
1. Open the mint form for an NFT without an existing image.
2. Attempt to update the image.
3. Ensure the submit button is enabled and the image update is successful.

### Why make this change?
This change ensures that users can update the image for NFTs that do not have an existing image without unnecessary restrictions.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing NFT image updates when no existing image is present.

### Detailed summary
- Updated `mint-form.tsx` to disable submit button only when form is dirty and image URL is the same as existing NFT image.

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

<!-- end pr-codex -->
2024-06-19 22:47:22 +00:00
kien-ngo 9f5d472797 More unit tests (#3354)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds test cases for ERC721 minting and ERC1155 claiming extensions in the Thirdweb project.

### Detailed summary
- Added test cases for ERC721 `mintTo` extension
- Added test cases for ERC1155 `claimTo` extension
- Imported necessary functions and constants for testing

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

<!-- end pr-codex -->
2024-06-19 22:25:21 +00:00
Jonas Daniels 98d0afe7f6 [Chore] Add Vercel configuration for auto job cancelation in dashboard and playground-web apps (#3409) 2024-06-19 14:35:14 -07:00
kien-ngo 11423125fa Small typos in docs (#3405)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the method signature in `read-contract.ts` and adds an event filter in `useContractEvents.ts`.

### Detailed summary
- Updated method signature in `read-contract.ts` to include full function signature
- Added event filter for `tokensClaimedEvent` in `useContractEvents.ts`

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

<!-- end pr-codex -->
2024-06-19 21:13:54 +00:00
jnsdls 8ff1344332 [Feature] Add comprehensive CI workflow with build, lint, test, e2e, benchmark, and size jobs (#3407)
### TL;DR

This pull request updates the CI configuration and removes the merge group workflow triggers.

### What changed?

- Added new CI configuration file `.github/workflows/CI.yml` with enhanced jobs for building, linting, testing, and benchmarking.
- Removed merge group workflow triggers from the legacy CI file `.github/workflows/CI_legacy.yml`.

### How to test?

- Verify that the new CI workflow runs successfully on push and pull request events.
- Ensure all jobs (build, lint, test, e2e, benchmark, size) complete without errors.
- Check that merge group workflow triggers are no longer present in the legacy CI configuration.

### Why make this change?

This change aims to improve the CI process by adding more comprehensive job steps, including concurrency control and better separation of tasks. Removing the merge group triggers from the legacy CI helps to declutter and refine the workflow definitions.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the GitHub Actions workflow to enhance CI with new jobs, tests, and environment variables.

### Detailed summary
- Replaced legacy CI workflow with a new comprehensive CI workflow
- Added jobs for linting, testing, E2E testing, benchmarks, and bundle size reporting
- Updated triggers for push, pull requests, and workflow dispatch
- Added concurrency settings and environment variables
- Enhanced E2E testing with multiple package managers and bundlers
- Improved code coverage reporting with Codecov
- Enabled remote caching for faster workflows

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

<!-- end pr-codex -->
2024-06-19 20:51:32 +00:00
Manan Tank 65c8853b2b Dashboard: Fix AA configuration form not updated on APIKey change (#3400) 2024-06-19 12:00:22 -07:00
github-actions[bot] 316b99e39e chore(chains): update chains (#3401)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-19 10:52:03 -07:00
omahs 988e10e755 fix: typos (#3399)
Signed-off-by: omahs <[email protected]>
2024-06-19 10:51:41 -07:00
Jonas Daniels ba46653bef [Chore] Add labeler workflow configuration (#3402) 2024-06-19 10:05:54 -07:00
github-actions[bot] 3318e58dc3 chore(chains): update chains (#3389)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-19 09:51:44 -07:00
Jonas Daniels 00f3fb506f testing deployment (#3398) 2024-06-19 03:43:05 -07:00
Jonas Daniels 5c6f7387e0 [Chore] Update auto import file exclude patterns for TypeScript in .vscode settings (#3390) 2024-06-19 02:31:02 -07:00
jnsdls db6d2520e7 [Dependencies] Chore: Update dependencies and refactor code consistency (#3392)
The PR primarily focuses on updating the versions of several npm dependencies, notably React, React-DOM, and Zod, ensuring compatibility with their latest major versions. Additionally, various code enhancements were made for better TypeScript type usage, specifically replacing manual type declarations with more precise React types. Unnecessary imports and redundant code blocks were removed to streamline the codebase.

### TL;DR
Updated package versions for React, React-DOM, and Zod, improved TypeScript type safety, and cleaned up the codebase.

### What changed?
- Updated React and React-DOM versions from specific sub-versions to any version within major version 18.
- Changed Zod versioning from specific sub-versions to any version within major version 3.
- Replaced manual React type declarations with standard React types for components and props.
- Removed unnecessary imports and redundant type definitions.
- Updated the `pnpm-lock.yaml` file accordingly.

### How to test?
1. Run `pnpm install` to update the dependencies to their latest versions.
2. Run the test suite to ensure all unit tests pass with the new versions.
3. Manually test the application to verify that no runtime issues occur due to these dependency upgrades.
4. Pay special attention to areas that heavily rely on React types and Zod schemas.

### Why make this change?
To ensure the codebase remains up-to-date with the latest versions of crucial libraries and to improve overall type safety and code quality.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates package versions, switches linter settings, and refactors type imports in various files.

### Detailed summary
- Updated linter settings to disable `enabled` flag in `biome.json`
- Updated package versions in multiple `package.json` files
- Refactored type imports in various files to use `^18` version for `@types/react`

> 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-06-19 09:24:03 +00:00
Jonas Daniels b20a6080db Merge pull request #3391 from thirdweb-dev/merge-dashboard
[massive] - dashboard
2024-06-18 23:28:35 -07:00
Jonas Daniels 46b2482511 Merge branch 'main' into merge-dashboard 2024-06-18 23:27:33 -07:00
Jonas Daniels 3586394d34 update react version 2024-06-18 23:17:38 -07:00
Jonas Daniels 1b927e7d93 move dashboard into js monorepo 2024-06-18 22:42:01 -07:00
gregfromstl ff75450c11 feat(wallets): add watchAsset functionality to wallet API (#3388)
### TL;DR
This pull request introduces the `watchAsset` functionality to the injected wallets in the thirdweb package.

### What changed?
A new method `watchAsset` is added to the `createAccount` function and `Account` type. This method allows users to add an ERC-20 asset to their wallet's watchlist.

### How to test?
1. Create an account using the `createAccount` function.
2. Call the `watchAsset` method with appropriate parameters to watch an ERC-20 asset.
3. Verify if the asset is added to the wallet's watchlist.

### Why make this change?
This change is made to enhance the functionality of the injected wallets by allowing users to easily add ERC-20 assets to their watchlist, improving the user experience and making asset management more convenient.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add `watchAsset` support in injected wallet accounts.

### Detailed summary
- Added `watchAsset` method in injected wallet accounts
- Defined `WatchAssetParams` type for asset watching
- Provided example usage for `watchAsset` method

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

<!-- end pr-codex -->
2024-06-19 03:15:45 +00:00
jnsdls 1ad5bf5005 chore: update package.json dependencies (#2687)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates various dependencies across the project, including `@apollo/client`, `@thirdweb-dev/react`, `@thirdweb-dev/sdk`, `@thirdweb-dev/wallets`, `graphql`, and `@typescript-eslint/parser`.

### Detailed summary
- Updated `@apollo/client` to version `3.10.5`
- Updated `@thirdweb-dev/react` to version `4.9.4`
- Updated `@thirdweb-dev/react-core` to version `4.9.4`
- Updated `@thirdweb-dev/sdk` to version `4.0.99`
- Updated `@thirdweb-dev/wallets` to version `2.5.39`
- Updated `graphql` to version `16.8.2`
- Updated `@typescript-eslint/parser` to version `7.13.1`

> 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-06-19 02:59:29 +00:00
jnsdls ea0ae2231e feat: integrate theme synchronization using useTheme from next-themes (#2688)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a `SyncTheme` component to keep the theme in sync with `useTheme` in the `TailwindTheme` function.

### Detailed summary
- Added `SyncTheme` component to sync theme with `useTheme`
- Utilized `useEffect` to update theme based on `colorMode`
- Set initial theme based on `colorMode`

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

<!-- end pr-codex -->
2024-06-19 02:46:22 +00:00
gregfromstl c238caf4c5 feat(connect-wallet): support custom chains in WalletConnect (#3372)
Allows use of chains not explicitly specified on the connecting app but specified by the receiver.

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance the Wallet Connect feature by adding support for custom chains and improving session handling.

### Detailed summary
- Added support for custom chains in Wallet Connect feature.
- Enhanced session handling with custom chains in session proposals.
- Updated session proposal tests to include custom chains.
- Improved chain handling in session proposal functions.

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

<!-- end pr-codex -->
2024-06-19 02:40:14 +00:00
gregfromstl d931436036 feat(wallets): add support for wallet_addEthereumChain and wallet_switchEthereumChain (#3371)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances the WalletConnect functionality by adding support for switching Ethereum chains and adding new chains.

### Detailed summary
- Updated `sign.ts` to include raw message in `account.signMessage`
- Added `checksumAddress` validation in `validateAccountAddress`
- Implemented `handleSwitchChain` for switching Ethereum chains
- Added support for `wallet_addEthereumChain` and `wallet_switchEthereumChain` requests
- Updated types and interfaces for wallet interactions

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

<!-- end pr-codex -->
2024-06-19 02:40:09 +00:00
gregfromstl 9266254199 fix(wallets): cache walletConnectClient (#3310)
### TL;DR

Implemented a caching mechanism for WalletConnect clients to improve performance and added error messaging for failed connections.

### What changed?

- Introduced a caching mechanism for WalletConnect clients using a WeakMap to store instances.
- Removed redundant console.log error message in WalletConnectReceiverScreen.tsx.
- Updated disconnect message to "Disconnected".

### How to test?

1. Trigger multiple WalletConnect sessions and ensure that the client is retrieved from the cache after the initial creation.
2. Test error handling by forcing a connection failure and verifying that the error message is set correctly.
3. Disconnect a WalletConnect session and ensure the disconnect message is accurate.

### Why make this change?

This change enhances the performance by reducing redundant WalletConnect client creations and improves the clarity of error and disconnect messages.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR optimizes WalletConnect client caching and error handling.

### Detailed summary
- Added caching mechanism for WalletConnect clients
- Improved error message handling during connection establishment
- Updated disconnect message to "Disconnected"

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

<!-- end pr-codex -->
2024-06-19 02:40:04 +00:00
gregfromstl ac5bb56a2d refactor: update icon usage in ConnectWallet component (#3309)
Replace usage of WalletIcon with new and more specific wallet and coin icons. New icons include GenericWalletIcon, OutlineWalletIcon, and CoinsIcon.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the Connect Modal icons in the `thirdweb` package.

### Detailed summary
- Renamed `WalletIcon` component to `GenericWalletIcon`
- Added new `CoinsIcon` component
- Added `OutlineWalletIcon` component
- Updated icon imports in various files

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

<!-- end pr-codex -->
2024-06-19 02:39:59 +00:00
gregfromstl b5a71a3eed feat(react): Adds WalletConnect Receiver (#3294)
### TL;DR

Simplified the `ConnectWallet` modal by removing unused icons/components and migrate `wallet-connect` functionalities to receiver.

### What changed?
- Updated wallet-connect imports to use the `receiver` directory instead of the `consumer` directory.
- Removed unused icons and components (`ShuffleIcon`, `KeyIcon`, `SwitchMetamaskAccount`, etc.) from `Details.tsx`.
- Added new `ManageWalletScreen` and `WalletConnectReceiverScreen` components.
- Refactored `MenuButton` into a separate component file.

### How to test?
1. Open the `ConnectWallet` modal.
2. Ensure that the removed components are no longer present in the UI.
3. Test Manage Wallet functionalities by navigating to the new `ManageWalletScreen` and `WalletConnectReceiverScreen`.
4. Verify that wallet-connect functionalities work seamlessly after the migration.

### Why make this change?
To streamline the UI by removing redundant elements and improving the organization of wallet-connect functionalities.

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor the wallet connect functionality, introduce new screens, and improve UI components.

### Detailed summary
- Added new `WalletDetailsModalScreen` options
- Updated imports for wallet connect files
- Modified UI components for better user experience
- Introduced new icons and screens for wallet management

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/ManageWalletScreen.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/screens/WalletConnectReceiverScreen.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx`

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

<!-- end pr-codex -->
2024-06-19 00:59:03 +00:00
github-actions[bot] 991cb72bdb chore(chains): update chains (#3382)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-18 16:12:55 -07:00
Alec AnanianandManan Tank 8d7f8db39a fix(react): return type on useConnectModal.connect (#3385)
Co-authored-by: Manan Tank <[email protected]>
2024-06-19 11:07:43 +12:00
kien-ngo 4484fd02bb Edition Drop extension: updateMetadata + few others (#3376)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds an `updateMetadata` extension for Edition Drop (DropERC1155).

### Detailed summary
- Added `updateMetadata` extension for DropERC1155
- Updated generated files for BatchMetadataUpdate event
- Added functions for decoding and calling `getBaseURICount`
- Implemented logic for updating metadata in ERC1155 collections

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/erc1155/drops/write/updateMetadata.test.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/BatchMintMetadata/read/getBatchIdAtIndex.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/DropERC1155/write/freezeBatchBaseURI.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/DropERC1155/write/updateBatchBaseURI.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/DropERC1155/write/setMaxTotalSupply.ts`, `packages/thirdweb/src/extensions/erc1155/__generated__/DropERC1155/write/setSaleRecipientForToken.ts`

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

<!-- end pr-codex -->
2024-06-18 23:02:35 +00:00
Jonas Daniels e314363ec4 [Chore] Remove pnpm-lock.yaml file from playground-web app (#3383) 2024-06-18 14:28:00 -07:00
gregfromstl 48569fb15e fix(wallets): fix walletconnect mobile modal (#3386)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on fixing the mobile Wallet Connect connection flow by ensuring the correct display of the QR modal and wallet information.

### Detailed summary
- Updated condition to show QR modal based on session request handler
- Added check to exclude Wallet Connect wallet from default session handler usage

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

<!-- end pr-codex -->
2024-06-18 21:24:32 +00:00
jnsdls 6296bc1ec1 refactor: remove unused VerifiedIcon and clean up related code (#2686)
### TL;DR

This pull request removes support for the verification of chains across the dashboard layouts and chain list components.

### What changed?

- Deleted all instances of the `VerifiedIcon` and its corresponding logic from the dashboard layout and chain list components.

### How to test?

1. Navigate to the dashboard layout.
2. Ensure no verified badge or icon appears for any chain.
3. Check the chain list components to confirm they no longer display the verified icon or associated logic.

### Why make this change?

This change simplifies the UI by removing the verified chain feature, which is no longer in use.

---

<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to remove the `VerifiedIcon` component and related logic from chain-related components.

### Detailed summary
- Removed `VerifiedIcon` component import and references from `layout.tsx`, `chainlist-row.tsx`, and `chainlist-card.tsx`
- Updated conditional rendering logic related to `VerifiedIcon` in `chainlist-row.tsx` and `chainlist-card.tsx`

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

<!-- end pr-codex -->
2024-06-18 21:18:08 +00:00
MananTank 85b12c7a69 Fix React warning when clicking copy address button (#3384)
<!-- start pr-codex -->

## PR-Codex overview
This PR fixes a React warning and layout shift issue when clicking the copy address button.

### Detailed summary
- Introduces a `showCheckIcon` variable to handle showing the check icon conditionally based on `hasCopied` state
- Updates the rendering logic inside the `CopyIcon` component to address the React warning and layout shift issue

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

<!-- end pr-codex -->
2024-06-18 20:54:02 +00:00
Manan Tank 4cfb492bfc Add purchaseData parameter for pay quote APIs (#3326) 2024-06-18 20:30:57 +00:00
jnsdls 61b83a0893 refactor: prevent HTML files from being dropped in IpfsUploadDropzone component (#2685)
### TL;DR

This PR filters out HTML files from being uploaded via the IPFS upload dropzone component. This ensures users cannot upload HTML files by mistake or with malicious intent.

### What changed?

- Updated the `onDrop` method in `IpfsUploadDropzone` component to filter out `.html` files.

### How to test?

1. Go to the IPFS upload dropzone component.
2. Attempt to upload a mix of file types, including `.html` files.
3. Verify that `.html` files are not accepted.

### Why make this change?

This change prevents potential security risks and enhances the robustness of the file upload feature.

---

<!-- start pr-codex -->

## PR-Codex overview
This PR enhances the `onDrop` functionality in `dropzone.tsx` by filtering out files with the type "text/html".

### Detailed summary
- Updated `onDrop` function to filter out files with type "text/html" before adding to dropped files list.

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

<!-- end pr-codex -->
2024-06-18 20:17:08 +00:00
kien-ngo 7971817921 Fix some typos in docs (#3377)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update variable names and improve consistency in the ConnectWallet component props.

### Detailed summary
- Renamed `chainId` variable to `activeChain` for clarity
- Updated `button` prop to `connectButton` for consistency
- Added examples and documentation for `style` and `displayBalanceToken` props

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

<!-- end pr-codex -->
2024-06-18 20:16:35 +00:00
jnsdls 7fdb946430 [Feature] Add nightly release GitHub workflow (#3380) 2024-06-18 19:49:49 +00:00
github-actions[bot] e441adf4f3 chore(chains): update chains (#3365)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-18 12:36:28 -07:00
Jonas Daniels 966ca658fa [Chore] Remove deprecated release-pr GitHub workflow (#3378) 2024-06-18 12:35:52 -07:00
jnsdls 1f0cae963b feat: update AnnouncementBanner with Blocktorch acquisition details (#2684)
### TL;DR

Update AnnouncementBanner to reflect the acquisition of Blocktorch by thirdweb, including new link, label, and announcement text.

### What changed?

- Modified `useLocalStorage` key from `dismissed-thirdweb-pay` to `dismissed-blocktorch-announcement`.
- Updated the link in `TrackedLink` from `pay-demo.thirdweb.com` to the blog post regarding the acquisition of Blocktorch: `blog.thirdweb.com/welcoming-blocktorch/`.
- Changed the label in `TrackedLink` from `thirdweb-pay` to `blocktorch`.
- Added `isExternal` attribute to `TrackedLink`.
- Revised the announcement text from "Introducing thirdweb Pay" to "thirdweb acquires Blocktorch, a leading web3 observability platform."

### How to test?

- Verify that the AnnouncementBanner displays the new text regarding the Blocktorch acquisition.
- Check that clicking the link directs to the Blocktorch acquisition blog post.
- Ensure that the local storage key is correctly updated to `dismissed-blocktorch-announcement`.

### Why make this change?

To inform users about the recent acquisition of Blocktorch by thirdweb and update the relevant link, label, and text in the AnnouncementBanner to reflect this update.

---

<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update the AnnouncementBanner component with new content and links related to the acquisition of Blocktorch by thirdweb.

### Detailed summary
- Updated `useLocalStorage` key to `"dismissed-blocktorch-announcement"`
- Changed announcement link to `"https://blog.thirdweb.com/welcoming-blocktorch/"`
- Updated `label` to `"blocktorch"`
- Added `isExternal` to TrackedLink
- Modified announcement content to reflect Blocktorch acquisition by thirdweb

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

<!-- end pr-codex -->
2024-06-18 19:30:29 +00:00
jnsdls 13f73ce110 [Dependencies] Update ws package versions to include 8.17.1, 7.5.10, and 6.2.3 (#3374)
### TL;DR

Added overrides for older versions of the `ws` package to ensure proper compatibility and fix potential issues. Updated versions in both `package.json` and `pnpm-lock.yaml`.

### What changed?

- `package.json` updated with additional dependency overrides for `ws` versions:
  - `ws@>=7.0.0 <7.5.10`: `7.5.10`
  - `ws@>=6.0.0 <6.2.3`: `6.2.3`
- Corresponding updates in `pnpm-lock.yaml` to reflect the new versions:
  - Updated multiple entries of `ws` to version `7.5.10`
  - Updated multiple entries of `ws` to version `6.2.3`

### How to test?

1. Run `pnpm install` to ensure all dependencies are installed correctly.
2. Check the project for any compatibility issues or warnings related to the `ws` package.
3. Run existing tests to confirm no breaking changes.

### Why make this change?

To maintain compatibility with various versions of `ws` package and fix any potential vulnerabilities or compatibility issues that might arise due to mismatched versions in different parts of the project.
2024-06-18 17:11:29 +00:00
dependabot 7fb265b85f build(deps): bump viem from 2.9.9 to 2.15.1 (#3375)
Bumps [viem](https://github.com/wevm/viem) from 2.9.9 to 2.15.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/wevm/viem/releases">viem's releases</a>.</em></p>
<blockquote>
<h2>[email protected].1</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github.com/wevm/viem/commit/d8e44f7df36cd405b00d76438e9100d82cdd5ed6"><code>d8e44f7</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Bumped <code>ws</code> dependency.</li>
</ul>
<h2>[email protected].0</h2>
<h3>Minor Changes</h3>
<ul>
<li><a href="https://redirect.github.com/wevm/viem/pull/2418">#2418</a> <a href="https://github.com/wevm/viem/commit/6c36745e2a7f1826d691cff1037504546ad4fed0"><code>6c36745</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Added support for a <a href="https://viem.sh/docs/accounts/createNonceManager">Nonce Manager</a> on Local Accounts via <code>nonceManager</code>.</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/2419">#2419</a> <a href="https://github.com/wevm/viem/commit/ec831b52301312c5c985a2cac128536e2639922f"><code>ec831b5</code></a> Thanks <a href="https://github.com/iosh"><code>@​iosh</code></a>! - Updated Conflux eSpace RPC URL</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/2418">#2418</a> <a href="https://github.com/wevm/viem/commit/6c36745e2a7f1826d691cff1037504546ad4fed0"><code>6c36745</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Implemented in-flight request deduplication for Transport JSON-RPC requests.</p>
</li>
<li>
<p><a href="https://github.com/wevm/viem/commit/a5c97c556f17895742c164295f62bad793139f42"><code>a5c97c5</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Added <code>berachainTestnetbArtio</code> chain.</p>
</li>
</ul>
<h2>[email protected].2</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/wevm/viem/pull/2414">#2414</a> <a href="https://github.com/wevm/viem/commit/3636c5c6c099dba1910f1d215d019acc6e12f101"><code>3636c5c</code></a> Thanks <a href="https://github.com/turtlemoji"><code>@​turtlemoji</code></a>! - Added <code>l2OutputOracle</code>, <code>portal</code> and <code>l1StandardBridge</code> contracts to <code>mode</code> chain.</li>
</ul>
<h2>[email protected].1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/2411">#2411</a> <a href="https://github.com/wevm/viem/commit/2fc14e50df3d6796cd29add44d0467320cb06195"><code>2fc14e50</code></a> Thanks <a href="https://github.com/tmm"><code>@​tmm</code></a>! - Deprecated <code>getBytecode</code> (use <code>getCode</code> instead).</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/2408">#2408</a> <a href="https://github.com/wevm/viem/commit/21cb684a6e41fc65ac0f15c0ee08df296f2b1a15"><code>21cb684a</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Added <code>code</code> as a parameter to <code>call</code> + <code>readContract</code> – to enable <a href="https://viem.sh/docs/actions/public/call#bytecode">Deployless Calls via Bytecode</a>.</p>
</li>
</ul>
<h2>[email protected].0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/2405">#2405</a> <a href="https://github.com/wevm/viem/commit/fc8919f5e73f4859627c268cceede3f1a2d9c9c3"><code>fc8919f5</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Added <code>factory</code> &amp; <code>factoryData</code> parameters to <code>call</code> &amp; <code>readContract</code> to enable <a href="https://viem.sh/docs/actions/public/call#deployless-calls">Deployless Calls</a> (calling a function on a contract which has not been deployed) via a <a href="https://docs.alchemy.com/docs/create2-an-alternative-to-deriving-contract-addresses#create2-contract-factory">Factory Contract</a>.</p>
<p>This is particularly useful for the use case of calling functions on <a href="https://eips.ethereum.org/EIPS/eip-4337">ERC-4337 Smart Accounts</a> that have not been deployed yet.</p>
</li>
</ul>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/wevm/viem/pull/2399">#2399</a> <a href="https://github.com/wevm/viem/commit/a61a90c077c02cee80c88256461d5a71a35dbc0f"><code>a61a90c</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Added <code>getEip712Domain</code> Action.</li>
</ul>
<h2>[email protected].9</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/2398">#2398</a> <a href="https://github.com/wevm/viem/commit/f2695cfb81a3bf954879ab2f14d1c55bad1175f1"><code>f2695cf</code></a> Thanks <a href="https://github.com/jxom"><code>@​jxom</code></a>! - Fixed an issue where zero <code>r</code> and <code>s</code> values were not being serialized correctly.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/2374">#2374</a> <a href="https://github.com/wevm/viem/commit/a81965e0984a2d239df0d5e989e6b2119aa4c680"><code>a81965e</code></a> Thanks <a href="https://github.com/roninjin10"><code>@​roninjin10</code></a>! - Updated <code>EncodeDeployDataParameters</code> type.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/2388">#2388</a> <a href="https://github.com/wevm/viem/commit/895e7d11a2df3d7aaf7e13476b1c893abb055aaa"><code>895e7d1</code></a> Thanks <a href="https://github.com/bajpai244"><code>@​bajpai244</code></a>! - Updated <code>kakarotSepolia</code> chain id.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/wevm/viem/commit/a7c1ab1d101f730e8d25bbe848304c73b43564f7"><code>a7c1ab1</code></a> Version Packages (<a href="https://redirect.github.com/wevm/viem/issues/2422">#2422</a>)</li>
<li><a href="https://github.com/wevm/viem/commit/d6053239c4106c160f66863a8afff43961569f5e"><code>d605323</code></a> chore: lockfile</li>
<li><a href="https://github.com/wevm/viem/commit/d8e44f7df36cd405b00d76438e9100d82cdd5ed6"><code>d8e44f7</code></a> chore: bump <code>ws</code></li>
<li><a href="https://github.com/wevm/viem/commit/97937a2dc2330949efc1e7e4a2f9635ce2ab529c"><code>97937a2</code></a> chore: format</li>
<li><a href="https://github.com/wevm/viem/commit/8d79597f8223fa48a4fb55c7b574b7d1af3525ab"><code>8d79597</code></a> Version Packages (<a href="https://redirect.github.com/wevm/viem/issues/2421">#2421</a>)</li>
<li><a href="https://github.com/wevm/viem/commit/cde7b26c40d778773af3f23faa115a56fd42860f"><code>cde7b26</code></a> chore: knip</li>
<li><a href="https://github.com/wevm/viem/commit/a5c97c556f17895742c164295f62bad793139f42"><code>a5c97c5</code></a> chore: format</li>
<li><a href="https://github.com/wevm/viem/commit/815e30dd1bc4474eeb3c69fb52c343e225987c3b"><code>815e30d</code></a> feat: berachain bArtio 80084 (<a href="https://redirect.github.com/wevm/viem/issues/2420">#2420</a>)</li>
<li><a href="https://github.com/wevm/viem/commit/ec831b52301312c5c985a2cac128536e2639922f"><code>ec831b5</code></a> chore: update Conflux eSpace RPC URL (<a href="https://redirect.github.com/wevm/viem/issues/2419">#2419</a>)</li>
<li><a href="https://github.com/wevm/viem/commit/6c36745e2a7f1826d691cff1037504546ad4fed0"><code>6c36745</code></a> feat: nonce manager + dedupe in-flight requests (<a href="https://redirect.github.com/wevm/viem/issues/2418">#2418</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/wevm/viem/compare/[email protected]@2.15.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=viem&package-manager=npm_and_yarn&previous-version=2.9.9&new-version=2.15.1)](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 `viem` package version to `2.15.1` in multiple locations and aligns peer dependencies accordingly.

### Detailed summary
- Updated `viem` package version to `2.15.1` in `thirdweb` and `crypto` packages
- Adjusted peer dependencies for `viem` package to match the new version
- Updated dev status for `viem` package in `legacy_packages`

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

<!-- end pr-codex -->
2024-06-18 17:03:58 +00:00
jnsdls 7482f04ef6 [Dependencies] Bump ws to 8.17.1 (#3373)
### TL;DR

This pull request updates the `ws` package to version 8.17.1 in the `package.json` and `pnpm-lock.yaml` files.

### What changed?

- `package.json`: Updated `ws` package from various older versions to 8.17.1.
- `pnpm-lock.yaml`: Synchronized lock file with the new version of `ws` package.

### How to test?

1. Run `pnpm install` to update dependencies.
2. Check if the application builds and runs without errors after the update.
3. Run the test suite to ensure no tests are broken by this change.

### Why make this change?

To ensure compatibility and security by using the latest version of the `ws` package.
2024-06-18 16:39:24 +00:00
jnsdls 1517db8ef2 refactor: remove unused 'lottie' prop from LandingHero component (#2683)
### TL;DR

Removed the `lottie` animation support in the `LandingHero` component.

### What changed?

- Deleted the `lottie` property from the `LandingHeroProps` interface.
- Removed `lottie` from the `LandingHero` component's destructured props.
- Deleted the `Flex` container that previously contained the `LandingDesktopMobileImage` with the `lottie` prop.

### How to test?

1. Verify that the `LandingHero` component no longer expects or handles the `lottie` prop.
2. Ensure that there are no visual or functional regressions in the `LandingHero` component on various pages where it is used.

### Why make this change?

The `lottie` animation support was deemed unnecessary and has been removed to streamline the component's implementation and reduce complexity.

---

<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to remove the `lottie` prop from the `LandingHero` component in `hero.tsx`.

### Detailed summary
- Removed the `lottie` prop from `LandingHero` component
- Adjusted component structure to accommodate the removal

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

<!-- end pr-codex -->
2024-06-18 16:05:12 +00:00
MananTank b57f9276ae Fix pricing card height on safari (#2682)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `PricingCard` component in the homepage section with improved styles for better visibility and user interaction.

### Detailed summary
- Updated flex direction to column layout
- Adjusted padding for different screen sizes
- Set height to full
- Increased z-index for layering
- Changed background color based on `highlighted` prop
- Modified border color based on `current` prop

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

<!-- end pr-codex -->
2024-06-18 15:51:19 +00:00
dependabot f96d055fd9 build(deps): bump react-hook-form from 7.51.4 to 7.52.0 (#2677)
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.51.4 to 7.52.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/react-hook-form/react-hook-form/releases">react-hook-form's releases</a>.</em></p>
<blockquote>
<h2>v7.52.0</h2>
<p>⚛️ close <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11932">#11932</a> enable react 19 peer dependency (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11935">#11935</a>)
👮‍♀️ close <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11954">#11954</a> getFieldState remove unnessaried inValidating and touched subscription (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11995">#11995</a>)
🐞 fix <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11985">#11985</a> logic createFormControl check field before usage (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11986">#11986</a>)
⌨️ fix: enforce type safety for deps property in RegisterOptions (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11969">#11969</a>)
🐞 fix <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11922">#11922</a> keep dirty on reset with dirty fields (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11958">#11958</a>)
🚔 close <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11937">#11937</a> add validation in the cleanup process in useController (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11938">#11938</a>)
Revert &quot;⌨️ close: correct type of error field in getFieldState return object (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11831">#11831</a>)&quot;
📖 fix: change info.values type in WatchObserver (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11917">#11917</a>)</p>
<p>thanks to <a href="https://github.com/nakaakist"><code>@​nakaakist</code></a>, <a href="https://github.com/IdoBouskila"><code>@​IdoBouskila</code></a>, <a href="https://github.com/pincy"><code>@​pincy</code></a> and <a href="https://github.com/peinguin"><code>@​peinguin</code></a></p>
<h2>v7.51.5</h2>
<p>📖 fix broken link to examples in README.md (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11805">#11805</a>)
⌨️ close: correct type of error field in getFieldState return object (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11831">#11831</a>)
🐞 fix <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11842">#11842</a> radio buttons not disabled when multiple share a name (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11873">#11873</a>)
🐞 fix <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11821">#11821</a> set value with disabled false before mount (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11880">#11880</a>)
🐞 fix setError to preserve existing errors elsewhere in the object (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11888">#11888</a>)
⌨️ fix: add info.value type to WatchObserver (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11872">#11872</a>)
🫡 fix issue with internal <code>set</code> api (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11915">#11915</a>)</p>
<p>thanks to <a href="https://github.com/mjr2595"><code>@​mjr2595</code></a> <a href="https://github.com/erashu212"><code>@​erashu212</code></a> <a href="https://github.com/SimonJTurner"><code>@​SimonJTurner</code></a> and <a href="https://github.com/peinguin"><code>@​peinguin</code></a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/react-hook-form/react-hook-form/commit/a4370c31f2d2c1fdc8e9f5c85379f7f3ce1ea208"><code>a4370c3</code></a> 7.52.0</li>
<li><a href="https://github.com/react-hook-form/react-hook-form/commit/dfb8dda84e945fb0e2b09d29411db070301ad2b1"><code>dfb8dda</code></a> 🌅 update README.md (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/12019">#12019</a>)</li>
<li><a href="https://github.com/react-hook-form/react-hook-form/commit/1d0503b46cfe0589b188c4c0d9fa75f247271cf7"><code>1d0503b</code></a> 👮‍♀️ close <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11954">#11954</a> getFieldState remove unnessaried inValidating and touched s...</li>
<li><a href="https://github.com/react-hook-form/react-hook-form/commit/f13f0609df265aaeb49ae02f605e8760503327db"><code>f13f060</code></a> 🐞 fix <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11985">#11985</a> logic createFormControl check field before usage (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11986">#11986</a>)</li>
<li><a href="https://github.com/react-hook-form/react-hook-form/commit/e90d26467efc8b6ecd289b0cc04fed847535138b"><code>e90d264</code></a> ⌨️ fix: enforce type safety for <code>deps</code> property in <code>RegisterOptions</code> (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11969">#11969</a>)</li>
<li><a href="https://github.com/react-hook-form/react-hook-form/commit/e9f6ddb6ec345ece986757cd4d57fe30562eb8bd"><code>e9f6ddb</code></a> 🐞 fix <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11922">#11922</a> keep dirty on reset with dirty fields (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11958">#11958</a>)</li>
<li><a href="https://github.com/react-hook-form/react-hook-form/commit/aff0bb9fff265d16fb4bf567b76f0945b7e43738"><code>aff0bb9</code></a> 🚔 close <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11937">#11937</a> add validation in the cleanup process in <code>useController</code> (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11938">#11938</a>)</li>
<li><a href="https://github.com/react-hook-form/react-hook-form/commit/b491b29387ec1aadccebef12c97bac992aff5f43"><code>b491b29</code></a> ⚛️ close <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11932">#11932</a> allow react 19 peer dependency (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11935">#11935</a>)</li>
<li><a href="https://github.com/react-hook-form/react-hook-form/commit/927535bf87412b2baa91faefb4c7ded327126c2b"><code>927535b</code></a> Revert &quot;⌨️ close: correct type of <code>error</code> field in <code>getFieldState</code> return obj...</li>
<li><a href="https://github.com/react-hook-form/react-hook-form/commit/bed340ce9edea586cf26dfa7c4784902227d4556"><code>bed340c</code></a> 📖 fix: change info.values type in WatchObserver (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/11917">#11917</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/react-hook-form/react-hook-form/compare/v7.51.4...v7.52.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-hook-form&package-manager=npm_and_yarn&previous-version=7.51.4&new-version=7.52.0)](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 `react-hook-form` to version 7.52.0 for improved functionality and compatibility with other packages.

### Detailed summary
- Updated `react-hook-form` to version 7.52.0
- Updated dependencies related to `react-hook-form` to match the new version
- Updated peer dependencies for `react` to include version 19

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

<!-- end pr-codex -->
2024-06-18 15:37:03 +00:00
Phillip Ho 8d243b03f9 feat: Contract subscriptions filters (#2653)
* feat: add event filters to contract subscriptions

* undo early access warning
2024-06-18 07:45:05 +00:00
jnsdls 2ff4852b4b feat: add deprecation notices and update components (#2681)
- Added `isDeprecated` flag to route configurations in `useRouteConfig`.
- Displayed deprecation alert in `ContractPaymentsPage`.
- Updated imports in `page.tsx` to include `Alert`, `AlertDescription`, `AlertIcon`, and `Link`.
- Added deprecation badge to navigation links in `detail-page.tsx`.

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to deprecate certain features and provide migration guidance for contract payments.

### Detailed summary
- Deprecated `isDeprecated` flag added to components and tabs
- Deprecated status displayed in UI elements
- Added `DeprecatedTab` component with migration guidance
- Updated imports in `page.tsx` for Chakra UI components and `tw-components`

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

<!-- end pr-codex -->
2024-06-18 01:31:21 +00:00
fa4db2233c Version Packages (#3367)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-06-18 13:03:53 +12:00
dependabot c13ffc5f8b build(deps-dev): bump eslint-plugin-tsdoc from 0.2.17 to 0.3.0 (#3359)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [eslint-plugin-tsdoc](https://github.com/microsoft/tsdoc/tree/HEAD/eslint-plugin) from 0.2.17 to 0.3.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/microsoft/tsdoc/blob/main/eslint-plugin/CHANGELOG.md">eslint-plugin-tsdoc's changelog</a>.</em></p>
<blockquote>
<h2>0.3.0</h2>
<p>Tue, 28 May 2024 21:34:19 GMT</p>
<h3>Minor changes</h3>
<ul>
<li>Minor package cleanup.</li>
</ul>
<h3>Patches</h3>
<ul>
<li>Upgrade dev toolchain (Heft, Webpack, TypeScript, ESLint)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/microsoft/tsdoc/commits/eslint-plugin-tsdoc_v0.3.0/eslint-plugin">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-tsdoc&package-manager=npm_and_yarn&previous-version=0.2.17&new-version=0.3.0)](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
The focus of this PR is to update the `eslint-plugin-tsdoc` dependency across multiple packages to version `0.3.0`.

### Detailed summary
- Updated `eslint-plugin-tsdoc` to version `0.3.0` in multiple package.json files
- Updated `eslint-plugin-tsdoc` to version `0.3.0` in pnpm-lock.yaml

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

<!-- end pr-codex -->
2024-06-18 00:30:03 +00:00
dependabot b5394b5471 build(deps-dev): bump @babel/plugin-transform-private-methods from 7.24.1 to 7.24.7 (#3361)
Bumps [@babel/plugin-transform-private-methods](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-private-methods) from 7.24.1 to 7.24.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@​babel/plugin-transform-private-methods</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.24.7 (2024-06-05)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-node</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16554">#16554</a> Allow extra flags in babel-node (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-traverse</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16522">#16522</a> fix: incorrect <code>constantViolations</code> with destructuring (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-transform-fixture-test-runner</code>, <code>babel-plugin-proposal-explicit-resource-management</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16524">#16524</a> fix: Transform <code>using</code> in <code>switch</code> correctly (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-helpers</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16525">#16525</a> Delete unused array helpers (<a href="https://github.com/blakewilson"><code>@​blakewilson</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 7</h4>
<ul>
<li>Amjad Yahia Robeen Hassan (<a href="https://github.com/amjed-98"><code>@​amjed-98</code></a>)</li>
<li>Babel Bot (<a href="https://github.com/babel-bot"><code>@​babel-bot</code></a>)</li>
<li>Blake Wilson (<a href="https://github.com/blakewilson"><code>@​blakewilson</code></a>)</li>
<li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
<li>Sukka (<a href="https://github.com/SukkaW"><code>@​SukkaW</code></a>)</li>
<li><a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a></li>
</ul>
<h2>v7.24.6 (2024-05-24)</h2>
<p>Thanks <a href="https://github.com/amjed-98"><code>@​amjed-98</code></a>, <a href="https://github.com/blakewilson"><code>@​blakewilson</code></a>, <a href="https://github.com/coelhucas"><code>@​coelhucas</code></a>, and <a href="https://github.com/SukkaW"><code>@​SukkaW</code></a> for your first PRs!</p>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-transform-class-properties</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16514">#16514</a> Fix source maps for private member expressions (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-plugin-transform-modules-commonjs</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16515">#16515</a> Fix source maps for template literals (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-decorators</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16485">#16485</a> Support undecorated static accessor in anonymous classes (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li><a href="https://redirect.github.com/babel/babel/pull/16484">#16484</a> Fix decorator bare yield await (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-runtime-corejs3</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16483">#16483</a> Fix: throw TypeError if addInitializer is called after finished (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>, <code>babel-plugin-transform-typescript</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16476">#16476</a> fix: Correctly parse <code>cls.fn&lt;C&gt; = x</code> (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-core</code>, <code>babel-helpers</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16501">#16501</a> Generate helper metadata at build time (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16499">#16499</a> Add <code>tsconfig.json</code> for <code>@babel/helpers/src/helpers</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-cli</code>, <code>babel-helpers</code>, <code>babel-plugin-external-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-transform-class-properties</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-modules-systemjs</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16495">#16495</a> Move all runtime helpers to individual files (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16482">#16482</a> Statically generate boilerplate for bitfield accessors (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li>Other</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@​babel/plugin-transform-private-methods</code>'s changelog</a>.</em></p>
<blockquote>
<h2>v7.24.7 (2024-06-05)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-node</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16554">#16554</a> Allow extra flags in babel-node (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-traverse</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16522">#16522</a> fix: incorrect <code>constantViolations</code> with destructuring (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-transform-fixture-test-runner</code>, <code>babel-plugin-proposal-explicit-resource-management</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16524">#16524</a> fix: Transform <code>using</code> in <code>switch</code> correctly (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-helpers</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16525">#16525</a> Delete unused array helpers (<a href="https://github.com/blakewilson"><code>@​blakewilson</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.24.6 (2024-05-24)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-transform-class-properties</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16514">#16514</a> Fix source maps for private member expressions (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-plugin-transform-modules-commonjs</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16515">#16515</a> Fix source maps for template literals (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-decorators</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16485">#16485</a> Support undecorated static accessor in anonymous classes (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li><a href="https://redirect.github.com/babel/babel/pull/16484">#16484</a> Fix decorator bare yield await (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-runtime-corejs3</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16483">#16483</a> Fix: throw TypeError if addInitializer is called after finished (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>, <code>babel-plugin-transform-typescript</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16476">#16476</a> fix: Correctly parse <code>cls.fn&lt;C&gt; = x</code> (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-core</code>, <code>babel-helpers</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16501">#16501</a> Generate helper metadata at build time (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16499">#16499</a> Add <code>tsconfig.json</code> for <code>@babel/helpers/src/helpers</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-cli</code>, <code>babel-helpers</code>, <code>babel-plugin-external-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-transform-class-properties</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-modules-systemjs</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16495">#16495</a> Move all runtime helpers to individual files (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16482">#16482</a> Statically generate boilerplate for bitfield accessors (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16466">#16466</a> Migrate import assertions syntax (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.24.5 (2024-04-29)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-classes</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16377">#16377</a> fix: TypeScript annotation affects output (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>, <code>babel-plugin-proposal-explicit-resource-management</code>, <code>babel-runtime-corejs3</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/16440">#16440</a> Fix suppressed error order (<a href="https://github.com/sossost"><code>@​sossost</code></a>)</li>
<li><a href="https://redirect.github.com/babel/babel/pull/16408">#16408</a> Await nullish async disposable (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-parser</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/babel/babel/commit/bf1e9a34e4d66d8231dad2f12b9df46d4b730ead"><code>bf1e9a3</code></a> v7.24.7</li>
<li><a href="https://github.com/babel/babel/commit/793496394e30fe37b56e54d76cabb417e1652dc2"><code>7934963</code></a> Use <code>type: module</code> in all <code>package.json</code>s (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-private-methods/issues/16535">#16535</a>)</li>
<li><a href="https://github.com/babel/babel/commit/9630250ca06f64a62d20caef62fcfa3b8d9165c8"><code>9630250</code></a> v7.24.6</li>
<li><a href="https://github.com/babel/babel/commit/6e3539ba1447f4ec43b2fcb1093aecea014ccd26"><code>6e3539b</code></a> [babel 8] Publish <code>.d.ts</code> files for every package (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-private-methods/issues/16416">#16416</a>)</li>
<li><a href="https://github.com/babel/babel/commit/71c247a1831fe70e8b847fdb57b5fc10538d9748"><code>71c247a</code></a> [babel 8] Require Node.js <code>^18.20.0 || ^20.10.0 || &gt;=21.0.0</code> (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-private-methods/issues/16457">#16457</a>)</li>
<li><a href="https://github.com/babel/babel/commit/ee4875443db7563b87ef8e11e1fb75582ac72ac1"><code>ee48754</code></a> Use multiple TypeScript projects (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-private-methods/issues/16430">#16430</a>)</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.24.7/packages/babel-plugin-transform-private-methods">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@babel/plugin-transform-private-methods&package-manager=npm_and_yarn&previous-version=7.24.1&new-version=7.24.7)](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 Babel plugins and dependencies to their latest versions, focusing on `@babel/plugin-transform-private-methods`.

### Detailed summary
- Updated `@babel/plugin-transform-private-methods` to version `7.24.7` in multiple files.
- Upgraded various helper plugins to version `7.24.7`.
- Updated `@babel/types` and other dependencies to version `7.24.7`.
- Added new plugin `@babel/helper-create-class-features-plugin`.
- Updated `@babel/helper-replace-supers` to version `7.24.7`.
- Various other dependency updates and additions.

> 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-06-18 00:23:27 +00:00
jnsdls b808652805 [Fix] Handle special case for localhost in development environment in isThirdwebUrl function (#3369)
### TL;DR

This PR updates the `isThirdwebUrl` function to properly handle the `localhost` hostname in the development environment.

### What changed?

- Added a check to see if `process.env.NODE_ENV` is set to `development`
- If in development, it checks if the hostname is `localhost` and treats it as a Thirdweb URL

### How to test?

- Ensure the application runs in both development and production environments
- In development, verify URLs with `localhost` return `true` for `isThirdwebUrl`
- In production, verify URLs with `localhost` return `false` for `isThirdwebUrl`

### Why make this change?

This change was made to correctly classify `localhost` as a Thirdweb URL when running in a development environment, allowing for better development workflow and environment parity.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to exclude localhost from being considered a thirdweb URL, except in development mode.

### Detailed summary
- Excludes localhost from thirdweb URL check in `fetch.ts` except in development mode.
- Adds special handling for localhost in development environment.
- Improves accuracy of identifying thirdweb URLs.

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

<!-- end pr-codex -->
2024-06-18 00:13:02 +00:00
jnsdls c42a34f202 [Tests] Conditionally run updateMetadata test based on TW_SECRET_KEY environment variable (#3368)
### TL;DR

The change ensures that the `erc721: updateMetadata` test suite is conditionally executed only if the `TW_SECRET_KEY` environment variable is set.

### What changed?

- Updated the `updateMetadata.test.ts` file to conditionally run the `erc721: updateMetadata` test suite based on the `TW_SECRET_KEY` environment variable.

### How to test?

1. Set the `TW_SECRET_KEY` environment variable.
2. Run the test suite.
3. Observe that the `erc721: updateMetadata` tests are executed only if the environment variable is set.

### Why make this change?

This change ensures that sensitive tests which require a secret key are only executed in appropriate environments, thereby enhancing test reliability and security.

---
2024-06-17 23:59:56 +00:00
joaquim-verges 9dd1b5a5eb fix: signing raw messages in ethers adapter (#3366)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on fixing the signing of raw messages through ethers 5/6 adapters.

### Detailed summary
- Updated message signing to accept raw message format in ethers 5/6 adapters
- Added tests for signing raw messages in ethers 5/6 adapters
- Added randomBytesBuffer import for test files
- Updated signing tests in viem adapter

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

<!-- end pr-codex -->
2024-06-17 23:42:44 +00:00
github-actions[bot] b9b622a1f7 chore(chains): update chains (#3355)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-18 10:19:54 +12:00
449ae19f94 Version Packages (#3352)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-06-18 10:08:57 +12:00
joaquim-verges 7304c5b0c7 refactor: respect Coinbase wallet optons when preloading (#3364) 2024-06-17 21:46:10 +00:00
dependabot 49cfdb3fd9 build(deps): bump @eth-optimism/sdk from 3.3.0 to 3.3.2 (#3357)
Bumps [@eth-optimism/sdk](https://github.com/ethereum-optimism/ecosystem) from 3.3.0 to 3.3.2.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/ethereum-optimism/ecosystem/commits/@eth-optimism/[email protected]">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@eth-optimism/sdk&package-manager=npm_and_yarn&previous-version=3.3.0&new-version=3.3.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 `@eth-optimism/sdk` package to version 3.3.2 and makes corresponding changes in the `pnpm-lock.yaml` file.

### Detailed summary
- Updated `@eth-optimism/sdk` to version 3.3.2 in `package.json`
- Updated version and specifier in `pnpm-lock.yaml` for `@eth-optimism/sdk` to 3.3.2

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

<!-- end pr-codex -->
2024-06-17 20:47:43 +00:00
joaquim-verges 2d7ebe2111 fix: ConnectButton custom theme + customized component in playground (#3356) 2024-06-17 20:36:44 +00:00
kien-ngo e95bf7f62e Allow uploading to IPFS without a folder (when upload a single file) (#2667)
<img width="819" alt="image" src="https://github.com/thirdweb-dev/dashboard/assets/26052673/205d590e-893e-4f1b-a4f0-c5aaab9bdf01">

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add a feature that allows users to choose whether to upload a file to a folder or without a folder in the IPFS uploader component.

### Detailed summary
- Added a `Checkbox` component for users to choose upload options
- Introduced state for tracking upload preferences
- Updated UI elements based on user's upload selection

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

<!-- end pr-codex -->
2024-06-17 19:40:09 +00:00
kien-ngo a9ce10f39a Add ERC721 extension: updateMetadata & updateBatchBaseURI (#3347)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds an ERC721 extension `updateMetadata` for updating NFT metadata in batches.

### Detailed summary
- Added `updateMetadata` function to update NFT metadata
- Implemented `getUpdateMetadataParams` to prepare transaction
- Added tests for `updateMetadata` function
- Introduced `freezeBatchBaseURI` function and related utilities

> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/erc721/__generated__/DropERC721/write/freezeBatchBaseURI.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/DropERC721/write/setMaxTotalSupply.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/DropERC721/write/updateBatchBaseURI.ts`

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

<!-- end pr-codex -->
2024-06-17 19:20:14 +00:00
dependabot a82df76806 build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.13.0 to 7.13.1 (#2679)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.13.0 to 7.13.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.13.1</h2>
<h2>7.13.1 (2024-06-17)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-readonly] refine report locations (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/8894">#8894</a>)</li>
<li><strong>eslint-plugin:</strong> [return-await] support explicit resource management (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9044">#9044</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unsafe-member-access] differentiate a types-error any from a true any (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9291">#9291</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Kirk Waiblinger</li>
<li>Yukihiro Hasegawa <a href="https://github.com/y-hsgw"><code>@​y-hsgw</code></a></li>
</ul>
<p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p>
<blockquote>
<h2>7.13.1 (2024-06-17)</h2>
<h3>🩹 Fixes</h3>
<ul>
<li>
<p><strong>eslint-plugin:</strong> [prefer-readonly] refine report locations</p>
</li>
<li>
<p><strong>eslint-plugin:</strong> [return-await] support explicit resource management</p>
</li>
<li>
<p><strong>eslint-plugin:</strong> [no-unsafe-member-access] differentiate a types-error any from a true any</p>
</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Kirk Waiblinger</li>
<li>Yukihiro Hasegawa</li>
</ul>
<p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/1212a8f30c5daa6a9b232a1d95e328d675430749"><code>1212a8f</code></a> chore(release): publish 7.13.1</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/af34737faf8bb38c2636f45c970356caab855de3"><code>af34737</code></a> docs: improve return-await description about motivation (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/9201">#9201</a>)</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/bf48dc5e8e62e9d292e938ef95e7510dbc04b309"><code>bf48dc5</code></a> fix(eslint-plugin): [no-unsafe-member-access] differentiate a types-error any...</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/33acc5004bf15b733acf9fb736e0e806b965c25d"><code>33acc50</code></a> fix(eslint-plugin): [return-await] support explicit resource management (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/9044">#9044</a>)</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/50ed60438c750a06c73d6cfb9c1249c349b9445e"><code>50ed604</code></a> fix(eslint-plugin): [prefer-readonly] refine report locations (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/8894">#8894</a>)</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v7.13.1/packages/eslint-plugin">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/eslint-plugin&package-manager=npm_and_yarn&previous-version=7.13.0&new-version=7.13.1)](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 `@typescript-eslint/eslint-plugin` to version `7.13.1` and `semver` to `7.6.2` across various dependencies.

### Detailed summary
- Updated `@typescript-eslint/eslint-plugin` to `7.13.1`
- Updated `semver` to `7.6.2` in multiple packages
- Updated `@typescript-eslint/scope-manager` and related dependencies to `7.13.1`

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

<!-- end pr-codex -->
2024-06-17 19:04:28 +00:00
dependabot 09560bf65b build(deps): bump @thirdweb-dev/chains from 0.1.118 to 0.1.119 (#2678)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [@thirdweb-dev/chains](https://github.com/thirdweb-dev/js) from 0.1.118 to 0.1.119.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/thirdweb-dev/js/releases"><code>@​thirdweb-dev/chains</code>'s releases</a>.</em></p>
<blockquote>
<h2><code>@​thirdweb-dev/chains</code><a href="https://github.com/0"><code>@​0</code></a>.1.119</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/thirdweb-dev/js/pull/3311">#3311</a> <a href="https://github.com/thirdweb-dev/js/commit/8b74602e3b7fbe011bf886b9d5ee0e2ea62f7447"><code>8b74602</code></a> Thanks <a href="https://github.com/apps/github-actions"><code>@​github-actions</code></a>! - Synced Chains Package</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/thirdweb-dev/js/commit/4dce62de1c7118ab7be279c9716a25fbc803a11f"><code>4dce62d</code></a> Version Packages (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3319">#3319</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/1c533efcd5fbc8a72fd03c98510fa601ee5f34b5"><code>1c533ef</code></a> fix: respect transaction button theme prop (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3341">#3341</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/eca6217f7748036d7c61fa946f73c86c1be9364d"><code>eca6217</code></a> refactor: separate onConnectRequested impl between web and native (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3344">#3344</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/df84f9c4ce4d3e402c82037230515513380e73d1"><code>df84f9c</code></a> refactor: improve Coinbase connection handling (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3340">#3340</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/17c0e6f282d646ff76f556c9ba5e37d905eca24e"><code>17c0e6f</code></a> [ConnectWallet] Include wallet name in injectedWalletLocale query key (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3333">#3333</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/d51c1883afc0513f1c50c041b97709c928d5285f"><code>d51c188</code></a> [Refactor] Migrate usePreloadWalletProviders to useQueries for wallet preload...</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/9cf3a1d6636fcd56559e889ab2bfe3249d51162a"><code>9cf3a1d</code></a> feat: preloading wallet providers for improved performance (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3330">#3330</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/c94bcd574aa4eaf2bd76ab8b6379302de4731ed4"><code>c94bcd5</code></a> refactor: change Coinbase SDK import to dynamic in coinbaseSDKWallet.ts (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3329">#3329</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/41c6d04c2fdac5b1779b54afcbf2d67d0f17ffb8"><code>41c6d04</code></a> [dependencies] Bump turbo package to 2.0.4 (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3323">#3323</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/3a78041de7961b31ee9a854d43b7d52daebb02aa"><code>3a78041</code></a> [Multi] Update dependencies and version packages (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3327">#3327</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/thirdweb-dev/js/compare/@thirdweb-dev/[email protected]...@thirdweb-dev/[email protected]">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@thirdweb-dev/chains&package-manager=npm_and_yarn&previous-version=0.1.118&new-version=0.1.119)](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 dependencies to their latest versions, including `@thirdweb-dev/chains` to `0.1.119`.

### Detailed summary
- Updated `@thirdweb-dev/chains` dependency to version `0.1.119`
- Updated various dependencies to their latest versions
- Removed `bundledDependencies` from `/[email protected]`

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

<!-- end pr-codex -->
2024-06-17 18:51:46 +00:00
dependabot 4abfcf1f45 build(deps): bump thirdweb from 5.29.2 to 5.29.4 (#2676)
Bumps [thirdweb](https://github.com/thirdweb-dev/js) from 5.29.2 to 5.29.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/thirdweb-dev/js/releases">thirdweb's releases</a>.</em></p>
<blockquote>
<h2>[email protected].4</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/thirdweb-dev/js/pull/3345">#3345</a> <a href="https://github.com/thirdweb-dev/js/commit/79e6a047d6ae6cb341fdad22137bd83ad6e611d4"><code>79e6a04</code></a> Thanks <a href="https://github.com/joaquim-verges"><code>@​joaquim-verges</code></a>! - Fix react native inAppWallet creation</li>
</ul>
<h2>[email protected].3</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/thirdweb-dev/js/pull/3329">#3329</a> <a href="https://github.com/thirdweb-dev/js/commit/c94bcd574aa4eaf2bd76ab8b6379302de4731ed4"><code>c94bcd5</code></a> Thanks <a href="https://github.com/joaquim-verges"><code>@​joaquim-verges</code></a>! - Dynamically import coinbase sdk to avoid cloudflare bundler issues</p>
</li>
<li>
<p><a href="https://redirect.github.com/thirdweb-dev/js/pull/3341">#3341</a> <a href="https://github.com/thirdweb-dev/js/commit/1c533efcd5fbc8a72fd03c98510fa601ee5f34b5"><code>1c533ef</code></a> Thanks <a href="https://github.com/joaquim-verges"><code>@​joaquim-verges</code></a>! - Fix transaction button not respecting theme prop</p>
</li>
<li>
<p><a href="https://redirect.github.com/thirdweb-dev/js/pull/3298">#3298</a> <a href="https://github.com/thirdweb-dev/js/commit/ffaff744f72d2cb22896e7501677b48f76ea857a"><code>ffaff74</code></a> Thanks <a href="https://github.com/joaquim-verges"><code>@​joaquim-verges</code></a>! - refactor exports to handle native vs non-native dependencies</p>
</li>
<li>
<p><a href="https://redirect.github.com/thirdweb-dev/js/pull/3330">#3330</a> <a href="https://github.com/thirdweb-dev/js/commit/9cf3a1d6636fcd56559e889ab2bfe3249d51162a"><code>9cf3a1d</code></a> Thanks <a href="https://github.com/joaquim-verges"><code>@​joaquim-verges</code></a>! - Fix coinbase wallet popup sometimes not opening on safari + improve inAppWallet web performance</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/thirdweb-dev/js/commit/507d0e5bf46b2976f62857fd58a338d443efa684"><code>507d0e5</code></a> Version Packages (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3346">#3346</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/79e6a047d6ae6cb341fdad22137bd83ad6e611d4"><code>79e6a04</code></a> fix: inApp native wallet creation (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3345">#3345</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/4dce62de1c7118ab7be279c9716a25fbc803a11f"><code>4dce62d</code></a> Version Packages (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3319">#3319</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/1c533efcd5fbc8a72fd03c98510fa601ee5f34b5"><code>1c533ef</code></a> fix: respect transaction button theme prop (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3341">#3341</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/eca6217f7748036d7c61fa946f73c86c1be9364d"><code>eca6217</code></a> refactor: separate onConnectRequested impl between web and native (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3344">#3344</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/df84f9c4ce4d3e402c82037230515513380e73d1"><code>df84f9c</code></a> refactor: improve Coinbase connection handling (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3340">#3340</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/17c0e6f282d646ff76f556c9ba5e37d905eca24e"><code>17c0e6f</code></a> [ConnectWallet] Include wallet name in injectedWalletLocale query key (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3333">#3333</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/d51c1883afc0513f1c50c041b97709c928d5285f"><code>d51c188</code></a> [Refactor] Migrate usePreloadWalletProviders to useQueries for wallet preload...</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/9cf3a1d6636fcd56559e889ab2bfe3249d51162a"><code>9cf3a1d</code></a> feat: preloading wallet providers for improved performance (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3330">#3330</a>)</li>
<li><a href="https://github.com/thirdweb-dev/js/commit/c94bcd574aa4eaf2bd76ab8b6379302de4731ed4"><code>c94bcd5</code></a> refactor: change Coinbase SDK import to dynamic in coinbaseSDKWallet.ts (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3329">#3329</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/thirdweb-dev/js/compare/[email protected]@5.29.4">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=thirdweb&package-manager=npm_and_yarn&previous-version=5.29.2&new-version=5.29.4)](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 dependencies in `package.json` and `pnpm-lock.yaml` files. It specifically upgrades `thirdweb` to version `5.29.4` and `picocolors` to `1.0.1`.

### Detailed summary
- Updated `thirdweb` dependency to version `5.29.4`
- Updated `picocolors` dependency to version `1.0.1`
- Minor version upgrades for various dependencies in `[email protected].4`

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

<!-- end pr-codex -->
2024-06-17 18:31:10 +00:00
github-actions[bot] 321cf26342 chore(chains): update chains (#3348)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-17 11:31:07 -07:00
jnsdls d2ad36d76d [Fix] Ensure proper awaiting of the format function in generate script (#3349)
### TL;DR

This PR modifies the `generateFromAbi` function to ensure that the `format` function from Prettier is properly awaited. This solves issues with file writing inconsistencies.

### What changed?

- Added `await` to the `format` function calls within `generateFromAbi`.

### How to test?

1. Run the `generateFromAbi` script.
2. Ensure that generated files are consistently formatted.

### Why make this change?

This change ensures that the Prettier formatting is correctly applied before the files are written, resolving any inconsistencies and potential bugs caused by non-awaited formatting.

---
2024-06-17 18:26:12 +00:00
Jonas Danielsandgithub-actions[bot] 507d0e5bf4 Version Packages (#3346)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-17 16:19:35 +12:00
Joaquim Verges 79e6a047d6 fix: inApp native wallet creation (#3345) 2024-06-17 16:02:30 +12:00
4dce62de1c Version Packages (#3319)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-06-17 15:09:31 +12:00
joaquim-verges 1c533efcd5 fix: respect transaction button theme prop (#3341)
<!-- start pr-codex -->

## PR-Codex overview
This PR fixes the issue where the transaction button did not respect the theme prop in the `SponsoredTxPreview` component.

### Detailed summary
- Fixed transaction button theme prop issue in `SponsoredTxPreview`
- Added `isValidTheme` and `parseTheme` functions in `buttons.tsx`
- Updated `parseTheme` to validate theme and return default if invalid

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

<!-- end pr-codex -->
2024-06-17 02:39:52 +00:00
joaquim-verges eca6217f77 refactor: separate onConnectRequested impl between web and native (#3344) 2024-06-17 00:36:22 +00:00
joaquim-verges df84f9c4ce refactor: improve Coinbase connection handling (#3340)
### TL;DR

To prevent popups from Coinbase wallet being blocked in Safari, pre-connection actions have been added. Specifically, popups will be displayed immediately upon connection request and before transaction preprocessing.

### What changed?

1. Removed the `COINBASE` constant and its related connection flow.
2. Integrated `onConnectRequested` optional function for wallets.
3. Updated Coinbase wallet's `onConnectRequested` to show the popup immediately.
4. Added `onTransactionRequested` to show popup before transaction processing.

### How to test?

1. Initiate connection with Coinbase wallet and observe that the popup appears immediately.
2. Perform a transaction with Coinbase wallet and ensure the popup is not blocked.
3. Test across different browsers, focusing on Safari.

### Why make this change?

Safari has stricter rules regarding popups, and the previous delay in showing the popup led to it being blocked. This change ensures a smoother user experience for Coinbase wallet users on Safari by addressing the popup blocking issue.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance wallet connectivity and transaction handling in the application.

### Detailed summary
- Added `onConnectRequested` and `onTransactionRequested` functions to wallet interfaces
- Updated wallet connection and transaction handling logic
- Preloaded wallet providers for smoother user experience

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

<!-- end pr-codex -->
2024-06-16 23:02:22 +00:00
jnsdls 17c0e6f282 [ConnectWallet] Include wallet name in injectedWalletLocale query key (#3333)
### TL;DR
Updated the queryKey used in the useQuery hook to also include the walletInfo.data?.name parameter, ensuring that injectedWalletLocale queries are correctly keyed and updated when the wallet name changes.

### What changed?
The queryKey array in the useQuery hook was updated from `["injectedWalletLocale", localeId]` to `["injectedWalletLocale", localeId, walletInfo.data?.name]`.

### How to test?
1. Ensure the application runs without errors.
2. Verify that locale-specific wallet names are correctly handled when displayed in the UI.

### Why make this change?
The change ensures that the locale-based queries are properly identified and updated when the wallet name changes, preventing potential stale data from being used in the UI.

---
2024-06-16 22:56:42 +00:00
jnsdls d51c1883af [Refactor] Migrate usePreloadWalletProviders to useQueries for wallet preloading (#3331)
Refactor `usePreloadWalletProviders` to utilize `useQueries` from `@tanstack/react-query`. This change optimizes wallet provider preloading, ensuring a non-blocking, and parallel fetching of necessary providers. Removes the `useEffect` based logic.

---
2024-06-16 22:56:39 +00:00
joaquim-verges 9cf3a1d663 feat: preloading wallet providers for improved performance (#3330)
<!-- start pr-codex -->

## PR-Codex overview
This PR fixes an issue with the Coinbase wallet popup not opening on Safari and improves inAppWallet web performance.

### Detailed summary
- Fixed Coinbase wallet popup not opening on Safari
- Improved inAppWallet web performance
- Added `usePreloadWalletProviders` hook
- Preloaded wallet providers for Coinbase and inApp wallet
- Updated `ConnectButton`, `ConnectEmbed`, `usePreloadWalletProviders`, and `ConnectModalContent` components

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

<!-- end pr-codex -->
2024-06-16 22:56:36 +00:00
jnsdls 1e1824f0cb feat: add support for extension-based code snippets in ContractFunction and CodeOverview components (#2675)
### What changed?

This PR introduces several key enhancements to the `ContractFunction` and `CodeOverview` components:

1. **Environment Selection**: A new `extensionNamespace` state is added based on the enabled extensions in the contract ABI (`ERC20`, `ERC721`, `ERC1155`). This state determines the namespace used for different contract extensions.

2. **Code Snippets Generation**: Functions `buildJavascriptSnippet` and `buildReactSnippet` are added to dynamically generate code snippets based on the extension namespace and contract function type (read, write, event).

3. **Snippet Formatting**: The `formatSnippet` function is modified to include the newly generated code snippets, replacing placeholders with actual values.

### How to test?

1. **Setup**: Ensure you have a contract with varying enabled extensions (`ERC20`, `ERC721`, `ERC1155`).

2. **Test Snippet Generation**: For each contract, navigate to the code overview and ensure the generated snippets correspond to the contract's extensions and function types.

3. **Verify Placeholder Replacement**: Confirm that placeholders in the code (`{{contract_address}}`, `{{wallet_address}}`, etc.) are correctly replaced with real values.

### Why make this change?

This update enhances the flexibility and readability of the code snippets provided to developers, making it easier to interact with contract functions by displaying relevant code based on the contract's supported extensions and environment.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to enhance code snippets generation for different contract extensions based on enabled extensions.

### Detailed summary
- Added logic to determine extension namespace based on enabled extensions
- Implemented functions to build JavaScript and React code snippets
- Created mapping for extension namespaces and functions
- Updated snippet formatting to include extension-specific code generation based on function and extension namespace

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

<!-- end pr-codex -->
2024-06-15 06:18:11 +00:00
jnsdls 559c44f09d refactor: clean up imports and unused code in CodeOverview component (#2674)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to optimize imports, remove unused code, and refactor UI components in the `CodeOverview` component.

### Detailed summary
- Removed unused imports and variables
- Refactored UI structure for better organization
- Updated code snippet rendering logic
- Improved tab functionality for functions and events

> The following files were skipped due to too many changes: `src/contract-ui/tabs/code/components/code-overview.tsx`

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

<!-- end pr-codex -->
2024-06-15 05:09:00 +00:00
joaquim-verges c94bcd574a refactor: change Coinbase SDK import to dynamic in coinbaseSDKWallet.ts (#3329)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to dynamically import the `CoinbaseWalletSDK` to resolve cloudflare bundler issues.

### Detailed summary
- Dynamically import `CoinbaseWalletSDK` to avoid bundler issues
- Updated import statement for `ProviderInterface`
- Removed unnecessary imports
- Refactored `getCoinbaseWebProvider` function to dynamically import `CoinbaseWalletSDK`

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

<!-- end pr-codex -->
2024-06-15 04:55:17 +00:00
jnsdls 091ecf8016 feat: add CodeSegment component with enhanced code snippets in ContractFunction (#2673)
### TL;DR

Enhances the `ContractFunction` component by adding interactive code snippets for various environments, helping users utilize contract functions in their applications.

### What changed?

- Added code snippets under `use this function in your app` section.
- Introduced `CodeEnvironment` state to toggle between environments (e.g., JavaScript).
- Added import for `CodeSegment`, `COMMANDS`, `formatSnippet`, and `CodeEnvironment`.
- Removed console log statements and unused imports.

### How to test?

- Verify that code snippets appear as expected for different contract functions.
- Toggle between environments and ensure the correct code is displayed.

### Why make this change?

Provides developers with ready-to-use code snippets, streamlining the integration process for contract functions into applications.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor code related to contract function execution and UI components in the contract overview tab.

### Detailed summary
- Refactored code execution logic for contract functions
- Added `CodeSegment` component for displaying code snippets
- Updated function usage display in UI based on function type and state mutability

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

<!-- end pr-codex -->
2024-06-15 04:27:58 +00:00
jnsdls 4faf636a6f feat: integrate abitype library and format ABI items in code overview and contract function components (#2672)
### TL;DR
Add `abitype` library and refactor the codebase to utilize `formatAbiItem` for formatting contract functions and events.

### What changed?
- Added `abitype` library to `package.json` and `pnpm-lock.yaml` files.
- Refactored multiple files to replace existing ABI formatting logic with `formatAbiItem` from `abitype`.
  - `contract-function.tsx`: Integrated `formatAbiItem` for formatting contract functions and events.
  - `code-overview.tsx`: Unified ABI formatting using `formatAbiItem`.
- Removed dependency on `resolveMethod` from `thirdweb`.

### How to test?
1. Verify the `abitype` library installation in `package.json` and `pnpm-lock.yaml`.
2. Check the refactored files for correct usage of `formatAbiItem`.
3. Run the project and ensure no runtime errors occur related to ABI formatting.
4. Test contract functions and events to ensure they are formatted correctly.

### Why make this change?
To improve the consistency and reliability of ABI formatting across the codebase by using a dedicated library (`abitype`).

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to introduce the `abitype` package, update dependencies, and refactor code snippets in the `CodePlayground` component.

### Detailed summary
- Introduced `abitype` package
- Updated dependencies
- Refactored code snippets in `CodePlayground.tsx`
- Modified imports and functions in various files

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

<!-- end pr-codex -->
2024-06-15 04:27:56 +00:00
jnsdls 0e4e591bb3 refactor: optimize AccountsTable component with useMemo and limit query end value (#2670)
### TL;DR
Optimized the Accounts Table component by adding useMemo hooks to calculate total accounts and limit the end value of queries. Adjusted the logic to ensure safe conversion of total accounts to a number type.

### What changed?
- Added `useMemo` for calculating `totalAccountsNum` and `maxQueryEndValue`.
- Adjusted the `accountsQuery` to use `maxQueryEndValue` for its `end` parameter.
- Simplified the total pages calculation.

### How to test?
1. Navigate to the Accounts tab.
2. Ensure the total number of accounts loads correctly.
3. Check that pagination works as expected, especially when navigating to the last page.

### Why make this change?
This change improves the performance and reliability of the Accounts Table component by ensuring that calculations and query parameters are optimized and accurate.

---
2024-06-15 01:28:35 +00:00
jnsdls 41c6d04c2f [dependencies] Bump turbo package to 2.0.4 (#3323)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates Yarn installation and package versions, enhances test project scripts, and modifies Turbo tasks configuration.

### Detailed summary
- Updated Yarn installation to version 1.22.19
- Updated package versions in the test project
- Modified Turbo tasks configuration for various packages and builds

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

<!-- end pr-codex -->
2024-06-15 01:28:21 +00:00
jnsdls 9ae2f58430 refactor: update Accounts components to use new contract hooks and add pagination (#2669)
### TL;DR
Implement pagination and count querying in the accounts page.

### What changed?
1. Modified `accounts-count.tsx` to use `totalAccounts` from `thirdweb/extensions/erc4337` instead of fetching all accounts.
2. Updated `accounts-table.tsx` to incorporate pagination with the help of `totalAccounts` and `getAccounts` functions from `thirdweb/extensions/erc4337`.
3. Adjusted `page.tsx` to pass the contract to `AccountsCount` and `AccountsTable` components instead of accountsQuery.
4. Introduced pagination controls and page size selection in `accounts-table.tsx`.

### How to test?
1. Navigate to the accounts page.
2. Verify that the total number of accounts is displayed correctly.
3. Check the pagination functionality by navigating through pages and adjusting the page size.

### Why make this change?
To improve the user experience on the accounts page by enabling efficient data fetching and display through pagination.

---
2024-06-14 23:34:08 +00:00
jnsdls 3a78041de7 [Multi] Update dependencies and version packages (#3327)
## Problem solved

Short description of the bug fixed or feature added

## Changes made

- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes

## How to test

- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates dependencies in `package.json` and `pnpm-lock.yaml`, focusing on versions of `axios`, `@grpc/grpc-js`, and `braces`.

### Detailed summary
- Updated `@grpc/grpc-js` to version `1.10.9`
- Updated `braces` to version `3.0.3`
- Adjusted versions of `axios` and `@ethereumjs/util`
- Updated `fill-range` to version `7.1.1`

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

<!-- end pr-codex -->
2024-06-14 22:32:39 +00:00
dependabot 7f17d24e0b build(deps): bump the npm_and_yarn group with 2 updates (#2668)
Bumps the npm_and_yarn group with 2 updates: [@grpc/grpc-js](https://github.com/grpc/grpc-node) and [braces](https://github.com/micromatch/braces).

Updates `@grpc/grpc-js` from 1.10.8 to 1.10.9
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/grpc/grpc-node/releases"><code>@​grpc/grpc-js</code>'s releases</a>.</em></p>
<blockquote>
<h2><code>@​grpc/grpc-js</code> 1.10.9</h2>
<ul>
<li>Avoid buffering significantly more than <code>grpc.max_receive_message_size</code> per received message.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/grpc/grpc-node/commit/674f4e351a619fd4532f84ae6dff96b8ee4e1ed3"><code>674f4e3</code></a> Merge pull request from GHSA-7v5v-9h63-cj86</li>
<li><a href="https://github.com/grpc/grpc-node/commit/7ecaa2d2dcaaa49467d41143169212caf55a40cd"><code>7ecaa2d</code></a> grpc-js: Bump to 1.10.9</li>
<li><a href="https://github.com/grpc/grpc-node/commit/e64d816d7df6d6cde62314beb67d11f1e0a8c79e"><code>e64d816</code></a> grpc-js: Avoid buffering significantly more than max_receive_message_size per...</li>
<li>See full diff in <a href="https://github.com/grpc/grpc-node/compare/@grpc/[email protected]...@grpc/[email protected]">compare view</a></li>
</ul>
</details>
<br />

Updates `braces` from 3.0.2 to 3.0.3
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/micromatch/braces/commit/74b2db2938fad48a2ea54a9c8bf27a37a62c350d"><code>74b2db2</code></a> 3.0.3</li>
<li><a href="https://github.com/micromatch/braces/commit/88f1429a0f47e1dd3813de35211fc97ffda27f9e"><code>88f1429</code></a> update eslint. lint, fix unit tests.</li>
<li><a href="https://github.com/micromatch/braces/commit/415d660c3002d1ab7e63dbf490c9851da80596ff"><code>415d660</code></a> Snyk js braces 6838727 (<a href="https://redirect.github.com/micromatch/braces/issues/40">#40</a>)</li>
<li><a href="https://github.com/micromatch/braces/commit/190510f79db1adf21d92798b0bb6fccc1f72c9d6"><code>190510f</code></a> fix tests, skip 1 test in test/braces.expand</li>
<li><a href="https://github.com/micromatch/braces/commit/716eb9f12d820b145a831ad678618731927e8856"><code>716eb9f</code></a> readme bump</li>
<li><a href="https://github.com/micromatch/braces/commit/a5851e57f45c3431a94d83fc565754bc10f5bbc3"><code>a5851e5</code></a> Merge pull request <a href="https://redirect.github.com/micromatch/braces/issues/37">#37</a> from coderaiser/fix/vulnerability</li>
<li><a href="https://github.com/micromatch/braces/commit/2092bd1fb108d2c59bd62e243b70ad98db961538"><code>2092bd1</code></a> feature: braces: add maxSymbols (<a href="https://github.com/micromatch/braces/issues/">https://github.com/micromatch/braces/issues/</a>...</li>
<li><a href="https://github.com/micromatch/braces/commit/9f5b4cf47329351bcb64287223ffb6ecc9a5e6d3"><code>9f5b4cf</code></a> fix: vulnerability (<a href="https://security.snyk.io/vuln/SNYK-JS-BRACES-6838727">https://security.snyk.io/vuln/SNYK-JS-BRACES-6838727</a>)</li>
<li><a href="https://github.com/micromatch/braces/commit/98414f9f1fabe021736e26836d8306d5de747e0d"><code>98414f9</code></a> remove funding file</li>
<li><a href="https://github.com/micromatch/braces/commit/665ab5d561c017a38ba7aafd92cc6655b91d8c14"><code>665ab5d</code></a> update keepEscaping doc (<a href="https://redirect.github.com/micromatch/braces/issues/27">#27</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/micromatch/braces/compare/3.0.2...3.0.3">compare view</a></li>
</ul>
</details>
<br />

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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/thirdweb-dev/dashboard/network/alerts).

</details>

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates package versions in `pnpm-lock.yaml` for various dependencies, including `@coinbase/onchainkit`, `@sentry/nextjs`, and `@thirdweb-dev/react`.

### Detailed summary
- Updated `@xmtp/frames-validator` to version 0.6.1
- Updated `fastify` to version 4.28.0
- Updated `@sentry/nextjs` to use `[email protected].0` instead of `[email protected].0`
- Updated `fast-json-stringify` to version 5.16.0
- Updated `protobufjs` to version 7.3.2

> 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-06-14 22:19:30 +00:00
kumaryash90 2f439ba4b3 Modular contracts Edit Extensions UI (#2225)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds support for Modular Core and Modular Extension features, updates contract extension settings UI, and enhances extension management in the contract editor.

### Detailed summary
- Added support for `ModularCore` and `ModularExtension` features
- Updated contract extension settings UI
- Improved extension management in the contract editor

> The following files were skipped due to too many changes: `src/contract-ui/tabs/edit-extensions/components/InstalledExtensionsTable.tsx`, `src/contract-ui/tabs/edit-extensions/components/ExtensionForm.tsx`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-06-14 21:37:25 +00:00
github-actions[bot] 8b74602e3b chore(chains): update chains (#3311)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-14 13:23:51 -07:00
Joaquim Verges f9081d58d4 refactor: inject storage and session handler in wallet connect connector [part 5] (#3314) 2024-06-14 19:11:03 +00:00
Joaquim Verges b051d844d0 refactor: Inject storage EVERYWHERE [part 4] (#3312) 2024-06-14 19:00:12 +00:00
Joaquim Verges f8e0c5f84b reafactor: reorganize react native export files [part 3] (#3304) 2024-06-14 18:54:24 +00:00
Joaquim Verges 476b6cc271 refactor: separate native exports for inapp wallet [part 2] (#3300) 2024-06-14 18:43:27 +00:00
Joaquim Verges ffaff744f7 refactor: separate native exports for cb wallet [part 1] (#3298) 2024-06-14 18:37:23 +00:00
Firekeeper 198f72c493 [Unity] fix tx builder type parsing (#3317) 2024-06-14 18:20:49 +00:00
5cb580e99e Version Packages (#3316)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-06-14 11:12:41 -07:00
jnsdls 4112dcf4cc feat: add 'AddChainToWallet' button and integrate it into ChainPageLayout (#2666)
- Created a new component 'AddChainToWallet' to facilitate adding chains to wallet.
- Integrated 'AddChainToWallet' button into ChainPageLayout.
- Updated layout.tsx to include 'AddChainToWallet' button and its behavior.
- Refactored chain verification and metadata handling to accommodate the new feature.
- Adjusted related utility functions in utils.ts.

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the chainlist components by introducing a new `isVerified` flag and refactoring the rendering logic based on it.

### Detailed summary
- Introduces `isVerified` flag to determine if chain metadata is available
- Updates rendering logic in `ChainListRow` and `ChainListCard` components based on `isVerified`
- Adds `AddChainToWallet` component for connecting to chains
- Adjusts layout and styling based on `isVerified` flag and chain metadata

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

<!-- end pr-codex -->
2024-06-14 17:30:48 +00:00
Manan Tank eff710738c [v4 react] Allow configuring qrcode and qrModalOptions on various wallet configurators (#3315) 2024-06-14 17:28:41 +00:00
Jonas Daniels fb6a07d4b8 [Multi] Optimize package.json types versions & update ERC4337 factory methods (#3318) 2024-06-14 17:19:35 +00:00
YashandJonas Daniels 7768067bf4 Modular contracts (#2880)
Signed-off-by: Yash <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-06-14 16:32:34 +00:00
joaquim-verges 9fcd00ae08 Update thirdweb packages to latest versions (#2664)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates dependencies in the project, including `@thirdweb-dev/react`, `@thirdweb-dev/react-core`, and `@thirdweb-dev/sdk`.

### Detailed summary
- Updated `@thirdweb-dev/react` from version 4.7.0 to 4.8.0
- Updated `@thirdweb-dev/react-core` from version 4.7.0 to 4.8.0
- Updated `@thirdweb-dev/sdk` from version 4.0.93 to 4.0.94

> 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-06-14 16:01:02 +00:00
5ece04cdc0 Version Packages (#3287)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-06-14 20:10:01 +12:00
gregandJoaquim Verges 1b15e7b1f2 docs: add examples for defineChain usage (#3308)
Co-authored-by: Joaquim Verges <[email protected]>
2024-06-14 18:48:02 +12:00
greg a4086c6a39 refactor(constants): rename ADDRESS_ZERO to ZERO_ADDRESS and deprecate older name (#3307) 2024-06-14 06:16:41 +00:00
gregandJoaquim Verges 1aaa63eec7 fix(wallets): don't serialize eip5792 calls (#3306)
Co-authored-by: Joaquim Verges <[email protected]>
2024-06-14 06:16:02 +00:00
greg 502c53ac0b fix(tests): zk AA tests (#3313) 2024-06-14 05:42:36 +00:00
kien-ngo c72a0537c0 Fix relayer table fails to load custom chain (#2661)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates components to handle missing chain names gracefully.

### Detailed summary
- Added fallback for missing chain names with "N/A"
- Updated chain name display in multiple components
- Added `AddressCopyButton` import for contract subscriptions

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

<!-- end pr-codex -->
2024-06-14 04:16:37 +00:00
jnsdls b5024e6b91 fix: correct toggleService logic in filters.tsx (#2660)
<!-- start pr-codex -->

## PR-Codex overview
This PR improves the toggleService function in `filters.tsx` to correctly handle service selection in the client filters.

### Detailed summary
- Refactored logic to toggle service selection based on existing parameters
- Improved handling of adding/removing services in the search parameters

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

<!-- end pr-codex -->
2024-06-14 02:10:33 +00:00
jnsdls 9656c9cd4a feat: display total and filtered chain counts in chain list (#2659)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to improve chain filtering and display in the dashboard.

### Detailed summary
- Refactored `getChainsToRender` to return more data
- Updated data display to show total, filtered, and displayed chains
- Improved pagination logic to consider filtered chains

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

<!-- end pr-codex -->
2024-06-14 00:56:44 +00:00
jnsdls e251dacaf5 chore: change no-restricted-syntax rule for useEffect selector to error in .eslintrc.js (#2658)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the ESLint configuration to change the severity level of the `no-restricted-syntax` rule for `useEffect` calls from "warn" to "error".

### Detailed summary
- Updated `no-restricted-syntax` rule severity level for `useEffect` calls from "warn" to "error" in `.eslintrc.js`.

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

<!-- end pr-codex -->
2024-06-14 00:39:22 +00:00
jnsdls c4a382185d refactor: remove useEffect wherever possible (#2657)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on addressing code quality issues related to `useEffect` usage.

### Detailed summary
- Added comments for legitimate use cases
- Added `TODO` and `FIXME` comments for tracking and reworking code logic
- Removed unnecessary files and imports

> The following files were skipped due to too many changes: `src/contract-ui/tabs/shared-components/marketplace-table.tsx`, `src/components/settings/Account/Billing/ConnectWallet.tsx`, `src/@3rdweb-sdk/react/hooks/useApi.ts`, `src/components/custom-contract/contract-header/contract-metadata.tsx`, `src/app/components/posthog-pageview.tsx`, `src/components/contract-components/tables/deployed-contracts.tsx`, `src/contract-ui/tabs/events/page.tsx`, `src/components/inputs/BasisPointsInput.tsx`, `src/core-ui/sidebar/tunnel.tsx`, `src/contract-ui/tabs/code/page.tsx`, `src/@/components/ui/tabs.tsx`, `src/components/connect/Carousel.tsx`, `src/components/share-buttom/index.tsx`, `src/contract-ui/tabs/analytics/page.tsx`, `src/components/contract-components/contract-publish-form/custom-factory.tsx`, `src/components/onboarding/index.tsx`, `src/@/components/ui/ScrollShadow/ScrollShadow.tsx`, `src/contract-ui/tabs/permissions/page.tsx`, `src/pages/dashboard/settings/billing.tsx`, `src/contract-ui/tabs/overview/components/PermissionsTable.tsx`, `src/contract-ui/tabs/payments/page.tsx`, `src/tw-components/code-block.tsx`, `src/tw-components/AddressCopyButton.tsx`, `src/contract-ui/tabs/embed/components/embed-setup.tsx`, `src/components/delayed-display/delayed-display.tsx`, `src/app/components/Header/MobileBurgerMenu.tsx`, `src/contract-ui/tabs/overview/components/LatestEvents.tsx`, `src/contract-ui/tabs/events/components/events-feed.tsx`, `src/contexts/configured-chains.tsx`, `src/components/wallets/PosthogIdentifier.tsx`, `src/contract-ui/components/solidity-inputs/address-input.tsx`, `src/contexts/error-handler.tsx`, `src/components/configure-networks/ConfigureNetworkForm.tsx`, `src/tw-components/button.tsx`, `src/app/(dashboard)/(chain)/chainlist/components/client/search.tsx`, `src/components/homepage/CodeBlock/index.tsx`, `src/components/mission/HowSection.tsx`, `src/components/contract-components/contract-publish-form/index.tsx`, `src/pages/dashboard/connect/playground.tsx`, `src/pages/_app.tsx`, `src/components/hackathon/common/Timer.tsx`, `src/pages/dashboard/settings/api-keys/[id].tsx`, `src/pages/cli/login.tsx`, `src/components/hackathon/Timer.tsx`, `src/pages/dashboard/connect/account-abstraction.tsx`, `src/components/engine/overview/backend-wallets-table.tsx`, `src/components/cmd-k-search/index.tsx`, `src/pages/dashboard/connect/in-app-wallets.tsx`, `src/pages/dashboard/connect/analytics.tsx`, `src/components/engine/contract-subscription/contract-subscriptions-table.tsx`, `src/pages/dashboard/connect/pay.tsx`, `src/components/wallets/ConnectWalletPlayground/Playground.tsx`

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

<!-- end pr-codex -->
2024-06-14 00:14:14 +00:00
jnsdls 11ec9def78 feat: add eslint rule to warn against useEffect (#2656)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds a new ESLint rule to warn against using `useEffect` and suggests using `useQuery` for async functions instead.

### Detailed summary
- Added ESLint rule to warn against using `useEffect` for async functions
- Suggests using `useQuery` instead for async operations

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

<!-- end pr-codex -->
2024-06-14 00:14:02 +00:00
greg e7ba698f3e fix: set default recipients in sigMint and update tests (#3305) 2024-06-13 23:49:35 +00:00
github-actions[bot] 6746416db9 chore(chains): update chains (#3289)
This PR was automatically created by a GitHub Action. It updates the chains package with the latest changes from the database.
2024-06-13 16:09:10 -07:00
kien-ngo bf7d1da172 Fix Engine UI crash when chain is undefined | DASH-42 (#2654)
<!-- start pr-codex -->

## PR-Codex overview
This PR ensures optional chaining is used to access properties in various components, preventing errors when properties are undefined.

### Detailed summary
- Added optional chaining to access `chain` properties in multiple components
- Ensured safe access to `chain.explorers` and `chain.icon` properties

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

<!-- end pr-codex -->
2024-06-13 17:00:34 +00:00
jnsdls 9601678552 feat: compare contractAddress and chainId in PrimaryDashboardButton component (#2655)
fixes: DASH-43

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances address and chainId comparison in two components to ensure accurate data retrieval.

### Detailed summary
- Updated address and chainId comparison logic in `primary-dashboard-button.tsx`
- Improved address and chainId comparison in `modal.tsx`

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

<!-- end pr-codex -->
2024-06-13 16:48:34 +00:00
fivecut 2fb81bd4b7 chore: remove repeat words (#3297)
Signed-off-by: fivecut <[email protected]>
2024-06-13 15:57:16 +00:00
greg 841c86aa12 feat: add export private key functionality (#3296) 2024-06-13 05:57:18 +00:00
Alec Ananian 132b3cb45a feat(react): add ability to pass ReactNode for ConnectButton label (#3292) 2024-06-12 23:20:38 +00:00
Alec AnanianandJoaquim Verges b248afc160 fix(react): use custom title and icon in compact Connect modal (#3290)
Co-authored-by: Joaquim Verges <[email protected]>
2024-06-12 22:53:34 +00:00
kien-ngo 5787a064c0 Show asset contract address in listing-drawer (#2652)
<img width="442" alt="image" src="https://github.com/thirdweb-dev/dashboard/assets/26052673/d4bc3298-c5e1-4360-8127-358f35fd2230">

smol change to improve ux

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding an `AddressCopyButton` component to display and copy the asset contract address in the listing drawer.

### Detailed summary
- Added `AddressCopyButton` component to display and copy asset contract address
- Aligned asset contract address and token ID headings in a 12-column grid layout

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

<!-- end pr-codex -->
2024-06-12 21:31:57 +00:00
github-actions[bot] 9f42e4d241 chore(chains): update chains (#3279)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-12 10:37:25 -07:00
MananTank a99ffad2ab Fix broken link in chainlist page for contracts service (#2651)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `href` attribute in `chainlist-row.tsx` to conditionally render the `p.id` value based on whether it is "contracts".

### Detailed summary
- Updated `href` attribute to conditionally render `p.id` based on value "contracts"

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

<!-- end pr-codex -->
2024-06-12 16:37:49 +00:00
Winston Yeo 901427c33c [service-utils]: update usage tracker schema (#3286) 2024-06-12 16:22:00 +00:00
MananTank 73a989844b Show Favorite chains in NetworkSelector Button (#2644)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor the favorite chains feature, adding a new hook `useFavoriteChains` and integrating it into various components.

### Detailed summary
- Added `bundledDependencies: false` in `pnpm-lock.yaml`
- Renamed `useFavouriteChains` to `useFavouriteChainIds`
- Introduced `useFavoriteChains` hook for fetching and handling favorite chains
- Updated components to use `useFavoriteChains` for favorite chains data
- Reorganized network selector button to display favorite chains
- Refactored `CustomConnectWallet` to utilize `useFavoriteChains` for favorite chains display

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

<!-- end pr-codex -->
2024-06-12 06:34:54 +00:00
jnsdls 28ab8905d0 chore: update dependencies in package.json and pnpm-lock.yaml (#2650)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates various dependencies across the project, including `@thirdweb-dev` packages, `next`, `prettier`, and more.

### Detailed summary
- Updated `@thirdweb-dev` packages to new versions
- Updated `next` to version 14.2.4
- Updated `prettier` to version 3.3.2
- Updated various other dependencies to their latest versions

> 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-06-12 06:19:55 +00:00
jnsdls fe8746d9b4 refactor: remove duplicate res.body?.cancel() calls and optimize fetch usage (#2649)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates various functions in `useEngine.ts` and `engine-instances-table.tsx`. It includes improvements like handling response bodies and error messages more efficiently.

### Detailed summary
- Improved handling of response bodies in API requests
- Enhanced error messaging for unauthorized and unreachable servers
- Refactored `onClickConnect` to use `useMutation`
- Updated form submission logic in modals for editing, removing, and canceling Engine instances

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

<!-- end pr-codex -->
2024-06-12 06:05:59 +00:00
arcoraven be37969d27 feat: Request to cancel engine subscription (#2639)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add new hooks for editing, removing, and managing engine instances in the React app.

### Detailed summary
- Added `useEngineRemoveFromDashboard`, `useEngineRemoveCloudHosted`, and `useEngineEditInstance` hooks
- Updated error handling in existing hooks
- Modified components related to engine instances and subscription cancellation

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

<!-- end pr-codex -->
2024-06-12 06:05:56 +00:00
62ee972a20 Version Packages (#3234)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-06-12 16:52:09 +12:00
jnsdls eb9cfdb104 refactor: remove force-cache from ChainIcon fetch method (#2647)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `chain-icon.tsx` file in the `server` folder of the `chain` component in the `dashboard`. It adds a `cache` property and includes a new header based on a secret key.

### Detailed summary
- Added `cache: "force-cache"` property
- Added a new header `x-secret-key` based on `DASHBOARD_THIRDWEB_SECRET_KEY`

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

<!-- end pr-codex -->
2024-06-12 04:37:16 +00:00
Joaquim Verges 84e07fa9d5 fix tsdoc (#3282) 2024-06-12 15:41:25 +12:00
0ef7d6c0a8 fix ConnectEmbed example in playground (#3247)
Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: greg <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2024-06-12 14:41:38 +12:00
jnsdls 018230ca67 chore: remove unused import in ConnectWallet component (#2646)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the `BillingConnectWalletPrompt` component in `ConnectWallet.tsx`.

### Detailed summary
- Removed unused import `recentlyUsedChains` from hooks.
- Updated component name to `BillingConnectWalletPrompt`.

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

<!-- end pr-codex -->
2024-06-12 01:36:25 +00:00
Manan Tank 7dec4d049d Prevent autoConnect from running again on window focus (#3280) 2024-06-12 00:14:21 +00:00
Joaquim Verges 3a1fd985fc Align inAppWallet secret sharing implementation with web and previous RN SDK (#3271) 2024-06-11 23:45:10 +00:00
Firekeeper 5698b0c5a9 [v4 & v5] zkCandy Sepolia AA Support (#3278) 2024-06-11 22:08:34 +00:00
greg 6a48b62783 fix(tests): update eth_signTypedData to eth_signTypedData_v4 in session_request tests (#3268) 2024-06-11 21:47:55 +00:00
github-actions[bot] 668e3b9333 chore(chains): update chains (#3276)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-11 13:47:05 -07:00
kumaryash90 d39d92086d Enable deployment for zkcandy sepolia testnet (#2645)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces a new chain `ZkcandySepoliaTestnet` and updates the `useCustomContractDeployMutation` function to include it for checking `isZkSync`.

### Detailed summary
- Added `ZkcandySepoliaTestnet` chain
- Updated `useCustomContractDeployMutation` to check for `ZkcandySepoliaTestnet` chain for `isZkSync`

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

<!-- end pr-codex -->
2024-06-11 19:22:24 +00:00
MananTank 3831fe8fc0 Restore deleted V4ToV5SignerAdapter (#2643)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update the `DashboardThirdwebProvider` component to adapt to the new version 5 of the thirdweb SDK.

### Detailed summary
- Updated `EVMContractInfo` to `type EVMContractInfo`
- Added new hooks: `useChain`, `useDisconnect`, `useSigner`, `useSwitchChain`
- Updated imports and added new dependencies
- Added `V4ToV5SignerAdapter` component for adapting wallets to version 5
- Utilized `ethers5Adapter`, `createWalletAdapter`, and `thirdwebClient` for adaptation
- Implemented logic for wallet adaptation and disconnection

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

<!-- end pr-codex -->
2024-06-11 17:55:20 +00:00
greg 7afd2dac0a Adds options refetchInterval and retry params to useReadContract (#3273) 2024-06-11 17:29:29 +00:00
Manan Tank 3948f4320c Wallet connection manager fixes (#3264) 2024-06-11 16:55:49 +00:00
jnsdls 9e077f2096 feat: add revalidation to fetch calls in chain-icon and utils (#2642)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates revalidation times in API fetch requests to improve data freshness:

### Detailed summary
- Updated revalidation time to 1 hour in `chain-icon.tsx`
- Updated revalidation time to 1 hour in `utils.ts`
- Updated revalidation time to 15 minutes in `utils.ts`

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

<!-- end pr-codex -->
2024-06-11 16:54:20 +00:00
github-actions[bot] a4d041b368 chore(chains): update chains (#3267)
This PR was automatically created by a GitHub Action. It updates the chains package with the latest changes from the database.
2024-06-11 09:43:02 -07:00
Manan Tank 7a7b491e15 Add sections prop for ConnectWallet NetworkSelector screen customization (#3274) 2024-06-11 16:35:10 +00:00
Manan Tankandgreg ce45a793b5 Add currency selector in Pay UI (#3251)
Co-authored-by: greg <[email protected]>
2024-06-11 15:59:33 +00:00
Firekeeper d2cbb1ee7e [TSv4] Force eth_signTypedData_v4 session proposal (#3269) 2024-06-11 14:46:07 +00:00
jnsdls 26c556e435 feat: add Superchain CTA to chain metadata and associated assets (#2641)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds a new page for applying for gas credits in the settings section. It also updates layout styling and adds conditional rendering for a button link.

### Detailed summary
- Added a new page `SettingsGasCreditsPage` for applying for gas credits
- Updated styling in `layout.tsx` for conditional classes
- Improved conditional rendering of button link in `cta-card.tsx`
- Updated sidebar links in `settings.tsx`
- Added new utility function `superchainCTABG` in `utils.ts`
- Updated content and conditional rendering in `ApplyForOpCreditsModal.tsx`

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

<!-- end pr-codex -->
2024-06-11 05:32:17 +00:00
jnsdls 29d9ca0015 feat: add ChainCTA component and implement CTA functionality in chain layout (#2640)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update chain-related components and metadata in the dashboard.

### Detailed summary
- Added `ChainCTA` component for chain call-to-action
- Updated chain metadata with new CTA details and images
- Modified layout styling for chain pages

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

<!-- end pr-codex -->
2024-06-11 05:32:08 +00:00
github-actions[bot] 8750470d90 chore(chains): update chains (#3265)
This PR was automatically created by a GitHub Action. It updates the chains package with the latest changes from the database.
2024-06-10 19:24:59 -07:00
dependabot 63e08fa1c8 build(deps): bump @grpc/grpc-js from 1.10.8 to 1.10.9 in the npm_and_yarn group (#2636)
Bumps the npm_and_yarn group with 1 update: [@grpc/grpc-js](https://github.com/grpc/grpc-node).

Updates `@grpc/grpc-js` from 1.10.8 to 1.10.9
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/grpc/grpc-node/releases"><code>@​grpc/grpc-js</code>'s releases</a>.</em></p>
<blockquote>
<h2><code>@​grpc/grpc-js</code> 1.10.9</h2>
<ul>
<li>Avoid buffering significantly more than <code>grpc.max_receive_message_size</code> per received message.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/grpc/grpc-node/commit/674f4e351a619fd4532f84ae6dff96b8ee4e1ed3"><code>674f4e3</code></a> Merge pull request from GHSA-7v5v-9h63-cj86</li>
<li><a href="https://github.com/grpc/grpc-node/commit/7ecaa2d2dcaaa49467d41143169212caf55a40cd"><code>7ecaa2d</code></a> grpc-js: Bump to 1.10.9</li>
<li><a href="https://github.com/grpc/grpc-node/commit/e64d816d7df6d6cde62314beb67d11f1e0a8c79e"><code>e64d816</code></a> grpc-js: Avoid buffering significantly more than max_receive_message_size per...</li>
<li>See full diff in <a href="https://github.com/grpc/grpc-node/compare/@grpc/[email protected]...@grpc/[email protected]">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@grpc/grpc-js&package-manager=npm_and_yarn&previous-version=1.10.8&new-version=1.10.9)](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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/thirdweb-dev/dashboard/network/alerts).

</details>

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates dependencies in `pnpm-lock.yaml` to their latest versions.

### Detailed summary
- Updated `viem` dependency to version 2.13.8
- Updated `fast-uri` dependency to version 2.4.0
- Updated `@grpc/grpc-js` dependency to version 1.10.9

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

<!-- end pr-codex -->
2024-06-11 02:22:14 +00:00
jnsdls d5fa2d1938 feat: add icon to ToolTipLabel in chainlist-row (#2638)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance the chainlist row component by adding conditional left icons based on product status.

### Detailed summary
- Added conditional left icons based on product status using CheckIcon and XIcon
- Updated ToolTipLabel component to include leftIcon prop
- Improved visual feedback for enabled/disabled products

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

<!-- end pr-codex -->
2024-06-11 00:38:08 +00:00
greg 923a5ec556 Adds retry on watchContractEvents (#3256) 2024-06-11 00:24:04 +00:00
jnsdls acdfe1f560 refactor: update import paths for getChain and add metadata fetching (#2637)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates import paths and adds a new function `getChains` to fetch chain metadata.

### Detailed summary
- Updated import paths for `getChain` in various files
- Added `getChains` function to fetch chain metadata
- Updated components to use `getChainMetadata` from utils
- Modified `ChainListCard` and `ChainListRow` components to utilize `getChainMetadata`
- Minor changes in `filters.tsx` and `layout.tsx`

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

<!-- end pr-codex -->
2024-06-10 23:51:40 +00:00
dependabot[bot] 75fde5c89f build(deps): bump @walletconnect/react-native-compat from 2.13.0 to 2.13.2 (#3260)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-10 23:18:04 +00:00
Joaquim Verges e763ace602 fix: sign typed data using inAppWalelt with salt in domain (#3266) 2024-06-11 11:14:30 +12:00
gregandgithub-actions[bot] f2004b54ea Fix tests (#3263)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-10 22:36:24 +00:00
github-actions[bot] ce45d4f3bd chore(chains): update chains (#3257)
This PR was automatically created by a GitHub Action. It updates the chains package with the latest changes from the database.
2024-06-10 14:57:32 -07:00
dependabot 460e0a7843 build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.12.0 to 7.13.0 (#2635)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.12.0 to 7.13.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.13.0</h2>
<h2>7.13.0 (2024-06-10)</h2>
<h3>🚀 Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-dynamic-delete] allow all string literals as index (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9280">#9280</a>)</li>
<li><strong>parser, typescript-estree:</strong> export withoutProjectParserOptions utility (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9233">#9233</a>)</li>
<li><strong>typescript-estree:</strong> require <code>import = require()</code> argument to be a string literal (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9226">#9226</a>)</li>
<li><strong>typescript-estree:</strong> forbid <code>.body</code>, <code>.async</code>, <code>.generator</code> on <code>declare function</code> (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9225">#9225</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>ast-spec:</strong> function-call-like callee should be Expression not LeftHandSideExpression (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9231">#9231</a>)</li>
<li><strong>eslint-plugin:</strong> [init-declarations] refine report locations (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/8893">#8893</a>)</li>
<li><strong>eslint-plugin:</strong> [no-base-to-string] make error message more nuanced (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9281">#9281</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unsafe-assignment] be more specific about error types (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/8304">#8304</a>)</li>
<li><strong>eslint-plugin:</strong> [no-magic-numbers] fix implementation of the <code>ignore</code> option (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9167">#9167</a>)</li>
<li><strong>scope-manager:</strong> handle index signature in class (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9054">#9054</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Fotis Papadogeorgopoulos</li>
<li>Joshua Chen</li>
<li>Kirk Waiblinger</li>
<li>Tobiloba Adedeji <a href="https://github.com/tobySolutions"><code>@​tobySolutions</code></a></li>
<li>Vinccool96</li>
<li>YeonJuan <a href="https://github.com/yeonjuan"><code>@​yeonjuan</code></a></li>
</ul>
<p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p>
<blockquote>
<h2>7.13.0 (2024-06-10)</h2>
<h3>🚀 Features</h3>
<ul>
<li>
<p><strong>typescript-estree:</strong> require <code>import = require()</code> argument to be a string literal</p>
</li>
<li>
<p><strong>typescript-estree:</strong> forbid <code>.body</code>, <code>.async</code>, <code>.generator</code> on <code>declare function</code></p>
</li>
<li>
<p><strong>eslint-plugin:</strong> [no-dynamic-delete] allow all string literals as index</p>
</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li>
<p><strong>ast-spec:</strong> function-call-like callee should be Expression not LeftHandSideExpression</p>
</li>
<li>
<p><strong>scope-manager:</strong> handle index signature in class</p>
</li>
<li>
<p><strong>eslint-plugin:</strong> [init-declarations] refine report locations</p>
</li>
<li>
<p><strong>eslint-plugin:</strong> [no-base-to-string] make error message more nuanced</p>
</li>
<li>
<p><strong>eslint-plugin:</strong> [no-unsafe-assignment] be more specific about error types</p>
</li>
<li>
<p><strong>eslint-plugin:</strong> [no-magic-numbers] fix implementation of the <code>ignore</code> option</p>
</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Fotis Papadogeorgopoulos</li>
<li>Joshua Chen</li>
<li>Kirk Waiblinger</li>
<li>Tobiloba Adedeji</li>
<li>Vinccool96</li>
<li>YeonJuan</li>
</ul>
<p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/8a178edc65a7156458bffd5f1cf0fc24ed052c16"><code>8a178ed</code></a> chore(release): publish 7.13.0</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/63e53e28f68f84764ec632d502da3d33095f6a0d"><code>63e53e2</code></a> chore(deps): update dependency prettier to v3.3.1 (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/9308">#9308</a>)</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/fb52f78d2d6176db7b51484d64c89dfb1932ee4f"><code>fb52f78</code></a> feat(eslint-plugin): [no-dynamic-delete] allow all string literals as index (...</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/ab2916c046139a0024932de5bd9a8b0209cdd58c"><code>ab2916c</code></a> chore: enable eslint-plugin/no-property-in-node internally (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/9261">#9261</a>)</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/629035f092eb96650b1951982f6502d09504f84a"><code>629035f</code></a> docs: mention rule scripts under Local Development (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/9258">#9258</a>)</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/bf5394dbe394dc8c89af4a6147ec487db89f3c7b"><code>bf5394d</code></a> fix(eslint-plugin): [no-magic-numbers] fix implementation of the <code>ignore</code> opt...</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/60fb6435005798cdc21f3353ff708cc77c8857b1"><code>60fb643</code></a> chore(deps): update dependency prettier to v3.3.0 (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/9266">#9266</a>)</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/c6e9719c85f981ea4114afde34da82801710fa33"><code>c6e9719</code></a> docs(eslint-plugin): [sort-type-constituents] deprecate the rule (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/9253">#9253</a>)</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/293fb2492ad03a850bf85afadb162bf2bc1ba310"><code>293fb24</code></a> fix(eslint-plugin): [no-unsafe-assignment] be more specific about error types...</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/cb1720d59eb893914de1a53ddfe897fc7cd0d0da"><code>cb1720d</code></a> fix(eslint-plugin): [no-base-to-string] make error message more nuanced (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/9281">#9281</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v7.13.0/packages/eslint-plugin">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/eslint-plugin&package-manager=npm_and_yarn&previous-version=7.12.0&new-version=7.13.0)](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 `@typescript-eslint` packages to the latest versions.

### Detailed summary
- Updated `@typescript-eslint/eslint-plugin` to `7.13.0`
- Updated `@typescript-eslint/scope-manager` to `7.13.0`
- Updated `@typescript-eslint/type-utils` to `7.13.0`
- Updated `@typescript-eslint/utils` to `7.13.0`
- Updated `@typescript-eslint/visitor-keys` to `7.13.0`

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

<!-- end pr-codex -->
2024-06-10 19:55:45 +00:00
dependabot 25d54b9751 build(deps-dev): bump knip from 5.17.4 to 5.18.2 (#2632)
Bumps [knip](https://github.com/webpro-nl/knip/tree/HEAD/packages/knip) from 5.17.4 to 5.18.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/webpro-nl/knip/releases">knip's releases</a>.</em></p>
<blockquote>
<h2>Release 5.18.2</h2>
<ul>
<li>Improve re-export handling (9ccefb34)</li>
<li>Add identifier to trace for re-export from entry file (b0b8b3d3)</li>
<li>Move tagged export logic into reusable handler (1dff2db4)</li>
<li>Update docs (2f91c8d0)</li>
<li>Update <code>@ericcornelissen/bash-parser</code> to 0.5.3 (<a href="https://github.com/webpro-nl/knip/tree/HEAD/packages/knip/issues/674">#674</a>) (9a7ffac2)</li>
</ul>
<h2>Release 5.18.1</h2>
<ul>
<li>Refactor and improve dep graph naming/typing (28f05f0a)</li>
<li>Speed up (de)serialized and add test (deb3b9c5)</li>
<li>Move cli tests involving stdout to separate folder (978674fc)</li>
<li>Update and caretify dependencies (e14f6d24)</li>
<li>Fix link to screenshot (c2f9507e)</li>
</ul>
<h2>Release 5.18.0</h2>
<ul>
<li>Don't report issues when using --trace (d8e9719b)</li>
<li>Emphasize --debug and --trace on troubleshooting page (bcb5e93f)</li>
<li>Add --performance screenshot (d0d01082)</li>
<li>Integration test knip --cache for eslint as well (443b8be0)</li>
<li>Dogfoodin' is underrated (7115889b)</li>
<li>Update docs (0651144c)</li>
<li>Test against latest TS 5.5 rc (f7aba23c)</li>
<li>Add test for imports-self (closes <a href="https://github.com/webpro-nl/knip/tree/HEAD/packages/knip/issues/663">#663</a>) (736b0a25)</li>
<li>Major refactor of dep graph for trace feature (ad16689b)</li>
<li>Use cwd as default base in <code>toAbsolute</code> (678f47ab)</li>
<li>Fix tsup entries are production entry files (4d839d8f)</li>
<li>Don't need to cache package.json (da33b9c4)</li>
<li>Better explain <code>ignoreBinaries</code> configuration option (<a href="https://github.com/webpro-nl/knip/tree/HEAD/packages/knip/issues/670">#670</a>) (8470505f)</li>
<li>Update funding options (81cf806d)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/webpro-nl/knip/commit/021e9bbd8eff978b474292cef0c8645cc7e851af"><code>021e9bb</code></a> Release 5.18.2</li>
<li><a href="https://github.com/webpro-nl/knip/commit/9ccefb34693911d284904fecea66a6ff70f283fa"><code>9ccefb3</code></a> Improve re-export handling</li>
<li><a href="https://github.com/webpro-nl/knip/commit/b0b8b3d3457cf0a022f4bd4bdead997fb2e6d905"><code>b0b8b3d</code></a> Add identifier to trace for re-export from entry file</li>
<li><a href="https://github.com/webpro-nl/knip/commit/1dff2db443484be7daadf15b638be9556ca26ef5"><code>1dff2db</code></a> Move tagged export logic into reusable handler</li>
<li><a href="https://github.com/webpro-nl/knip/commit/9a7ffac20e82e035b5bb5fc0587e7d4bf0ba1513"><code>9a7ffac</code></a> Update <code>@ericcornelissen/bash-parser</code> to 0.5.3 (<a href="https://github.com/webpro-nl/knip/tree/HEAD/packages/knip/issues/674">#674</a>)</li>
<li><a href="https://github.com/webpro-nl/knip/commit/d9f8fd9c903d8ad189d0bd4d87af474ac66ca8fc"><code>d9f8fd9</code></a> Release 5.18.1</li>
<li><a href="https://github.com/webpro-nl/knip/commit/28f05f0ad314918d9f6ea0e5c1719d50ebffd9ee"><code>28f05f0</code></a> Refactor and improve dep graph naming/typing</li>
<li><a href="https://github.com/webpro-nl/knip/commit/deb3b9c56f1d0711ea75af9694e2161d0e69b2a7"><code>deb3b9c</code></a> Speed up (de)serialized and add test</li>
<li><a href="https://github.com/webpro-nl/knip/commit/978674fc5f492bebeb77a2c3a023ea16dd326f06"><code>978674f</code></a> Move cli tests involving stdout to separate folder</li>
<li><a href="https://github.com/webpro-nl/knip/commit/e14f6d24caf8fff9cd3e825cde65bb7a842d0a6a"><code>e14f6d2</code></a> Update and caretify dependencies</li>
<li>Additional commits viewable in <a href="https://github.com/webpro-nl/knip/commits/5.18.2/packages/knip">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=knip&package-manager=npm_and_yarn&previous-version=5.17.4&new-version=5.18.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 dependencies in `package.json` and `pnpm-lock.yaml`, focusing on the `knip` package version.

### Detailed summary
- Updated `knip` package version from `5.17.4` to `5.18.2`
- Updated `@ericcornelissen/bash-parser` version
- Updated `picocolors` version

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

<!-- end pr-codex -->
2024-06-10 19:37:44 +00:00
dependabot 273e1394aa build(deps): bump lucide-react from 0.390.0 to 0.394.0 (#2633)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) from 0.390.0 to 0.394.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/lucide-icons/lucide/releases">lucide-react's releases</a>.</em></p>
<blockquote>
<h2>New icons 0.394.0</h2>
<h2>Modified Icons 🔨</h2>
<ul>
<li><code>file-archive</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2132">#2132</a>) by <a href="https://github.com/jguddas"><code>@​jguddas</code></a></li>
</ul>
<h2>New icons 0.393.0</h2>
<h2>Modified Icons 🔨</h2>
<ul>
<li><code>file-cog</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2184">#2184</a>) by <a href="https://github.com/jguddas"><code>@​jguddas</code></a></li>
</ul>
<h2>New icons 0.392.0</h2>
<h2>New icons 🎨</h2>
<ul>
<li><code>pen-off</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>pencil-off</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
</ul>
<h2>Modified Icons 🔨</h2>
<ul>
<li><code>clipboard-pen-line</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>clipboard-pen</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>file-pen-line</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>file-pen</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>folder-pen</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>notebook-pen</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>pen-line</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>pen</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>pencil-line</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>pencil-ruler</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>pencil</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>square-pen</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2186">#2186</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
</ul>
<h2>New icons 0.391.0</h2>
<h2>Modified Icons 🔨</h2>
<ul>
<li><code>angry</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2205">#2205</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>book-heart</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2205">#2205</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>cake</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2205">#2205</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>castle</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2205">#2205</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>church</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2205">#2205</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>earth</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2205">#2205</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>folder-heart</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2205">#2205</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>fuel</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2205">#2205</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>grab</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2205">#2205</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
<li><code>hand-metal</code> (<a href="https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react/issues/2205">#2205</a>) by <a href="https://github.com/karsa-mistmere"><code>@​karsa-mistmere</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/lucide-icons/lucide/commits/0.394.0/packages/lucide-react">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=lucide-react&package-manager=npm_and_yarn&previous-version=0.390.0&new-version=0.394.0)](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 `lucide-react` to version `0.394.0` and includes package version updates in `package.json` and `pnpm-lock.yaml`.

### Detailed summary
- Updated `lucide-react` to `0.394.0`
- Updated `lottie-react` to `2.4.0`
- Removed `bundledDependencies` from `next` in `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-06-10 19:23:24 +00:00
github-actions[bot] 7135d6051a chore(chains): update chains (#3250)
This PR was automatically created by a GitHub Action. It updates the chains package with the latest changes from the database.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds new chains with updated icons, URLs, and testnet information. It also includes new explorers, faucets, and network details.

### Detailed summary
- Added new chains with updated information and icons
- Included testnet details for various chains
- Added explorers and faucets for the chains

> The following files were skipped due to too many changes: `legacy_packages/chains/src/index.ts`

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

<!-- end pr-codex -->
2024-06-10 12:13:04 -07:00
dependabot 50f7a9a76e build(deps-dev): bump @typescript-eslint/parser from 7.12.0 to 7.13.0 (#2631)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.12.0 to 7.13.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/parser</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.13.0</h2>
<h2>7.13.0 (2024-06-10)</h2>
<h3>🚀 Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-dynamic-delete] allow all string literals as index (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9280">#9280</a>)</li>
<li><strong>parser, typescript-estree:</strong> export withoutProjectParserOptions utility (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9233">#9233</a>)</li>
<li><strong>typescript-estree:</strong> require <code>import = require()</code> argument to be a string literal (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9226">#9226</a>)</li>
<li><strong>typescript-estree:</strong> forbid <code>.body</code>, <code>.async</code>, <code>.generator</code> on <code>declare function</code> (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9225">#9225</a>)</li>
</ul>
<h3>🩹 Fixes</h3>
<ul>
<li><strong>ast-spec:</strong> function-call-like callee should be Expression not LeftHandSideExpression (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9231">#9231</a>)</li>
<li><strong>eslint-plugin:</strong> [init-declarations] refine report locations (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/8893">#8893</a>)</li>
<li><strong>eslint-plugin:</strong> [no-base-to-string] make error message more nuanced (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9281">#9281</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unsafe-assignment] be more specific about error types (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/8304">#8304</a>)</li>
<li><strong>eslint-plugin:</strong> [no-magic-numbers] fix implementation of the <code>ignore</code> option (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9167">#9167</a>)</li>
<li><strong>scope-manager:</strong> handle index signature in class (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9054">#9054</a>)</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Fotis Papadogeorgopoulos</li>
<li>Joshua Chen</li>
<li>Kirk Waiblinger</li>
<li>Tobiloba Adedeji <a href="https://github.com/tobySolutions"><code>@​tobySolutions</code></a></li>
<li>Vinccool96</li>
<li>YeonJuan <a href="https://github.com/yeonjuan"><code>@​yeonjuan</code></a></li>
</ul>
<p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md"><code>@​typescript-eslint/parser</code>'s changelog</a>.</em></p>
<blockquote>
<h2>7.13.0 (2024-06-10)</h2>
<h3>🚀 Features</h3>
<ul>
<li><strong>parser, typescript-estree:</strong> export withoutProjectParserOptions utility</li>
</ul>
<h3>❤️  Thank You</h3>
<ul>
<li>Fotis Papadogeorgopoulos</li>
<li>Joshua Chen</li>
<li>Kirk Waiblinger</li>
<li>Tobiloba Adedeji</li>
<li>Vinccool96</li>
<li>YeonJuan</li>
</ul>
<p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/8a178edc65a7156458bffd5f1cf0fc24ed052c16"><code>8a178ed</code></a> chore(release): publish 7.13.0</li>
<li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/c9a6dd9f3df4e3c2bfcc5dceb770b021709152ae"><code>c9a6dd9</code></a> feat(parser, typescript-estree): export withoutProjectParserOptions utility (...</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v7.13.0/packages/parser">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/parser&package-manager=npm_and_yarn&previous-version=7.12.0&new-version=7.13.0)](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 TypeScript-related packages to the latest versions.

### Detailed summary
- Updated `@typescript-eslint/parser` and `@typescript-eslint/eslint-plugin` to version 7.13.0
- Updated various TypeScript-related dependencies to version 7.13.0
- Updated `@typescript-eslint/scope-manager` and `@typescript-eslint/visitor-keys` to version 7.13.0

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

<!-- end pr-codex -->
2024-06-10 19:02:12 +00:00
Farhan KhwajaandPhillip Ho 10e57c2e07 [WIP]: feat (cloud-hosted-engine) : Show resource usage metric (#2618)
* Added ngrok header for health-check end-point

* upd: resource usage data retrieval + UI

* updated endpoint for metrics

* pass engine instance through components

* rename var

* updates

* poll unless error

---------

Co-authored-by: Phillip Ho <[email protected]>
2024-06-10 18:40:32 +00:00
github-actions[bot] 0b3829032f chore(chains): update chains (#3249)
This PR was automatically created by a GitHub Action. It updates the chains package with the latest changes from the database.
2024-06-09 14:01:15 -07:00
jnsdls 2db645fcc8 feat: implement Badge component and update chain layout (#2629)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds React components `Badge` and `BadgeProps`, updates `StarButton` component with a `variant` prop, and introduces temporary banner imports for chain metadata images.

### Detailed summary
- Added `Badge` component and `BadgeProps` interface
- Updated `StarButton` component with a `variant` prop
- Introduced temporary banner imports for chain metadata images

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

<!-- end pr-codex -->
2024-06-09 21:00:03 +00:00
jnsdls f8802d31c0 Update Chainlist and re-integrate bundle analyzer (#2630)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates package versions, refactors imports for better organization, adjusts classNames in components, and optimizes page loading in a Next.js project.

### Detailed summary
- Updated package versions for `acorn` and `acorn-walk`
- Refactored imports in `DashboardHeader.tsx`
- Adjusted classNames in components for responsive design
- Optimized page loading by removing `Suspense` and `Spinner` usage

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

<!-- end pr-codex -->
2024-06-09 20:46:56 +00:00
github-actions[bot] a5db9a330f chore(chains): update chains (#3245)
This PR was automatically created by a GitHub Action. It updates the chains package with the latest changes from the database.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds new testnet chains `Xterio` and `LayerEdge` with unique configurations. It also updates chain imports and removes legacy chain configurations.

### Detailed summary
- Added `Xterio` testnet chain configuration
- Added `LayerEdge` testnet chain configuration
- Updated chain imports
- Removed legacy chain configurations

> The following files were skipped due to too many changes: `legacy_packages/chains/src/index.ts`

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

<!-- end pr-codex -->
2024-06-09 07:59:22 -07:00
Kien Ngo a9686c0700 Store function name in URL so we can share the link (#2571)
* Store function name in URL so we can share the link

* Remove unused var

* Fix routing logic

* Remove unwanted file

* Format code

* Revert

* Only-explorer

* Lint

* Update
2024-06-09 07:57:09 -07:00
Winston Yeo 73af67aad1 [service-utils]: Expose domain and bundle id validation logic (#3238) 2024-06-08 03:14:40 +00:00
Manan Tank d4882236b7 Fix custom theme not used in ConnectEmbed loading screen (#3240) 2024-06-08 15:13:47 +12:00
Firekeeper 913f99a9a4 [TSv4] ZkSync AA & Default Factory (#3232) 2024-06-08 02:47:12 +00:00
github-actions[bot] 5938f0d4a5 chore(chains): update chains (#3244)
This PR was automatically created by a GitHub Action. It updates the chains package with the latest changes from the database.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds support for the Avalanche chain with specific explorers and features like EIP1559. It also includes a new SPACE Explorer and EIP1559 support.

### Detailed summary
- Added support for Avalanche chain with chain ID 48795
- Included a new SPACE Explorer with EIP3091 standard
- Added EIP1559 feature support

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

<!-- end pr-codex -->
2024-06-07 17:03:06 -07:00
kumaryash90 f52670250f Fix deterministic deployment for zksync (#2609)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to refactor the contract deployment process by adding support for deterministic deployments with custom salt values.

### Detailed summary
- Added support for deterministic contract deployments with custom salt values
- Refactored contract deployment logic based on `data.deployDeterministic` flag
- Updated the contract deployment process to include the custom salt value for Create2 deployments

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

<!-- end pr-codex -->
2024-06-07 23:59:39 +00:00
github-actions[bot] efae2f36b6 chore(chains): update chains (#3222)
This PR was automatically created by a GitHub Action. It updates the chains package with the latest changes from the database.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR adds and updates chain configurations for various networks, including icon URLs, faucets, and RPC endpoints.

### Detailed summary
- Added new chain configurations for multiple networks
- Updated native currency names and symbols
- Included icon URLs, faucets, and RPC endpoints
- Added explorers and info URLs for some chains

> The following files were skipped due to too many changes: `legacy_packages/chains/chains/20041.ts`, `legacy_packages/chains/chains/721529.ts`, `legacy_packages/chains/chains/132902.ts`, `legacy_packages/chains/chains/7924.ts`, `legacy_packages/chains/chains/20073.ts`, `legacy_packages/chains/chains/9797.ts`, `legacy_packages/chains/chains/8008135.ts`, `legacy_packages/chains/chains/70157.ts`, `legacy_packages/chains/chains/32112.ts`, `legacy_packages/chains/chains/64947.ts`, `legacy_packages/chains/chains/66729.ts`, `legacy_packages/chains/chains/12885.ts`, `legacy_packages/chains/chains/53399.ts`, `legacy_packages/chains/chains/90343.ts`, `legacy_packages/chains/chains/41847.ts`, `legacy_packages/chains/chains/43994.ts`, `legacy_packages/chains/chains/49995.ts`, `legacy_packages/chains/chains/2715.ts`, `legacy_packages/chains/chains/14093.ts`, `legacy_packages/chains/chains/33100.ts`, `legacy_packages/chains/chains/51173.ts`, `legacy_packages/chains/chains/57822.ts`, `legacy_packages/chains/chains/60147.ts`, `legacy_packages/chains/chains/84977.ts`, `legacy_packages/chains/chains/16316.ts`, `legacy_packages/chains/chains/282.ts`, `legacy_packages/chains/chains/65622.ts`, `legacy_packages/chains/chains/328527624.ts`, `legacy_packages/chains/chains/97970.ts`, `legacy_packages/chains/chains/109.ts`, `legacy_packages/chains/chains/899.ts`, `legacy_packages/chains/chains/345.ts`, `legacy_packages/chains/chains/5112.ts`, `legacy_packages/chains/chains/10222.ts`, `legacy_packages/chains/chains/48899.ts`, `legacy_packages/chains/chains/820522.ts`, `legacy_packages/chains/chains/53302.ts`, `legacy_packages/chains/chains/622463.ts`, `legacy_packages/chains/chains/2340.ts`, `legacy_packages/chains/chains/240515.ts`, `legacy_packages/chains/chains/62298.ts`, `legacy_packages/chains/chains/8844.ts`, `legacy_packages/chains/chains/978657.ts`, `legacy_packages/chains/src/index.ts`

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

<!-- end pr-codex -->
2024-06-07 16:41:22 -07:00
kien-ngo b833b48c62 Update open-source.tsx (#2616)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds `DustinTurska` to the list of contributors in the `open-source.tsx` file.

### Detailed summary
- Added `DustinTurska` to the list of contributors.

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

<!-- end pr-codex -->
2024-06-07 23:38:35 +00:00
jnsdls 1bdd816be6 refactor: enhance ChainIcon fetch method with headers and server-only import (#2628)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a new header `x-secret-key` to the fetch request in `ChainIcon` component for the `server-only` environment.

### Detailed summary
- Added import for `DASHBOARD_THIRDWEB_SECRET_KEY`
- Modified fetch request headers to include `x-secret-key` if `DASHBOARD_THIRDWEB_SECRET_KEY` exists

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

<!-- end pr-codex -->
2024-06-07 22:55:33 +00:00
Jonas Daniels f66161f666 [CI, Size] Update release workflow permissions and increase thirdweb size limit (#3243) 2024-06-07 22:47:36 +00:00
jnsdls ad9a41864d Add server-only dependency and handle nonexistent chain with redirect (#2627)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces a new `server-only` package, adds a `redirect` function to handle errors in `utils.ts`, and updates the `pnpm-lock.yaml` file.

### Detailed summary
- Added `server-only` package
- Implemented `redirect` function in `utils.ts` for error handling
- Updated `pnpm-lock.yaml` with `server-only` package details

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-06-07 22:44:08 +00:00
Jonas Daniels ecc7ced8f9 app router + chainlist + chain page + shadcn ui (#2541)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates various dependencies, removes unused files, refactors code structure, and improves component organization.

### Detailed summary
- Removed unused files and components
- Updated PostCSS configuration
- Refactored code for better organization
- Added new constants and utility functions
- Updated components with new imports
- Improved error handling and global error component
- Updated theme provider and header links
- Modified sidebar functionality
- Updated TypeScript settings
- Enhanced button components and tables
- Added new chain-related functions and components

> The following files were skipped due to too many changes: `src/pages/profile/[profileAddress].tsx`, `src/@/components/ui/Spinner/Spinner.module.css`, `src/app/components/posthog-pageview.tsx`, `src/@/components/ui/separator.tsx`, `src/@/components/ui/label.tsx`, `src/pages/publish/[...paths].tsx`, `src/@/components/color-mode-toggle.tsx`, `src/@/components/ui/ScrollShadow/ScrollShadow.module.css`, `src/@/components/ui/input.tsx`, `src/app/(dashboard)/(chain)/[chain_id]/engine/page.tsx`, `src/app/(dashboard)/(chain)/[chain_id]/pay/page.tsx`, `src/app/(dashboard)/providers.tsx`, `src/lib/v5-adapter.ts`, `src/@/components/ui/CopyButton.tsx`, `src/app/(dashboard)/(chain)/components/server/products.ts`, `src/app/(dashboard)/(chain)/[chain_id]/components/server/info-card.tsx`, `src/pages/[chainSlug]/[...paths].tsx`, `src/app/components/DashboardFooter.tsx`, `src/@/components/ui/checkbox.tsx`, `src/app/(dashboard)/(chain)/[chain_id]/components/server/explorer-section.tsx`, `src/app/(dashboard)/(chain)/[chain_id]/rpc-edge/page.tsx`, `src/@/components/ui/popover.tsx`, `src/app/(dashboard)/(chain)/[chain_id]/components/client/tabs.tsx`, `src/app/(dashboard)/(chain)/[chain_id]/components/server/faucets-section.tsx`, `src/app/(dashboard)/(chain)/chainlist/components/client/view.tsx`, `src/app/components/Header/MobileBurgerMenu.tsx`, `src/pages/_app.tsx`, `src/app/(dashboard)/(chain)/[chain_id]/account-abstraction/page.tsx`, `src/@/components/ui/radio-group.tsx`, `src/lib/thirdweb-client.ts`, `src/contexts/configured-chains.tsx`, `src/@/styles/globals.css`, `src/@/components/ui/tooltip.tsx`, `src/@/components/ui/button.tsx`, `src/@/components/ui/card.tsx`, `src/app/(dashboard)/(chain)/components/server/icons/PayIcon.tsx`, `src/app/components/Header/DashboardHeader.tsx`, `src/app/layout.tsx`, `src/app/(dashboard)/(chain)/components/server/icons/ConnectSDKIcon.tsx`, `tailwind.config.js`, `src/app/(dashboard)/(chain)/components/server/icons/ContractIcon.tsx`, `src/app/(dashboard)/(chain)/chainlist/components/client/search.tsx`, `src/app/(dashboard)/(chain)/components/server/icons/RPCIcon.tsx`, `src/@/components/ui/tabs.tsx`, `src/app/(dashboard)/styleguide/page.tsx`, `src/app/(dashboard)/(chain)/[chain_id]/connect-sdk/page.tsx`, `src/app/components/ThirdwebMiniLogo.tsx`, `src/app/(dashboard)/(chain)/chainlist/components/client/pagination.tsx`, `src/app/(dashboard)/(chain)/components/server/icons/SmartAccountIcon.tsx`, `src/app/(dashboard)/(chain)/chainlist/components/server/chainlist-row.tsx`, `src/app/(dashboard)/(chain)/components/client/star-button.tsx`, `src/@/components/ui/pagination.tsx`, `src/app/(dashboard)/(chain)/chainlist/components/server/chainlist-card.tsx`, `src/@/components/ui/ScrollShadow/ScrollShadow.tsx`, `src/app/(dashboard)/(chain)/components/server/icons/EngineIcon.tsx`, `src/app/(dashboard)/(chain)/[chain_id]/page.tsx`, `src/app/(dashboard)/(chain)/[chain_id]/rpc-edge/components/client/live-stats.tsx`, `src/components/app-layouts/provider-setup.tsx`, `src/app/(dashboard)/(chain)/components/server/chain-icon.tsx`, `next.config.js`, `package.json`, `src/components/selects/CustomChainRenderer.tsx`, `src/app/(dashboard)/(chain)/[chain_id]/layout.tsx`, `src/components/app-layouts/providers.tsx`, `src/@3rdweb-sdk/react/components/connect-wallet/index.tsx`, `src/app/(dashboard)/(chain)/chainlist/page.tsx`, `src/app/(dashboard)/(chain)/chainlist/components/client/filters.tsx`, `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-06-07 15:21:04 -07:00
Jonas Daniels 37ec4ca28d Jd/fix ipfs reolve scheme bug (#3241) 2024-06-07 10:51:59 +00:00
jxomandJoaquim Verges 558885aae9 fix: resolves viem#2306 (#3237)
Co-authored-by: Joaquim Verges <[email protected]>
2024-06-07 10:12:32 +12:00
Manan Tank 99bbb52136 Remove v4 SDK doc references and update /ui-components page (#2624)
Remove v4 SDK doc references,
2024-06-06 20:40:42 +00:00
FirekeeperandJoaquim Verges 21ca67dc13 [TSv4] Avoid unnecessary fetching for error formatting (#3239)
Co-authored-by: Joaquim Verges <[email protected]>
2024-06-06 20:23:38 +00:00
Firekeeper 8acf5643d5 [TSv4] Fix caching logic, avoid fetch when abi passed (#3236) 2024-06-06 02:15:09 +00:00
Joaquim Verges dbf74aad3f feat: TransactionButton react native implementation (#3231) 2024-06-06 12:06:40 +12:00
hsutaiyu 63b4e6c507 Polygon amoy config update (#3233) 2024-06-06 11:23:20 +12:00
greg 824a631b55 Move EIP-5792 hooks ro thirdweb/react export to match documentation (#3235) 2024-06-05 22:54:41 +00:00
Phillip Ho 40d3969f1a chore: query supported chains from chainsaw (#2620) 2024-06-05 17:34:28 +00:00
Manan Tank e7b9b9f438 add useWalletDetailsModal hook (#3229) 2024-06-05 15:06:07 +00:00
Joaquim Verges 95c4151f59 Update playground pages (#3224) 2024-06-04 21:47:21 +12:00
5d47e505ed Version Packages (#3202)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-06-04 20:56:10 +12:00
Joaquim Verges 043f0da708 fix: better gas cost estimation for opBNB (#3227) 2024-06-04 20:31:18 +12:00
Joaquim Verges 58d14c9eaf feat: add option to choose contract type for 1155 generateMintSignature (#3226) 2024-06-04 19:55:44 +12:00
gregandJoaquim Verges ca31a6c0d8 Export toSerializableTransaction, getGasPrice, and estimateGasCost (#3198)
Co-authored-by: Joaquim Verges <[email protected]>
2024-06-04 02:56:21 +00:00
Firekeeper fa146b1ec9 Unity 4.15.0 (#3223) 2024-06-04 02:44:14 +00:00
Kien Ngo 6a95392c3a Update CS Form to include .NET and In-app wallet (#2617) 2024-06-03 23:56:25 +00:00
dependabot[bot] 1cf9da4946 build(deps-dev): bump @swc/core from 1.5.7 to 1.5.24 (#3211)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 20:37:10 +00:00
dependabot[bot] 0852edfe15 build(deps): bump @manypkg/cli from 0.21.3 to 0.21.4 (#3212)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 13:36:04 -07:00
saminaandJonas Daniels 64d1692dd8 added node and expo starter and added covers (#2614)
* added node and expo starter and added covers

* fixed lint errors- i hope

* fix lockfile

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-06-03 20:04:01 +00:00
dependabot[bot] 8c4a39f1fe build(deps): bump swagger-ui-react from 5.17.2 to 5.17.14 (#2602)
Bumps [swagger-ui-react](https://github.com/swagger-api/swagger-ui) from 5.17.2 to 5.17.14.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Changelog](https://github.com/swagger-api/swagger-ui/blob/master/.releaserc)
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v5.17.2...v5.17.14)

---
updated-dependencies:
- dependency-name: swagger-ui-react
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 20:00:59 +00:00
github-actions[bot] f13a40ba99 chore(chains): update chains (#3168)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-03 12:50:49 -07:00
Jonas Daniels aa1a640ff1 refactor(api): refactor thirdwebClient to createThirdwebClient (#2615) 2024-06-03 19:41:47 +00:00
Manan Tank e7443edda7 Fixes #3204 - Update Account object properly on Account change in Wallet (#3207) 2024-06-03 19:02:12 +00:00
Manan Tank ee20298535 Add JSDoc descriptions for Wallet and Account interface methods (#3206) 2024-06-03 11:53:22 -07:00
Phillip Ho acbf108484 chore: Show Engine error message if recently added payment method (#2608) 2024-06-03 18:52:07 +00:00
dependabot[bot] 6a4d3788a2 build(deps): bump react-intersection-observer from 9.8.2 to 9.10.2 (#2613)
Bumps [react-intersection-observer](https://github.com/thebuilder/react-intersection-observer) from 9.8.2 to 9.10.2.
- [Release notes](https://github.com/thebuilder/react-intersection-observer/releases)
- [Commits](https://github.com/thebuilder/react-intersection-observer/compare/v9.8.2...v9.10.2)

---
updated-dependencies:
- dependency-name: react-intersection-observer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 18:51:34 +00:00
dependabot[bot] 3e19e570ed build(deps): bump @apollo/client from 3.9.11 to 3.10.4 (#2610)
Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.9.11 to 3.10.4.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/v3.9.11...v3.10.4)

---
updated-dependencies:
- dependency-name: "@apollo/client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 18:51:09 +00:00
Yash ae9496e9d8 Fix zksync deterministic deploy (#3196) 2024-06-03 11:14:09 +00:00
Joaquim Verges 4cd83e6707 initial account abstraction playground page (#3203) 2024-06-02 14:54:19 +12:00
Joaquim Verges 0328bc894e fix: don't throw on erc20 metadata fetch failure (#3201) 2024-06-01 20:06:31 +00:00
Joaquim Verges 61b0d26023 chore: update displayBalanceToken jsdoc (#3200) 2024-06-01 20:15:26 +12:00
Jonas Danielsandgithub-actions[bot] 4cddbe775f Version Packages (#3197)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-01 16:19:36 +12:00
greg a3461114c5 Headless WalletConnect Integration (#3181) 2024-06-01 03:29:37 +00:00
Joaquim Verges 51e7adaeb0 feat: native zkync AA support (#3105) 2024-06-01 15:17:23 +12:00
greg 3f669453d0 Fix estimateGas transaction type resolution (#3195) 2024-06-01 03:05:24 +00:00
Kien Ngo fe0c4ed00c Add unit tests (#3180) 2024-05-31 21:27:07 +00:00
greg fb8a11654e Increase error log on smart account address generation (#3193) 2024-05-31 21:23:29 +00:00
c1e155d04f Version Packages (#3172)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-06-01 07:14:56 +12:00
greg 91e658035d Add forked chains explainer to contributing guide (#3189) 2024-05-31 07:51:51 +00:00
greg 8491675e2e Fix AutoConnect on MIPD wallets (#3190) 2024-05-31 19:50:38 +12:00
Joaquim Verges 1b2edb4c09 show connect button if disconnected in pay playground (#3188) 2024-05-31 16:12:10 +12:00
Joaquim Verges 874747b3e0 chore: update cb SDK (#3187) 2024-05-31 14:30:07 +12:00
Farhan Khwaja 8216eb65d4 Fix: Engine Dashboard - Ngrok (#2606)
* Fix: Ngrok update for Engine Dashboard Explorer

* updated header for engine instance api calls

* Added a warning/alert on Engine Import

* updates
2024-05-31 00:58:03 +00:00
Firekeeper 01f883f637 Unity 4.14.1 (#3185) 2024-05-31 00:06:09 +00:00
greg 123275bbe2 Catch any rogue poller errors in watchBlockNumber (#3186) 2024-05-30 17:05:52 -07:00
samina 5e9f369912 deprecated loyalty and checkout template (#2605) 2024-05-30 21:22:28 +00:00
Manan Tank 7bb241f7db Improved OTP input in v4 SDK using input-otp lib (#3183) 2024-05-30 15:34:20 +00:00
Jonas Daniels a1f53a2b9e refactor: Improve CI workflow configuration and setup (#3182) 2024-05-30 08:46:42 +00:00
greg 46e9072576 Adds predefined hardhat chain (#3176) 2024-05-30 02:48:31 +00:00
KacperandJoaquim Verges 501ef9339d fix: peerDependency version of react-native-quick-crypto (#3174)
Signed-off-by: Kacper <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2024-05-30 13:52:26 +12:00
Joaquim Verges 3dca028a7e fix: transaction button gas estimation for pay (#3178) 2024-05-30 00:31:40 +00:00
Edward Sun fd777c71c2 Upgrade dependencies for legacy_packages/wallets, add new AuthProviders (#3175) 2024-05-29 21:42:53 +00:00
Joaquim Verges fbec24e260 chore: add tsdoc tags (#3177) 2024-05-30 09:22:45 +12:00
Kien Ngoandgreg bbf65acc80 Add some basic tests for React (#3165)
Co-authored-by: greg <[email protected]>
2024-05-29 20:46:08 +00:00
greg f4da285587 Fallback to inputted address on failed ens resolution (#2604)
fix: fallback to address on failed ens resolution
2024-05-29 16:44:55 +00:00
greg b569eb48ad Adds EIP-5792 hooks and waitForBundle fn (#3161) 2024-05-29 00:00:29 +00:00
greg b6b0eb9120 Improve connect wallet copy (#3171) 2024-05-28 23:37:51 +00:00
Firekeeper 7cfe6745e8 Unity 4.14.0 (#3170) 2024-05-28 23:18:20 +00:00
46a3caaeb3 Version Packages (#3166)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-29 11:06:21 +12:00
Joaquim Verges f8cad774ec fix optional dependencies (#3169) 2024-05-29 10:44:34 +12:00
github-actions[bot] 8d0c985c45 chore(chains): update chains (#3164)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-28 13:25:49 -07:00
jxomandgreg 4004957df1 chore: update readme comparison (#3149)
Signed-off-by: jxom  <[email protected]>
Co-authored-by: greg <[email protected]>
2024-05-28 13:25:32 -07:00
31a4943175 Version Packages (#3147)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-29 07:54:47 +12:00
Farhan Khwaja be65d92e20 Updated Dashboard back to use Starter (#2603) 2024-05-28 18:52:04 +00:00
github-actions[bot] bd8fb7a576 chore(chains): update chains (#3132)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-28 09:42:33 -07:00
dependabot[bot] e6ec37cf7f build(deps-dev): bump @types/node from 20.12.7 to 20.12.12 (#2599)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.7 to 20.12.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 16:41:22 +00:00
dependabot[bot] e0ed7113d6 build(deps): bump zksync-ethers from 5.7.0 to 5.7.2 (#2600)
Bumps [zksync-ethers](https://github.com/zksync-sdk/zksync-ethers) from 5.7.0 to 5.7.2.
- [Release notes](https://github.com/zksync-sdk/zksync-ethers/releases)
- [Changelog](https://github.com/zksync-sdk/zksync-ethers/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/zksync-sdk/zksync-ethers/compare/v5.7.0...v5.7.2)

---
updated-dependencies:
- dependency-name: zksync-ethers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 16:41:01 +00:00
dependabot[bot] 364e1ccffe build(deps): bump @stripe/stripe-js from 3.4.0 to 3.4.1 (#2601)
Bumps [@stripe/stripe-js](https://github.com/stripe/stripe-js) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/stripe/stripe-js/releases)
- [Commits](https://github.com/stripe/stripe-js/compare/v3.4.0...v3.4.1)

---
updated-dependencies:
- dependency-name: "@stripe/stripe-js"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 16:40:32 +00:00
Joaquim Verges c4fa6fca0c fix tsdoc (#3163) 2024-05-28 20:59:28 +12:00
Joaquim Verges b9b185b665 Add support for cb wallet in react native (#3162) 2024-05-28 20:40:12 +12:00
Joaquim Verges 8b606b51e4 handle disconnect when multiple connected wallets + wallet utility exports (#3151) 2024-05-28 00:22:03 +00:00
greg 3b03cd0987 Cleanup default copy on connect modal QR code UI (#3153)
Signed-off-by: greg <[email protected]>
2024-05-27 20:21:03 +00:00
greg 99d11bb859 WalletConnect copy link button (#3154) 2024-05-27 20:17:51 +00:00
greg fc1b65888f Allow exporting in-app wallets (#3140) 2024-05-27 00:23:30 +00:00
greg 9c417d9be3 onDisconnect callback on <ConnectButton /> (#3150) 2024-05-27 00:21:24 +00:00
Kien Ngo 1ff79a0691 add test coverage (#3148) 2024-05-26 08:39:12 +00:00
Joaquim Verges c1d3a5a259 fix: resolveScheme for native apps (#3144) 2024-05-25 19:42:00 +12:00
Kien Ngoandsamina 7ba5f9a21d Create support email with file attachments (#2577)
* Create support email with file attachments

* Fix lint

* Update

* Small update

* Update

* Update

* Update

* Update endpoint

* Remove dropzone pagination

* FIx lint

---------

Co-authored-by: samina <[email protected]>
2024-05-24 22:40:39 +00:00
Farhan Khwaja 04cf07fe55 Copy Updates Engine Premium (#2596) 2024-05-24 18:01:27 +00:00
31f5947153 Version Packages (#3119)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-24 21:30:49 +12:00
Joaquim Verges b72daa4f45 Expose useWalletBalance in react native (#3143) 2024-05-24 20:50:47 +12:00
Joaquim Verges c3c6345af3 chore: update changesets (#3142) 2024-05-24 20:19:23 +12:00
greg 9e2312c1e0 Fix: Do not pass from on read functions (#2595)
fix(interactive-abi-function): do not pass from
2024-05-24 08:11:22 +00:00
greg 4eda306645 signTypedData: throw error for incorrectly typed chainId (#3139)
Signed-off-by: greg <[email protected]>
2024-05-24 03:51:00 +00:00
Manan TankandJoaquim Verges 8b3e1e2682 Use Native wallet link for android in WalletConnect session (#3136)
Co-authored-by: Joaquim Verges <[email protected]>
2024-05-24 03:50:31 +00:00
Joaquim VergesandJonas Daniels 764bce2ba9 feat: support for WC compatible wallets in react native (#3126)
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-24 14:56:51 +12:00
gregandJonas Daniels 5031e44d92 Adds delayed reveal extensions for ERC721 contracts (#3127)
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-23 23:09:02 +00:00
Jonas Daniels 198049f679 Jd/metadata base pls (#3138) 2024-05-23 14:17:02 -07:00
Jonas Daniels 6c92476874 feat: add metadataBase to page components (#3137) 2024-05-23 14:12:39 -07:00
86bf4eb09a Update gas page (#2459)
* Update gas page WIP

* Fix lint

* Fix vercel build

* Update

* Add content

---------

Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: samina <[email protected]>
2024-05-23 19:56:42 +00:00
Jonas Daniels 6ecbc4bd36 chore: Update next.config.mjs and package.json (#3135) 2024-05-23 12:54:21 -07:00
Phillip HoandJonas Daniels ccded2dc41 chore: Premium Engine polish (#2594)
* chore: Premium Engine polish

* style: change color scheme and background of button

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-05-23 19:23:19 +00:00
Jonas Daniels 00db937949 playground: update to next15, update OG image (#3134) 2024-05-23 11:39:15 -07:00
Joe-Thirdweb 2b72d35817 Super chain application changes (#2578)
* Joe- Updating OP chains list

* Prettier fixes

* Prettier fix - spaces comment
2024-05-23 17:47:06 +00:00
gregandJonas Daniels c3a92bfe90 Expose useWalletBalance to public API (#3125)
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-23 07:54:07 +00:00
Jonas Daniels b22df1d81c style: add mono font to tailwind.config.ts (#3131) 2024-05-22 23:26:19 -07:00
Jonas Daniels 364129e9c3 Jd/playground fixes (#3130) 2024-05-22 23:22:26 -07:00
Jonas Daniels 7d445b0a6e Jd/playground fixes (#3129) 2024-05-22 23:13:11 -07:00
Jonas Daniels 67e077b8f2 refactor(connect/pay): remove unused code (#3128) 2024-05-22 22:45:24 -07:00
github-actions[bot] 32df45f9b0 chore(chains): update chains (#3108)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-22 22:21:02 -07:00
Jonas Daniels 606bef57aa update playground (#3121) 2024-05-22 22:19:55 -07:00
greg 546d2db93e Add react native to thirdweb create CLI (#3118) 2024-05-22 23:56:20 +00:00
greg 4abd559106 [V4 SDK]: Fix AWS KMS Signers signTypedData (#3124) 2024-05-22 22:33:16 +00:00
greg 642e7e9f10 [V4 SDK] Adds ethers-compatible _signTypedData to legacy GCP KMS wallet (#3123) 2024-05-22 22:09:45 +00:00
Manan Tank ca0a45a70c Revert text alignment change done in ModalHeader (#3117) 2024-05-22 19:48:39 +00:00
Manan Tank d021f4e5ef WalletConnect QR scan fixes and add retry UI (#3104) 2024-05-22 17:38:46 +00:00
Manan TankandJonas Daniels 2774d1fa73 Add useConnectModal (#2943)
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-22 17:38:33 +00:00
greg a76c638dff Adds signMessage test for viem adapter (#3115) 2024-05-22 05:26:26 +00:00
71da068f0f Version Packages (#3065)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-22 16:28:01 +12:00
greg df1b9e46b3 Skip legacy tests (#3114) 2024-05-22 04:05:50 +00:00
greg a2275c409c Adds unstyled option to TransactionButton (#3103) 2024-05-22 15:41:00 +12:00
Joaquim Verges ccdd121cb5 fix: add ts-ignore for react native native libs (#3112) 2024-05-22 15:40:39 +12:00
Manan TankandJonas Daniels 599468559d Add support for deep linking to wallet app when using Connect UI (#3083)
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-22 15:16:50 +12:00
Manan Tank 57f7cd5a66 Spacing Fixes, Revert color changes (#3107) 2024-05-22 15:15:59 +12:00
Joaquim Verges 10b563c78d Update react native readme (#3111)
Signed-off-by: Joaquim Verges <[email protected]>
2024-05-22 14:04:54 +12:00
Joaquim Verges 49aa6e41d5 feat: Phone number login for react native (#3110) 2024-05-22 13:52:15 +12:00
github-actions[bot] 53dd1bfc1b chore(chains): update chains (#3101)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-21 15:33:59 -07:00
Jonas Daniels e6fc042b58 chore(package.json): update build command to use pnpm (#3106) 2024-05-21 15:33:25 -07:00
dependabot[bot] e8ec0ad9ae build(deps): bump @sentry/nextjs from 8.0.0 to 8.2.1 (#2585)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 8.0.0 to 8.2.1.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.0.0...8.2.1)

---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 16:43:51 +00:00
Phillip Ho 278eb95ed9 chore: support split native currency for all chains (#2583)
* chore: support split native currency for all chains

* rename
2024-05-21 16:33:26 +00:00
dependabot[bot] 1036851a31 build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.9.0 to 7.10.0 (#2587)
build(deps-dev): bump @typescript-eslint/eslint-plugin

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.9.0 to 7.10.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.10.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 16:32:31 +00:00
dependabot[bot] fd6390024b build(deps): bump react-dom and @types/react-dom (#2586)
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) and [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom). These dependencies needed to be updated together.

Updates `react-dom` from 18.2.0 to 18.3.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react-dom)

Updates `@types/react-dom` from 18.2.25 to 18.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 16:32:10 +00:00
dependabot[bot] 063859b98e build(deps): bump react-icons from 5.1.0 to 5.2.1 (#2584)
Bumps [react-icons](https://github.com/react-icons/react-icons) from 5.1.0 to 5.2.1.
- [Release notes](https://github.com/react-icons/react-icons/releases)
- [Commits](https://github.com/react-icons/react-icons/compare/v5.1.0...v5.2.1)

---
updated-dependencies:
- dependency-name: react-icons
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 16:31:03 +00:00
github-actions[bot]andJonas Daniels 25b4e16e0a chore(chains): update chains (#3099)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-20 22:38:20 -07:00
Joaquim Vergesandgreg c8d5be15cf fix: pino-pretty in demo app (#3098)
Co-authored-by: greg <[email protected]>
2024-05-20 22:37:46 -07:00
Juan Leal 48d6895afd changes for thirdweb Pay launch (#2589)
* changes for thirdweb Pay launch

* typo fix

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2024-05-21 03:13:20 +00:00
greg c3b8cc75e6 CommonJS import on RN lazy load (#3100) 2024-05-21 14:36:00 +12:00
Joaquim Verges f55fa4ca85 feat: In-app wallets for react native v5 (#3064) 2024-05-21 12:04:36 +12:00
github-actions[bot] dd1d22b482 chore(chains): update chains (#3096)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-20 16:40:18 -07:00
Jonas Daniels b5a004e2d9 apply fixes from: https://github.com/thirdweb-dev/pay-playground/pull/4 (#3097) 2024-05-20 15:06:29 -07:00
Jonas Daniels 39809999f9 refactor: Rename project name in package.json and turbo.json (#3095) 2024-05-20 14:57:59 -07:00
github-actions[bot] 31ecf6031f chore(chains): update chains (#3088)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-20 14:51:57 -07:00
dependabot[bot] 58461d08e1 build(deps): bump octokit/request-action from 2.3.0 to 2.3.1 (#3094)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 14:38:54 -07:00
greg b2161acb72 Adds demo apps to monorepo (#3087) 2024-05-20 14:37:57 -07:00
Manan Tank a22eb5c4bf Fix onConnect called twice with inApp social login in ConnectButton (#3085) 2024-05-20 12:50:05 -07:00
FirekeeperandJonas Daniels c494af88d8 Unity 4.13.3 (#3081)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-20 12:49:31 -07:00
github-actions[bot] 23be9528ae chore(chains): update chains (#3086)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-20 12:49:13 -07:00
Manan TankandJonas Daniels f8e0a50136 Pass theme from PayEmbed to ConnectButton (#3079)
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-20 12:48:45 -07:00
Manan TankandJonas Daniels 7abbe03a11 Use input-otp library (#3080)
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-20 12:48:14 -07:00
Manan TankandJonas Daniels 9c9969e41a Add "Switch Account" button in ConnectButton for injected metamask provider (#3082)
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-20 12:48:01 -07:00
github-actions[bot] 9c3a130b96 chore(chains): update chains (#3075)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-20 11:21:40 -07:00
Jonas Daniels 7955755b74 chore: update size limit for thirdweb/react (#3084) 2024-05-20 11:19:52 -07:00
greg 431ddab953 Test coverage and cleanup (#3076) 2024-05-20 10:36:32 -07:00
github-actions[bot] 355dc790e6 chore(chains): update chains (#3073)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-19 10:15:51 -07:00
Kien Ngo d95eb312cf Increase test coverage (#3074) 2024-05-19 10:15:38 -07:00
github-actions[bot] dcd79b129e chore(chains): update chains (#3072)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-18 20:44:51 -07:00
github-actions[bot] 254fbf8236 chore(chains): update chains (#3066)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-18 19:50:09 -07:00
Kien Ngo 615632d383 [WIP] Code coverage improvement (#3069) 2024-05-18 19:49:52 -07:00
greg da63eab29a Clear in-app wallet state on disconnect (#3071) 2024-05-18 19:49:19 -07:00
greg b46173f982 Minor react fixes (#3067) 2024-05-17 18:36:10 -07:00
FirekeeperandJonas Daniels d8743654e4 Unity 4.13.2 (#3062)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-17 14:30:39 -07:00
Jonas DanielsandKien Ngo f49f8cacb4 feat(ethers6 adapter): allow optional account to be passed to contract.toEthers (#3063)
Signed-off-by: Kien Ngo <[email protected]>
Co-authored-by: Kien Ngo <[email protected]>
2024-05-17 14:30:19 -07:00
github-actions[bot] 2cd8a01ec0 chore(chains): update chains (#3061)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-17 14:08:56 -07:00
Jonas Daniels 2d0bc2f373 fix: DASH-14 (#2582) 2024-05-17 04:32:27 -07:00
Jonas Daniels a267b88343 chore: Update dependencies in package.json (#2581) 2024-05-17 04:20:53 -07:00
Jonas Daniels b7c88ec7c4 feat(footer): Update footer link for Startup Program (#2580) 2024-05-17 04:08:02 -07:00
85b5a6de6b Version Packages (#3060)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-17 03:19:23 -07:00
github-actions[bot] 9a9ec978f4 chore(chains): update chains (#3056)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-17 01:35:48 -07:00
Jonas Daniels 5a40c6a99b fix: CNCT-1176 (#3059) 2024-05-17 01:35:26 -07:00
greg 1698c40c37 Prevent MediaRenderer flashing failed state while loading (#3058) 2024-05-17 01:00:59 -07:00
f4508e4f22 Version Packages (#3044)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-17 18:25:39 +12:00
greg ff0c9c7a5c Fix sendCallsStatus test types (#3057) 2024-05-16 22:40:22 -07:00
greg ce78690c89 Update SDK to nightly to include marketplace fixes (#2579)
chore: update sdk to nightly
2024-05-17 04:04:53 +00:00
greg ce4547501f Cache custom chains internally (#3040) 2024-05-16 20:11:31 -07:00
gregandJonas Daniels c417bdaae3 Fix v4 marketplace gas estimate (#3054)
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-16 20:11:11 -07:00
github-actions[bot] 02c3eebf2e chore(chains): update chains (#3053)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-16 18:47:54 -07:00
Jonas Daniels ad88eceff6 chore: update size limit for thirdweb (#3055) 2024-05-16 18:47:27 -07:00
greg d491a2dd9a Corrections & enhancements to sendCalls jsdoc (#3052) 2024-05-16 18:26:10 -07:00
github-actions[bot] 7ced4cb471 chore(chains): update chains (#3045)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-16 16:17:42 -07:00
Joaquim Verges f006429d7c RN support for v5 (#3037) 2024-05-16 16:17:14 -07:00
Firekeeper 338e0ac86f Unity 4.13.1 - avoid iframe when not explicitly disconnected (#3032) 2024-05-16 21:23:02 +00:00
greg 462045ecc3 Fix legacy tests (again) (#3050) 2024-05-16 21:06:33 +00:00
greg 726618b97a EIP-5792 Support (#3001)
Signed-off-by: greg <[email protected]>
2024-05-16 18:53:53 +00:00
Phillip HoandJonas Daniels 02f742fca6 polish: Engine pricing cards, deploy confirmation modal (#2576)
* polish: Engine pricing cards, deploy confirmation modal

* refactor: Refactor pricing section in pricing page

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-05-16 17:53:45 +00:00
Kien NgoandJonas Daniels cfe60d22a3 Improve error message for resolveAbiFromBytecode (#3048)
Signed-off-by: Kien Ngo <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-16 17:24:41 +00:00
greg 12b92b1b1b Fix automatic query invalidation (#3046) 2024-05-16 04:41:11 +00:00
082a6adc4e Dynamic CS Form (#2556)
* Update support form

* Fix lint

* Update Connect form

* Revert lazyload

* Modularize form components

* Add Engine contact form

* Add Contracts support form

* Add Account and Other support form

* Add unity

* Fix Unity input

* Add code asbtraction for Select and Input forms

* Add cmt

* Add file upload UI; update submit button

* Add ModalCloseButton and some useful placeholder

* Update files; clean up code; temp remove Upload form

* Fix form reset issues

* Add placeholder to engine url input

* Fix lint

* Remove unused code

---------

Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: samina <[email protected]>
2024-05-16 03:10:58 +00:00
Jonas Daniels 47700f1719 fix: Fix v4 contract metadata update and invalidate (#2575)
* fix: Fix v4 contract metadata update and invalidate

* feat(next.config.js): Add webpackBuildWorker option
2024-05-16 03:05:12 +00:00
github-actions[bot] 46492bb66e chore(chains): update chains (#3033)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-15 18:56:15 -07:00
509cb39d87 Navbar: Add React Native to the list of SDKs (#2572)
* Add React Native to the list of SDKs

* Update text description

* Update src/components/product-pages/common/nav/data.ts

Signed-off-by: Jonas Daniels <[email protected]>

---------

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: samina <[email protected]>
2024-05-16 01:54:44 +00:00
Phillip Ho f5e7272b72 Bump service-utils package (#3042) 2024-05-16 01:26:12 +00:00
8f5a0b796c Version Packages (#3038)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-16 09:54:04 +12:00
Phillip Ho 5593037dd2 chore: add sdkOS to usage (#3041) 2024-05-15 21:19:08 +00:00
greg 99fa2da05a Adds custom logo to social login modal (#3034) 2024-05-15 20:14:17 +00:00
Yash ba71e84ad0 enable zksolc compiler option (#2570)
* enable zksolc compiler option

* lint

* latest nightly

* update packages

* zksolc option only if present in metadata
2024-05-15 20:05:18 +00:00
greg 001449de69 Tiny bump to esm size limit (#3039) 2024-05-15 19:37:54 +00:00
c091b209a5 Fix unexpected data for NFT trait value - causing crash on client-side (#2573)
* Test: quick fix for NFT properties table

* Update

* docs: Remove unnecessary reference type

---------

Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-15 19:21:48 +00:00
Jonas Daniels 80f1f0fcdb feat: add instrumentation for Sentry (#2574)
* feat: add instrumentation for Sentry

* chore(next.config.js): update config and disable ServerWebpackPlugin

* refactor: Remove unnecessary code
2024-05-15 12:10:25 -07:00
334a6959c1 Engine landing v2 (#2407)
* engine landing v2

* lint fixes

* linting isues

* Engine landing page changes

Signed-off-by: Juan Leal <[email protected]>

* Engine landing page

Signed-off-by: Juan Leal <[email protected]>

* chore: changes

* Quick header fix

Signed-off-by: Juan Leal <[email protected]>

* chore: changes

* copy + section updates

Signed-off-by: Juan Leal <[email protected]>

* quick engine copy fixes

Signed-off-by: Juan Leal <[email protected]>

* comma

Signed-off-by: Juan Leal <[email protected]>

* ampersand

Signed-off-by: Juan Leal <[email protected]>

* chore: changes

* remove section

Signed-off-by: Juan Leal <[email protected]>

* chore: fix

* engine page updates

* props fixes

Signed-off-by: Juan Leal <[email protected]>

* few more prop fixes

Signed-off-by: Juan Leal <[email protected]>

* last few prop fixes

Signed-off-by: Juan Leal <[email protected]>

* engine page linting fixes

* revert: change pnpm-lock.yaml

* chore: make lottie one liner

* chore: make connect lottie one line

* various changes + uses pricing section component

* props fixes + initial frame functionality

* more engine fixes

* final (?) props fixes

* add image-section-item component

* image fix

* fix

* image path fixes

* add lottie to hero component

* props fix

* fix

* new splash image component

* fix splash-image

* padding

* copy changes

* added gradients, fixed copy, og:image

* contact us button in footer

* stand with crypto image

* case study section updates

* hover background infinigods

* new guide images

* Copy fixes, feedback updates, etc.

* updated lottie

* any evm section

* initial fixes

* feat(engine): add mini image to landing page

* remove any evm section, add new images, new lottie2

* style: remove unnecessary padding and border in image section item

* feat(engine): add cloud hosted tiers

* style: Change button text to "Deploy now" instead of "Add to my plan"

* remove frame metadata + add new links to landing page

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-05-15 16:47:29 +00:00
Kien NgoandKien Ngo 3c044508ee Export extensions and events for Pack contract (#3035)
Co-authored-by: Kien Ngo <[email protected]>
2024-05-15 09:44:54 +00:00
b001d6fa0a Version Packages (#3009)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-15 12:11:30 +12:00
Farhan KhwajaandPhillip Ho 015dd3db7f Added Contract Subscriptions to Engine Dashboard (#2491)
* Added Contract Subscriptions to Engine Dashboard

* fix build issues

* updates

* added explorer link to contract

* fixed chain selection issue

* update naming

* fix linter

* update tabs

* wip

* Revert "wip"

This reverts commit 18335e3ffe096574df6fae6ab2740ae8bd2c97e2.

* update to latest API paths

* hide contract subscriptions tab

* fix build

* fix wording

* remove event types

* add tracked link

* remove unused import

---------

Co-authored-by: Phillip Ho <[email protected]>
2024-05-15 00:01:25 +00:00
dependabot[bot] 128a1fa63d build(deps): bump @walletconnect/utils from 2.12.2 to 2.13.0 (#3017)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-14 23:31:55 +00:00
dependabot[bot] a8395b4268 build(deps-dev): bump @microsoft/api-documenter from 7.24.1 to 7.24.5 (#3014)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-14 23:29:57 +00:00
dependabot[bot] 4d0e941ab1 build(deps-dev): bump vite from 5.2.8 to 5.2.11 (#3011)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-14 23:29:30 +00:00
github-actions[bot] c0755637cf chore(chains): update chains (#3010)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-14 16:31:27 -07:00
greg 6b81db5d0d Bump React minimal size (#3028) 2024-05-14 16:31:08 -07:00
Yash cdfca2b56d zksolc publish and deploy fixes (#3029) 2024-05-14 23:13:56 +00:00
Joaquim Verges 50441b810b Revert "Allows adding a custom logo to the social login screen (#3020) (#3031) 2024-05-15 11:10:24 +12:00
Joaquim Verges c23d8bd4ec fix tsdoc + better changelog (#3030) 2024-05-15 10:47:02 +12:00
dependabot[bot]andgreg b8ee2088c9 build(deps): bump typedoc from 0.25.12 to 0.25.13 (#3016)
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]>
2024-05-14 20:52:37 +00:00
greg 20dd8943ca Allows adding a custom logo to the social login screen (#3020) 2024-05-14 20:48:59 +00:00
greg c08a5f298d Fix chain overrides when fetching metadata (#3027) 2024-05-14 20:33:06 +00:00
greg 50834640af Add Core Wallet Extension Support (#3018) 2024-05-14 20:32:40 +00:00
greg 90bb1185ea Uncomment and disable sdk legacy tests (#3026) 2024-05-14 20:27:01 +00:00
9caa9d7a8d feat: passkey support for in-app wallets (#2912)
Co-authored-by: Winston Yeo <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: greg <[email protected]>
2024-05-14 19:37:03 +00:00
Yash 9fbd82c3f1 Update packages (#2569)
update packages to latest nightly
2024-05-14 17:22:44 +00:00
Kien NgoandKien Ngo eb29adf157 Add BSC mainnet and testnet (#3024)
Co-authored-by: Kien Ngo <[email protected]>
2024-05-14 15:31:20 +00:00
Yash e89f36b2b7 ZkSync addresses update (#3025) 2024-05-14 08:29:24 -07:00
greg 08855f3714 Remove faulty legacy tests (#3023) 2024-05-14 05:36:38 +00:00
Firekeeper c4299918f2 Unity 4.13.0 (#3021) 2024-05-14 01:50:36 +00:00
Jonas Daniels d0cd917071 chore(package.json): update @sentry/nextjs to version 8.0.0 (#2567) 2024-05-13 16:32:01 -07:00
Yash d0c7da2b41 Update pacakges (#2566)
* update pacakges to latest nightly

* update packages
2024-05-13 23:07:24 +00:00
Yash 6d36a1498a ZkSync Addresses (#3019) 2024-05-13 22:26:58 +00:00
greg 145ff4890f Tiny refactor for shortenAddress inputs and docs (#3004) 2024-05-13 21:18:49 +00:00
dependabot[bot] dd628cc84e build(deps): bump @typescript-eslint/parser from 7.5.0 to 7.9.0 (#3013)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 21:01:30 +00:00
Juan Leal 676458989b Update announcement banner (#2559)
* Update announcement banner

Signed-off-by: Juan Leal <[email protected]>

* prettier

Signed-off-by: Juan Leal <[email protected]>

* prettier 2

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2024-05-13 19:47:24 +00:00
dependabot[bot] a2606d956a build(deps): bump @stripe/react-stripe-js from 2.7.0 to 2.7.1 (#2565)
Bumps [@stripe/react-stripe-js](https://github.com/stripe/react-stripe-js) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/stripe/react-stripe-js/releases)
- [Changelog](https://github.com/stripe/react-stripe-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stripe/react-stripe-js/compare/v2.7.0...v2.7.1)

---
updated-dependencies:
- dependency-name: "@stripe/react-stripe-js"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 19:46:41 +00:00
dependabot[bot] 9d670d9480 build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.7.1 to 7.9.0 (#2563)
build(deps-dev): bump @typescript-eslint/eslint-plugin

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.7.1 to 7.9.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.9.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 19:46:17 +00:00
dependabot[bot] c1cf45a4fd build(deps): bump next from 14.2.2 to 14.2.3 (#2561)
Bumps [next](https://github.com/vercel/next.js) from 14.2.2 to 14.2.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.2...v14.2.3)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 19:45:07 +00:00
greg d0934b777d Minor test cleanup (#3006) 2024-05-13 19:15:57 +00:00
github-actions[bot] d34e21bd06 chore(chains): update chains (#3003)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-13 12:50:29 -07:00
7fcd60ec64 Version Packages (#3007)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-13 17:31:23 +12:00
Joaquim Verges 0006e547a4 fix: chain switching with in-app smart accounts (#3005) 2024-05-13 04:16:51 +00:00
Joe-Thirdweb 797a857b29 PR - Startup Page Revamp (#2558)
* Initial Commit

* Prettier fixes

* Adding Haun and Monad

* Adding more partners

* Adding engine and growth FAQ

* Prettier fixes
2024-05-11 03:21:41 +00:00
Jonas Danielsandgithub-actions[bot] 1ed12557bb Version Packages (#2996)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-10 18:17:33 -07:00
Manan Tank 0ab14075d3 Fix wallet image fallback (#3000) 2024-05-10 18:10:52 -07:00
Joaquim VergesandManan Tank cf7b6fc7bc feat: createWalletAdapter for interop with other libraries (#2997)
Co-authored-by: Manan Tank <[email protected]>
2024-05-10 17:52:08 -07:00
greg 523cd1e16f shortenAddress util (#2995) 2024-05-10 23:40:12 +00:00
Phillip Ho 72624a87c4 chore: add missing simplehash supported chains (#2560) 2024-05-10 20:54:42 +00:00
Yash a475f8f711 Update packages (#2557) 2024-05-09 19:07:56 +00:00
Phillip HoandfarhanW3 cd97a45c46 feat: Engine Tiers (#2543)
* feat: Engine Tiers

* not connected state

* updated malformed URL for engine deploy

* hack to pass tier

* updated tracking event

---------

Co-authored-by: farhanW3 <[email protected]>
2024-05-09 17:09:28 +00:00
Kien NgoandKien Ngo f33611cd5f Filter team members from /open-source (#2555)
Co-authored-by: Kien Ngo <[email protected]>
2024-05-07 04:02:11 +00:00
dependabot[bot] effa007d00 build(deps-dev): bump @typescript-eslint/parser from 7.7.1 to 7.8.0 (#2554)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.7.1 to 7.8.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.8.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 19:34:35 +00:00
dependabot[bot] 71aa48e6dc build(deps): bump @stripe/stripe-js from 3.3.0 to 3.4.0 (#2553)
Bumps [@stripe/stripe-js](https://github.com/stripe/stripe-js) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/stripe/stripe-js/releases)
- [Commits](https://github.com/stripe/stripe-js/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: "@stripe/stripe-js"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 19:34:07 +00:00
dependabot[bot] 866c14c8ef build(deps-dev): bump eslint-plugin-react-hooks from 4.6.0 to 4.6.2 (#2552)
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.6.0 to 4.6.2.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks)

---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 19:33:41 +00:00
dependabot[bot] 90d46a6819 build(deps-dev): bump @next/bundle-analyzer from 14.2.2 to 14.2.3 (#2551)
Bumps [@next/bundle-analyzer](https://github.com/vercel/next.js/tree/HEAD/packages/next-bundle-analyzer) from 14.2.2 to 14.2.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.2.3/packages/next-bundle-analyzer)

---
updated-dependencies:
- dependency-name: "@next/bundle-analyzer"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 19:33:05 +00:00
dependabot[bot] 651df4ed67 build(deps): bump @coinbase/onchainkit from 0.13.4 to 0.14.1 (#2550)
Bumps [@coinbase/onchainkit](https://github.com/coinbase/onchainkit) from 0.13.4 to 0.14.1.
- [Release notes](https://github.com/coinbase/onchainkit/releases)
- [Changelog](https://github.com/coinbase/onchainkit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/coinbase/onchainkit/compare/v0.13.4...v0.14.1)

---
updated-dependencies:
- dependency-name: "@coinbase/onchainkit"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 19:32:50 +00:00
Manan Tank 908a96a1a7 Update thirdweb packages (#2549) 2024-05-06 16:09:46 +00:00
Jarrod Watts 4641a6cde1 chore: Switch Mumbai to Amoy in recommended chain when no funds detected (#2548)
chore: Switch Mumbai to Amoy
2024-05-03 18:30:32 +00:00
Jonas Daniels f834242134 chore: Update marketplace table component (#2547) 2024-05-02 23:09:15 -07:00
Juan Leal e00873f14d customer logos update (#2545) 2024-05-01 16:33:53 +00:00
Yash 6100c28511 Update broken links for /support page (#2544) 2024-04-30 21:10:58 +00:00
easyrun42 1add987e87 chore: replace connect playground height (#2542) 2024-04-30 13:30:21 +00:00
dependabot[bot] f8956fa16c build(deps): bump react and @types/react (#2538)
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together.

Updates `react` from 18.2.0 to 18.3.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react)

Updates `@types/react` from 18.2.79 to 18.3.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: react
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 20:16:57 +00:00
easyrun42 8f97ed2710 feat: engine lottie (#2526)
* feat: new engine lottie

* chore: delete old og image

* chore: update engine lottie
2024-04-29 19:48:38 +00:00
Phillip HoandfarhanW3 967876883c feat: self-service Engine deployment (#2503)
* feat: self-service Engine deployment

* badges for different engine deploy states

* resolving lint error

* dont allow removing cloud instance

* fix build

---------

Co-authored-by: farhanW3 <[email protected]>
2024-04-29 19:42:37 +00:00
dependabot[bot] 071a759f41 build(deps): bump swagger-ui-react from 5.17.0 to 5.17.2 (#2537)
Bumps [swagger-ui-react](https://github.com/swagger-api/swagger-ui) from 5.17.0 to 5.17.2.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Changelog](https://github.com/swagger-api/swagger-ui/blob/master/.releaserc)
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v5.17.0...v5.17.2)

---
updated-dependencies:
- dependency-name: swagger-ui-react
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 19:33:32 +00:00
dependabot[bot] 6f5ebe4148 build(deps): bump zod from 3.23.3 to 3.23.4 (#2539)
Bumps [zod](https://github.com/colinhacks/zod) from 3.23.3 to 3.23.4.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.23.3...v3.23.4)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 19:33:02 +00:00
dependabot[bot] 162c09f9fa build(deps): bump @coinbase/onchainkit from 0.13.0 to 0.13.4 (#2540)
Bumps [@coinbase/onchainkit](https://github.com/coinbase/onchainkit) from 0.13.0 to 0.13.4.
- [Release notes](https://github.com/coinbase/onchainkit/releases)
- [Changelog](https://github.com/coinbase/onchainkit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/coinbase/onchainkit/compare/v0.13.0...v0.13.4)

---
updated-dependencies:
- dependency-name: "@coinbase/onchainkit"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 19:32:46 +00:00
Jonas Daniels a76e4d8c1b feat: Add activeTrialEndsAt prop to PricingCard (#2535)
* feat: Add activeTrialEndsAt prop to PricingCard

* fix: Fix conditional rendering of pricing in PricingCard
2024-04-26 16:56:09 -07:00
Jonas Daniels d71459c406 chore: Update dependencies and refactor EWS token handling (#2534) 2024-04-26 18:32:35 +00:00
Edward Sun c8bab9b2d4 Fix: Billing page in settings not showing growth plan trial (#2533) 2024-04-26 18:21:52 +00:00
Manan Tank aa2a259157 Remove About us page, Rename press-kit footer link (#2532) 2024-04-25 21:30:57 +00:00
Dustin ec7501f923 Update contact-us.tsx (#2531) 2024-04-25 19:42:37 +00:00
Manan Tank 32464a71b9 Add see all wallets link in connect playground (#2528)
add see all wallets link in playground
2024-04-25 17:15:18 +00:00
easyrun42 0f7b805868 chore: cleanup connect frame (#2530)
* chore: cleanup

* chore: change env vars
2024-04-25 16:27:01 +00:00
easyrun42andManan Tank f1ceaa9e08 feat: connect farcaster frame (#2529)
* chore: frame connect

* chore: final changes

* chore: remove owned

* chore: replace gif image to png image

* chore: use static chain id

* chore: use default farcaster utils

---------

Co-authored-by: Manan Tank <[email protected]>
2024-04-25 15:23:49 +00:00
Jonas Daniels eb9cfc217b refactor: Filter and validate external links in MetadataHeader (#2527) 2024-04-24 15:55:03 -07:00
Jonas Daniels 7265b05f5a chore: Update posthog-js-opensource to 1.67.1 (#2525) 2024-04-24 09:55:44 -07:00
c71722928d chore: connect landing page v2 (#2521)
* chore: connect lp

* fix: prettier

* chore: remove lottie

* quick fixes

* add back connect lottie

* add connect lottie back

* links for sdk v5

Signed-off-by: Juan Leal <[email protected]>

* add back minimized lottie

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-23 16:52:54 +00:00
Jonas Daniels e0ad1c0432 chore: update dependencies (#2523) 2024-04-23 16:34:27 +00:00
Manan Tank 30f3a01c95 Make chainlist page faster (#2524)
* Make chainlist page faster

* tweak - cleanup observer

* Fix lint
2024-04-23 16:10:51 +00:00
Juan Leal 3339e4bda0 homepage updates (#2522)
* homepage updates

* typo

Signed-off-by: Juan Leal <[email protected]>

* xai logo fix

---------

Signed-off-by: Juan Leal <[email protected]>
2024-04-22 23:24:58 +00:00
dependabot[bot] 9c059b3717 build(deps): bump @stripe/stripe-js from 3.1.0 to 3.3.0 (#2514)
Bumps [@stripe/stripe-js](https://github.com/stripe/stripe-js) from 3.1.0 to 3.3.0.
- [Release notes](https://github.com/stripe/stripe-js/releases)
- [Commits](https://github.com/stripe/stripe-js/compare/v3.1.0...v3.3.0)

---
updated-dependencies:
- dependency-name: "@stripe/stripe-js"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 20:44:43 +00:00
dependabot[bot] 7e4774a49d build(deps-dev): bump typescript from 5.4.3 to 5.4.5 (#2516)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.3 to 5.4.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.3...v5.4.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 20:44:35 +00:00
dependabot[bot] a53b34594e build(deps): bump thirdweb from 5.6.0 to 5.9.0 (#2515)
Bumps [thirdweb](https://github.com/thirdweb-dev/js) from 5.6.0 to 5.9.0.
- [Release notes](https://github.com/thirdweb-dev/js/releases)
- [Commits](https://github.com/thirdweb-dev/js/compare/[email protected]@5.9.0)

---
updated-dependencies:
- dependency-name: thirdweb
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 19:40:51 +00:00
dependabot[bot] 87f94ee488 build(deps): bump react-hook-form from 7.51.2 to 7.51.3 (#2517)
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.51.2 to 7.51.3.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.51.2...v7.51.3)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 19:39:35 +00:00
dependabot[bot] 347bbc4b8b build(deps): bump @stripe/react-stripe-js from 2.6.2 to 2.7.0 (#2518)
Bumps [@stripe/react-stripe-js](https://github.com/stripe/react-stripe-js) from 2.6.2 to 2.7.0.
- [Release notes](https://github.com/stripe/react-stripe-js/releases)
- [Changelog](https://github.com/stripe/react-stripe-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stripe/react-stripe-js/compare/v2.6.2...v2.7.0)

---
updated-dependencies:
- dependency-name: "@stripe/react-stripe-js"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 19:39:14 +00:00
Juan Leal f8070ce574 solutions update on homepage (#2519) 2024-04-22 19:26:24 +00:00
Joaquim Verges 0366b4e4b3 fix import in landing code snippets (#2520) 2024-04-22 19:26:05 +00:00
Juan Leal ec237a00d7 minting page copy fix (#2513)
* quick minting page fix

Signed-off-by: Juan Leal <[email protected]>

* copy fix

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2024-04-22 17:12:36 +00:00
Juan Leal 78eecb1621 announcement banner fix (#2510)
accidental : at the end removed

Signed-off-by: Juan Leal <[email protected]>
2024-04-22 17:05:38 +00:00
Manan Tank 30a44dcc9b Update thirdweb packages to latest (#2512) 2024-04-22 15:49:28 +00:00
Jonas Daniels 58db72982e fix: Update code-overview to use chainId instead of chain (#2511) 2024-04-20 23:20:01 -07:00
easyrun42 c17a208ebe chore: add gradient component with connect page (#2506)
* chore: add connect gradient

* chore: revert unecessary changes

* chore: shrink sizes

* chore: replace chains solution page to use new images

* chore: replace images with svg

* chore: tweak
2024-04-19 21:07:44 +00:00
Myk 67e665374c update myk image (#2505) 2024-04-19 20:29:29 +00:00
easyrun42 511c9fddc5 chore: redirect checkout to connect and remove NFT checkout from products (#2507)
chore: redirect checkout to connect
2024-04-19 19:53:50 +00:00
easyrun42 479fd46f4d chore: adjust homepage carousel on desktop (#2509)
chore: adjust carousel
2024-04-19 19:53:25 +00:00
easyrun42 23d8a0ab9c chore: new navbar icons (#2508)
chore: new groupings
2024-04-19 19:52:30 +00:00
faf3d26a23 Support submission toast update (#2504)
* Updating contact-support-modal.tsx

Updating toast message.

* Update src/components/help/contact-support-modal.tsx

Signed-off-by: Jonas Daniels <[email protected]>

---------

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Joe-Thirdweb <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-19 06:33:42 +00:00
Jonas Daniels 54addee372 fix(nav): update TypeScript SDK link (#2502) 2024-04-18 17:48:31 -07:00
easyrun42andJuan Leal 118059834f chore: mobile navbar changes (#2499)
Co-authored-by: Juan Leal <[email protected]>
2024-04-18 19:52:44 +00:00
easyrun42 1f80b1db3c chore: fix navbar responsive design breakpoints (#2500)
fix: breakpoints on navbar
2024-04-18 19:44:25 +00:00
Jonas Daniels 898a5340dd fix: fix optional chaining in Users component (#2501) 2024-04-18 18:37:26 +00:00
easyrun42 f8bcf3ad3d chore: change solutions nav icons (#2498)
chore: nav icons
2024-04-18 18:01:48 +00:00
Juan Leal bc2dbe6997 new announcement banner copy (#2497)
* new announcement banner copy

Signed-off-by: Juan Leal <[email protected]>

* prettier

Signed-off-by: Juan Leal <[email protected]>

* copy fix

Signed-off-by: Juan Leal <[email protected]>

* prettier again

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2024-04-18 17:59:38 +00:00
easyrun42 533a110d7c chore: solutions navbar changes (#2496)
chore: changes to navbar
2024-04-18 16:21:16 +00:00
dependabot[bot] f1ea5ddf12 build(deps): bump @solana/web3.js from 1.90.0 to 1.91.6 in the npm_and_yarn group (#2495)
build(deps): bump @solana/web3.js in the npm_and_yarn group

Bumps the npm_and_yarn group with 1 update: [@solana/web3.js](https://github.com/solana-labs/solana-web3.js).


Updates `@solana/web3.js` from 1.90.0 to 1.91.6
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.90.0...v1.91.6)

---
updated-dependencies:
- dependency-name: "@solana/web3.js"
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 06:27:02 +00:00
easyrun42 452e988a3d chore: transactions drive section (chains page) (#2494)
* chore: transactions image

* chore: tweak

* chore: new xai image
2024-04-17 17:48:57 +00:00
Yash c1fc38fda8 Fix dynamic contract extension fieldset (#2492)
* Allow extensions to be empty

* lint
2024-04-17 17:08:42 +00:00
Juan Leal cfa47ac771 case study links on connect page (#2493)
Signed-off-by: Juan Leal <[email protected]>
2024-04-17 16:52:20 +00:00
easyrun42andJuan Leal 72b9fe7442 feat: chains landing page v2 (#2478)
* chore: new chains page (v2)

* chore: remove uneccesary images

* chore: new icons

* chore: gradient

* chore: minor changes

* chore: minor changes

* chore: relace conact us link

* chore: changes

* copy fixes chains page

Signed-off-by: Juan Leal <[email protected]>

* chore: changes

* chore: new changes

* chore: changes

* chore: push new images

* quick title fix

Signed-off-by: Juan Leal <[email protected]>

* chore: new changes

* quick fix

Signed-off-by: Juan Leal <[email protected]>

* chore: changes

* revert: idx as key for .map()

* chore: changes

* chore: revert end-cta small change

* quick text fix

Signed-off-by: Juan Leal <[email protected]>

* link fixes in feature spread

Signed-off-by: Juan Leal <[email protected]>

* chore: fix lint

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2024-04-17 15:35:26 +00:00
Jonas Daniels 5e40b0ef31 refactor: Update announcement text (#2490) 2024-04-16 16:07:21 -07:00
Jonas Daniels 6401937326 fix: Add version prop to CustomContractForm, DeployFormDrawer, and ContractDeployForm (#2487)
* fix: Add version prop to CustomContractForm, DeployFormDrawer, and ContractDeployForm

* fix: Make version prop optional in contract deploy form components

* fix: Update thirdweb package to version 5.6.0

* refactor(vercel-utils): Rename embeddedWallet to inAppWallet

* fix lockfile

---------

Signed-off-by: Jonas Daniels <[email protected]>
2024-04-16 18:17:53 +00:00
dependabot[bot] 0ef0e1ff2f build(deps-dev): bump @next/eslint-plugin-next from 14.1.4 to 14.2.1 (#2484)
Bumps [@next/eslint-plugin-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-plugin-next) from 14.1.4 to 14.2.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v14.2.1/packages/eslint-plugin-next)

---
updated-dependencies:
- dependency-name: "@next/eslint-plugin-next"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 16:55:04 +00:00
dependabot[bot] 2fd445c4dd build(deps): bump react-intersection-observer from 9.8.1 to 9.8.2 (#2485)
Bumps [react-intersection-observer](https://github.com/thebuilder/react-intersection-observer) from 9.8.1 to 9.8.2.
- [Release notes](https://github.com/thebuilder/react-intersection-observer/releases)
- [Commits](https://github.com/thebuilder/react-intersection-observer/compare/v9.8.1...v9.8.2)

---
updated-dependencies:
- dependency-name: react-intersection-observer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 16:54:57 +00:00
Juan LealandJonas Daniels e63ce78625 templates fix (#2481)
* templates fix

pioneer and take-flight templates were swapped around - fixed them


Signed-off-by: Juan Leal <[email protected]>

* chore(templates): update description formatting

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-16 16:54:31 +00:00
dependabot[bot] e1fda8a623 build(deps): bump @apollo/client from 3.9.9 to 3.9.11 (#2483)
Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.9.9 to 3.9.11.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/v3.9.9...v3.9.11)

---
updated-dependencies:
- dependency-name: "@apollo/client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 16:50:18 +00:00
dependabot[bot] 72d9198a71 build(deps-dev): bump @types/react-dom from 18.2.23 to 18.2.25 (#2486)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.2.23 to 18.2.25.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 16:49:05 +00:00
Manan Tank 615fb59fe6 Add Phone sign-in option in Connect playground (#2488)
* Add Phone sign-in option in Connect playground

* use prettier

* use prettier
2024-04-16 16:47:08 +00:00
Phillip HoandJonas Daniels e3d1384079 feat: Engine Keypair Auth, CORS (#2416)
* feat: Engine CORS UI, polish

* run knip and remove unused

* wip

* handle multiple algorithms

* remove graphql changes

* lint errors

* smaller text on debug

* fix build

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-04-12 13:14:15 -07:00
Joaquim Verges 5031efbb82 rename embedded -> in-app wallet (#2479) 2024-04-12 19:55:34 +00:00
Edward Sun 186d4aa8a4 Add support for Polygon Amoy Testnet in payments (#2477) 2024-04-12 05:13:03 +00:00
Jonas Daniels af37b70c4a fix: Handle error when fetching contract info and return notFound (#2476)
* fix: Handle error when fetching contract info and return notFound

* fix: Handle error when fetching contract info
2024-04-11 20:44:11 +00:00
Yash eefaf68c40 Add new airdrop to explore page (#2473)
* Add new airdrop to explore page

* description
2024-04-11 13:31:08 +00:00
easyrun42andJuan Leal 6548ce795a feat: superchain embedded form (farcaster frame) (#2468)
* chore: frame embedded superchain

* chore: finish small changes

* chore: small tweak

* chore: embedded form failed

* chore: validate url via new URL and replace frame to be in superchain page

* chore: small change

* chore: clearer validation

---------

Co-authored-by: Juan Leal <[email protected]>
2024-04-11 05:35:31 +00:00
Juan Leal a50d0a1af7 any -> every (#2472)
Signed-off-by: Juan Leal <[email protected]>
2024-04-11 05:35:17 +00:00
Jonas Daniels 5b9ae95871 fix: Update @thirdweb-dev/sdk version in package.json (#2474)
* fix: Update @thirdweb-dev/sdk version in package.json

* refactor(utils): remove unnecessary array flattening
2024-04-10 22:34:18 -07:00
Juan Leal c7c658fbcb Fix mission page (#2471)
* Fix mission page

* prettier

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2024-04-10 22:32:32 +00:00
Manan Tank 9c6e78b83d Connect Playground fixes for v5 (#2470)
* Connect Playground fixes

* remove id
2024-04-10 19:41:38 +00:00
Manan Tank 2e9aee36d6 Update thirdweb packages ( Add Buy UI in Connect ) (#2469)
Update thirdweb packages ( Add Buy UI in Connect btn )
2024-04-10 18:46:02 +00:00
Jonas Daniels 96b508d497 Revert "code exchange - /templates revamp (#2358)" (#2465)
This reverts commit 58f127ed43.
2024-04-10 06:47:10 +00:00
Jonas Daniels 6c9ec8db67 Update CODEOWNERS (#2467)
Signed-off-by: Jonas Daniels <[email protected]>
2024-04-09 20:09:00 +00:00
Manan Tank 95926f66bd Fix AA page crash - Remove usages of getChainByChainId (#2466) 2024-04-09 20:05:29 +00:00
easyrun42andJuan Leal 503d5fa054 chore: replace connect images (#2464)
chore: replace images

Co-authored-by: Juan Leal <[email protected]>
2024-04-09 19:53:21 +00:00
Gerry Saporito 91ee158aba fix: enabled BaseSepolia for checkouts (#2462) 2024-04-09 18:44:12 +00:00
Edward Sun 1ef9503492 Add BaseSepolia to supported chains for payments, remove Goerli (#2461) 2024-04-09 17:35:59 +00:00
Phillip Ho 382d974173 chore: Fallback to Polygon Amoy (#2458) 2024-04-08 21:02:02 +00:00
dependabot[bot] f82bd8ffed build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.4.0 to 7.6.0 (#2457)
build(deps-dev): bump @typescript-eslint/eslint-plugin

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.4.0 to 7.6.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.6.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 18:54:00 +00:00
dependabot[bot] 89a54124f2 build(deps): bump @thirdweb-dev/service-utils from 0.4.25 to 0.4.26 (#2456)
Bumps [@thirdweb-dev/service-utils](https://github.com/thirdweb-dev/js) from 0.4.25 to 0.4.26.
- [Release notes](https://github.com/thirdweb-dev/js/releases)
- [Commits](https://github.com/thirdweb-dev/js/commits)

---
updated-dependencies:
- dependency-name: "@thirdweb-dev/service-utils"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 18:53:32 +00:00
dependabot[bot] 260d2c3069 build(deps-dev): bump @playwright/test from 1.42.1 to 1.43.0 (#2455)
Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.42.1 to 1.43.0.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.42.1...v1.43.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 18:53:22 +00:00
dependabot[bot] fff72db1be build(deps): bump zksync-ethers from 5.6.0 to 5.7.0 (#2453)
Bumps [zksync-ethers](https://github.com/zksync-sdk/zksync-ethers) from 5.6.0 to 5.7.0.
- [Release notes](https://github.com/zksync-sdk/zksync-ethers/releases)
- [Changelog](https://github.com/zksync-sdk/zksync-ethers/blob/v5.7.0/CHANGELOG.md)
- [Commits](https://github.com/zksync-sdk/zksync-ethers/compare/v5.6.0...v5.7.0)

---
updated-dependencies:
- dependency-name: zksync-ethers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 18:53:10 +00:00
Gerry Saporito 551368ae5c chore: revamped billing failed payments system (#2438)
* updated billing modal

* working error messaging

* wip

* updated alerts

* updated date

* updated

* updated

* moved growth claim down flow

* updated'

* updated message

* updated message

* updated message

* updated

* updated button - broken 3ds

* updated button

* updated

* build

* build

* updated

* updated

* updated

* updated

* updated

* updated messages

* updated

* updated

* updated text

* updated error

* updated alert

* updated polling condition

* udpated alert

* updated

* updated changes

* updated managebutton

* updated button

* updated

* set saving
2024-04-08 15:52:45 +00:00
58f127ed43 code exchange - /templates revamp (#2358)
* Add template structure

* Fix lint

* Update

* Add more UI

* Remove /template; add result fitler from url queries

* Fix old link

* Template pages to load readme content; improve type

* Update

* Update

* Fix lint; reduce renderings

* update

* Add SEO to template pages, small fixes

* Add searchbar, improve Tag type

* Update

* Update

* Update

* Update

* Change banner title

* Update

* Re-structure folders

* Fix lint

* Optimize template images

* Add redirects

* Update

* Remove server-side props; refactor useRouter logic

* Update

* Add debounce

* Fix lint

* Update router logic

* Add debounce

* Fix lint

* Revert

* Update debounce

---------

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Kien Ngo <[email protected]>
2024-04-07 18:06:40 +00:00
Joaquim VergesandJonas Daniels 40c8596305 update snippets for connect playground (#2445)
Co-authored-by: Jonas Daniels <[email protected]>
2024-04-07 17:37:39 +00:00
Joe-Thirdweb 734a1c9fe1 Ambassador Program Update (#2447)
* Ambassador Program Update

Moved Ambassador page to community, edited footer link, added images.

* Prettier fixes

Running fixes for Prettier. 

Signed-off-by: Joe-Thirdweb <[email protected]>

* Prettier Fixes v2

Escaped a mistakenly left behind ' . 

Signed-off-by: Joe-Thirdweb <[email protected]>

* Src changes and adding redirect

Removing src\pages\ambassadors.tsx

setup a redirect from /ambassadors -> /community/ambassadors

---------

Signed-off-by: Joe-Thirdweb <[email protected]>
2024-04-07 17:36:30 +00:00
easyrun42 5971749014 chore: degen frame fix (#2452) 2024-04-05 21:48:12 +00:00
Jonas Daniels 6953a1c031 chore: Add CODEOWNERS file (#2451) 2024-04-05 20:17:23 +00:00
easyrun42 2b8555ea84 chore: redirect degen frame to thirdweb contract page (#2449)
* chore: redirect degen frame to thirdweb contract page

* chore: add farcaster.ts
2024-04-05 19:49:39 +00:00
easyrun42 745013b3c6 chore: degen frame tweak (performance) (#2446)
chore: improve performance
2024-04-05 18:04:35 +00:00
easyrun42 efb7048ae0 feat: nft drop (transaction frame on degen chain) (#2444)
* chore: degen drop

* chore: change NFT contract address
2024-04-05 17:22:31 +00:00
easyrun42 73f26343a2 chore: change connect lottie file (#2442)
chore: change lottie file
2024-04-05 16:52:31 +00:00
easyrun42 2dd47b61d8 chore: change tx nft (#2443) 2024-04-05 16:09:21 +00:00
easyrun42andJuan Leal de647d77a1 chore: tweak superchain page (#2440)
chore: tweak page

Co-authored-by: Juan Leal <[email protected]>
2024-04-05 00:39:37 +00:00
dependabot[bot] 435625d87f build(deps): bump undici from 5.28.3 to 5.28.4 in the npm_and_yarn group (#2439)
Bumps the npm_and_yarn group with 1 update: [undici](https://github.com/nodejs/undici).


Updates `undici` from 5.28.3 to 5.28.4
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.28.3...v5.28.4)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-04 20:43:41 +00:00
Joaquim Verges f0f37384a8 fix v5 chains not respecting configured chains (#2441)
* fix v5 chains not respescting configured chains

* remove graphql generated file
2024-04-04 22:42:47 +02:00
dependabot[bot] 18f0be86f8 build(deps): bump follow-redirects from 1.15.5 to 1.15.6 (#2339)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 04:59:07 +00:00
YashandJonas Daniels b343fb675c ZkSync deterministic deployment (#2269)
* sdk dev build 5659

* sdk dev build 5660

* replace zksync-web3 with zksync-ethers

* cleanup

* sdk dev build 6395

* sdk dev build 6399

* sdk dev build 6464

* sdk dev build 6470

* latest nightly

* update packages

* fix: Update dependencies in package.json and remove unused code

* feat: Add es5-ext@^0.10.53 to dependencies

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-04-02 20:47:28 +00:00
dependabot[bot] 718a86a1ba chore(deps): bump @vercel/og from 0.5.20 to 0.6.2 (#2431)
Bumps @vercel/og from 0.5.20 to 0.6.2.

---
updated-dependencies:
- dependency-name: "@vercel/og"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 22:06:58 +00:00
dependabot[bot] a756368eab chore(deps): bump @coinbase/onchainkit from 0.10.2 to 0.11.0 (#2432)
Bumps [@coinbase/onchainkit](https://github.com/coinbase/onchainkit) from 0.10.2 to 0.11.0.
- [Release notes](https://github.com/coinbase/onchainkit/releases)
- [Changelog](https://github.com/coinbase/onchainkit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/coinbase/onchainkit/compare/v0.10.2...v0.11.0)

---
updated-dependencies:
- dependency-name: "@coinbase/onchainkit"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 22:06:37 +00:00
dependabot[bot] 041f126f68 chore(deps): bump next-seo from 5.15.0 to 6.5.0 (#2433)
Bumps [next-seo](https://github.com/garmeeh/next-seo) from 5.15.0 to 6.5.0.
- [Release notes](https://github.com/garmeeh/next-seo/releases)
- [Commits](https://github.com/garmeeh/next-seo/compare/v5.15.0...v6.5.0)

---
updated-dependencies:
- dependency-name: next-seo
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 22:05:41 +00:00
dependabot[bot] 5ddbe34a74 chore(deps): bump framer-motion from 10.18.0 to 11.0.24 (#2435)
Bumps [framer-motion](https://github.com/framer/motion) from 10.18.0 to 11.0.24.
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.18.0...v11.0.24)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 22:04:20 +00:00
Edward Sun eae874b0f5 Update copy for pay fees (#2437)
* Update copy for pay fees

* Update ConnectWalletPrompt desc
2024-04-01 22:03:28 +00:00
samina 5e80238ee2 fixed copyright statement (#2436) 2024-04-01 22:02:17 +00:00
samina 3d9ad62806 changed banner for sdk v5 release (#2430)
* changed banner for sdk v5 release

* lint errors
2024-04-01 09:39:33 +00:00
Jonas Daniels 8b75ca28c3 feat: Add validation for contract address and environment selection (#2429)
* feat: Add validation for contract address and environment selection

* fix: Fix contract address validation
2024-03-31 19:34:10 -07:00
Jonas Daniels b4d4bb4c42 feat: add axios@<0.28 dependency (#2428) 2024-03-31 19:08:04 -07:00
Jonas Daniels a56efb49e7 chore: update useFeatureContractCodeSnippetQuery function (#2427) 2024-03-31 18:53:46 -07:00
Jonas Daniels 88794fa0ca feat(utils): add hostnameEndsWith function (#2426) 2024-03-31 18:35:27 -07:00
Jonas Daniels 7f520eed1b chore: move all src into src/ for better organization (#2425)
* chore: move all src into `src/` for better organization

* refactor: remove unused imports and types
2024-03-31 16:26:48 -07:00
Kien NgoandKien Ngo a7f39bc1c9 Update Mumbai deprecation alert link (#2423)
Co-authored-by: Kien Ngo <[email protected]>
2024-03-30 23:09:55 +00:00
Jonas Daniels 89b2ed604f make codegen of gql explicit instead of implicit (#2421) 2024-03-30 14:02:21 -07:00
Jonas Daniels 0a4b754eb9 feat: Add getBaseURL function for test setup (#2422)
* feat: Add getBaseURL function for test setup

* feat(test): Add waitForPageLoad function to contract-page.spec.ts

* refactor: increase waitAfterLoad time in contract-page.spec.ts
2024-03-30 13:51:06 -07:00
31bdeaa94d Support Ticket placeholder (#2212)
* Creating branch for support placeholder

* Update components/help/contact-support-modal.tsx

Signed-off-by: Nacho Iacovino <[email protected]>

* Update contact-support-modal.tsx

Joe- Updating messaging as per Samina request

Signed-off-by: NFTwolfmaximus <[email protected]>

* Format

* do not check in generated gql file

---------

Signed-off-by: Nacho Iacovino <[email protected]>
Signed-off-by: NFTwolfmaximus <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-03-30 06:45:10 -07:00
Joaquim VergesandJonas Daniels cc47092485 v5 snippets (#2404)
* WIP v5 snippets

* cleanup

* chore: Update dependencies and remove unnecessary imports

* Update core-ui/update-notice/update-notice.tsx

Signed-off-by: Jonas Daniels <[email protected]>

* update

* fix: Handle null chain value in DeprecatedAlert component

* temp add resolveMethod for now

* checkly not happy

* types cleanup

* remove deprecated alert

* lint

* re-add banner

---------

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-03-29 22:57:04 -07:00
Joaquim Verges 273b92c1ca remove mumbai from popular chains (#2420)
* remove mumbai from popular chains

* show deprecated soon banner

* fix build
2024-03-29 22:16:34 +00:00
Gerry SaporitoandJonas Daniels 4694f59581 chore: show free growth trial + payment flows fixes (#2418)
* chore: show growth free trial if account hasn't claimed

* updated startup credit

* fix build

* fix delay on downgrade

* hide modal:

* wait for webhook

* updated

* revert

* udpated nav link

* updated show claim growth trial

* added support button

* updated

* updated

* updated

* updated page

* udpated

* updated

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-03-29 22:15:26 +00:00
Jonas Daniels 81638f1c59 chore: update dependencies (#2419) 2024-03-29 14:28:46 +00:00
Nacho IacovinoandJonas Daniels 7228ba5a75 Conditional alert in sponsorship policies (#2387)
* Conditional alert in sponsorship policies

* kk

* style: Remove unused import

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-03-29 11:58:09 +00:00
Nacho IacovinoandJonas Daniels cb0165505f Add eligible chains for OP Modal (#2389)
* Add eligible chains

* style: fix line spacing in OpCreditsGrantedModal.tsx

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-03-29 11:57:58 +00:00
Jonas Daniels ea596ccf16 refactor: Update options in contact-us form (#2417)
* refactor: Update options in contact-us form

* refactor: Update placeholder text for industry selection
2024-03-29 11:16:59 +00:00
Kien NgoandKien Ngo 9478830179 Filter staffs from OSS page (#2415)
* Filter staffs from OSS page

* Fix lint

---------

Co-authored-by: Kien Ngo <[email protected]>
2024-03-28 00:33:05 +00:00
easyrun42 19e3a89473 chore: remove "About us" in nav (#2414)
chore: remove about us in nav
2024-03-27 22:10:13 +00:00
Juan Lealandeasyrun42 d1d422a748 carousel copy fixes (#2413)
* carousel copy fixes

* fix prettier

Signed-off-by: Juan Leal <[email protected]>

* fix: prettier

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>
2024-03-27 18:11:46 +00:00
easyrun42 60f03b6523 feat: transaction frame (#2405)
* chore: add latest changes to tx frame

* chore: final changes

* chore: base frame edits

* chore: redirect to blog page
2024-03-27 14:29:03 +00:00
Juan Leal 47f2e46ac4 add xai logo p3 (#2412)
Signed-off-by: Juan Leal <[email protected]>
2024-03-27 12:40:46 +00:00
Juan Leal d881130adb add xai logo p2 (#2411)
* add xai logo p2

Signed-off-by: Juan Leal <[email protected]>

* fix

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2024-03-27 11:59:59 +00:00
Juan Leal b7eb6e5ac0 add xai logo (#2410)
Signed-off-by: Juan Leal <[email protected]>
2024-03-27 11:15:36 +00:00
Yash 669318c6ac External links on publish metadata (#2408)
* External links on publish metadata

* fix lint

* update packages

* validation
2024-03-26 23:40:34 +00:00
Juan Leal e6b1dc1010 in-app wallets cta on connect page (#2403)
Update Carousel.tsx

Signed-off-by: Juan Leal <[email protected]>
2024-03-26 16:55:28 +00:00
easyrun42 98f874826e chore: redirect onchain icon to contracts (#2402) 2024-03-25 18:57:24 +00:00
easyrun42 b35f682557 Revert "engine landing page (v2)" (#2396)
Revert "engine landing page (v2) (#2291)"

This reverts commit e62dc2529e.
2024-03-25 17:04:22 +00:00
Manan Tank 7a00090e19 Add pagination in file upload (#2395)
Add paginatino in file upload
2024-03-25 15:06:48 +00:00
easyrun42 34997e5869 chore: homepage cleanup (#2394)
chore: homepage cleanup]
2024-03-23 00:43:50 +00:00
Juan Leal 3040feef0c new connect hero on homepage product groupings (#2393)
Signed-off-by: Juan Leal <[email protected]>
2024-03-23 00:17:35 +00:00
easyrun42andJuan Leal e62dc2529e engine landing page (v2) (#2291)
* engine landing v2

* lint fixes

* linting isues

* Engine landing page changes

Signed-off-by: Juan Leal <[email protected]>

* Engine landing page

Signed-off-by: Juan Leal <[email protected]>

* chore: changes

* Quick header fix

Signed-off-by: Juan Leal <[email protected]>

* chore: changes

* copy + section updates

Signed-off-by: Juan Leal <[email protected]>

* quick engine copy fixes

Signed-off-by: Juan Leal <[email protected]>

* comma

Signed-off-by: Juan Leal <[email protected]>

* ampersand

Signed-off-by: Juan Leal <[email protected]>

* chore: changes

* remove section

Signed-off-by: Juan Leal <[email protected]>

* chore: fix

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2024-03-22 23:09:27 +00:00
easyrun42andJuan Leal 6de36dec5f contracts landing page (#2332)
* contracts landing page v2

* chore: quick fix

* Copy changes

Signed-off-by: Juan Leal <[email protected]>

* case study section fixes

Signed-off-by: Juan Leal <[email protected]>

* Quick hero fix

Signed-off-by: Juan Leal <[email protected]>

* chore: prettier

* chore: requested changes

* Contracts landing page

Signed-off-by: Juan Leal <[email protected]>

* contracts polish

Signed-off-by: Juan Leal <[email protected]>

* chore: prettier

* updated copy on contracts page

Signed-off-by: Juan Leal <[email protected]>

* prettier

Signed-off-by: Juan Leal <[email protected]>

* chore: changes

* gradient fix + copy changes + add CTA at bottom

Signed-off-by: Juan Leal <[email protected]>

* chore: add animation

* gradient

Signed-off-by: Juan Leal <[email protected]>

* chore: links

* chore: small UI change

* chore: remove comments

* chore: quick changes

* chore: carousel

* chore: og-image

* chore: update pnpm lock yaml

* chore: change case study image

* chore: fix

* chore: user select none

* chore: final changes

* case study fixes

Signed-off-by: Juan Leal <[email protected]>

* Explore CTA

Signed-off-by: Juan Leal <[email protected]>

* for creators

Signed-off-by: Juan Leal <[email protected]>

* chore: remove react-responsive-carousel

* revert: add Arrows.tsx

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2024-03-22 23:02:38 +00:00
easyrun42andJuan Leal 7125302ce8 connect landing page (#2241)
* connect landing page

* add interactive parts

* 123

* changes

* add playground

* add playground

* cleanup and compute language string

* cleanup (ci issues)

* add rounded lottie file

* fix duplicate

* copy changes

* Quick copy fixes

Signed-off-by: Juan Leal <[email protected]>

* Payments header fix

Signed-off-by: Juan Leal <[email protected]>

* More copy fixes

Signed-off-by: Juan Leal <[email protected]>

* add to app

* embedded wallets change

* quick updatse

* Connect landing page fixes

@easyrun42 implemented some of the changes on vercel - it'll be a miracle if i didnt break something lol

Signed-off-by: Juan Leal <[email protected]>

* Copy changes

Signed-off-by: Juan Leal <[email protected]>

* chore: changes

* sepolia

* chore: requested changes

* copy polish

Signed-off-by: Juan Leal <[email protected]>

* chore: changes

* chore: components

* chore: timer

* feat: responsive carousel

* revert: code-overview changes

* chore: changes

* chore: carousel changes

* chore: update connect image

* connect changes

Signed-off-by: Juan Leal <[email protected]>

* connect section restructuring + fix

Signed-off-by: Juan Leal <[email protected]>

* chore: fix

* chore: learn more

* update carousel component

Signed-off-by: Juan Leal <[email protected]>

* connect copy changes + AA section addition

Signed-off-by: Juan Leal <[email protected]>

* link fix

Signed-off-by: Juan Leal <[email protected]>

* carousel copy fixes

Signed-off-by: Juan Leal <[email protected]>

* chore: new images

* pay icon fix

Signed-off-by: Juan Leal <[email protected]>

* chore: prettier

* chore: og-image

* chore: connect changes

* connect component copy

Signed-off-by: Juan Leal <[email protected]>

* quick fix

Signed-off-by: Juan Leal <[email protected]>

* prettier

Signed-off-by: Juan Leal <[email protected]>

* clientside -> client

Signed-off-by: Juan Leal <[email protected]>

* chore: quick change

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2024-03-22 22:37:02 +00:00
easyrun42andJuan Leal 95ae738c04 chore: homepage product grouping (#2346)
* chore: homepage product grouping

* chore: quick fix

* remove logos + add back other sections

Signed-off-by: Juan Leal <[email protected]>

* fix

Signed-off-by: Juan Leal <[email protected]>

* quick fixes

Signed-off-by: Juan Leal <[email protected]>

* chore: quick fix

* chore: last changes

* feat: animation

* chore: quick change

* chore: changes

* chore: navbar

* font size

Signed-off-by: Juan Leal <[email protected]>

* updated product groupings copy + CTAs, remove animated CLI

Signed-off-by: Juan Leal <[email protected]>

* chore: tweaks

* chore: final changes

* client-side -> client

Signed-off-by: Juan Leal <[email protected]>

* chore: homepage cleanup

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2024-03-22 22:36:49 +00:00
Winston Yeo 8570451a0c chore: add pay documentation link (#2392) 2024-03-21 22:29:49 +00:00
Juan Leal 025f89126a new embedded wallets icon (#2391)
Signed-off-by: Juan Leal <[email protected]>
2024-03-21 20:40:19 +00:00
Nacho Iacovino 7897b11c39 Playground -> Connect UI (#2388) 2024-03-21 17:36:50 +00:00
Nacho Iacovino ce7da1eb53 Don't throw error on verify contract (#2386)
* Don't throw error

* format
2024-03-21 03:15:11 +00:00
Winston YeoandNacho Iacovino d4a565eb4d chore: copy changes for pay settings (#2382)
* chore: copy changes

* chore: update copy

* Update components/pay/PayConfig.tsx

Co-authored-by: Nacho Iacovino <[email protected]>
Signed-off-by: Winston Yeo <[email protected]>

---------

Signed-off-by: Winston Yeo <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-03-21 01:11:53 +00:00
Nacho Iacovino 59e3a23f28 Add try/catch to verify contract (#2385)
* Add try/catch to verify contract

* format
2024-03-21 01:05:03 +00:00
Nacho Iacovino 5be09822a2 Add eslint-promise (#2384)
* Add eslint-promise

* Don't conditionally render
2024-03-21 00:49:21 +00:00
Nacho Iacovino e08e04a5f2 Add support for more credits (#2383)
* Add support for more credits

* Only return active credits
2024-03-21 00:40:25 +00:00
Nacho Iacovino 48e871fea1 Update Infra -> Engine in support page (#2381) 2024-03-20 22:49:25 +00:00
0d258cfb2d Use Engine Relayer for gasless interactions (#2159)
* update dashboard relayer to engine

* remove log

* Update relayer url

* Show 50 wallets

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-03-20 22:35:57 +00:00
Nacho IacovinoandWinston Yeo e6658d35d0 Fix input not updating on api key change (#2380)
* Use normal input for pay

* Some refactoring

* Capitalize

* fix: merge conflict

---------

Co-authored-by: Winston Yeo <[email protected]>
2024-03-20 21:39:18 +00:00
Winston Yeo e9bf020a93 chore: only show checkout option if user has enabled checkout contracts (#2379) 2024-03-20 20:05:40 +00:00
Nacho Iacovino f816f7381c Delay display op modal (#2378) 2024-03-19 23:24:36 +00:00
a1bfe59ed9 thirdweb Pay config settings (#2296)
* WIP: thirdweb Pay config settings

* Upgrade service-utils, add Go to configuration button

* Minor updates

* feat: add saving of pay config

* chore: remove console.log

* fix: update form on api key change

* fix: force api key refresh on update

* fix: cache busting

* refactor: clean up selected API key selection
fix: cannot navigate between developer keys
feat: update UI to match figma

* chore: add text for enabling pay for existing api keys
chore: update text

* fix: show 0%

* chore: update copy

* feat: add checkout settings
feat: only show checkout settings for users with enabled contracts
chore: remove checkout settings

* refactor: clean up pay dashboard info
fix: add ability to route to settings from config

* chore: update copy

* chore: remove fee settings

* refactor: don't use form.reset

* update copy

* Small changes

* Whoops

---------

Co-authored-by: Winston Yeo <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-03-19 23:17:54 +00:00
Jonas DanielsandNacho Iacovino 18cd02ea6b fix(table): Fix condition to check for tokenId (#2377)
* fix(table): Fix condition to check for tokenId

* Add check here too

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2024-03-19 22:07:20 +00:00
Nacho Iacovino 147dd18f3e Trusted forwarders cleanup (#2376)
* Trusted forwarders cleanup

* format

* format
2024-03-19 20:59:40 +00:00
Nacho Iacovino e6029297be Update dependencies (#2375)
* Update dependencies

* Update params
2024-03-19 20:22:05 +00:00
Nacho Iacovino 5e7bc6a3b0 Fix undefined in URL in NFTCards (#2374)
Fix undefined in URL
2024-03-19 19:06:51 +00:00
Nacho Iacovino 377b040fb9 Fix cannot convert undefined to BigInt (#2373)
* Cannot convert undefined to BigInt

* format
2024-03-19 18:31:02 +00:00
Juan Leal 8a6dc331a7 desc fix (#2372)
Signed-off-by: Juan Leal <[email protected]>
2024-03-19 14:34:33 +00:00
Juan Leal cd1df31f5f updated logos (#2371)
Signed-off-by: Juan Leal <[email protected]>
2024-03-19 14:12:28 +00:00
easyrun42andJuan Leal d9af372bd4 feat: hero section v2 (#2370)
* feat: hero section v2

* chore: og-image

* quick desc fix

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2024-03-19 03:24:37 +00:00
Juan Leal c6eaf50023 Update carousel p2 (#2369)
Signed-off-by: Juan Leal <[email protected]>
2024-03-18 23:27:46 +00:00
Juan Leal 5ebb577acf Update carousel (#2368)
Signed-off-by: Juan Leal <[email protected]>
2024-03-18 22:59:46 +00:00
Juan Leal b9edf09b25 new customer logos (#2367)
Signed-off-by: Juan Leal <[email protected]>
2024-03-18 22:26:37 +00:00
Nacho IacovinoandJonas Daniels ed0b4b2569 Smart Wallets -> Account Abstraction (#2349)
* Smart Wallets -> Account Abstraction

* Extra renaming

* Update dependencies

* only service utils lol

* Update contract-ui/tabs/overview/helpers/getGuidesAndTemplates.ts

Signed-off-by: Jonas Daniels <[email protected]>

---------

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-03-18 20:33:17 +00:00
Nacho Iacovino ff39cf145d Update tweet intent for op sponsorship (#2365)
Update tweet intent for op
2024-03-18 20:24:38 +00:00
Edward Sun 3c6708f3f4 Try fixing display delay after billing info completed (#2356)
* Try fixing card input delay

* Move polling to useQuery hook

* Remove unused lines

* Remove useAccount import

* Refetch only on condition

* Reduce polling to 1000ms

* Update condition
2024-03-18 00:28:59 +00:00
Nacho IacovinoandJonas Daniels a4a93052fb Fix upload button media not working (#2354)
* Fix upload button media not working

* format

* Update mint-form.tsx

Signed-off-by: Jonas Daniels <[email protected]>

---------

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-03-16 03:54:22 +00:00
Jonas Daniels 03496e9eff Jd/update tw deps (#2355)
* chore: update thirdweb-dev dependencies

* perf(test): increase wait time to 10 seconds
2024-03-16 03:36:46 +00:00
Jonas Daniels 57b345ae97 test: add tests for chain-page, contract-page, and publisher-page (#2352)
* test: add tests for chain-page, contract-page, and publisher-page

* refactor: Add wait function for better code readability

* docs: Add E2E testing setup documentation

* perf: Increase wait time on Contract Page test
2024-03-16 01:19:29 +00:00
Nacho Iacovino ca19675040 Claim button for erc20 (#2350) 2024-03-16 01:19:27 +00:00
Nacho Iacovino 1c0fbeef98 OP grant congratulations modal (#2353)
* Credits granted modal

* Alert modal

* Credit button popover

* format

* Better tweet intent
2024-03-16 01:17:07 +00:00
Jonas Daniels 5637957243 feat: Add Checkly configuration and Playwright tests (#2351)
* feat: Add Checkly configuration and Playwright tests

* test: remove unused test files
2024-03-15 23:22:44 +00:00
Nacho Iacovino 668a5f77ab Small improvements on OP flow (#2348)
Fix logic
2024-03-15 20:28:46 +00:00
Nacho Iacovino fe53dfa054 Update dependencies and clean unused (#2328)
* Remove kyb/kyc, update stripe

* Knip cleanup, improve stripe init

* Update dependencies

* Remove unused campaign

* eslint

* unused

* Update dependencies

* Missing a focuslock here

* Add a spinner to wait for the page to reload

* Update stripe again

* format

* Update dependencies again

* update

* Update lock

* Nightly

* Recover file

* format

* update

* Run install
2024-03-15 19:17:28 +00:00
Nacho Iacovino 1219561ae8 Use suspense in chainlist (#2345)
* Use suspense

* Move it
2024-03-15 18:35:15 +00:00
Juan Leal c4e7a01f3a New product grouping icons (#2347)
New product grouping images

Signed-off-by: Juan Leal <[email protected]>
2024-03-15 15:59:18 +00:00
Gerry Saporito e1b025a22f chore: verify domain for apple pay (#2340)
* chore: verify domain for apple pay

* updated public
2024-03-14 21:55:59 +00:00
Nacho IacovinoandJoaquim Verges 4e1b5de099 Refresh page on build mismatch (#2344)
* Refresh page on build mismatch

* Format

* Lets do this instead

* Dont need this

* Whoops

* Remove logs

---------

Co-authored-by: Joaquim Verges <[email protected]>
2024-03-14 21:29:08 +00:00
Yash e2826eeb06 Correct error messaging on verification (#2336) 2024-03-14 21:06:40 +00:00
easyrun42 8956d00a96 chore: homepage responsive fixes (#2343) 2024-03-14 20:15:10 +00:00
Nacho Iacovino a75341b2a7 Capture no contract info exception (#2342)
* Capture no contract info exception

* Format
2024-03-14 19:40:41 +00:00
Nacho Iacovino 3c1faf5ca0 Revert to next 13 (#2338)
Revert to next 133
2024-03-14 18:47:15 +00:00
Joaquim Verges 7ca97dbbfe re-order nft contracts in explore (#2337) 2024-03-14 18:14:33 +00:00
Phillip Ho ba0b234eb6 chore: Link to github for self-hosted Engine version updates (#2335)
* chore: Link to github for self-hosted Engine version updates

* undo
2024-03-14 17:51:46 +00:00
Nacho Iacovino ed577795c9 Update op banner showing logic (#2333) 2024-03-14 16:04:28 +00:00
Nacho Iacovino 0d3ace5617 New form properties (#2331) 2024-03-14 00:03:12 +00:00
Nacho Iacovino 838a6f710c Optimistic update of adding payment method (#2330)
* Optimistic update of adding payment method

* Update this
2024-03-13 23:24:58 +00:00
Nacho Iacovino 812515a038 New form fields on OP sponsorship (#2329)
* New form fields

* Forrmat
2024-03-13 22:10:02 +00:00
e42b6489cb Remove goerli references (#2308)
* Remove goerli references

* Use sepolia instead

* Update chains

---------

Signed-off-by: Nacho Iacovino <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-03-13 21:08:02 +00:00
easyrun42 ca7ab46d21 connect landing page fix (#2327)
bug fix
2024-03-13 19:25:25 +00:00
Jonas Daniels 28e6484b38 refactor: refactor useNFTDrawerTabs.tsx and index.tsx (#2326) 2024-03-13 03:50:58 +00:00
Nacho Iacovino 712f991aca Invalidate contract queries for v5 (#2325) 2024-03-13 01:52:51 +00:00
Nacho Iacovino 21344a7f6e Update dependencies (#2322)
* Update dependencies

* Not updating storage
2024-03-13 01:13:21 +00:00
Nacho Iacovino 82164a7ec1 Handle line breaks on nft description (#2321) 2024-03-13 00:39:26 +00:00
Yash 8d739b6d7d Verification via contract-api (#2306)
* Verification via contract-api

* fix types

* enable auto verify
2024-03-12 23:12:07 +00:00
Phillip Ho 93bbea4877 feat: Version update, cancel endpoint in Engine (#2307)
* feat: Version update, cancel endpoint in Engine

* remove debug

* fix imports

* update badge styles
2024-03-12 20:15:48 +00:00
Nacho Iacovino b723d82e26 Disable kyb/kyc payment sellers (#2320)
* Disable kyb/kyc payment sellers

* Format

* Format

* Size

* Format
2024-03-12 19:15:20 +00:00
Nacho Iacovino d144a25925 Add payment method tracking on op sponsorship (#2319)
Add payment method tracking:
2024-03-12 18:44:18 +00:00
Nacho Iacovino 2e000e7213 Update op banner (#2318) 2024-03-12 17:55:18 +00:00
Nacho Iacovino fabbeda374 Prompt to chain in chainPage (#2314)
* Prompt to chain in chainPage

* Prompt to switch chain

* Remove unused

* Format
2024-03-12 17:53:41 +00:00
Nacho Iacovino 6333f27146 Update form op image (#2317) 2024-03-12 17:52:04 +00:00
easyrun42 c7fa2d7135 frame sueprchain change (#2313) 2024-03-12 17:36:42 +00:00
Nacho Iacovino 69e329b064 Add tracking to op-sponsorship (#2315)
* Add tracking to op-sponsorship

* Format
2024-03-12 17:31:19 +00:00
Nacho IacovinoandJoaquim Verges fdafd0be60 OP grants (#2278)
* Get credits endpoint

* Grant credit endpoint

* Refactor Steps component

* Onboarding update

* lol

* Format

* Remove unusued

* noidea

* my ts is broken

* Add SponsoredNetworkAlert

* fix build

* Claim credits flow

* Update copy

* More stuff

* ok

* x

* Add frax

* Can skip adding payment method

* Skip title

* Light mode

* ts

* Invalidate the right query

* Update api change

* Format

* Formats button

* Ship

* Prioritize op grant until claimed

* Should be good now

* Ok

* .

* Fix

* Fix logic

* Add indicators to chainlist and chain selector

* k

* Also this ...

* Better logic

* fix API types

* Small changes

* Add to chain page

* format

* ok

* ??

* Fix

* chain page

* big number

* Main bug

* format

* format2

* Confetti

* Add payment method modal to flow

* No need

* A lot of stuff

* Form working

* pretty pretty

* :)

* Update banner

* A lotta stuff

* All can apply

* kk

* Update billing page

* Remove unused

* Fix

* Improve these

* Disable if already applied

* Format

* Only show on sponsored chains

* Stuff

* Format

* Fatter

* Changes

* Stuff

* Format

* yep

* format

* Refetch account when payment method is added

* Apply now

* Remove apply now button when already applied

* cool

* Fix

* Multiple options for chains

* Conditional logic

* Format

* Industry

* Link for contact us

* Industry categories

* No lisk

* format

* Not required

* yep

* Remove upgrade upsell for pro

* Sponsored tag on chain page

* New image

* New banner images

* Only show in dashboard on op chains

* Fix build

---------

Co-authored-by: Joaquim Verges <[email protected]>
2024-03-12 16:54:14 +00:00
easyrun42 1c2832b16e chore: minor changes superchain lp (#2310)
chore: minor changes
2024-03-12 16:26:31 +00:00
samina 5d0038e9c1 added unity templates (#2309) 2024-03-12 15:42:52 +00:00
easyrun42 af66f2a52b feat: farcaster frame (superchain) (#2294)
* feat: superchain farcaster frame

* chore: frame images

* chore: cleanup

* chore: updates

* chore: update plan image

* chore: update pnpm lock yaml

* chore: replace frame to be on superchain page
2024-03-12 15:29:11 +00:00
easyrun42andJuan Leal 17b92cbc16 feat: superchain landing page (#2299)
* superchain landing page

* location origin

* chore: finalize landing page

* cleanup

* chore: vercel changes

* chore: vercel changes

* chore: external

* chore: update link.svg

* Quick SEO fix

Signed-off-by: Juan Leal <[email protected]>

* chore: word break

* chore: requested changes

* Quick text fixes

Signed-off-by: Juan Leal <[email protected]>

* chore: update spacing

* chore: small change

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2024-03-12 14:21:06 +00:00
Jonas Daniels b07a3f2e4a refactor: Remove unused parameter (#2300)
* refactor: Remove unused parameter

* refactor: Remove unnecessary comment in useNftDrawerTabs.tsx
2024-03-08 23:39:38 +00:00
Joaquim VergesandJonas Daniels 9e5f6099b0 remove analytics copy (#2298)
* remove analytics copy

* style: remove unused imports

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-03-08 23:00:49 +00:00
Nacho Iacovino 6ab732e4e3 Fix routing issue (#2297)
* Fix routing issue

* Format
2024-03-08 21:35:27 +00:00
Nacho IacovinoandJonas Daniels ee6c3a35ff Remove old registry and use v5 (#2266)
* Remove old registry

* also this one

* Not removing from old registry anymore

* merge registry files

* wip works

* Refactor city

* Fix build

* One more thing

* Prettier?

* ???

* This should work

* My prettier is broken

* Can't live like this

* Resolve comments

* Abstract

* Sure

* Should use this

* Remove unused

* change approach

* Delete graphql/generated.ts

Signed-off-by: Nacho Iacovino <[email protected]>

* also remove deprecated mainnets

* Wip - failed build

* Define dashboard chain

* format

* Latest

* latest

* Remove log

* Not sure why we need this

* Back to this

---------

Signed-off-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-03-08 20:06:12 +00:00
Nacho Iacovino f8acb9e254 Fix focus lock on add payment method modal (#2295) 2024-03-07 22:57:50 +00:00
Joaquim Verges 0ab0593e0d support updating metadata for DropERC721 contracts (#2293) 2024-03-06 19:26:02 +00:00
Joaquim Verges 0f60051dcb Update NFT metadata labels (#2292) 2024-03-05 22:53:33 +00:00
Nacho Iacovino 1b1efa1421 Fix Split deployment (#2290)
* Fix Split deployment

* Format

* nope

* now

* Okay
2024-03-05 17:11:26 +00:00
Joaquim VergesandNacho Iacovino 79ab480696 Show Update NFT Metadata button for 1155 NFTs (#2280)
* Show Update NFT Metadata button for 1155 NFTs

* A lotta changes

* Take into account erc

* Working

* Better

* Remove log

* Format

* Remove devdependencies

* Only import types when necessary

* Wallets on nightly

* whoops

* Fix build?

* Expect error for now

* Don't update tw package for now

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2024-03-05 16:47:21 +00:00
Nacho Iacovino febed1ac6c Update dependabot warnings (#2288)
* Update dependabot warnings

* Also this

* Chains

* Service utils

* Don't update tw packages here

* Install

* Do latest next

* Update more stuff

* one more thing
2024-03-05 15:22:50 +00:00
samina 7765fa270c Update os filters (#2287)
* updated filters

* fixed links

* added comma
2024-03-04 22:38:24 +00:00
Juan Leal 2d1c8a8c2e Quick copy fix (#2286)
Signed-off-by: Juan Leal <[email protected]>
2024-03-04 21:01:20 +00:00
Nacho Iacovino 48f890f673 Stop ignoring warning :) (#2279)
* Cleanup eslint disable

* Revert this one

* Fix stuff
2024-03-02 00:27:51 +00:00
easyrun42 bae8cbce4a earn x thirdweb hackathon landing page (#2277)
* hackathon page

* fix lint

* small nit pick

* small changes

* footer

* small changes

* fix line height and remove bullet points

* change submission url

* faq changes

* quick change
2024-03-01 22:41:01 +00:00
Juan Leal e2200d8c13 Update hero desc (#2276)
* Update desc

Signed-off-by: Juan Leal <[email protected]>

* Update hero desc

Signed-off-by: Juan Leal <[email protected]>

* Update hero desc 

Signed-off-by: Juan Leal <[email protected]>

* Fix prettier

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2024-03-01 16:26:23 +00:00
Juan Leal 7f12b58284 Update hero section tagline + desc (#2275)
* Update hero section tagline + desc

Signed-off-by: Juan Leal <[email protected]>

* Update hero tagline + desc

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2024-02-29 21:21:23 +00:00
Jonas Daniels 3540c44657 feat: Add ability to download wallets as .csv (#2274) 2024-02-29 19:27:55 +00:00
Jonas Daniels 6f28f4ecf9 fix visual glitch if contract only implements read functions (#2273) 2024-02-28 23:11:35 +00:00
Nacho Iacovino eaddf63370 Fix erc1155 supply (#2271)
* Fix erc1155 supply

* Update sdk

* merge

* Okay

* New types

* Nice

* ok
2024-02-28 21:39:46 +00:00
Jonas DanielsandJoaquim Verges 0c0cfdad84 Jd/cleanup (#2258)
* remove unused gql queries

* remove generated file

* init knip

* run knip and remove unused

* lock

---------

Co-authored-by: Joaquim Verges <[email protected]>
2024-02-28 17:58:56 +00:00
easyrun42andJuan Leal 68aed6357f homepage hero section (small change) (#2227)
* small fix

* few changes

* change press kit

* tracked link

* Link fix in hero section

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2024-02-28 16:22:07 +00:00
Nacho IacovinoandJonas Daniels 8097fe6b0e NFT table and NFT detail on v5 (#2240)
* Expand

* wip

* wipwip

* Optimize registry in preparation

* Should be 1155

* evm renaming

* wrappitywrap

* Add comment

* Remove log

* not wrappitywrap

* Update sdk

* Fix erc1155 single nft page

* Revert removing old registry

* Also this one

* Fix

* Update sdk

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-02-28 01:04:11 +00:00
samina bdcb239172 deprecated v4 templates (#2270) 2024-02-27 21:49:36 +00:00
Manan Tank d1ccd6c5d9 Test: Safe SDK revert change (#2268) 2024-02-27 17:02:46 +00:00
Nacho Iacovino 0900b4f62d Decouple product names (#2267)
Decouple products
2024-02-26 23:32:36 +00:00
Juan Leal 873d9be5ff Update Connect product name on website (#2265)
Signed-off-by: Juan Leal <[email protected]>
2024-02-26 22:20:22 +00:00
easyrun42 188e8fcb45 startup program (#2243)
* startup program

* changes

* partners section

* partners

* hyperlink

* seo

* change tracking
2024-02-26 21:26:12 +00:00
Jonas Daniels 926c3ad522 fix: Fix default value for chainId in PrimaryDashboardButton 2024-02-23 22:23:15 -08:00
Jonas Daniels 33d4f13b43 perf: Improve performance of getEVMThirdwebSDK() function 2024-02-23 21:13:33 -08:00
Jonas Daniels 0a5b12923c filter out trash errors 2024-02-23 18:36:26 -08:00
Jonas Daniels ef2917832a fix(core-ui/sidebar): fix contract metadata query bug 2024-02-23 18:12:08 -08:00
Jonas Daniels 2d24833783 fix(useRegistry): add invariant for chainId not provided 2024-02-23 17:25:06 -08:00
Jonas Daniels b3b61f5f9a switch to pnpm (#2257)
* switch to pnpm

* chore(ci): fix pnpm install command

* cleanup

* chore: Remove unused dependencies and imports
2024-02-24 00:25:27 +00:00
Phillip HoandJonas Daniels 195a83279a fix: missing chain in transaction table (#2250)
* fix: missing chain in transaction table

* Update components/engine/overview/backend-wallets-table.tsx

Signed-off-by: Jonas Daniels <[email protected]>

* Update components/engine/overview/backend-wallets-table.tsx

Signed-off-by: Jonas Daniels <[email protected]>

* style: Fix indentation in transactions-table.tsx

---------

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-02-23 23:08:05 +00:00
Jonas Daniels 89f26b00f9 chore: re-instrument sentry (#2256)
* chore: re-instrument sentry

* refactor(next.config.js): update tunnelRoute to "/err"

* perf(config): improve traces sample rate to 0.1

* chore: Remove vercel.json file
2024-02-23 22:55:49 +00:00
Nacho Iacovino 2c34bd16c0 Revert "Update AnnouncementBanner" (#2255)
Revert "Update AnnouncementBanner (#2253)"

This reverts commit b1fb9faf85.
2024-02-23 21:51:45 +00:00
Nacho Iacovino 8475b93444 Check if user already claimed free trial (#2254) 2024-02-23 21:32:27 +00:00
Manan Tank b1fb9faf85 Update AnnouncementBanner (#2253) 2024-02-23 21:19:03 +00:00
Jonas Daniels b976e6ef29 refactor(embed-setup): simplify chain configuration (#2252) 2024-02-23 20:30:13 +00:00
Nacho Iacovino 6e92c66a0f Reenable free trial (#2251) 2024-02-23 20:28:26 +00:00
Jonas Daniels bc92b03fe7 perf: optimize sdk key generation (#2249) 2024-02-23 20:08:40 +00:00
Jonas Daniels f29168ebc6 feat(transactions-table): Add support for undefined chain and explorer (#2248) 2024-02-23 18:31:14 +00:00
Jonas Daniels ba104e9245 chore: Update package dependencies (#2247) 2024-02-23 18:30:00 +00:00
Jonas Daniels 121226ed91 feat: Add invariant check for input chain (#2246) 2024-02-23 18:24:58 +00:00
Jonas Daniels 443b0bb851 FIX: CNCT#142 (#2245) 2024-02-23 17:47:08 +00:00
Nacho Iacovino a981958542 Add other as reason for downgrade (#2244)
* Add other as reason for downgrade

* Delay display
2024-02-23 16:32:03 +00:00
Manan Tank d21a2a15de add connect playground redirect (#2242) 2024-02-22 18:09:37 +00:00
easyrun42 8fe38c967a quick fix for landing page connect section (#2239) 2024-02-21 23:48:53 +00:00
Eiman c35f2b6cc1 fixed permissions links on engine dashboard (#2238) 2024-02-21 22:50:27 +00:00
Eiman b291cf53e6 fixed relayer link (#2237) 2024-02-21 22:17:20 +00:00
easyrun42 5e6e71b38b change link for guest mode (connect page) (#2236)
change link for guest mode
2024-02-21 22:00:22 +00:00
Nacho Iacovino e45106989b Fix ens starting with 0x (#2235) 2024-02-21 18:33:30 +00:00
Jonas Daniels ebc8fbed5c chore(package.json): update thirdweb-dev dependencies (#2234)
Signed-off-by: Jonas Daniels <[email protected]>
2024-02-21 13:24:01 +00:00
Jonas Daniels 372480d1bb chore(dependencies): update (#2233)
style(ClaimPriceInput, CreateUpdateCheckoutButton, package.json): remove placeholder
2024-02-21 12:46:51 +00:00
Nacho IacovinoandJonas Daniels 0566e0c725 thirdweb v5 (#2231)
* First read

* More reads

* Target es2020

* No need anymore

* feat: Update thirdweb client initialization

---------

Co-authored-by: Jonas Daniels <[email protected]>
2024-02-21 12:00:02 +00:00
Jake Loo 2d3aad90a9 Remove dynamic account factory (#2232)
Signed-off-by: Jake Loo <[email protected]>
2024-02-21 11:39:44 +00:00
Nacho Iacovino 061b8c0469 Dashboard product simplification (#2228)
* Wallets -> Connect

* Changes and renamings

* Remove eslint ignores

* Fix application error

* Move back to top-level

* New onboarding

* Missing space

* Update dashboard landing

* Update
2024-02-20 22:08:40 +00:00
Nacho Iacovino 4bbb7d42c4 Enable startup program (#2230) 2024-02-20 21:24:30 +00:00
dependabot[bot]andNacho Iacovino 5fe6723261 build(deps): bump undici from 5.26.3 to 5.28.3 (#2218)
Bumps [undici](https://github.com/nodejs/undici) from 5.26.3 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.26.3...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-02-20 17:35:04 +00:00
Yash f6df582cda Update packages (#2226)
* sdk dev build 5587

* sdk nightly
2024-02-19 21:40:15 +00:00
Gerry Saporito 6d2136ecfb chore: update link (#2221) 2024-02-18 01:42:05 +00:00
Nacho Iacovino 9541fc5291 Disable free trial (#2219)
* Commment announcementBanner

* Disable free trial

* ocd
2024-02-17 19:47:36 +00:00
Nacho Iacovino 617335bb31 Add new sponsorship policies (#2213)
* Frontend shenanigans

* Move bypass at the end

* Refactor form

* Add to parsed values

* Fix validation

* This was wrong

* Copy updates
2024-02-16 23:31:10 +00:00
Nacho Iacovino e46ed2e805 Improve DeprecationAlert logic (#2215)
* Fix deprecation alert

* Never showing it when it shouldn't be there
2024-02-16 19:28:30 +00:00
easyrun42 2f080c387d hackathon submission changes (#2216)
* hackathon submission changes

* add relative path

* update links

* remove faq part
2024-02-16 19:03:00 +00:00
Manan Tank 5b61771ed7 Update wallets (#2217) 2024-02-16 16:38:34 +00:00
Nacho Iacovino d62dfd4e54 Fix deprecation alert (#2214) 2024-02-16 02:51:57 +00:00
Nacho Iacovino 8ff34c8f8c Add deprecation notices to chains (#2211)
* Add deprecation alert warning to ChainPage

* Add deprecation alert to contracts pages

* Add deprecation notice to chainlist and rpc-edge list

* chain id -> chain ID

* Add deprecation notice to chain selection

* Save status

* Remove log

* Fix feedback

* Disable txn button, add alert to deployment form
2024-02-16 01:04:11 +00:00
Manan Tank d17ad2387b Update thirdweb packages (#2205)
* Update pkg

* update to nightly
2024-02-15 23:17:49 +00:00
easyrun42 99000b34a3 new hero section (#2210)
* new hero section

* remove unused code
2024-02-15 19:07:13 +00:00
easyrun42 26f18baa07 update hackathon page (#2209) 2024-02-14 07:34:24 +00:00
Phillip Ho de35d1c0e0 feat: allow transferring to other wallets in Engine dash (#2208)
* feat: allow transfering to other wallets in Engine dash

* fix size
2024-02-14 05:20:10 +00:00
samina c49ab63d37 added iap template (#2207) 2024-02-14 01:34:52 +00:00
dependabot[bot]andNacho Iacovino d2e14b35ca build(deps): bump date-fns from 2.30.0 to 3.3.1 (#2198)
* build(deps): bump date-fns from 2.30.0 to 3.3.1

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.30.0 to 3.3.1.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.30.0...v3.3.1)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* This is enough?

* Better treeshaking

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-02-13 16:59:12 +00:00
dependabot[bot]andNacho Iacovino c16a20b217 build(deps): bump fuse.js from 6.6.2 to 7.0.0 (#2200)
Bumps [fuse.js](https://github.com/krisk/Fuse) from 6.6.2 to 7.0.0.
- [Release notes](https://github.com/krisk/Fuse/releases)
- [Changelog](https://github.com/krisk/Fuse/blob/main/CHANGELOG.md)
- [Commits](https://github.com/krisk/Fuse/compare/v6.6.2...v7.0.0)

---
updated-dependencies:
- dependency-name: fuse.js
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-02-13 16:29:49 +00:00
dependabot[bot]andNacho Iacovino e5fe67b8ea build(deps-dev): bump @graphql-codegen/typescript-react-apollo from 4.1.0 to 4.3.0 (#2197)
build(deps-dev): bump @graphql-codegen/typescript-react-apollo

Bumps [@graphql-codegen/typescript-react-apollo](https://github.com/dotansimha/graphql-code-generator-community/tree/HEAD/packages/plugins/typescript/react-apollo) from 4.1.0 to 4.3.0.
- [Release notes](https://github.com/dotansimha/graphql-code-generator-community/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator-community/blob/main/packages/plugins/typescript/react-apollo/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator-community/commits/@graphql-codegen/[email protected]/packages/plugins/typescript/react-apollo)

---
updated-dependencies:
- dependency-name: "@graphql-codegen/typescript-react-apollo"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-02-13 16:27:10 +00:00
Nacho Iacovino 8adfa86090 Allow non-checksummed addresses (#2206)
* Allow non-checksummed addresses

* Fix ENS addresses

* Missed this one

* Also this one
2024-02-13 16:21:50 +00:00
Manan Tank 1051f63f00 Remove growth gating from Connect Playground, Fix no-unused-vars lint issues (#2203)
Fix no-unused-var lint issues
2024-02-12 20:53:07 +00:00
dependabot[bot]andNacho Iacovino 0d00371f2b build(deps): bump posthog-js from 1.96.1 to 1.105.7 (#2199)
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.96.1 to 1.105.7.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.96.1...1.105.7)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-02-12 20:41:28 +00:00
Manan Tank 88b6549f99 Server execution time improvements (#2196)
* CSR for certain pages

* add chainSlug pages

* keep CSR in only chainSlug pages

* Show a better skeleton in SSR for contract pages

* stop prefetching in next.js link
2024-02-12 20:21:58 +00:00
Nacho Iacovino 157f3cdeb9 Improve publish reliability (#2202)
* Take name out of the object

* All of this makes sense to me
2024-02-12 19:45:56 +00:00
Joaquim Verges 538c2b83aa adjust wording on pricing page (#2201) 2024-02-12 19:16:49 +00:00
Manan TankandNacho Iacovino 2d31d67630 Add showThirdwebBranding prop configuration in CW playground (#2191)
* Add showThirdwebBranding configuration in CW playground

* Fix WelcomeScreen preview

* hide powered by thirdweb

* Revert Tab color change, update deps

* Fix build

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2024-02-12 18:24:31 +00:00
Juan Leal 6454a6fea8 Hackathon page redirect (#2195)
Signed-off-by: Juan Leal <[email protected]>
2024-02-10 11:31:55 +00:00
Nacho Iacovino c93b010669 Add mintcaster image (#2194) 2024-02-09 19:48:35 +00:00
Nacho Iacovino 5ac85ec69a Add mintcaster template (#2193) 2024-02-09 18:48:23 +00:00
dependabot[bot]andNacho Iacovino 7a652431b0 build(deps): bump @stripe/react-stripe-js from 2.3.2 to 2.4.0 (#2154)
Bumps [@stripe/react-stripe-js](https://github.com/stripe/react-stripe-js) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/stripe/react-stripe-js/releases)
- [Changelog](https://github.com/stripe/react-stripe-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stripe/react-stripe-js/compare/v2.3.2...v2.4.0)

---
updated-dependencies:
- dependency-name: "@stripe/react-stripe-js"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-02-09 18:42:31 +00:00
dependabot[bot]andNacho Iacovino 205c0672e5 build(deps-dev): bump @babel/core from 7.23.7 to 7.23.9 (#2153)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.23.7 to 7.23.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.9/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-02-09 18:42:20 +00:00
dependabot[bot]andNacho Iacovino 09e73687a2 build(deps): bump @chakra-ui/react from 2.8.1 to 2.8.2 (#2155)
Bumps [@chakra-ui/react](https://github.com/chakra-ui/chakra-ui/tree/HEAD/packages/components/react) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases)
- [Changelog](https://github.com/chakra-ui/chakra-ui/blob/@chakra-ui/[email protected]/packages/components/react/CHANGELOG.md)
- [Commits](https://github.com/chakra-ui/chakra-ui/commits/@chakra-ui/[email protected]/packages/components/react)

---
updated-dependencies:
- dependency-name: "@chakra-ui/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-02-09 18:33:38 +00:00
dependabot[bot]andNacho Iacovino 587d3a831f build(deps): bump react-otp-input from 3.1.0 to 3.1.1 (#2156)
Bumps [react-otp-input](https://github.com/devfolioco/react-otp-input) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/devfolioco/react-otp-input/releases)
- [Commits](https://github.com/devfolioco/react-otp-input/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: react-otp-input
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-02-09 18:32:48 +00:00
Nacho Iacovino ca3a0cc844 Increase tooltip delay for gated switch (#2190) 2024-02-09 15:53:41 +00:00
Joaquim Verges dcfb4afeed paginate accounts table (#2189) 2024-02-08 23:04:55 +00:00
Nacho Iacovino 99f5874305 Fix useIsLoggedIn (#2188) 2024-02-08 22:46:53 +00:00
Nacho Iacovino 739274a7f0 Fix copy on /pricing (#2187)
Fix copy
2024-02-08 18:44:28 +00:00
Phillip Ho 223f55d1b9 chore: update cloud-hosted engine CTA (#2186)
* chore: update cloud-hosted engine CTA

* remove unused
2024-02-08 00:42:53 +00:00
Joaquim Verges 6978031cc4 update pricing page (#2185) 2024-02-08 00:13:24 +00:00
Nacho Iacovino a27d730995 Support header update (#2183) 2024-02-07 19:44:31 +00:00
Joaquim Verges b8d2f70474 add paymaster rules to growth checklist (#2184) 2024-02-07 19:44:24 +00:00
Phillip Ho b974dc21d4 fix: add trailing slash to Engine URL if needed (#2182) 2024-02-07 19:33:27 +00:00
Nacho Iacovino a89dbf08aa Add confirmation modal for growth plan upgrade (#2177)
* Confirmation modal for growth plan

* Remove unused

* More unused

* Update packages

* Also this one

* Upgrade everything to nightly

* Fix build
2024-02-07 16:38:20 +00:00
Juan Leal 6c1127cc85 Update partner carousel logos (#2181)
Signed-off-by: Juan Leal <[email protected]>
2024-02-07 15:34:21 +00:00
Juan Leal c082534d57 Update partner-logo.tsx (#2180)
Signed-off-by: Juan Leal <[email protected]>
2024-02-07 12:25:19 +00:00
Juan Leal 88cdf9da48 Updated logos (#2179)
Signed-off-by: Juan Leal <[email protected]>
2024-02-07 11:55:04 +00:00
Juan Leal 6067c822cf Partner carousel logos (#2178)
Signed-off-by: Juan Leal <[email protected]>
2024-02-07 04:09:26 +00:00
Joaquim Verges 9621656a4f Gate switch for server verifier (#2176) 2024-02-07 00:40:53 +00:00
Joaquim Verges 6b86d8ea93 Smart Wallet Sponsorship Policies (#2134)
* Smart Wallet Sponsorship Policies

* WIP policies form

* feedback

* mapped types

* working state

* update to latest api server api

* lint

* lint

* fix form

* link to configuration from api key settings

* move EW config

* lint

* link to configuration

* ui fixes

* rename to sponsorship rules

* add doc links

* remove native currency option for now

* doc link
2024-02-06 23:58:28 +00:00
Nacho Iacovino 8eb0a157c8 Fix app error on engine instances (#2175) 2024-02-06 22:22:50 +00:00
Nacho Iacovino 5e42a8163f Update engine section on pricing page (#2174)
* Update engine section on pricing page

* Fix types
2024-02-06 21:50:39 +00:00
easyrun42 56c79c15ef remove some employees (#2172) 2024-02-05 21:14:11 +00:00
easyrun42 77377f418d farcaster improvement (#2171)
farcaster improvement url
2024-02-05 15:03:09 +00:00
easyrun42 b8dc910f74 mission landing page (#2142)
* mission landing page (start)

* max width fix

* transform y

* quick fix

* use margin top

* use box instead of img

* fix: left 0 and margin top

* parallax edit

* remove parallax

* tweak margin top

* remove parallax

* requested changes

* responsiveness

* requested changes fixes

* update image

* requested changes

* requested vercel changes

* final changes

* cleanup

* cleanup

* title changes
2024-02-02 20:30:55 +00:00
Manan Tank bb6db05a26 Remove feedback sharing from CW playground (#2170) 2024-02-02 15:30:49 +00:00
easyrun42 2d107bc149 add frames to published contracts (#2165)
* published contracts frame redirect

* use vercel preview url for now

* slug

* add nextjs-cors

* warpcast class and redirect

* sentry debugging

* debuggin changes

* debug 2

* set location on the header

* redirect

* add simple hello route for testing

* use runtime edge

* prettier fix

* cleanup changes

* cleanup changes

* rename to schema for untrusted metadata
2024-02-02 13:44:14 +00:00
Jonas Daniels cb3575faa1 chore: Update API endpoint for fetching chains (#2169)
* chore: Update API endpoint for fetching chains

* prettier fixes?

* stop fighting me prettier please :)
2024-02-01 21:00:24 +00:00
Jonas Daniels 4de8ca25f6 style: remove credentials for chains endpoint (#2168) 2024-02-01 19:17:05 +00:00
Nacho Iacovino 8e9e88af9a Fix client id typo (#2167) 2024-02-01 18:53:30 +00:00
Tair Asim 1133f7c762 chore: growth trial flow (#2163)
fixes MON-122
2024-02-01 18:24:18 +00:00
samina a09b4cb152 fixed images and cat attack link (#2166) 2024-02-01 18:09:45 +00:00
Nacho Iacovino cff0175f2c New support page (#2150)
* wip

* Add api endpoint

* Add context button

* Api endpoint working

* Improve form and api request

* More changes

* Update links

* Add discord section

* Address copy feedback

* Add searchbar

* Move logic to api-server

* Update infra card

* Address testjam feedback

* Update error messages

* ?

* Update colors
2024-02-01 16:00:40 +00:00
iketw 677ff12c59 Adds App Store button to Playground (#2164) 2024-02-01 01:33:16 +00:00
Tair Asim bcaed462f3 fix: payment method button when verifying (#2162)
allow to go to the billing portal when status is paymentVerification

fixes MON-121
2024-01-31 14:07:48 +00:00
Phillip Ho a170eac60f chore: add query param to prompt cloud hosted modal (#2161)
* chore: add query param to prompt cloud hosted modal

* simpler props

* build?

* undo
2024-01-31 02:46:07 +00:00
Phillip Ho 1eb58b2654 chore: remove extra step when requesting engine after adding payment (#2160) 2024-01-30 23:29:56 +00:00
Tair Asim abf28389ad fix: growth can claim 2024-01-30 18:09:07 +01:00
Tair Asim 17a67911dc fix: growth plan upgrades (#2157)
* fix: growth plan upgrades

* fix: billing alert labels
2024-01-30 12:57:02 +00:00
Tair Asim 4b35454006 fix: remove old pricing items (#2158)
* fix: remove old pricing items

* update faq
2024-01-30 00:22:18 +00:00
Juan Leal 6c756efd24 Quick SEO metadata change (#2152)
Signed-off-by: Juan Leal <[email protected]>
2024-01-29 16:23:33 +00:00
easyrun42 7e43dc4b06 Compress pricing page og:image (#2151)
compress pricing page og:image
2024-01-29 16:18:53 +00:00
Tair Asim 5d99af1cdb feat: growth trial (#2143)
fixes MON-111
2024-01-29 10:42:42 +00:00
Phillip Ho f859e6e4b1 chore: Improve cloud hosted engine request flow (#2145)
* wip

* add UI for requested cloud instance

* remove gql changes

* add payment modal

* track payment method

* fix build

* add delay for adding payment method

* use one accountQuery

* polish
2024-01-28 02:05:59 +00:00
easyrun42 35a1425c4b update og:image of the pricing page (#2149)
update og:image
2024-01-26 17:51:09 +00:00
Manan Tank 68a94e1068 Update Avax Tether USD token address (#2148) 2024-01-25 16:50:45 +00:00
Juan Leal 3acc6f9264 Update announcement banner to engine (#2147)
Signed-off-by: Juan Leal <[email protected]>
2024-01-25 16:49:52 +00:00
Nacho Iacovino 33e7953e6c Add to dashboard -> Import (#2146) 2024-01-25 02:11:05 +00:00
dependabot[bot]andNacho Iacovino 636c95a044 build(deps): bump follow-redirects from 1.15.3 to 1.15.5 (#2123)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.5.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.5)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-01-25 01:41:57 +00:00
dependabot[bot]andNacho Iacovino 48b995b3fb build(deps): bump react-hook-form from 7.48.2 to 7.49.3 (#2106)
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.48.2 to 7.49.3.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.48.2...v7.49.3)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2024-01-25 01:37:25 +00:00
Nacho Iacovino e2b1f0f52e Fix vulnerabilities (#2130)
* Resolve vulnerabilities

* More

* More

* Bring back graphqurl

* Fix eslint warnings

* Fix prettier
2024-01-25 01:25:08 +00:00
Nacho Iacovino bb969d39a0 Bring back import contract button (#2144)
* Bring back import contract button

* Remember to return
2024-01-25 00:18:31 +00:00
Tair Asimandikethirdweb 821ec55a82 feat: growth plan (#1936)
fixes PROD-172, PROD-389, MON-58, MON-90, MON-88, MON-109, MON-98

* fix link and unauthed

---------

Co-authored-by: ikethirdweb <[email protected]>
2024-01-24 14:10:38 +00:00
Manan Tank 42ae30fce5 Show Request testnet funds link in CW (#2141)
Show testnet faucet links in CW
2024-01-23 21:45:18 +00:00
Manan Tank 7a3b85dcd5 Update thirdweb Packages (#2140) 2024-01-23 21:03:43 +00:00
easyrun42 d40cf4a652 new hackathon og:image (#2138)
new hackathon image
2024-01-23 17:35:39 +00:00
Nacho Iacovino 621b99221b Fix NFT detail page routing (#2139)
Fix nft detail page routing
2024-01-23 17:27:34 +00:00
Tair Asim 0cc0aec853 chore: polish logout link (#2137)
fixes MON-110
2024-01-23 17:03:14 +00:00
Juan Leal aa2f84e6de Fix date hackathon page (#2136)
Signed-off-by: Juan Leal <[email protected]>
2024-01-22 18:19:53 +00:00
easyrun42andJuan Leal ef8818630a new judges (#2135)
* new judges

* changes

* Quick copy fix

Signed-off-by: Juan Leal <[email protected]>

* update dates

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2024-01-22 17:23:12 +00:00
Gerry Saporito 4bd61e176f chore: added USDC to avalanche fuji (#2132)
* Added USDC to avalanche fuji

* added to symbol to chain name

* lint
2024-01-22 00:46:08 +00:00
Kien Ngo 7b7d46d155 Fix set-claim-condition redirect url (inside Payment modal) (#2133)
* Fix set-claim-condition redirect url

* Update
2024-01-20 04:00:40 +00:00
easyrun42 e50ee3ba39 chainlist banner (#2131) 2024-01-19 16:07:41 +00:00
Yash 9db9ba95ee Remove import contract (#2128)
* Remove import contract

* fix

* cleanup

* fix
2024-01-18 19:13:52 +00:00
Juan Leal d7d1118c7b Hackathon page fixes (#2126)
Signed-off-by: Juan Leal <[email protected]>
2024-01-17 23:14:29 +00:00
easyrun42andJuan Leal aac509f423 hackathon refactor (#2119)
* hackathon refactor

* update Parker's twitter

* Quick date fix

Signed-off-by: Juan Leal <[email protected]>

* update logos

* new hackathon image

* update og:image and top page image

* fixes made

* quick typo fixes

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2024-01-17 22:46:02 +00:00
Juan Leal eedb256e95 Fix Unreal Engine links in Gaming landing page (#2125)
Signed-off-by: Juan Leal <[email protected]>
2024-01-17 21:53:05 +00:00
easyrun42 34278bece9 Update infastructure to engine image (#2122)
* update infastructure to engine

* thirdweb.png replace
2024-01-17 20:22:05 +00:00
Gerry Saporito 937191dfb4 chore: update payments to include rarichain testnet, frame testnet, xai, and xai testnet (#2103)
* chore: update payments to include rarichain testnet and frame testnet

* merge

* bumped chains version

* updated chain

* added xai

* updated chains

* build

* updated yarn.lock

* bump chains

* removed comments

* added supported currencies
2024-01-17 18:59:02 +00:00
Juan Leal ce75f3ccbd Self-hosted engine broken docs link on dashboard (#2121)
Self-hosted engine broken link on dashboard

Signed-off-by: Juan Leal <[email protected]>
2024-01-16 22:11:15 +00:00
Kien Ngo 825b49d87a Fallback value for total pinned files (#2118)
Update
2024-01-16 02:22:14 +00:00
Tair Asim b681cb7b78 polish: account linking event (#2115) 2024-01-12 18:45:45 +00:00
Juan Leal 9e92e47943 Quick fixes about page (#2114)
Signed-off-by: Juan Leal <[email protected]>
2024-01-12 00:00:23 +00:00
Kien Ngo a0b562f0f8 Fix typeError for the Unpin dashboard (#2109) 2024-01-11 13:43:45 +00:00
Tair Asim f400e59398 chore: update service-utils (#2113) 2024-01-11 12:32:08 +00:00
Isaac Dubuque 109743c767 remove lowercasing contracts for payments register (#2112) 2024-01-11 02:02:16 +00:00
Joaquim Verges daab4cf912 update to latest nightly SDKs (#2111)
* update to latest nightly SDKs

* fix embedded wallet dev flags
2024-01-10 23:25:11 +00:00
Manan Tank 1692e4b04e Update Docs links (#2110) 2024-01-10 22:25:00 +00:00
Tair Asim 4fd20680d7 fix: remove uncessary toast when linking wallet (#2107) 2024-01-10 15:58:25 +00:00
Tair Asim 44a424072b feat: account linking (#2092)
completes PROD-479
2024-01-10 11:08:08 +00:00
Nacho Iacovino 5f458e3bfe Next step tracking on create/update checkouts (#2104)
Next step tracking
2024-01-09 21:52:29 +00:00
Nacho Iacovino 3ff5df716c Init posthog cloud (#2098)
* Init posthog cloud

* posthog cloud public key

* Use dev key in dev

* Allow pg in script-src
2024-01-09 21:44:18 +00:00
iketw c37b4b0634 Open Play Store in another tab (#2101)
* Adds Google Play Button

* height

* connect

* height

* Add PLay Store in another tab
2024-01-09 20:15:38 +00:00
Nacho Iacovino 15c2411a18 Update naming record (#2102) 2024-01-09 20:07:09 +00:00
iketw 01e1b81788 Adds Google Play Button (#2097)
* Adds Google Play Button

* height

* connect

* height
2024-01-09 17:25:54 +00:00
72ed5ab204 Fix invalid link for smart wallet on /account-abstraction page (#2093)
Co-authored-by: coreyshirk <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2024-01-08 19:59:48 -08:00
saminaandNacho Iacovino 8d1c8a1538 added gaming templates (#2039)
* added gaming templates

* Prettier

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2024-01-08 16:41:49 +00:00
Nacho Iacovino 5423b506a2 Find contract by chain in payments (#2099) 2024-01-08 16:27:01 +00:00
Phillip Ho 2637182ce4 feat: add labels to backend wallet UI; add copy relayer URL (#2096)
* feat: add labels to backend wallet UI; add copy relayer URL

* fix: missing buttons in engine list

* use TrackedCopyButton

* mobile friendlier
2024-01-05 23:24:32 +00:00
dependabot[bot] 66db9a995f build(deps-dev): bump @types/color from 3.0.4 to 3.0.6 (#1991)
Bumps [@types/color](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/color) from 3.0.4 to 3.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/color)

---
updated-dependencies:
- dependency-name: "@types/color"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 23:23:07 +00:00
Firekeeper 500574494c Cleanup Unity code snippets (#1995)
* Cleanup Unity code snippets

* Formatting
2024-01-05 23:19:17 +00:00
Phillip Ho befec08d9e chore: separate Engine import/create buttons (#2095)
chore: separate Engine import/create flows; consistent styling
2024-01-05 21:55:35 +00:00
Juan Leal 56234d8b1c Engine CTA to dashboard (#2094)
Signed-off-by: Juan Leal <[email protected]>
2024-01-05 13:11:48 +00:00
Phillip Ho 2030e16dd2 chore: Improve clarity for Engine initial pages (#2091)
* chore: Improve clarity for Engine initial pages

* clean up txn details
2024-01-04 22:40:24 +00:00
Nacho Iacovino 73738cee9c Fix bearer null on payments (#2089)
* Fix bearer null on payments

* Refetch when token changes
2024-01-03 21:42:44 +00:00
Nacho Iacovino 454c9c224b Fix overflow on marketplace listing (#2088) 2024-01-02 20:13:35 +00:00
Tair Asim bf89576939 chore: handle payment failure attempt (#2068)
fixes PROD-452
2024-01-02 09:49:33 +00:00
Kien Ngo 4dc5991ac8 Add text overflow to NFT table (#2086)
Add text overflow
2023-12-27 17:35:05 +00:00
Jake Loo b5ab0cb2ba Fix snowtrace sourcecode verify api (#2085)
* Fix snowtrace sourcecode verify api

* Update blockroute snowtrace API

* Blockroute API compatibility
2023-12-25 14:49:00 +00:00
Juan Leal 694e51f87f Update dashboard checkout link (#2083)
Signed-off-by: Juan Leal <[email protected]>
2023-12-23 21:13:13 +00:00
Phillip Ho 6b59289c9b fix: crash if unable to load balance (#2082)
* fix: crash if unable to load balance

* unit test
2023-12-22 20:36:14 +00:00
Phillip Ho 0bcb818785 feat: add Engine txn details drawer (#2074)
* feat: add txn details drawer

* fix build

* more polish, timeline

* fix build error
2023-12-22 19:31:04 +00:00
Juan Leal 5eda5e9660 Lower filesize on gaming og:image (#2081)
Signed-off-by: Juan Leal <[email protected]>
2023-12-22 18:56:09 +00:00
easyrun42andJuan Leal 25b7757ba2 Gaming landing page (#2080)
* Add landing page case study and hero images

* update speed racer image

* minor changes

* vercel requested changes

* Quick changes to Gaming landing page

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2023-12-22 18:23:47 +00:00
Muhammad Meigooni 20879873d3 fixes url (#2079) 2023-12-21 00:11:01 +00:00
Muhammad Meigooniandsamina acf3d772b0 Fixes url typo and adds space before link (#2078)
* Fixes url typo and adds space before link

* Update engine-relayer.tsx

Signed-off-by: samina <[email protected]>

---------

Signed-off-by: samina <[email protected]>
Co-authored-by: samina <[email protected]>
2023-12-20 22:01:50 +00:00
Tair Asim f7271e5d28 fix: beehiiv subscription (#2077) 2023-12-20 19:12:11 +00:00
Joaquim Verges 71127b890e dont autoverifiy on deploy (#2073) 2023-12-20 02:14:43 +00:00
Yash 0e7bc00911 Update default params for deployment (#2067)
* Remove default values for forwarders

* forwarder fieldset

* fix

* remove duplicate

* set value

* fix

* sdk latest nightly

* clean up

* fix

* fix
2023-12-16 23:53:59 +00:00
Phillip Ho 72f5d27e63 feat: Relayer table, send/receive funds, other Engine polish (#2004)
* feat: add relayer page; lots of styling

* add send/receive funds

* add missing files

* fix build

* update webhooks table

* destructive

* allow float send amount
2023-12-16 00:13:55 +00:00
Isaac Dubuque 2559ca15de Payments: remove checkout custom branding (#2072)
payments remove custom branding
2023-12-15 23:33:36 +00:00
Isaac Dubuque 6c9c553cd3 Payments Bug Fix: showing deleted checkouts (#2071)
query only valid checkouts
2023-12-15 19:31:43 +00:00
Isaac Dubuque 9823541e64 Payments Bug Fix: create checkout button branding (#2070)
bug fix: create checkout button branding
2023-12-15 18:48:28 +00:00
Juan Leal 3700d96c0e Update announcement banner for Checkout (#2069)
* Update announcement banner for Checkout

Signed-off-by: Juan Leal <[email protected]>

* Announcement banner update for Checkout

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2023-12-15 18:32:11 +00:00
easyrun42andJuan Leal 94c49c938c Landing checkout (#2062)
* landing checkout page

* remove unused code

* fix image

* requested changes + animation hero section updates

* add back icon image

* small text updates

* Quick text fix

Signed-off-by: Juan Leal <[email protected]>

* changes + refactor CardWithMetrics component

* Updated links

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2023-12-15 17:13:09 +00:00
Edward Sun d5364f42ed Launch Payments for all users (#2061)
* Launch Payments for all users

* Enable on sidebar
2023-12-15 16:18:53 +00:00
Edward Sun bb71bb5425 Use paymentsSellerId for payments-related actions (#2066)
* Use paymentsSellerId for payments-related actions

* Remove use of account.id in payments related flows

* One more place

* Fix null check
2023-12-15 03:49:03 +00:00
Isaac Dubuque fcc92d7a6e Payments: Create Checkout Bug Fix (#2065)
* fix form not updating memo

* remove useMemo
2023-12-14 22:21:45 +00:00
Tair Asim 8f050be664 fix: checkout link api keys service name 2023-12-14 21:15:41 +01:00
Tair Asim eeae7cf444 chore: check for nfts/claims on checkout link create (#2063)
fixes PROD-444
2023-12-14 19:53:52 +00:00
Winston Yeo 161e7fcb89 fix: cannot save api key on initial edit (#2064) 2023-12-14 17:33:41 +00:00
Winston Yeo ef579f1dc8 chore: clean up UX for custom auth endpoint (#2059) 2023-12-13 22:08:37 +00:00
Isaac Dubuque a096e20fb8 Payments Bug Fix: Register Wrong Contract Type (#2060)
* fix incorrect payment contract type

* register payments contract with name
2023-12-13 22:02:51 +00:00
Tair Asim c6647e74de chore: update pricing table (#2057) 2023-12-13 19:25:32 +00:00
Juan Leal 69cd971037 Update announcement banner (#2058)
* Update announcement banner

Signed-off-by: Juan Leal <[email protected]>

* Update announcement banner

Signed-off-by: Juan Leal <[email protected]>

* Update announcement banner

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2023-12-13 19:13:30 +00:00
Winston Yeo 9b3e8234c1 Winston/custom auth dashboard update (#2051)
* chore: sort imports

* feat: add custom auth settings to dashboard

* feat: add detail display for custom auth detail

* chore: sort imports and remove console log

* feat: add custom authentication endpoint config to the embedded wallet tabs as well

* fix: dashboard form not updating
2023-12-13 16:57:08 +00:00
Tair Asim 227afea455 fix: checkout link mint func select, form reset, key (#2056)
fixes PROD-446, PROD-447
2023-12-13 10:51:37 +00:00
Tair Asim 82bb013d17 chore: polish checkout creation flow (#2054)
fixes PROD-442, PROD-441, PROD-440, PROD-439
2023-12-12 23:47:30 +00:00
Isaac Dubuque 85e4088eda Payments Test Jam: Cleanup Items (#2055)
* change enable payments button color

* auto format x handle payment settings account

* form x handle create checkout
2023-12-12 23:39:54 +00:00
Isaac Dubuque 58f58007a2 Payments Webhooks Test Jam Items [READY] (#2043)
error on duplicate webhooks
2023-12-12 22:45:03 +00:00
Isaac Dubuque 0bf35eed33 Payments KYB: add pdf upload (#2052)
add pdf upload
2023-12-12 19:35:43 +00:00
Isaac Dubuque e982334994 Add trench in stripe identity verification (#2050)
* handling pending / waiting state for seller kyc

* add trench to sdk

* init trench before stripe verify identity
2023-12-12 01:39:28 +00:00
Yash de1f8c31bd Update packages (#2044)
* latest nightly

* update params
2023-12-09 06:29:29 +00:00
Isaac Dubuque 36d03c256c Isaac/payments_test_webhooks (#2038)
* add test webhook to payments

* beautify fixes

* fix loading
2023-12-08 18:19:58 +00:00
Manan Tank cb674064a9 Fix focus fighting: Stop focusing trapping in Drawer (#2042)
stop focus trapping in Drawer
2023-12-07 20:53:13 +00:00
Jonas Daniels 08923f808c fix: Handle invalid onboarding state (#2040)
* fix: Handle invalid onboarding state

* fix: Simplify condition in Onboarding component

* fix: Fix conditional check for account before updating email

* fix(onboarding): handle invalid billing state
2023-12-06 07:13:09 +00:00
Yash 4c940f3bc7 Update packages (#2037)
update packages
2023-12-05 05:58:26 +00:00
Edward Sun 7a40bc1360 Update announcement banner (#2036)
* Update announcement banner

* Update label
2023-12-05 01:22:15 +00:00
Yash b4a39251cd Update packages (#2035)
* metadata role

* nightly
2023-12-05 00:41:22 +00:00
Manan Tank 56de6e3b15 Fix /[chainSlug] crash: Use Promise.allSettled in prefetchCategory (#2034)
* use Promise.allSettled in prefetchCategory

* Fix card UI
2023-12-04 22:16:02 +00:00
Yash 4182d67329 Update packages (#2033)
* update publisher and forwarder

* update packages

* update packages

* remove broken published pages

* nightly
2023-12-04 19:43:07 +00:00
Phillip Ho 88626a536b fix: crash for new status in engine transactions (#2032) 2023-12-03 20:19:15 -08:00
easyrun42andJuan Leal c8c3eac149 Update SEO metadata (templates page) (#2024)
* update SEO metadata

* Quick fix - templates SEO

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2023-12-01 19:50:01 +00:00
easyrun42 d17d16d4c2 Remove appchain api page and redirect to chains page (#2025)
* remove appchain api page

* add redirects
2023-12-01 19:29:41 +00:00
Nacho Iacovino f8ab1c65d1 Fix payment-enabled app error (#2031)
* Fix payment-enabled app error

* Actually return
2023-12-01 19:18:11 +00:00
Nacho IacovinoandIsaac Dubuque 01a2e53d23 Nitpicky stuff (#2030)
* fixing the modal stuff

* Small stuff

* Skeleton

* Small improvements

* Im a nitter and I nit

---------

Co-authored-by: Isaac Dubuque <[email protected]>
2023-12-01 19:02:47 +00:00
Isaac DubuqueandNacho Iacovino f2e9bf1014 Add modal create/edit for payments webhooks (#2029)
* fixing the modal stuff

* Small stuff

* Skeleton

* Small improvements

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2023-12-01 18:13:22 +00:00
Nacho Iacovino 0771bd0f55 Checkout testjam updates (#2028)
Fix stuff
2023-11-30 23:58:35 +00:00
Isaac Dubuque 2e7d3397ae Isaac/payment webhooks (#2022)
* merge

* testing table

* crud webhooks works

* add confirm delete modal

* add secret key

* add alerts

* need to change this to fix webhook issues

* new webhook table

* updating with nachos comments

* cleaning up

* adding api key

* prettier

* minor changes

* update type

* cleanup

* cleanup
2023-11-30 23:06:11 +00:00
Nacho Iacovino 067aac923c Fix application error (#2027)
* Check payment type from contract

* Always hide pay with ideal

* Keep showing checklist when kyc is in the future

* Not requiredD

* Sure

* Fix UI a bit

* Only show functions with address input

* whoops

* Okay
2023-11-30 22:44:26 +00:00
Nacho Iacovino 7d237affd5 Fix backwards logic (#2026)
* Check payment type from contract

* Always hide pay with ideal

* Keep showing checklist when kyc is in the future

* Not requiredD

* Sure

* Fix UI a bit

* Only show functions with address input

* whoops
2023-11-30 20:43:48 +00:00
Nacho Iacovino 2ee3270f47 Checkouts testjam feedback (#2023)
* Check payment type from contract

* Always hide pay with ideal

* Keep showing checklist when kyc is in the future

* Not requiredD

* Sure

* Fix UI a bit

* Only show functions with address input
2023-11-29 02:42:17 +00:00
Juan Leal 1339bf724e Quick hackathon FAQ fix (#2021)
Signed-off-by: Juan Leal <[email protected]>
2023-11-28 23:35:26 +00:00
Nacho Iacovino 7c71836f97 Fix verification check (#2020)
* Fix verification check

* Fix check again
2023-11-28 21:40:03 +00:00
Nacho Iacovino 619e95e391 Checkouts improvements (#2018)
* Welp

* yep

* Also this

* A bit bigger

* Fix client-side
2023-11-28 21:11:35 +00:00
Tair Asim 6cd9bb9b78 fix: bundler pricing (#2015) 2023-11-28 07:29:52 +00:00
Joaquim Verges 50fed5ab74 update SDKs to latest nightly (#2013) 2023-11-28 02:41:38 +00:00
Juan Leal 3771063ca6 Quick Checkout landing page fixes (#2014)
* Quick Checkout landing page fixes

Signed-off-by: Juan Leal <[email protected]>

* Checkout landing page copy fixes

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2023-11-28 00:58:18 +00:00
Nacho Iacovino f1fa3524b2 Fix checkout bugs (#2012)
* Fix verification needed check

* Fix detected contracts

* We don't need any of this

* better
2023-11-27 22:41:35 +00:00
Nacho Iacovino 3400058bd5 Fix file input preview (#2011) 2023-11-27 21:19:57 +00:00
easyrun42 cd73b7dfea Updates hero section images (landing page) (#2010)
* new images added

* add h="full"

* change in colors
2023-11-27 20:18:16 +00:00
easyrun42 4c1967038c Landing card with metric (#2005)
* landing card with metric

* remove sections

* change images and text

* vercel change headline text
2023-11-27 14:57:49 +00:00
Joaquim Verges def7035355 Enable all chains for older AccountFactory contracts (#2009) 2023-11-25 08:13:37 +00:00
Nacho Iacovino 7655cde2d9 Enable custom contracts for checkouts (#2008)
* Inputs wip

* Its working bbbyyy

* Both ways

* This should work but it's ugly

* Welp, a lot of stuff happened here

* Make it possible to enable custom contracts

* Fix copy

* Better wording
2023-11-23 03:56:31 +00:00
04ad22c250 Migrate checkouts v0 (#1986)
* feature(payments): initialize GQL and page structure

* initialize apollo provider

* port over .graphql files and fix up generation

* fix codegen

* .ts files are fine for hooks

* feat: add credentials option to ApolloClient

* .env.example update

* Get payments seller id from api server in fetchAuthToken (#1839)

Get paymentsSellerId from api server in fetchAuthToken

* Push up example with `paymentsSellerId`

* Remove console.logs

* Move to component to compile

* Render all contracts table (filtered)

* Enable payments button

* Abstract a bit

* Add graphql query to usePayments

* Get analytics

* Add parsedOverview

* Fix prettier

* Create checkout logic

* Create checkout form shenanigans

* Some UI massaging

* A bit more

* Enable payments redirect

* Work for erc1155, disable cache

* yes

* Some progress with cache? :D

* loglog

* Fix tracking

* Abstract remove button

* We're doing it backwards

* Cast to number

* whoops

* Edit checkout logic plz

* Empty state

* plz

* Fix for real

* Default

* Filter contracts, some more empty states

* Moar empty states

* Error flow

* More empty states, less foot shooting

* Get contract name for payment-enabled contracts

* Filter default checkout, show contractId

* Fix url redirect

* whoops

* Fix logic

* feature: added checkout seller account settings to dashboard (#1931)

Signed-off-by: Juan Leal <[email protected]>

Signed-off-by: Juan Leal <[email protected]>

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>

* invalidateQueries onSuccess

* Revert prior change and add apollo refetch()

* Try network-only

* Add for contracts as well

* wip

* API Keys capabilities yay

* Remove network-only policy

* Use lazy queries

* Fix api keys

* isLoading states

* All the cache

* now

* Rename

* Big wip

* Fix date picker

* chore: added thirdweb_client_id to checkout fragment (#1957)

* stuff

* Ensure accountId

* Copy

* Fix mutation

* Fix loading states

* wip

* Kyb shenanigans

* Kyc shenanigans :D

* More kyc shenanigans

* Fix file uploader?

* Annoying response

* RPC url pls

* Remove unused imports

* Nope

* Lots of checks

* Fix kyb check

* Kyc improvements

* Moar

* hid hid

* Move around

* Nope

* Cache?

* Lowercase

* Webhooks file

* Add more supported chains

* Full

* Fix RPC url

* Update contractArgs

* Much better

* Error state

* Validation for URL

* Allow empty string

* Improve KYB experience

* Add compliance email

* Fix upload to cloudflare

* Add preview button

* Improve preview

* Okay

* Fix font weight

* Just because

* Use the Preview environment for workflows

* Pass environment var name context through

* syntax update

* Test - show public env var

* syntax

* See if public variable makes it through

* Add public api

* Use secrets instead of vars

* Remove test

---------

Signed-off-by: Jonas Daniels <[email protected]>
Signed-off-by: Edward Sun <[email protected]>
Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Edward Sun <[email protected]>
Co-authored-by: gerrysaporito <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>
2023-11-22 23:21:53 +00:00
Jake Loo e7845c5f78 Deprecate SignatureDrop (#2007) 2023-11-22 21:33:00 +00:00
easyrun42 ccd177ec2e Overflow fix on hackathon page (#2006)
checkout overflow fix
2023-11-22 17:08:21 +00:00
Nacho Iacovino 828f640bf2 /about updates (#2003)
* About updates

* Not this
2023-11-21 20:31:42 +00:00
easyrun42 fc1403a956 remove unused code (#2001) 2023-11-21 19:07:39 +00:00
Lakshay Garg 74a8fb85a1 add functions to check mix/max of int/uint values (#1990)
* add functions to check mix/max of int/uint values

Signed-off-by: Lakshay Garg <[email protected]>

* int/uint defaults to int256/uint256

Signed-off-by: Lakshay Garg <[email protected]>

---------

Signed-off-by: Lakshay Garg <[email protected]>
2023-11-21 18:56:50 +00:00
iketw d4543cb91d Allows for empty applicationImageUrl for embedded wallet (#2000)
* Adds app name and image url to ews

* fix fetch

* Allows empty image urls. Defaults to thirdweb
2023-11-21 18:13:11 +00:00
easyrun42 c758962c23 Maika / Overflow fixes on hackathon page (#1994)
add maika as judge and fix some overflow container component
2023-11-21 14:56:06 +00:00
Joaquim Verges 4bf8c36a89 Simplified smart wallet tab (#1998)
* wip smart wallet page flow

* simplified smart wallet tab

* fix build

* add account counts in table
2023-11-21 03:33:03 +00:00
iketw 00e492caf5 Revert "Allows empty image urls. Defaults to thirdweb (#1996)" (#1997)
This reverts commit 779bbfc9b4.
2023-11-21 01:49:19 +00:00
iketw 779bbfc9b4 Allows empty image urls. Defaults to thirdweb (#1996)
* Adds app name and image url to ews

* fix fetch

* Allows empty image urls. Defaults to thirdweb
2023-11-21 00:58:38 +00:00
iketw a856457f60 Adds app name and image url to ews (#1987)
* Adds app name and image url to ews

* fix fetch
2023-11-20 23:32:27 +00:00
Juan Leal 3f27a0e8ea Add Courtyard to Customers section (#1982) 2023-11-20 20:26:28 +00:00
Joaquim Verges 9c0805230e update SDKs to stable (#1989) 2023-11-18 22:51:37 +00:00
Joaquim Verges e7897d6278 Fix potential race condition for embedded wallet autoconnection (#1988) 2023-11-18 07:53:35 +00:00
easyrun42 10dddd49f5 page id change (#1985) 2023-11-18 02:18:39 +00:00
easyrun42 813879d82e component cleanup, chris pfp change and category change (#1983)
* pfp change

* fix: category and component cleanups

* remove ts
2023-11-17 19:52:02 +00:00
Tair Asim 58bb6541ba Revert "refactor: simplify middleware route matching (#1979)"
This reverts commit 0b1eef6e70.
2023-11-17 19:46:05 +01:00
Tair Asim c13df8ae35 fix: env.example urls 2023-11-17 18:48:47 +01:00
easyrun42 3dd2dcfb50 engine banner (#1981) 2023-11-17 16:58:56 +00:00
easyrun42 bfe82563e4 Hackathon landing page (#1961)
* add solana hackathon landing page

* add few section comments

* add latest changes and fixes to the landing page

* push latest changes

* minor changes to masked avatar component

* white, bigger and stretched

* add latest images

* vercel changes

* vercel preview request changes

* small changes from vercel
2023-11-17 16:16:05 +00:00
Jonas Daniels 0b1eef6e70 refactor: simplify middleware route matching (#1979) 2023-11-17 15:50:52 +00:00
Jonas Daniels fd6c144bbc style: remove unnecessary CSS class (#1978) 2023-11-17 10:51:09 +00:00
Jonas Daniels f3fab8e7fa refactor: Refactor contractInfo assignment and add null check for chainSlug (#1977)
* refactor: Refactor contractInfo assignment and add null check for chainSlug

* refactor: Remove unnecessary comment
2023-11-17 10:17:42 +00:00
Manan Tank 3c047de994 Fix EmbeddedWallet OTP UI (#1976)
* Fix EmbeddedWallet OTP UI

* use stable version
2023-11-17 09:59:49 +00:00
iketw 04eb2ccd79 tos (#1975)
* tos

* mikes

* typo

* redirect
2023-11-17 02:26:33 +00:00
easyrun42andNacho Iacovino 9318c041f6 Contact us page (tracking) (#1974)
* add tracking

* typof ix

* tracking action fix

* Update pages/contact-us.tsx

Co-authored-by: Nacho Iacovino <[email protected]>
Signed-off-by: easyrun42 <[email protected]>

---------

Signed-off-by: easyrun42 <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-11-16 21:22:39 +00:00
Avneesh AgarwalandJuan Leal 564b90da61 feat: add engine nft checkout template (#1971)
Co-authored-by: Juan Leal <[email protected]>
2023-11-16 19:41:35 +00:00
iketw 7ab2cb42c4 Change social logins unselected text color (#1972)
Change social logins unselected color
2023-11-16 19:16:43 +00:00
Manan Tank 758956959a Fix embeddedWallet connection in preview ( dev ) (#1969) 2023-11-16 18:37:40 +00:00
Manan Tank 17f95ccfd5 Add social login customization in ConnectWallet playground (#1966)
* Add social login methods in playground

* add PAPER_DEV
2023-11-16 17:46:39 +00:00
iketw b6c15ce8e2 Updates EmbeddedWallet icon (#1967)
* Add links to docs in the embedded wallet tab

* move

* remove import

* remove yalc

* package

* revert package

* space

* custom

* Update EmbeddedWallet icon
2023-11-16 17:45:45 +00:00
Joaquim Verges b71d2f3be1 fix dependency dev build (#1965) 2023-11-15 17:45:02 -08:00
Joaquim Verges 6f1c9b5320 update SDKs to fix embedded wallet switch chains issue (#1964)
update SDKs
2023-11-15 17:04:36 -08:00
Gerry Saporito b13502c4c3 chore: update official Circle USDC addresses (#1963)
* chore: update official Circle USDC addresses

* updated address

* updated address

* updated address
2023-11-16 00:51:08 +00:00
Joaquim Verges 4691968194 Update SDKs for CDN cache resolution (#1962)
* Update SDKs for CDN cache resolution

* update stable packages
2023-11-15 23:48:15 +00:00
easyrun42 f841c11523 card hover improvements landing page (#1951)
* cards landing page

* make gray stroke

* quick link fix
2023-11-15 21:11:45 +00:00
easyrun42 7434add852 <HomeProductCard /> UI changes (#1958)
* home product card ui changes

* remove px and minor fixes

* put back description

* refactor HomePageCard

* refactor data.ts to use inLandingPage and landingLink

* improve ui for HomeProductCard

* remove landingLink
2023-11-15 20:24:28 +00:00
Jake Loo 79bb24deac Support dev env (#1959)
* dev RPC url

* Support thirdwebstorage-dev.com

* More dev env url

* format prettier
2023-11-15 16:42:38 +00:00
easyrun42 2c1ee33be2 typo fix (#1956) 2023-11-15 09:24:16 +00:00
Phillip Ho 2e123978e3 feat: Add read/update labels for Engine tables (#1953)
* add label view/edit support for admins and access tokens

* add labels for backend wallets
2023-11-14 19:53:50 +00:00
easyrun42 9a0c55c21e Coinbase text fix (#1887)
* quick link fix

* coinbase text fix
2023-11-14 14:16:35 +00:00
iketw 1358958022 Adds Create custom server guide to embedded wallet (#1950)
* Add links to docs in the embedded wallet tab

* move

* remove import

* remove yalc

* package

* revert package

* space

* custom
2023-11-14 01:13:20 +00:00
Manan Tank 1ac805de15 Add Localization in ConnectWallet Playground (#1879)
* Localization Test

* update

* update

* update

* update packages

* update

---------

Signed-off-by: Manan Tank <[email protected]>
2023-11-13 22:26:01 +00:00
iketw bad3aa97f1 Add privacy-policy web page (#1948)
* privacy

* privacy-page

* yarn

* remove redirect

* add mailto

* md
2023-11-13 21:16:27 +00:00
Phillip Ho e2385a5d85 chore: refactor Engine onboarding page (#1943)
* chore: refactor Engine onboarding page

* fix build, more polish

* add tracking

* use address in instances cache key
2023-11-13 06:06:43 +00:00
Juan Leal cf054ba4ef Quick homepage fixes (#1942) 2023-11-10 23:27:35 +00:00
easyrun42 bac8f8c35b new landing page (#1941)
* new landing page

* small changes

* quick text fix
2023-11-10 22:37:11 +00:00
Juan Lealandeasyrun42 695a44f757 Any EVM component updates (#1939)
* Update tagline in homepage hero

Signed-off-by: Juan Leal <[email protected]>

* Landing page subheader copy

Signed-off-by: Juan Leal <[email protected]>

* prettier

* Any EVM component updates

Signed-off-by: Juan Leal <[email protected]>

* Updates to Any EVM component

Signed-off-by: Juan Leal <[email protected]>

* quick fix

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>
2023-11-10 22:01:26 +00:00
Manan Tank c0a0bbe79e Fix Sentry not initialized on valid browsers (#1940)
Fix Sentry not initlaized on valid browsers
2023-11-10 15:40:50 +00:00
Avneesh AgarwalandJuan Leal f285b719b3 feat: add phygital experience template (#1937)
Co-authored-by: Juan Leal <[email protected]>
2023-11-09 23:03:06 +00:00
Edward Sun 7010b72ee4 Update @sentry/nextjs (#1935) 2023-11-09 22:29:13 +00:00
Juan Leal 6beee22053 Add AvaCloud to carousel (#1934)
* Add AvaCloud to carousel

* Add AvaCloud to carousel

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2023-11-09 18:30:46 +00:00
Tair Asim e705b63f7e fix: content security for stripe.js 2023-11-09 11:35:44 +01:00
Phillip Ho 4f6f29ee99 fix: engine connection tracking (#1933)
* only render navigate if logged in

* undo file changes
2023-11-09 02:09:24 +00:00
Jake Loo 9c7dfab8f7 Mirror main to dev for new dev workflows (#1932) 2023-11-08 23:04:31 +00:00
Juan Lealandeasyrun42 716a4898ec Update tagline in homepage hero (#1930)
* Update tagline in homepage hero

Signed-off-by: Juan Leal <[email protected]>

* Landing page subheader copy

Signed-off-by: Juan Leal <[email protected]>

* prettier

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>
2023-11-08 20:32:55 +00:00
Juan Leal 90fc958b4f Checkouts landing page copy (#1929)
Signed-off-by: Juan Leal <[email protected]>
2023-11-08 19:08:19 +00:00
Lakshay GargandNacho Iacovino aec73a585e fix code snippets url resolution (#1904)
* fix code snippets url resolution

Signed-off-by: Lakshay Garg <[email protected]>

* simplify fetching network and contractAddress

Signed-off-by: Lakshay Garg <[email protected]>

* do not render the button when there's no network or address

Signed-off-by: Lakshay Garg <[email protected]>

---------

Signed-off-by: Lakshay Garg <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-11-08 18:18:07 +00:00
easyrun42 807e215a80 title fix (#1928) 2023-11-08 17:40:00 +00:00
Tair Asim 2508eafc99 fix: use walletIds (#1927) 2023-11-08 16:15:55 +00:00
Tair Asim d616bec219 fix: ews email confirmation (#1926) 2023-11-08 15:07:12 +00:00
Juan Leal 45ee38ed86 Add chains & appchains to Contact Us form (#1925)
Signed-off-by: Juan Leal <[email protected]>
2023-11-08 15:07:11 +00:00
easyrun42andJuan Leal 3ee487da33 chain landing page (updates) (#1916)
* add latest changes for chain landing page

* landing page changes

* Copy updates to Chains page

Signed-off-by: Juan Leal <[email protected]>

* Copy fixes p2

Signed-off-by: Juan Leal <[email protected]>

* Last copy changes p3

Signed-off-by: Juan Leal <[email protected]>

* add latest changes

* Quick final copy changes

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2023-11-08 13:10:10 +00:00
Nacho Iacovino a063248dc3 Small updates to FTUX (#1924)
Small updates
2023-11-07 23:51:57 +00:00
Nacho Iacovino 65ffe12f71 Add disclaimer to cc (#1923) 2023-11-07 23:26:42 +00:00
0763ac8229 Update Sub-header.tsx (#1921)
* Update Sub-header.tsx

Signed-off-by: cattyjones <[email protected]>

* Update Sub-Header

Signed-off-by: cattyjones <[email protected]>

* Fix

* Quick comma fix

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: cattyjones <[email protected]>
Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2023-11-07 23:24:21 +00:00
Nacho Iacovino b34cd35e68 New product showcase (#1922)
* wip

* New ftux product cards
2023-11-07 23:19:01 +00:00
iketw 4a4bf61775 Add EmbeddedWallet View Docs section (#1920)
* Add links to docs in the embedded wallet tab

* move

* remove import

* remove yalc

* package

* revert package

* space
2023-11-07 20:08:35 +00:00
Tair Asim 170720bcce fix: useApi error handling (#1918) 2023-11-07 16:53:42 +00:00
Tair Asim a3f3f57e39 Revert "tmp: account form error debug (#1915)" (#1917)
This reverts commit 7d5544c805.
2023-11-07 15:16:02 +00:00
dependabot[bot] b404b08f15 build(deps): bump react-hook-form from 7.47.0 to 7.48.2 (#1908)
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.47.0 to 7.48.2.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.47.0...v7.48.2)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 15:09:39 +00:00
dependabot[bot] 83f597e711 build(deps-dev): bump @types/jest from 29.5.6 to 29.5.7 (#1907)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.6 to 29.5.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 15:07:37 +00:00
Tair Asim f366615610 fix: wallet connect prompt messages (#1914) 2023-11-07 14:39:29 +00:00
Tair Asim 7d5544c805 tmp: account form error debug (#1915)
* tmp: account form error debug

* fix missing node-gyp in actions
2023-11-07 14:17:35 +00:00
Tair Asim b782c0b3e6 fix: embedded wallets learn more link (#1912) 2023-11-06 19:36:37 +00:00
easyrun42andJuan Leal 9612df61ac Landing page updates (#1897)
* edit images and og:image

* changes are made

* Link fixes to hero

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2023-11-06 16:06:26 +00:00
Manan Tank b9edd4b5bd Remove Magic link from CW playground, fix readme (#1906)
* Remove Magic Link from CW playground

* Fix readme, we use yarn
2023-11-06 14:52:43 +00:00
Tair Asim a6482e0e53 fix: handle email already exists error (#1905) 2023-11-06 13:57:56 +00:00
easyrun42 52a065635b border radius fix (#1903) 2023-11-04 04:45:56 +00:00
easyrun42 ca786494aa nav menu fix (#1900)
* nav menu fix

* doing a fix
2023-11-04 03:56:30 +00:00
Juan Leal ee9db40e4e Guides fix - auth page (#1902)
Signed-off-by: Juan Leal <[email protected]>
2023-11-03 20:33:43 +00:00
Manan Tank 619cdd3c9d Fix invalid route crashing instead of showing 404 page (#1885)
* Fix invalid route crash

* fix type

* update
2023-11-03 19:50:05 +00:00
Tair Asim 0855033515 fix: onboarding logout (#1901) 2023-11-03 19:20:46 +00:00
Tair Asim 2f96cc3f50 fix: ews custom auth update (#1899) 2023-11-03 18:25:26 +00:00
Tair Asim aafa1e0bc9 fix: ews link to learn more (#1898) 2023-11-03 17:29:51 +00:00
Tair Asim e7374221f7 feat: ews (#1880)
fixes FTD-2227
2023-11-03 15:40:49 +00:00
Tair Asim 1d427ce5d3 fix: handle sign up errors (#1896)
fix: handle sign up errors and unused imports
2023-11-03 15:25:29 +00:00
Tair Asim 883cfbe04a chore: add re-login button in onboarding (#1892) 2023-11-03 09:21:06 +00:00
Juan Leal f48ad39a57 Minting solutions landing CTA fix (#1895)
Signed-off-by: Juan Leal <[email protected]>
2023-11-03 01:31:26 +00:00
easyrun42andJuan Leal c9be41980b Embedded wallet landing page (#1886)
* quick link fix

* edit embeddd wallet landing page

* minor changes

* fix landing page overflow bug

* replace analytics

* add feature spread title

* Updated links in embedded wallets landing

Signed-off-by: Juan Leal <[email protected]>

* update banner

* CTA link updates

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2023-11-03 00:47:51 +00:00
Phillip Ho 179f0dccb6 chore: Engine tracking and polish (#1893)
* chore: Engine tracking and polish

* more polish
2023-11-03 00:11:27 +00:00
Joaquim Verges 9cd42b415f Fix sign in logic (#1891) 2023-11-01 23:09:53 +00:00
Phillip Ho c6134e7fe9 fix: rely on useUser for logged in state (#1888)
* fix: rely on useUser for logged in state

* move modal out of no-engine-instance

* remove unused imports
2023-11-01 21:12:58 +00:00
Edward Sun 0d82e5f32b Use thirdweb-dev/react with auth fix in ConnectWallet (#1889) 2023-11-01 19:12:22 +00:00
easyrun42 128319aae4 Landing page nav updates (3) (#1873)
* quick link fix

* updated landing page and navbar

* import corret icons from correct paths

* remove icons from popover

* order them by most important

* update icons to png

* remove publish.svg

* update icon on every landing page

* update gradient for every page

---------

Signed-off-by: easyrun42 <[email protected]>
2023-11-01 12:41:14 +00:00
Edward Sun a02bf5ef5f Move isLoggedIn check to component (#1884) 2023-11-01 01:13:13 +00:00
Edward Sun df99240063 Test to see if hypothesis on logged in but not signed in bug is correct (#1883) 2023-11-01 00:48:00 +00:00
Winston Yeo 8e93ece278 feat: migrate paper wallet to embedded wallets (#1878)
* feat: add embedded wallet to thirdweb connect

* chore: update react pacakge to use the latest wallet items

* chore: update .env.example

* chore: remove paper wallet

---------

Signed-off-by: Winston Yeo <[email protected]>
2023-10-31 23:08:09 +00:00
Phillip Ho 89d1cb29f2 chore: update Engine initial page design (#1881)
* chore: update Engine initial page design

* fix build

* use badges

* use designs for other engine states

* missing file

* remove unused var
2023-10-31 22:54:23 +00:00
Tair Asim eafaad8058 chore: simplify api keys creation & editing (#1841)
fixes FTD-2219
2023-10-31 21:42:31 +00:00
Tair Asim ef41261f5a fix: use isLoggedIn in pages (#1877)
fix: use isLoggedIn in api keys and embedded wallets
2023-10-31 16:08:00 +00:00
Phillip Ho dfceac542d feat: Add managed engine access form (#1875)
* chore: Add a managed Engine form

* query params

* update links locations
2023-10-31 03:31:51 +00:00
easyrun42 65c1de6375 Nav mobile fix (#1863)
* quick link fix

* fix height of mobile navbar

---------

Signed-off-by: easyrun42 <[email protected]>
2023-10-30 22:59:07 +00:00
Nacho IacovinoandPhillip Ho 087e87e860 Set instance url tracking on engine (#1866)
* Set instance url tracking on engine

* Better like this

* Also better

* Track other engine connection states

---------

Co-authored-by: Phillip Ho <[email protected]>
2023-10-30 21:33:49 +00:00
Nacho Iacovino 8bb2943810 Remove dfm from explore (#1874) 2023-10-30 21:21:26 +00:00
Tair Asim b64e756ebb chore: fix onboarding steps (#1865) 2023-10-30 17:37:38 +00:00
Joaquim Verges 493c32721e show full params on any account factory (#1862) 2023-10-27 23:51:33 -07:00
Joaquim Verges e9a99292ef Expose default admin param for account factories (#1860) 2023-10-27 21:44:12 +00:00
easyrun42 6fa173432c Revert "thirdweb connect landing page updates" (#1849)
* quick link fix

* Revert "thirdweb connect landing page updates (#1779)"

This reverts commit ffe7b63104.

* push latest lottie

* add new lottie json file

* height 100%
2023-10-27 18:27:18 +00:00
Edward Sun 0ea19f20a1 Add square logo asset (#1858) 2023-10-27 16:52:17 +00:00
Nacho Iacovino 898704fc75 Don't render ghost tooltip (#1855) 2023-10-27 07:22:18 +00:00
Jonas Daniels 9c24c6fa09 downgrade nextjs back to 13 2023-10-26 21:21:45 -07:00
Nacho IacovinoandJonas Daniels 22c5c04346 Next 14 and cleanup (#1854)
* Update package

* Update to next 14, winter cleanup

* More cleanup

* fix build

---------

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-10-27 02:51:11 +00:00
Jonas Daniels 5db30f7568 feat: Add YourFilesSection to DashboardStorage (#1827)
Signed-off-by: Jonas Daniels <[email protected]>
2023-10-27 02:42:05 +00:00
Phillip Ho d0eed78277 fix: remove inactive webhooks (#1856) 2023-10-26 17:06:59 -07:00
Yash 6705f5f6cc Fix composite abi (#1853)
* fix composite abi

* consider old publish

* always true for MarketplaceV3

---------

Signed-off-by: Yash <[email protected]>
2023-10-26 23:50:18 +00:00
easyrun42 9d4adc8f36 appchain api landing page improvements (#1834)
* superchain text fixes

* replace subnet with appchain
2023-10-26 23:07:29 +00:00
ffe85aa3df feat(dashboard): Manage embeddedWallet recovery share management preferences (#1796)
* feat(dashboard): Add stub to manage embeddedWallet recoveryShareManagement preferences

* docs: add explanation for where the magic values came from

* ew: custom auth added to form

* adding auth fields

* custom auth: form checkbox + state handling

* add create api key to embedded tab

* fix validation error when unchecked

* Add custom JWT into selector and update names

* Update default

* Update zod type for url

* Disable being able to edit recovery share management

* chore: fix lint issues

* fix: typings for recoveryShareManagement type

* chore: fix up custom jwt

* chore: revert dev confirmation email

* chore: remove console log

* only show in edit mode

---------

Signed-off-by: Joaquim Verges <[email protected]>
Co-authored-by: Isaac Dubuque <[email protected]>
Co-authored-by: Edward Sun <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2023-10-26 22:57:44 +00:00
Phillip Ho 9f31f4b6b6 feat: Add cancel txn button to engine transactions list (#1845)
* wip

* cancel txn button

* fix focus
2023-10-26 16:02:29 -07:00
Jonas Daniels 4c8325b0d9 chore(routing): massively simplify page routing and middleware (#1852)
* chore(routing): massively simplify page routing and middleware

* refactor: Remove unused code and files

---------

Signed-off-by: Jonas Daniels <[email protected]>
2023-10-26 22:19:11 +00:00
Nacho Iacovino c1cebb9390 Small punctuation update (#1786)
Add comments here

Signed-off-by: Nacho Iacovino <[email protected]>
2023-10-26 22:11:18 +00:00
Nacho Iacovino a932bdf6dd Fix light mode for getting started (#1851) 2023-10-26 21:50:30 +00:00
Nacho Iacovino 9cc693a8fa Refetch on address change (#1850)
* Refetch on address change

* Remove log
2023-10-26 21:47:42 +00:00
Tair Asim bb7909e729 feat: onboarding steps + product cards (#1842)
feat: onboarding steps + product categories

fixes FTD-2218
2023-10-26 20:00:50 +00:00
easyrun42 dab93dbcd2 quick link fix (#1847) 2023-10-26 18:12:39 +00:00
Nacho Iacovino d38b90eb5d Quick followups for engine dashboard (#1846)
Quick followups
2023-10-26 18:11:24 +00:00
Juan Leal d9d607a91e new engine og:image (#1844)
* New engine og:image

* new og:image engine
2023-10-26 16:28:03 +00:00
easyrun42 948d19f65d thirdweb engine landing page updates (#1820)
* added coinbase section

* small fix

* small fix

* small fix

* small fix

* PR review fixes

* small fix

* small fix

* replace logos & edit texts

* add gradient

* replace hero images

* text change

* change gradient

* text changes

* remove treasure logo

* edit images

* changed images and metadata title and description

* change titles and descriptions

* change landing card flows

* change title

* change banner text and link

* landing page ready

* uncomment

---------

Signed-off-by: easyrun42 <[email protected]>
2023-10-26 14:50:38 +00:00
Phillip Ho d77c1baf4d fix: Engine request body must be provided even if empty (#1840)
* fix: Engine request body

* content-type
2023-10-25 23:24:49 -07:00
Nacho IacovinoandPhillip Ho dd97b474dc Engine iterations (#1836)
* Improvements

* More stuff

* Config stuff

* Request interceptor

* Swagger UI CSS shenanigans

* Actually disable

* Uncomment button

* Some more css

* Checks for failed to fetch and no authorized wallet

* Remove log

* Make network selector switch your chain

* Copy update

* Copy

* remove unneeded import

---------

Co-authored-by: Phillip Ho <[email protected]>
2023-10-26 01:54:08 +00:00
Phillip Ho ec7b6c92ee Engine transactions table polish (#1838)
* chore: transactions table polish

* undo package changes
2023-10-25 18:40:54 -07:00
Jonas Daniels 2074f60bb8 feat(chain): make all sorts of image data work by using the next image optimizer (#1837)
* style: Adjust ChainIcon size and padding

* feat: Add logic to determine IPFS gateways

---------

Signed-off-by: Jonas Daniels <[email protected]>
2023-10-26 00:14:25 +00:00
Jonas Daniels d6641d5fd7 style: Adjust ChainIcon size and padding (#1835) 2023-10-25 21:58:22 +00:00
Tair Asim 66afbde19b chore: fix billing analytics n payment redirect cleanup (#1832)
fixes PROD-354, PROD-345
2023-10-25 10:33:15 +00:00
Phillip Ho 15171a6f7e feat: autoupdate txn table toggle (#1831) 2023-10-24 23:09:33 -07:00
Phillip Ho 3233359d58 chore: Radio buttons for wallet type select (#1830) 2023-10-24 22:23:34 -07:00
Nacho Iacovino 3a590e3b25 Engine followups (#1828)
* Backend wallets overview changes

* Transactions table updates

* Copy fix

* Exploration of swagger css commented

* Copy changes

* use magic hook

* Better flow for when wallet is not connected
2023-10-25 03:14:37 +00:00
ebea69352b Add engine dashboard (#1815)
* feat: Add Engine tab to dashboard

* A lot of stuff? Config done

* Backend wallets table

* Add import/create backend wallet capabilities

* Update margin

* Filter txns by chain id

* Add balance check

* Fix build

* Add functions

* Only show remove config if not on local

* whoops

* Add tracking for set wallet config

* Try again

* Update schema for txns

* Update design, save URL in local storage

* Add trailing slash always

* Always simplify url

* Auth works

* Add admin grant/revoke

* Reshuffle stuff

* Add access tokens capabilities

* Add webhooks capabilities

* General updates

* Add local config

* Renaming and moving stuff around

* Hide tab

---------

Co-authored-by: Phillip Ho <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-10-25 00:05:31 +00:00
Jonas Daniels 2af15ef5ea refactor(chains): use the api to fetch chains instead of relying on chains package (#1826)
* feat: Add fetchChainsFromApi and fetchChain functions

* feat: add fetchChain and fetchAllChains functions

* make homepage work again with middleware changes

* fix(utils): fix fetchChain parameter type
2023-10-24 19:36:44 +00:00
dependabot[bot] 330519e428 build(deps): bump @vercel/og from 0.5.19 to 0.5.20 (#1822)
Bumps @vercel/og from 0.5.19 to 0.5.20.

---
updated-dependencies:
- dependency-name: "@vercel/og"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 11:13:01 +00:00
dependabot[bot] 922e817c3f build(deps-dev): bump eslint-plugin-import from 2.28.1 to 2.29.0 (#1824)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.28.1 to 2.29.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 11:12:50 +00:00
dependabot[bot] e7299475cf build(deps-dev): bump @trivago/prettier-plugin-sort-imports from 4.2.0 to 4.2.1 (#1823)
build(deps-dev): bump @trivago/prettier-plugin-sort-imports

Bumps [@trivago/prettier-plugin-sort-imports](https://github.com/trivago/prettier-plugin-sort-imports) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/trivago/prettier-plugin-sort-imports/releases)
- [Changelog](https://github.com/trivago/prettier-plugin-sort-imports/blob/main/CHANGELOG.md)
- [Commits](https://github.com/trivago/prettier-plugin-sort-imports/compare/v4.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: "@trivago/prettier-plugin-sort-imports"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 11:12:41 +00:00
dependabot[bot] dbd46eb61d build(deps-dev): bump @types/papaparse from 5.3.9 to 5.3.10 (#1821)
Bumps [@types/papaparse](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/papaparse) from 5.3.9 to 5.3.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/papaparse)

---
updated-dependencies:
- dependency-name: "@types/papaparse"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 11:12:30 +00:00
Tair Asim e6827d15f0 feat: confirm paper wallet email on auth success (#1813)
feat: confirm paper wallet email

fixes PROD-314
2023-10-23 18:51:06 +00:00
Yash 7d8028c408 Update packages (#1819)
* update packages

* resolve

* update

* fix build
2023-10-23 15:51:21 +00:00
Jake Loo e34de562e4 Update contract-importer URL (#1816)
Signed-off-by: Jake Loo <[email protected]>
2023-10-21 04:42:32 +00:00
Juan Leal d1d5898937 Embedded Wallets og:image (#1817)
Signed-off-by: Juan Leal <[email protected]>
2023-10-20 18:48:17 +00:00
Phillip Ho 7a422bd3d1 chore: update starter/pro/enterprise label (#1811)
* chore: update starter/pro/enterprise label

* fix incorrect banner message

* update cta
2023-10-19 23:53:43 +00:00
Joaquim Verges 3d2b6d97cb more wallet analytics polish, add contact us link (#1812) 2023-10-19 23:40:06 +00:00
Joaquim Verges 1c60d7cda1 polish wallet analytics tab (#1810) 2023-10-19 22:57:51 +00:00
Juan Leal f6232006b2 Update carousel.tsx (#1809)
* Update carousel.tsx

Signed-off-by: Juan Leal <[email protected]>

* Homepage carousel

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2023-10-19 22:08:26 +00:00
Tair Asim 1e0d82cfca fix: remove unused email testing regex (#1808) 2023-10-19 19:06:49 +00:00
Tair Asim c79acb9381 fix: email regex (#1807) 2023-10-19 18:26:53 +00:00
Kien Ngo d0ede8ab7c Update Open Source page (#1806)
* Add trailing slash to IPFS URI for updateBatchBaseURI

* Update Open source page

* Fix
2023-10-19 18:08:30 +00:00
Kien Ngo 786b003b9e Add trailing slash to IPFS URI for updateBatchBaseURI (#1804)
* Add trailing slash to IPFS URI for updateBatchBaseURI

* Delete bun lock
2023-10-19 18:04:30 +00:00
Tair Asim ad2bc992a4 feat: resend email confirmation (#1805)
fixes FTD-2211
2023-10-19 17:47:38 +00:00
Tair Asim 84128a91f5 chore: email is now required (#1803)
fixes PROD-344
2023-10-19 07:54:53 +00:00
Tair Asim 48e9c9a119 feat: support ach + payment verification (#1801)
fixes FTD-2200
2023-10-19 07:47:08 +00:00
Joaquim Verges b12e36fc15 Wallet analytics tab (#1800)
* WIP wallet stats

* UI polish

* empty states

* fix merge
2023-10-18 21:57:56 +00:00
Nacho Iacovino 3d1e88f0c4 AccountPermissionsV1 (#1802)
* AccountPermissionsV1

* Also this
2023-10-18 15:33:05 +00:00
Jonas Daniels 4837c95a09 feat: add YourFilesSection to DashboardStorage page (#1788)
* feat: add YourFilesSection to DashboardStorage page

* refactor: remove file preview column

* style: add monospace font to file size text

* fix(components): fix YourFilesSection pagination and data fetching

* fix(dropzone): Invalidate pinned files query on file upload

* feat(storage): add file list refetch on upload

* chore(useApi): keep the promise around to avoid multiple fetches

* feat: Add AccountPermissionsV1 to guides and templates
2023-10-18 06:15:24 +00:00
Kien Ngo 9e1419a171 Update .env.example (#1799) 2023-10-18 03:10:35 +00:00
dependabot[bot] 782fcbc085 build(deps-dev): bump @next/bundle-analyzer from 13.5.4 to 13.5.5 (#1795)
Bumps [@next/bundle-analyzer](https://github.com/vercel/next.js/tree/HEAD/packages/next-bundle-analyzer) from 13.5.4 to 13.5.5.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.5.5/packages/next-bundle-analyzer)

---
updated-dependencies:
- dependency-name: "@next/bundle-analyzer"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 18:33:28 +00:00
dependabot[bot] 4ec5ea18a6 build(deps): bump recharts from 2.8.0 to 2.9.0 (#1791)
Bumps [recharts](https://github.com/recharts/recharts) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/recharts/recharts/releases)
- [Changelog](https://github.com/recharts/recharts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/recharts/recharts/compare/v2.8.0...v2.9.0)

---
updated-dependencies:
- dependency-name: recharts
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 18:33:15 +00:00
dependabot[bot] b8b6e73310 build(deps-dev): bump eslint-config-next from 13.5.4 to 13.5.5 (#1792)
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.5.4 to 13.5.5.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.5.5/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 18:33:04 +00:00
Yash 88e43694c9 Enable dynamic pattern marketplacev3 publish (#1798)
enable dynamic pattern marketplacev3 publish
2023-10-17 15:13:02 +00:00
Jonas Daniels cbf92b08aa fix(chore): Fix API endpoint and chain filtering (#1797)
* fix(chore): Fix API endpoint and chain filtering

* refactor: Improve filtering and mapping logic in getStaticProps function

* refactor: Update getGuidesAndTemplates.ts file
2023-10-17 04:46:33 +00:00
Yash 80582cc97d Update deterministic deploy option (#1789)
update deterministic deploy option
2023-10-16 18:27:36 +00:00
Tair Asim 082aac0851 fix: landing solutions gaming image (#1790) 2023-10-16 18:03:27 +00:00
Jonas Daniels 305054bde0 update dependencies (10/14) (#1787)
* feat: update @thirdweb-dev/auth and @thirdweb-dev/react versions

* chore(package.json): update react-markdown and remark-gfm versions

* chore: update dependencies for react-table and airtable
2023-10-15 04:56:05 +00:00
0667d545b8 Solutions landing pages (#1773)
* New gaming page

* New gaming page

* Book Dempo

* Wip loyalty page

* New sections

* Add icons back

* Should be good now

* Finish gaming page

* Minting page

* Fix build

* New pageid

* Marketplace solutions page

* Chains page

* Appchain api page

* web2 onboarding page

* shippy ship

* Fix build

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
2023-10-14 00:59:23 +00:00
Nacho Iacovino 98fddcbcd1 Fix social URLs (#1785) 2023-10-13 23:35:33 +00:00
Juan Leal e9357f5bba Add AWS to homepage carousel (#1784)
* Add AWS to homepage carousel

Signed-off-by: Juan Leal <[email protected]>

* add aws logo to homepage

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2023-10-13 21:56:24 +00:00
Manan TankandJonas Daniels ffe7b63104 thirdweb connect landing page updates (#1779)
* Use video instead of lottie

* show video on mobile too

* Video improvements

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-10-13 21:32:03 +00:00
Juan Leal facd42e7b1 AWS logo p2 (#1783)
Signed-off-by: Juan Leal <[email protected]>
2023-10-13 21:13:24 +00:00
Tair Asim 7c3fdd6684 polish: connect wallet modal icon (#1780) 2023-10-13 20:53:35 +00:00
Jonas Daniels 2c764261cb remove unused og image (#1782) 2023-10-13 20:35:25 +00:00
Tair AsimandJonas Daniels 813867b255 fix: nullable chain slug (#1769)
Co-authored-by: Jonas Daniels <[email protected]>
2023-10-13 20:24:25 +00:00
Juan LealandJonas Daniels 0baa94a2d6 AWS logo on website (#1781)
Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-10-13 20:21:08 +00:00
af1ac0be1b Connect playground SEO (#1777)
* Connect playground SEO

Signed-off-by: Juan Leal <[email protected]>

* Connect playground SEO

Signed-off-by: Juan Leal <[email protected]>

* Fix

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-10-13 20:16:20 +00:00
Tair AsimandJonas Daniels 12f92a9508 fix: useApi caching (#1778)
* fix: useApi caching

- misc change to yarn as bun failing

* chore(ci): setup bun for testing

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-10-13 19:59:45 +00:00
Nacho Iacovino da7449d7af /connect lottie (#1775)
* Test /connect lottie

* New animation
2023-10-11 23:33:03 +00:00
Manan Tank 826d0bd225 Add Banner in CW playground (#1774)
* Add Banner in CW playground

* preload banner images
2023-10-11 20:40:52 +00:00
Jonas DanielsandElasticBottle 33e7a9e729 feat(api): add redirectUrls field to ApiKey (#1755)
* fix(api): add redirectUrls field to ApiKey

* test: add redirectUrls validation test

* feat: display redirecrURIs on dashboard

* chore: update helper text for redirectURIs

---------

Co-authored-by: ElasticBottle <[email protected]>
2023-10-11 20:18:53 +00:00
Tair Asim cd1009047b chore: polish cli login button & copy (#1768) 2023-10-11 19:33:53 +00:00
Juan Leal fae0dff71a Connect landing og:image p2 (#1772)
Update connect.tsx

Signed-off-by: Juan Leal <[email protected]>
2023-10-11 14:58:45 +00:00
Juan Leal a674beda17 New Connect landing og:image (#1770)
Signed-off-by: Juan Leal <[email protected]>
2023-10-11 14:34:23 +00:00
Manan Tank c93dc28fd7 ConnectWallet component + playground improvements (#1737)
* update

* Remove custom SignInModal and add base-gor

* use Goerli on playground

* update

* update lock

* Fix Build

* update

* update

* update

* update

* update

* update

* Fix Build

* update

* update

* update

* Fix Safe wallet

* Fix Build

* update

* Add termsOfServiceUrl and privacyPolicyUrl

* Make coinbase recommended

* update both accents on accentText change
2023-10-11 14:27:32 +00:00
Winston Yeo 2f127ce01f chore: update .env.example (#1767)
* chore: update .env.example

* chore: update .env.example
2023-10-10 23:02:07 +00:00
Jonas Daniels 62ae551b6d feat(api): add IPFS gateway URL replacement function (#1765)
* feat(api): add IPFS gateway URL replacement function

* fix(NetworkSelectorButton): Fix issue with NetworkSelector not opening
2023-10-10 21:16:31 +00:00
Juan Leal 649a008086 About page update (#1766)
* About page update

Signed-off-by: Juan Leal <[email protected]>

* About page updates

Signed-off-by: Juan Leal <[email protected]>

* About page updates

Signed-off-by: Juan Leal <[email protected]>

---------

Signed-off-by: Juan Leal <[email protected]>
2023-10-10 21:07:14 +00:00
dependabot[bot] f79b0e80f2 bump eslint from 8.50.0 to 8.51.0 (#1762)
---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 19:55:20 +00:00
dependabot[bot] 2facfa4b78 bump @types/pluralize from 0.0.30 to 0.0.31 (#1763)
---
updated-dependencies:
- dependency-name: "@types/pluralize"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 19:55:05 +00:00
Jonas Daniels 5b32c3d05e refactor(solana): remove support for solana (#1733)
* refactor(solana): remove support for solana

* chore: update @thirdweb-dev/react and @thirdweb-dev/sdk versions

* remove unused code & re-update-next-versions

* refactor: Remove unused Solana currency metadata

* fix build
2023-10-09 19:46:47 +00:00
Manan Tank 21a284da7a Fix custom theme code in CW playground (#1756) 2023-10-08 09:56:50 +00:00
Nacho Iacovino c6ded0ad5a Fix typo (#1754) 2023-10-06 18:05:21 +00:00
Manan Tank 2501532a4b [SEO] Add SEO meta to dashboard/wallets/smart-wallet (#1753)
Add SEO meta to dashboard/wallets/smart-wallet
2023-10-06 15:43:38 +00:00
Juan Leal 55c8da8ea2 Smart wallet dashboard og:image (#1752)
Add files via upload

Signed-off-by: Juan Leal <[email protected]>
2023-10-06 15:04:00 +00:00
Joaquim Verges 109a9cadfd Change paper snippets to embedded wallet (#1751) 2023-10-05 19:41:34 +00:00
Joaquim VergesandJonas Daniels 6a82715aed Fix smart wallet template link (#1748)
Co-authored-by: Jonas Daniels <[email protected]>
2023-10-05 18:13:34 +00:00
Nacho Iacovino d13da631d1 Checkbox labels UX (#1750)
Fix checkout labels
2023-10-05 18:04:13 +00:00
Juan LealandJonas Daniels d938d4b140 About page updates p2 (#1746)
Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-10-05 17:57:50 +00:00
Nacho IacovinoandJonas Daniels f9cf7eab5a Fix broken dashboard (#1744)
* Fix broken dashboard

* Remove log

* Test

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-10-05 17:48:29 +00:00
Jonas Daniels bb64b4c408 fix(build): bun -> yarn (#1749) 2023-10-05 17:21:02 +00:00
Manan Tank 682d0b6cc5 chore: Update thirdweb packages (#1739)
Update thirdweb packages
2023-10-05 14:01:57 +00:00
Nacho Iacovino bf83d5657b Update embeds (#1745) 2023-10-05 01:47:13 +00:00
c91d71432d About page updates (#1743)
* About page updates

Signed-off-by: Juan Leal <[email protected]>

* Update about.tsx

Signed-off-by: Nacho Iacovino <[email protected]>

* Update about.tsx

Signed-off-by: Nacho Iacovino <[email protected]>

* Prettier

* Update image

---------

Signed-off-by: Juan Leal <[email protected]>
Signed-off-by: Nacho Iacovino <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-10-04 19:45:23 +00:00
Juan LealandNacho Iacovino 976ec80607 Add Guides section for Connect landing page (#1731)
* Add Guides section for Connect landing page

Signed-off-by: Juan Leal <[email protected]>

* Fix

---------

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-10-04 18:57:00 +00:00
Nacho Iacovino 70a81d4a84 Improve expires in for account (#1742)
Improve expires in
2023-10-04 18:51:23 +00:00
Juan Leal ee3112c158 Dashboard connect og:image (#1740)
Signed-off-by: Juan Leal <[email protected]>
2023-10-04 16:26:16 +00:00
Tair Asim 0e4dda1ce5 chore: submit email confirmation token on paste (#1741) 2023-10-04 16:00:25 +00:00
Tair Asim cef56ea477 fix: api key create button height (#1736) 2023-10-03 15:31:13 +00:00
Manan Tank b0977f04ec Update termsOfServiceUrl and privacyPolicyUrl in code in CW playground (#1735)
update termsOfServiceUrl and privacyPolicyUrl in code in CW playground
2023-10-03 13:49:45 +00:00
Jonas Daniels 9cbf15a58e init chains-db (#1701)
* feat(chains): Add revalidation for getStaticProps in chainlist.tsx

* chore: add revalidate option to getStaticProps

* fix(package.json): update next-sitemap to version 4.2.3

* chore: Update additionalPaths function in next-sitemap.config.js

* refactor: Simplify chain retrieval logic and remove unnecessary code

* chore: Update dependencies in package.json

* refactor: update @tanstack/react-query to version 4.35.7

* fix(package.json): update react-query-persist-client version
2023-10-03 05:03:59 +00:00
Juan Leal cc8a4b166e Connect guide image (#1730)
Signed-off-by: Juan Leal <[email protected]>
2023-10-02 22:06:46 +00:00
Manan Tank 84a2f629cf Update CW playground (#1729)
* Update CW playground

* Lint
2023-10-02 21:24:13 +00:00
Tair Asim d500b40959 fix: useAddress for caching api keys & account (#1652)
fixes FTD-2137
2023-10-02 19:38:59 +00:00
Tair Asim 001115ada5 fix: dynamic main nav positioning (#1723)
fixes FTD-2174
2023-10-02 15:40:12 +00:00
Tair Asim b29f24a74e feat: onboarding with email + billing (#1714)
completes FTD-2170, PROD-238
2023-10-02 12:47:10 +00:00
Manan Tank 1dc04fb855 Fix Smart Wallet connection in ConnectWallet playground (#1722)
Fix Smart Wallet connection in CW playground
2023-10-01 00:07:17 +00:00
Muhammad Meigooni 253421c674 Fix typo (#1721) 2023-09-29 22:48:40 +00:00
Tair Asim c100f3770d fix: embedded wallets docs links (#1719) 2023-09-29 17:16:45 +00:00
Manan Tank 48967e00fe Fix wallet disconnect on visiting connect playground (#1720) 2023-09-29 17:13:48 +00:00
Manan TankandJonas Daniels 9742d29ef4 Add custom welcome screen in ConnectWallet component (#1716)
* Add custom screen in ConnectWallet component

* update thirdweb connect OG meta

* update

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-09-28 20:35:15 +00:00
Nacho IacovinoandJonas Daniels 3449158db5 Fix mobile view (#1717)
Co-authored-by: Jonas Daniels <[email protected]>
2023-09-28 20:34:40 +00:00
Jonas Daniels 99f347088d chore: Update postinstall script for Sentry CLI installation (#1718)
* chore: Update postinstall script for Sentry CLI installation

* feat(package.json): update next version to 13.5.4-canary.6
2023-09-28 20:10:42 +00:00
Tair Asim 64371d395b feat: embedded wallets (#1696)
* feat: embedded wallets

completes FTD-2165

* chore: smart wallets show factory deploy
2023-09-28 15:49:27 +00:00
Manan Tank 3ed3c9c9f6 thirdweb connect landing page updates (#1715)
* update title

* update OG
2023-09-28 14:26:13 +00:00
Nacho Iacovino 3c5cf7d722 Dashboard auth page (#1713)
* New images

* Add auth page

* Horizontal image
2023-09-27 23:27:23 +00:00
Manan Tank 4466a11c09 connect wallet playground updates (#1712)
* Fix platform icon in connect playgrounds

* Remove Feature grid from connect wallet playground
2023-09-27 22:59:12 +00:00
Jonas Daniels fdecec6cb3 chore: downgrade next-seo version to 5.15.0 (#1711)
chore: Update next-seo version to 5.15.0
2023-09-27 22:13:33 +00:00
c7c9d63c9e ConnectWallet v3 updated Playground + Landing Pages (#1690)
* cwv3 test

* Updated Playground

* Put theme and modal size on first tab

* refactor and use embededWallet

* Fix RPC for playground

* update

* Update custom NetworkSelector styles

* Fix chain icons in live preview

* update

* update

* Fix Modal title icon

* Fix Typo

* update wallets

* updates

* Fix code for recommended

* update

* update smartWallet code

* /connect v2 (#1710)

* Update all landing pages (#1697)

* Stuff

* Pushy push

* wut

* ?

* ??

* Amazing

* New images

* :)

* Menu sections

* Fix build

* Better logic

* local images

* Storage hero

* Now better logic for real

* chore: update landing page copy (#1708)

* chore: update env examples based on tair's DM

* chore: update build page vercel comment

* chore(storage): update copy from feedback

* chore(deploy): update copy

* chore(sponsored-transactions): update copy

* chore(embedded-wallets): update copy

* chore(publish): update copy

* chore(checkout): update copy

* chore(smart-contracts): update copy

* chore: update hero images

* chore: update mobile product hero

* chore(build): update build icons

* chore(interact): Update interact icons

* chore(smart-contracts): add page icons

* chore(publish): add publish icons

* chore(deploy): add deploy icons

* refactor(contracts): update icon contract pages

* chore(connect): add connect icons

* chore(embedded-wallets): add icons for embedded-wallets

* chore(auth): add auth icons

* chore(checkout): add checkout page icons

* chore(sponsored-transaction): add icons for sponsored transactions

* chore(storage): add storage page icons

* chore(rpc-edge): add rpc-edge page icons

* chore(checkout): update checkout icon

* chore(nav): update nav icons

* chore(contracts): update gradient to  #F213A4, #F97CCE

* chore(payments): update gradient #00A876, #75FFD6

* chore(wallets): update gradient to #3385FF, #7BB0FF

* chore(connect): update copy

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Winston Yeo <[email protected]>
Co-authored-by: ElasticBottle <[email protected]>

* Fix wrong link (#1709)

Fix link

* New sectio on /connect

* Updated images

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Winston Yeo <[email protected]>
Co-authored-by: ElasticBottle <[email protected]>
Co-authored-by: Manan Tank <[email protected]>

* Fix Hydration issue with link-box and style updates

* Add Mini playground for landing page

* Add Hover overlay

* Update Modal Size style

* Fix color for nouns dao theme

* Fix ModalSize button style

* UI updates

* update

* update guides

* update icon styles

* resolve vercel comments

* UI updates

* update hero and OG

* update

* Remove old

* bruh

* Fix vertical image

* Remove

* Fix build

* Fix build again

* tracking and other stuff

* update tracking

* update tracking

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Winston Yeo <[email protected]>
Co-authored-by: ElasticBottle <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-09-27 19:55:45 +00:00
Nacho Iacovino f1b7768f3c Fix wrong link (#1709)
Fix link
2023-09-26 19:35:00 +00:00
4d760f8b23 Update all landing pages (#1697)
* Stuff

* Pushy push

* wut

* ?

* ??

* Amazing

* New images

* :)

* Menu sections

* Fix build

* Better logic

* local images

* Storage hero

* Now better logic for real

* chore: update landing page copy (#1708)

* chore: update env examples based on tair's DM

* chore: update build page vercel comment

* chore(storage): update copy from feedback

* chore(deploy): update copy

* chore(sponsored-transactions): update copy

* chore(embedded-wallets): update copy

* chore(publish): update copy

* chore(checkout): update copy

* chore(smart-contracts): update copy

* chore: update hero images

* chore: update mobile product hero

* chore(build): update build icons

* chore(interact): Update interact icons

* chore(smart-contracts): add page icons

* chore(publish): add publish icons

* chore(deploy): add deploy icons

* refactor(contracts): update icon contract pages

* chore(connect): add connect icons

* chore(embedded-wallets): add icons for embedded-wallets

* chore(auth): add auth icons

* chore(checkout): add checkout page icons

* chore(sponsored-transaction): add icons for sponsored transactions

* chore(storage): add storage page icons

* chore(rpc-edge): add rpc-edge page icons

* chore(checkout): update checkout icon

* chore(nav): update nav icons

* chore(contracts): update gradient to  #F213A4, #F97CCE

* chore(payments): update gradient #00A876, #75FFD6

* chore(wallets): update gradient to #3385FF, #7BB0FF

* chore(connect): update copy

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Winston Yeo <[email protected]>
Co-authored-by: ElasticBottle <[email protected]>
2023-09-26 03:48:46 +00:00
Jonas Daniels 4c9c407ff4 build: Update next-sitemap and next versions (#1702) 2023-09-25 14:05:33 +00:00
Tair Asim 0552ce7e19 fix: footer links (#1698) 2023-09-22 18:03:17 +00:00
Nacho Iacovino 4ce7c46441 Add snippets for embedded/local (#1694) 2023-09-20 23:17:47 +00:00
Nacho Iacovino aeeb476d8c Pricing section on homepage (#1693)
* Pricing section on homepage

* Set redirect
2023-09-20 22:53:00 +00:00
Juan Leal 8143ae6dca Quick SEO fix - account-abstraction landing page (#1692)
Signed-off-by: Juan Leal <[email protected]>
2023-09-20 19:00:53 +00:00
Nacho Iacovino c377fd5d1b Remove placeholder text (#1691) 2023-09-20 18:34:55 +00:00
Avneesh AgarwalandJonas Daniels 74365aa86d feat: add contract cards to templates (#1584)
* feat: add contract cards to templates

* style(pages/template): remove unused import and comment

---------

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-09-20 05:38:50 +00:00
7a3741ea36 Fix issue #1434 (#1554)
Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-09-20 05:20:16 +00:00
579bea2a09 feat: add loyalty card template (#1624)
Co-authored-by: samina <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-09-20 05:13:46 +00:00
Jonas Daniels d6e9b28238 migrate to bun (#1665)
* migrate to bun

* chore(providers): handle type discrepancy in queryClient

* chore(ci): simplify build step

* try to trick sentry during vercel build

* chore(build): Update build scripts and dependencies

* chore: Update next dependency version

* chore: Update test script in package.json

* chore: remove jest.config.js

* chore: Update README.md with bun installation instructions

* chore: update dev and build commands
2023-09-20 04:52:11 +00:00
Jonas Daniels d2a2d26735 chore(dependencies): update dependencies (#1688)
* chore(dependencies): update dependencies

* chore: Update image source paths
2023-09-20 02:37:47 +00:00
dependabot[bot] 483491d09f Bump react-hook-form from 7.45.2 to 7.46.1 (#1631)
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.45.2 to 7.46.1.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.45.2...v7.46.1)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 01:40:24 +00:00
Nacho Iacovino f69cbf2e46 Add embedded/local dashboard pages (#1687)
* wip

* Embedded + Local pages

* New icons

* Fix

* New nft explore contract

* No events for now
2023-09-19 23:53:25 +00:00
Tair Asim f57362d9a1 chore: make smart wallets page simpler (#1675)
fixes FTD-2161
2023-09-19 20:34:05 +00:00
dependabot[bot] ca98c30ade chore(deps-dev): bump jest-environment-jsdom from 29.6.3 to 29.7.0 (#1684)
Bumps [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.6.3 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 20:17:41 +00:00
Nacho Iacovino f35fe6ff5a Engine landing (#1667)
* Engine landing

* Fix mobile columns

* Addressed comments

* Update sdk

* Fix build

* Update comments

* Add extra point

* Update icon

* Add to menu'

* Fix warnings

* Update cta

* Add end cta link
2023-09-19 20:10:06 +00:00
Nacho Iacovino c42e7bb062 Remove paperClientId from snippet (#1685)
* Remove paperClientId

* Unpublished -> Custom
2023-09-19 19:44:44 +00:00
dependabot[bot] 6d8c747801 chore(deps): bump @solana/wallet-adapter-wallets from 0.19.19 to 0.19.22 (#1681)
Bumps [@solana/wallet-adapter-wallets](https://github.com/solana-labs/wallet-adapter) from 0.19.19 to 0.19.22.
- [Release notes](https://github.com/solana-labs/wallet-adapter/releases)
- [Commits](https://github.com/solana-labs/wallet-adapter/compare/@solana/[email protected]...@solana/[email protected])

---
updated-dependencies:
- dependency-name: "@solana/wallet-adapter-wallets"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 19:36:35 +00:00
dependabot[bot] 3cae73beb7 chore(deps): bump @sentry/nextjs from 7.64.0 to 7.69.0 (#1683)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.64.0 to 7.69.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.64.0...7.69.0)

---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 19:35:27 +00:00
Manan Tank c0e648b824 ConnectWallet v3 (#1603)
* test cwv3

* new UI

* fix build maybe?

* update packages

* fix build plz

* update

* update

* Merge UI and Live Preview tabs

* update

* update

* fix build

* update

* update

* update

* fix build

* update

* fix ConnectModalInline width

* update

* update

* update

* update

* cleanup
2023-09-18 22:28:56 +00:00
Juan Leal 2dc5b79624 Update account-abstraction.tsx (#1679) 2023-09-16 15:45:48 +00:00
Juan Leal 92e4b4fe2c Smart wallet fixes (#1678)
Add files via upload
2023-09-16 14:42:59 +00:00
Yash 835e61502f Update packages (#1676)
* update packages

* update
2023-09-15 21:23:37 +00:00
Tair Asim 8051da4920 feat: landing developer menu (#1671)
feat: landing developer + company menu

fixes PROD-175
2023-09-15 20:42:02 +00:00
Juan Leal 7363aa06a3 Last quick fix - update account-abstraction.tsx (#1674) 2023-09-15 16:11:17 +00:00
Juan Leal bb038b51a1 Quick fix account-abstraction.tsx (#1673)
Update account-abstraction.tsx
2023-09-15 13:19:13 +00:00
Juan Leal 8fd49b9daf Smart wallet image update (#1672) 2023-09-15 11:27:22 +00:00
Juan Leal 3fa91d670c Update account-abstraction.tsx (#1670) 2023-09-15 00:07:00 +00:00
Juan Leal 890d2daf3c New images for smart wallet landing page (#1669) 2023-09-14 23:29:17 +00:00
Juan Leal 458382885b Updated smart wallet og:image (#1668) 2023-09-14 23:18:51 +00:00
Juan LealandNacho Iacovino 78675152ce Update AnnouncementBanner.tsx (#1666)
* Update AnnouncementBanner.tsx

* Fix prettier

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2023-09-14 23:10:05 +00:00
Nacho Iacovino 826cf0f4e0 Contact us -> Book demo (#1664) 2023-09-14 18:16:02 +00:00
Nacho Iacovino 7f4bb18ea8 Small changes and banner (#1663)
* Small changes and banner

* Add gateway rate limit
2023-09-14 17:56:42 +00:00
Nacho Iacovino 89dc1829a8 New contracts overview (#1661)
* New contracts product grouping

* Remove unused

* Center mobile

* No overview page
2023-09-14 02:56:26 +00:00
Nacho Iacovino 07805d7323 Fix links not working (#1662)
* Fix links not working

* Fix direct

* Remove section
2023-09-13 19:23:02 +00:00
Nacho Iacovino a2d73fbd55 Add disabled tooltip for account created (#1656)
Add disabled tooltip
2023-09-13 18:56:12 +00:00
Nacho Iacovino 8e0fc9db82 Links out to docs in smart wallet tab (#1660)
* Links out to docs in smart wallet tab

* Fix tracking

* Fix tracking

* Fix bug
2023-09-13 18:13:48 +00:00
Nacho Iacovino c790e569db Fix links to account-abstraction (#1659) 2023-09-13 17:14:10 +00:00
Nacho Iacovino 13ce62a1b5 Learn more link on smart wallets explore section (#1658)
Learn more link
2023-09-13 17:05:20 +00:00
Nacho Iacovino b69a45febd URL change for account abstraction (#1657)
URL change
2023-09-13 16:56:12 +00:00
Nacho Iacovino cae37825c0 New product grouping diagram (#1655) 2023-09-13 16:39:31 +00:00
nkrishang 878d061dc3 Update sdk and react pkg: AccountFactory extension detection (#1654) 2023-09-13 15:56:56 +00:00
Nacho Iacovino bfb7c09c47 Smart wallet landing + stuff (#1638)
* Shenanigans

* Smart wallet landing page

* Fix mobile for showcase image

* All copy changes

* Update seo

* Update guide images

* Update images

* Stuff

* Add NEW badge

* Center

* Fix stuff

* Stuff

* Make badge nicer

* Update images

* Update icon

* Fix

* Make the whole box clickable

* Add tracking to dynamic selector
2023-09-13 15:42:36 +00:00
Jake Loo e3493a934a Update ambassadors.tsx (#1653) 2023-09-13 15:25:59 +00:00
Tair Asim 32774e47c4 feat: show rate limit alerts (#1651)
feat: show rate limit and invalid payment alerts

fixes FTD-2074, PROD-121

show invalid payment alert
2023-09-13 10:11:04 +00:00
Jonas Daniels 28e021e7d3 refactor: Simplify code and conditionally render AccountForm components (#1650) 2023-09-11 21:03:08 +00:00
Jonas Daniels 71f7c26a8e feat: Enable the MarketplaceV3 contract in explore.ts (#1649) 2023-09-11 20:22:39 +00:00
dependabot[bot] 7a07a2e5c3 chore(deps-dev): bump typescript from 5.1.6 to 5.2.2 (#1644)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 19:34:57 +00:00
dependabot[bot] a7469ea7e1 chore(deps-dev): bump @types/cors from 2.8.13 to 2.8.14 (#1646)
Bumps [@types/cors](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/cors) from 2.8.13 to 2.8.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/cors)

---
updated-dependencies:
- dependency-name: "@types/cors"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 19:21:47 +00:00
dependabot[bot] 603d62d8d2 chore(deps): bump framer-motion from 10.16.1 to 10.16.4 (#1647)
Bumps [framer-motion](https://github.com/framer/motion) from 10.16.1 to 10.16.4.
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.16.1...v10.16.4)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 19:05:03 +00:00
Manan Tank 113396be92 Fix GuidesShowcase description alignment (#1643) 2023-09-11 16:09:17 +00:00
Kien Ngo 4f288ed856 Fix light theme condition (#1642)
fix
;
2023-09-11 13:07:03 +00:00
Kien Ngo 144e44116a Quick fix for create direct listing on dashboard (#1641)
Quick fix
2023-09-11 01:31:29 +00:00
Winston Yeo b5169e4002 chore(wallet-sdk): update paperWallet code snippet for wallet-sdk (#1639)
* chore(wallet-sdk): update code snippet for wallet-sdk

* chore(wallet-sdk): update comment
2023-09-09 22:06:57 +00:00
Jonas Daniels 3c4512f508 reorganize explore data (#1640) 2023-09-09 20:43:28 +00:00
Nacho Iacovino 83a767df80 Update product images (#1637)
* Update product images

* Remove unused
2023-09-08 23:09:25 +00:00
Nacho Iacovino 31b2b2c968 No experimental suspense (#1636) 2023-09-08 22:20:48 +00:00
Tair Asim ef642d52c4 feat: add loyalty to explore (#1633)
feat: add loyalty contracts to explore n link from solutions

fixes FTD-2127, FTD-2090
2023-09-08 18:16:41 +00:00
Nacho Iacovino 8171929196 New FTUX (#1634)
* New FTUX

* Add extra link
2023-09-08 17:55:09 +00:00
Tair Asim cae01c5805 fix: hide billing button by default 2023-09-08 17:27:51 +02:00
Tair Asim 4344afa29c fix: billing button alignment 2023-09-08 17:26:13 +02:00
Tair Asim 7aad2ee93b fix: missing billing button 2023-09-08 17:25:29 +02:00
Tair Asim 51085ef5db feat: notification preferences (#1628)
feat: notification preferences + onboarding opt-in to email updates

fixes FTD-2101
2023-09-08 10:53:32 +00:00
dependabot[bot] a2393b54b3 Bump eslint from 8.45.0 to 8.48.0 (#1616)
Bumps [eslint](https://github.com/eslint/eslint) from 8.45.0 to 8.48.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.45.0...v8.48.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-08 06:38:14 +00:00
dependabot[bot] 19f9cf0112 Bump @babel/core from 7.22.11 to 7.22.15 (#1617)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.22.11 to 7.22.15.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.22.15/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-08 06:31:39 +00:00
dependabot[bot] 3a9b1545c3 Bump next from 13.4.12 to 13.4.19 (#1614)
Bumps [next](https://github.com/vercel/next.js) from 13.4.12 to 13.4.19.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v13.4.12...v13.4.19)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-08 06:30:25 +00:00
dependabot[bot] 61f9caf67f Bump @types/react-table from 7.7.14 to 7.7.15 (#1615)
Bumps [@types/react-table](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-table) from 7.7.14 to 7.7.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-table)

---
updated-dependencies:
- dependency-name: "@types/react-table"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-08 06:29:06 +00:00
Nacho Iacovino 6f53efdfd6 Update loyalty link (#1613) 2023-09-08 05:49:00 +00:00
Danny Friday afc709f069 Set CLI's auth token expiry to a year (#1629)
* Extend CLI JWT expiry by a year

* Remove import
2023-09-07 21:21:19 +00:00
Nacho Iacovino 6a39ddf12d Fix safari/firefox on pricing page (#1626)
* Fix safari

* Fix gray

* Fix prettier
2023-09-07 00:57:15 +00:00
Tair AsimandJake Loo 9b3f46e829 chore: remove billing ff (#1610)
* remove billing ff

* adjust tracking categories

---------

Co-authored-by: Jake Loo <[email protected]>
2023-09-06 23:38:52 +00:00
Nacho Iacovino 4589391691 New pricing landing page (#1621)
* First section

* Add table

* Add FAQ

* Mobile table

* Fix desktop table

* Add secondary buttons

* Last touches

* Copy

* Add og image

* Add monthly

* Addressed comments

* Update SEO metadata

* Monthly -> Month

* 5000 -> 2000

* Remove tw logo

* Latest changes
2023-09-06 19:50:19 +00:00
Nacho Iacovino ffbafd32c0 Bust cache (#1623) 2023-09-06 13:41:29 +00:00
Tair Asim f2324b1b3e chore: polish billing + usage (#1622)
fixes FTD-2112
2023-09-06 10:32:58 +00:00
Tair Asim da03e2bba1 feat: update usage cards for all services (#1620)
feat: update usage cards + limits for all services

fixes FTD-2079, FTD-2105
2023-09-05 19:47:28 +00:00
Joaquim Verges eba6a8937b Smart Wallet Tab polish (#1612)
* Smart Wallet Tab polish

* add tracking
2023-09-05 17:15:38 +00:00
Nacho Iacovino 61835c734c Show latest version on contract card (#1619)
* Show latest version on contract card

* Unnecesary
2023-09-05 06:09:33 +00:00
Tair Asim 358ffb2074 feat: add storage usage and limits (#1611)
fixes FTD-2043
2023-09-04 18:07:54 +00:00
Tair Asim 7c7e5d3dd6 fix: billing usage responsiveness 2023-08-31 21:09:40 +02:00
Tair Asim 95729886e8 chore: better usage format, total amount and fix disabled btn (#1609)
* chore: better usage format, total amount and fix disabled btn

fixes FTD-2087

* remove api keys announcement

fixes FTD-2086
2023-08-31 18:54:55 +00:00
Yash 2e5557ea6b Option to deploy deterministically (#1604)
* option to deploy deterministically

* fix

* optional salt input

* tooltip

* lowercase

* sdk dev build 3682

* sdk nightly with param encoding fix

* hide advanced deploy options when not needed

* fix versions

* fix versions

* dev build with cli fix

* nightly
2023-08-31 03:04:41 +00:00
Tair Asim 1c36903421 feat: billing (#1559)
fixes FTD-2082, FTD-2078, FTD-2035, FTD-2081, FTD-2088
2023-08-30 22:23:23 +00:00
dependabot[bot] 671bc1bf84 Bump eslint-plugin-import from 2.27.5 to 2.28.1 (#1600)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.27.5 to 2.28.1.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.27.5...v2.28.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 21:58:46 +00:00
dependabot[bot] 3a40c1e70c Bump eslint-config-next from 13.4.12 to 13.4.19 (#1599)
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.4.12 to 13.4.19.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.4.19/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 21:56:09 +00:00
dependabot[bot] 603fd54b5b Bump jest from 29.6.3 to 29.6.4 (#1602)
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 29.6.3 to 29.6.4.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.6.4/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 21:54:58 +00:00
dependabot[bot] 97ab4fb362 Bump @next/bundle-analyzer from 13.4.12 to 13.4.19 (#1601)
Bumps [@next/bundle-analyzer](https://github.com/vercel/next.js/tree/HEAD/packages/next-bundle-analyzer) from 13.4.12 to 13.4.19.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.4.19/packages/next-bundle-analyzer)

---
updated-dependencies:
- dependency-name: "@next/bundle-analyzer"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 21:53:43 +00:00
dependabot[bot] d95805f7b0 Bump @babel/core from 7.22.9 to 7.22.11 (#1598)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.22.9 to 7.22.11.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.22.11/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 21:52:07 +00:00
Mariano Fuentes 937e0dd1fa Warn Brave users to turn off shield (#1606)
* add brave warning banner

* remove unused import

* Left align and list steps

* update font weight
2023-08-30 20:36:11 +00:00
Mariano Fuentes 7266f62429 Add new field to contact us form (#1607) 2023-08-30 19:27:22 +00:00
Firekeeper c7b45458f0 fix: Update @thirdweb-dev/chains version to ^0.1.49 (#1605) 2023-08-29 04:04:25 +00:00
Mariano Fuentes b4775ac380 Allow login flow for CLI (#1491)
* Auth CLI using dashboard signature, and generate authToken

* add auth package

* update packages to include generate function

* update packages to latest

* add dashboard secret key

* pass in client id and secret to rpc respectively

* add logic to create authWallet record in db

* use staging url for testing

* update staging url

* use staging url for jwt/authorize

* update UI/UX

* add success text

* fix typo

* update copy

* fix typo

* Better errors and kill CLI process if there's an error

* Add settings account page and support for revoking authorized wallets

* No contact msg, add rejected copy

* remove unused imports

* remove unwanted code

* remove unused imports

* fix prettier

* update nightly versions

* bring back previous sdk, react and chains versions.

* Add some more trackers
2023-08-28 22:17:20 +00:00
Tair Asim 284f6c358b chore: don't dismiss drawer on outside click (#1597)
fixes FTD-2072
2023-08-28 16:41:26 +00:00
Joaquim Verges 2c4b230621 Group functions by extensions in contract explorer (#1595)
* Group functions by extensions in contract explorer

* cleanup
2023-08-28 16:21:44 +00:00
Tair Asim d369503481 chore: add last accessed at to keys (#1596)
fixes FTD-2065
2023-08-28 13:16:40 +00:00
Manan Tank 5bcfc96734 Minor Fixes (#1593)
* Fix Grammar in ConnectWallet preview

* Fix Get Started / FTUX not rendering anything when wallet is connecting
2023-08-27 11:06:43 +00:00
Mariano Fuentes 976a12d117 update nav no icons + same selected color (#1592) 2023-08-26 00:20:24 +00:00
Joaquim Verges 8726ae92ea Smart wallet tab updates (#1591)
* factory table wip

* reorder pages

* show factory cards

* show all langagues

* cleanup
2023-08-25 23:44:42 +00:00
Manan Tank 1e9df14256 ConnectWallet playground improvements (#1590)
* ConnectWallet playground improvements

* add switchToActiveChain

* UI updates

* disable pointerEvents in UI tab for CW
2023-08-25 23:01:38 +00:00
Nacho Iacovino 0518605f18 Small updates to product positioning (#1589) 2023-08-25 07:18:57 +00:00
Nacho IacovinoandJoaquim Verges e4e13e7881 New dashbord product grouping (#1585)
* New wallets sidebar

* basic smart wallet page

* Update overview

* Use select instead of radio group

* Whoops

* Fix

* Fix loading

* Small changes to connect wallet tab

* fix loading states

* Rename to connect

* Add explanation to smart wallets

* New internal dashboard navbar

* Fix?

* Capitalizationn

* Pls

---------

Co-authored-by: Joaquim Verges <[email protected]>
2023-08-25 01:22:28 +00:00
Nacho Iacovino 7e9ec68555 New groupings navigation (#1588)
* New desktop menu

* Whatever
2023-08-25 00:33:04 +00:00
Yash 0fd32a00c0 Update packages (#1586)
* update packages

* fix version
2023-08-24 23:51:50 +00:00
Nacho Iacovino 41b7bbda6b Fix duplicate leafs in snapshot/airdrop (#1587) 2023-08-24 21:18:03 +00:00
Nacho IacovinoandYash a1fb2d14eb Add dynamic contract support to publish (#1560)
* Add dynamic contract fieldset to default factory form

* Add routerType to extraMetadata in ContractPublishForm component

* Fix build

* Fetch published contracts and versions

* sdk dev build update

* sdk dev build update

* Skeleton states, new sdk

* New sdk

* Update again

* remove log

* Fix build, finally

* Fix typo

* Latest sdk

* latest nightly

* fix

* latest nightly

* ERC1155Supply templates and guides

---------

Co-authored-by: Yash <[email protected]>
2023-08-24 15:25:38 +00:00
dependabot[bot] fdee543ff2 Bump jest from 29.6.2 to 29.6.3 (#1576)
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 29.6.2 to 29.6.3.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.6.3/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 17:55:41 +00:00
Joaquim Verges b67803c711 faster contract resolution + bytecode extension detection (#1572)
* testing fetching ABIs from contract resolver

* updates

* add import banner

* fix build, await refetch

* fix invalidation

* add toast

* fix build

* fix page id
2023-08-22 21:50:12 -07:00
35c46bb629 feat: add submission form button to open source bounties (#1577)
* feat: add submission form button to open source bounties

* feat: add to another bounty as well

* Cleanup

* Update bounty numbers

---------

Co-authored-by: samina <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-08-22 20:35:02 +00:00
Adam Majmudar 2e46d80d32 Add analytics to overview tab (#1580)
* Add analytics to overview tab

* Update with nacho's suggestions

* Update type
2023-08-22 19:43:29 +00:00
samina 2f3e8ef05a Update links on template page (#1581)
* fixed marketplace link on templates page

* fixed other template links
2023-08-22 18:52:39 +00:00
dependabot[bot] 9153b8f2fa Bump @openzeppelin/contracts from 4.9.2 to 4.9.3 (#1528)
Bumps [@openzeppelin/contracts](https://github.com/OpenZeppelin/openzeppelin-contracts) from 4.9.2 to 4.9.3.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-contracts/releases)
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.3/CHANGELOG.md)
- [Commits](https://github.com/OpenZeppelin/openzeppelin-contracts/compare/v4.9.2...v4.9.3)

---
updated-dependencies:
- dependency-name: "@openzeppelin/contracts"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 18:51:35 +00:00
Nacho Iacovino e08fc35c18 Add new NFT API (#1546)
* Add simplehash nft api

* Fix logic

* Add bigger delay to contract checklist
2023-08-22 18:42:05 +00:00
dependabot[bot] 1d39e53b68 Bump framer-motion from 10.16.0 to 10.16.1 (#1575)
Bumps [framer-motion](https://github.com/framer/motion) from 10.16.0 to 10.16.1.
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.16.0...v10.16.1)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 18:38:34 +00:00
dependabot[bot] 9ccbc0a136 Bump jest-environment-jsdom from 29.6.2 to 29.6.3 (#1574)
Bumps [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.6.2 to 29.6.3.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.6.3/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 18:38:28 +00:00
dependabot[bot] c90c53c6b6 Bump @tanstack/react-query from 4.32.6 to 4.33.0 (#1573)
Bumps [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) from 4.32.6 to 4.33.0.
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v4.33.0/packages/react-query)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 18:38:21 +00:00
Nacho Iacovino f83accf006 Fix airdrop ENS validation (#1583)
Fix airdrop validation
2023-08-22 17:17:38 +00:00
Eiman 008c0d40ee correct link for marketplace template (#1582) 2023-08-22 13:38:45 +00:00
Nacho Iacovino b13c144299 Add ENS support in snapshot (#1579)
* Add ens support in snapshot

* Add ens support to airdrop
2023-08-22 00:39:32 +00:00
Jonas Daniels 43274f264d refactor: update package dependencies versions (#1578) 2023-08-21 19:55:42 +00:00
Jonas Daniels 0f0dae7574 Jd/upgrade deps 5 (#1571)
* upgrade dependencies

* more upgrades

* refactor: remove unused rule from .eslintrc.js
2023-08-19 03:32:32 +00:00
Jonas Daniels 734d547720 style: remove unused imports in ConnectWalletWithPreview.tsx (#1570) 2023-08-19 03:05:32 +00:00
Jonas Daniels dc8c26ad81 refactor: Remove unused import and update link (#1569) 2023-08-19 03:01:22 +00:00
Jonas Daniels ac421b5cb2 update dependencies again (#1568)
* chore: update @thirdweb-dev/chains to ^0.1.46-nightly-184c325a

* chore: Update package dependencies
2023-08-19 02:52:39 +00:00
Jonas Daniels 032154d7b8 chore: Add public IPFS gateway URL for uploading files (for solana) (#1567)
chore: Add public IPFS gateway URL for uploading files
2023-08-19 02:41:39 +00:00
Jonas Daniels ca2d44dcde chore: Update dependencies (#1566) 2023-08-19 01:37:37 +00:00
Yash b7d1486c92 Add claimable airdrops to explore page (#1565)
add claimable airdrops to explore page
2023-08-18 20:26:11 +00:00
Juan Leal 7fadbaa9fb new homepage og:image (#1564) 2023-08-18 19:42:37 +00:00
Nacho Iacovino 13d88806e2 Disable api keys banner (#1561) 2023-08-17 22:05:15 +00:00
Nacho Iacovino a895c01941 Don't render mobile hero (#1558) 2023-08-17 19:41:22 +00:00
nkrishang d26252c741 Replace multiwrap with loyalty-card on explore (#1556)
* Replace multiwrap with loyalty-card on explore

* Leave Multiwrap at end of list
2023-08-17 19:24:52 +00:00
Nacho Iacovino d55ffd35b6 New hero landing image (#1557) 2023-08-17 18:54:00 +00:00
Nacho Iacovino 33fd3a6ef1 Fix unnamed deploy param displayName (#1555)
* Fix unnamed title

* Remove log
2023-08-17 18:27:45 +00:00
Nacho Iacovino 647b49eeb7 Use * instead of _unnamed (#1553) 2023-08-16 22:40:27 +00:00
Nacho Iacovino b58614fa1c Fix publish with empty param (#1552)
* Fix publish with empty param

* Parse on deploy

* Add title
2023-08-16 22:14:57 +00:00
Manan Tank 501d305e38 Redirect to 404 for invalid contract address (#1551)
redirect to 404 for invalid contract address
2023-08-16 09:30:20 +00:00
Joaquim Verges 10a43bcd80 copy changes for smart wallet notices (#1550) 2023-08-15 14:22:15 +00:00
Nacho Iacovino 419d3b6cd2 Update contact form (#1549) 2023-08-15 01:06:16 +00:00
Nacho Iacovino 86f66d3d08 Improve smart wallet factory UX (#1548)
Improve smart wallet factory experience
2023-08-15 00:46:57 +00:00
dependabot[bot] 723585167c Bump compare-versions from 6.0.0 to 6.1.0 (#1543)
Bumps [compare-versions](https://github.com/omichelsen/compare-versions) from 6.0.0 to 6.1.0.
- [Changelog](https://github.com/omichelsen/compare-versions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/omichelsen/compare-versions/compare/v6.0.0...v6.1.0)

---
updated-dependencies:
- dependency-name: compare-versions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 23:56:37 +00:00
dependabot[bot] 8a1873980d Bump framer-motion from 10.13.1 to 10.15.2 (#1541)
Bumps [framer-motion](https://github.com/framer/motion) from 10.13.1 to 10.15.2.
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.13.1...v10.15.2)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 23:56:18 +00:00
dependabot[bot] ad708d7da2 Bump @sentry/nextjs from 7.61.1 to 7.64.0 (#1542)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.61.1 to 7.64.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.61.1...7.64.0)

---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 23:56:04 +00:00
dependabot[bot] 6ea641f855 Bump @tanstack/react-query from 4.32.0 to 4.32.6 (#1540)
Bumps [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) from 4.32.0 to 4.32.6.
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v4.32.6/packages/react-query)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 23:55:56 +00:00
Jonas Daniels cc51e72f05 fix: remove invalid animation URL (#1545) 2023-08-14 23:18:10 +00:00
Yash d64fd5dfa6 Latest nightly (#1547)
latest nightly
2023-08-14 23:04:30 +00:00
Tair Asim 70076464f2 chore: add smart wallets access alert to explore category (#1544) 2023-08-14 19:25:09 +00:00
Tair Asim 9f1c1877c9 chore: add smart wallets access alert to explore (#1539) 2023-08-14 18:33:26 +00:00
Jonas Daniels d6bf5b0c03 feat: Add IPFS gateway URL and upload server URL (#1538) 2023-08-14 17:51:51 +00:00
Nacho Iacovino e2bdffa5ad Prioritize tw published for contract card (#1537) 2023-08-14 17:28:52 +00:00
samina 5b6568fa5b fixed typo on template page (#1536)
* fixed typo on template page

* modified description
2023-08-14 17:16:34 +00:00
iketw 413b36c55e [RN] Add walletConnect to React Native wallets (#1535) 2023-08-13 16:44:28 +00:00
samina 7c999bfed5 updated bounty amount for security bounty (#1533) 2023-08-12 19:43:56 +00:00
iketw baea986ad5 [Wallets] Fix filter by a wallet that it supported in all languages (#1532)
* [Wallets] Update magicWallet to magicLink

* [Wallets] Fix filter by a wallet that it supported in all languages
2023-08-12 17:42:50 +00:00
iketw 8dc318126e [Wallets] Update magicWallet to magicLink (#1531) 2023-08-12 17:03:00 +00:00
Nacho Iacovino 4707f83cbb Account page improvements + Fix split distribute (#1529)
* Add guides, update NFT cards

* New account permmissions page

* New account page and fix distribute native on split for non-supported api chains

* Stuff

* Fix build

* Fix typo

* New images

* Change order
2023-08-12 00:35:51 +00:00
samina b50f270c5d added template + open source fixes (#1518)
* added template + open source fixes

* fixed esc char
2023-08-11 22:35:46 +00:00
Manan Tank b2eb7e1b79 Update wallet live demo (#1526)
* Update wallet live demo

* import wallets in code

* update

* resolve vercel comments

* its paperClientId

* tooltips instead of links
2023-08-11 22:35:09 +00:00
Tair Asim ff57a5edae chore: add smart wallets access request (#1527)
* chore: add smart wallets access request

* fix mobile
2023-08-11 18:49:24 +00:00
Nacho Iacovino 0303b9294a Replace RPC URLs with staging URLs when not in production mode (#1525) 2023-08-10 23:48:05 +00:00
Joaquim Verges 72a48a5e58 update SDKs for non-auth'd RPC urls when adding to external wallets (#1524) 2023-08-10 23:06:15 +00:00
Yash b2a8e092ba Enable dynamic contract deployment with any evm flow (#1522)
* sdk dev build 3415

* latest nightly
2023-08-10 21:32:12 +00:00
Joaquim Verges f37afd81af add rainbow, trust, and client ids to code snippets (#1523) 2023-08-10 18:26:46 +00:00
Joaquim Verges 05cef09fb7 fix imports in wallet code snippets (#1521) 2023-08-10 06:17:42 +00:00
Joaquim Verges d634db4126 Quick pass at wallet tab revamp (#1520)
* Quick pass at wallet tab revamp

* fix spacing on mobile
2023-08-10 03:27:36 +00:00
Joaquim Verges 9fd037909b fix undefined published metadata error (#1516)
* fix undefined published metadata error

* dont retry fetching published metadata
2023-08-09 19:07:13 +00:00
Jonas Daniels d8b51b5607 chore: update third-party dependencies (#1517) 2023-08-09 18:36:15 +00:00
Joaquim Verges 120e8543fd show published contract name in contracts table (#1515)
* show published contract name in contracts table

* remove log
2023-08-09 06:04:41 +00:00
Jonas DanielsandMarfuen d06e1ed29d hide announcement if keys already exist (#1514)
Co-authored-by: Marfuen <[email protected]>
2023-08-09 05:50:49 +00:00
Joaquim Verges 39bdf3bbe8 Add deposit button to smart wallet account tab (#1497)
* Add deposit button to smart wallet account tab

* display error when nfts can't be fetched

* lint
2023-08-09 05:31:10 +00:00
Jeffrey AnthonyandJonas Daniels b8e68c4cb4 minor edit: tense (#1506)
being +> be

Co-authored-by: Jonas Daniels <[email protected]>
2023-08-09 05:24:26 +00:00
Jonas Daniels 354dd00bba feat: Update cache buster and add secret key in CustomSDKContext (#1513) 2023-08-09 05:22:38 +00:00
dependabot[bot] d1b7517731 Bump jest from 29.6.1 to 29.6.2 (#1498)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.6.1 to 29.6.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.2/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 05:20:40 +00:00
dependabot[bot] befcab03f7 Bump @sentry/nextjs from 7.61.0 to 7.61.1 (#1500)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.61.0 to 7.61.1.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.61.0...7.61.1)

---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 05:20:33 +00:00
dependabot[bot] e634eaea03 Bump @solana/wallet-adapter-react from 0.15.33 to 0.15.34 (#1501)
Bumps [@solana/wallet-adapter-react](https://github.com/solana-labs/wallet-adapter) from 0.15.33 to 0.15.34.
- [Release notes](https://github.com/solana-labs/wallet-adapter/releases)
- [Commits](https://github.com/solana-labs/wallet-adapter/compare/@solana/[email protected]...@solana/[email protected])

---
updated-dependencies:
- dependency-name: "@solana/wallet-adapter-react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 05:20:25 +00:00
dependabot[bot] 656363d0cc Bump @tanstack/query-async-storage-persister from 4.32.0 to 4.32.6 (#1502)
Bumps [@tanstack/query-async-storage-persister](https://github.com/TanStack/query/tree/HEAD/packages/query-async-storage-persister) from 4.32.0 to 4.32.6.
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v4.32.6/packages/query-async-storage-persister)

---
updated-dependencies:
- dependency-name: "@tanstack/query-async-storage-persister"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 05:20:18 +00:00
Jonas Daniels c7d6af8897 fix: Update thirdweb API host and client ID (#1511)
* fix: Update thirdweb API host and client ID

* refactor: rename function queryFn to publishedContractQueryFn

* chore: Update @thirdweb-dev/auth and related packages
2023-08-09 04:27:30 +00:00
Nacho Iacovino 08e1d60b0b Update contact form (#1505) 2023-08-07 20:51:14 +00:00
Nacho Iacovino 5806ae51c6 Update storage url example (#1504) 2023-08-07 20:41:31 +00:00
Nacho Iacovino 69b7082599 Pass clientid in url in embeds (#1503) 2023-08-07 20:19:48 +00:00
Nacho Iacovino 7f02409dde Disable op gasless (#1489) 2023-08-06 18:17:58 +00:00
Nacho Iacovino 01b4942e60 Fix solana page (#1495)
* Fix solana page

* Fix import
2023-08-05 01:34:54 +00:00
Nacho Iacovino 159b5dad31 Fix maxClaimable for open edition embed (#1494)
Update erc721 embed
2023-08-05 01:07:30 +00:00
Joaquim Verges 25c6f1554b Change main CTA to get started (#1492) 2023-08-04 23:37:12 +00:00
Nacho Iacovino c5e21a5a3a Add token id page (#1487)
* Working token id page

* Add new NFT property component and display properties

* "Update token ID page and NFT details link"

* Add contract address to TokenIdPage

* Update TokenIdPage layout and add Back button

* Delete unused code

* Update button tabs

* Update NFT drawer tabs to include new functionality

* Refactor contract header and claim conditions components
2023-08-04 23:02:39 +00:00
Joaquim Verges f6165da1b2 Fix OE shared metadata description formatting + rename code tab (#1490)
* Fix OE shared metadata description formatting

* rename build tab to "SDK Docs"

* rename to Code Snippets
2023-08-04 21:09:26 +00:00
Joaquim Verges 9fec21c79f update SDKs (#1488) 2023-08-04 17:52:50 +00:00
Waren Gonzaga f832533e10 tweak: add space to text (#1486) 2023-08-04 06:28:49 +00:00
Tair Asim 985d9164fa improve api keys messages (#1485)
* add api keys service contract addresses message

* fix checkbox
2023-08-04 00:43:55 +00:00
Tair Asim 63a0a7089b chore: api keys polish (#1477)
* chore: api keys polish

- validate key name uniqueness
- fix enter on submit refreshing page
- polish copy

* fixes

* fix unused

* copy

* fix test

* add unrestricted access checkbox

* update copy

* add doc link

* remove key name validation

* trim trailing slash
2023-08-03 21:27:24 +00:00
Nacho Iacovino be952bfabc Update loyalty page SEO title and description (#1483) 2023-08-03 21:23:22 +00:00
Joaquim Verges 0ca961fe96 update SDKs (#1484) 2023-08-03 21:23:08 +00:00
Manan Tank 01038fbc01 Use Arrow Chevron icons instead of "->" (#1482)
Use Arrow Chevron icons instead of ->
2023-08-03 19:26:48 +00:00
Juan Leal ef23f25fdb loyalty solutions page og:image (#1479) 2023-08-03 12:25:57 +00:00
Nacho Iacovino 77cb9dfa57 Display NFTs on account page (#1478)
* Display NFTs on account page

* Add account balance component

* Fix copy
2023-08-03 00:29:33 +00:00
Nacho Iacovino 175de3237a Require client id for embeds (#1474)
* Require client id for embeds

* Update embeds
2023-08-02 22:44:40 +00:00
Nacho Iacovino 3b868e4700 Optimism drop page (#1442)
* Initial version

* Working version

* Update FAQs

* Make button style link

* Improve flow

* Add clarifying comment

* Readyy

* Update og
2023-08-02 21:58:10 +00:00
Tair AsimandJonas Daniels 48f823a05f add global auth token (#1473)
* add global auth token

* update packages

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-08-02 21:56:50 +00:00
nkrishangandJonas Daniels 93dfb282b4 Fix rendering of all admins and signers of smart wallet (#1476)
* (dev build: sdk and react) use useAccountAdminsAndSigners intstead of useAccountSigners

* use isAdmin from SignerWithPermissions

* remove AccountEvent

* chore: Update third-party dependencies

* chore(package.json): update third-party dependencies

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-08-02 20:05:20 +00:00
dependabot[bot] d5b2ec8e1a Bump @types/react from 18.2.15 to 18.2.17 (#1465)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.15 to 18.2.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 17:43:29 +00:00
dependabot[bot] 66aa0cca41 Bump eslint-config-prettier from 8.8.0 to 8.9.0 (#1466)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.8.0 to 8.9.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.8.0...v8.9.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 06:18:00 +00:00
dependabot[bot] 5a12aef023 Bump @sentry/nextjs from 7.60.0 to 7.61.0 (#1467)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.60.0 to 7.61.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.60.0...7.61.0)

---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 06:17:50 +00:00
Nacho Iacovino 72f889b54a API keys are now required (#1472) 2023-08-01 21:11:36 +00:00
Nacho Iacovino 3bfebcb34b Add uri tracking on storage upload (#1471) 2023-08-01 20:27:31 +00:00
Kien NgoandManan Tank 9661a4c0bb Fix issue #1391 (#1470)
Co-authored-by: Manan Tank <[email protected]>
2023-08-01 17:16:31 +00:00
Manan Tank e98231ff33 Fix OG image not showing contract with name <=3 characters (#1469)
* Fix OG image not showing contract with name <=3 characters

* do not discard short words
2023-08-01 16:35:11 +00:00
Jonas Daniels 645892bad3 feat(sdk): Add clientId to ThirdwebStorage and IpfsUploader (#1468) 2023-08-01 02:25:27 +00:00
Tair Asim 37775039e8 fix: api keys edit tabs layout (#1462)
* fix: api keys edit tabs layout

* fix border
2023-07-31 23:10:45 +00:00
Juan Leal 7f3bf469b8 seo metadata (#1455) 2023-07-31 18:04:14 +00:00
Joaquim Verges 7a2236d679 Fix form validation for API keys (#1461) 2023-07-31 17:21:13 +00:00
Yash 1d8ba1c37c Add Base scan (#1460)
* add base scan

* fix lint
2023-07-31 14:47:19 +00:00
Manan Tank 9e02c08d5d Disable font ligatures (#1459) 2023-07-31 13:57:01 +00:00
Joaquim Verges 10847bb83d Multi step modal for API creation (#1458)
* Multi step modal for API creation

* added validation and back flow

* lint
2023-07-29 05:02:59 +00:00
Mariano Fuentes 53407faa96 Update banner (#1456)
update banner
2023-07-28 17:06:21 +00:00
Manan Tank b6dcd43117 enable productionBrowserSourceMaps (#1457)
enable productionBrowserSourceMaps explicity
2023-07-28 16:36:58 +00:00
Manan Tank ab174ca1de Fix /events page (#1454) 2023-07-28 11:23:40 +00:00
Jonas Daniels 55303658d2 fixes FTD-1952 (#1453) 2023-07-27 06:04:27 +00:00
Nacho Iacovino 7e4f8c2a88 Update embeds (#1452) 2023-07-27 00:26:28 +00:00
Nacho Iacovino be9f0e7660 Fix scrollbar on snapshot/airdrop (#1450) 2023-07-26 20:49:51 +00:00
Nacho Iacovino 11913e8181 Update react select (#1449) 2023-07-26 20:23:13 +00:00
Jonas Daniels 1ac387f1a5 update chains (#1448) 2023-07-26 18:27:28 +00:00
Jonas Daniels 86b742ba54 remove programs tab from dashboard (#1446) 2023-07-25 19:17:17 +00:00
Jonas Daniels 27c6c53818 fix FTD-1947 2023-07-25 10:04:37 -07:00
Manan Tank deea3c8325 Ignore UCAndroid for sentry (#1445) 2023-07-25 16:45:35 +00:00
Yash 6d021d6df4 Latest nightly (#1444) 2023-07-25 13:31:56 +00:00
Yash 40b5b1391e Update to latest nightly (#1443)
update to latest nightly
2023-07-25 09:45:05 +00:00
Nacho Iacovino dd808cedac Fix transfer role for non-prebuilts (#1441) 2023-07-24 22:40:21 +00:00
dependabot[bot] 943ee60dec Bump framer-motion from 10.12.22 to 10.13.1 (#1438)
Bumps [framer-motion](https://github.com/framer/motion) from 10.12.22 to 10.13.1.
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.12.22...v10.13.1)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 21:44:44 +00:00
dependabot[bot] 6b7f444a3b Bump @tanstack/react-table from 8.9.1 to 8.9.3 (#1436)
Bumps [@tanstack/react-table](https://github.com/tanstack/table) from 8.9.1 to 8.9.3.
- [Release notes](https://github.com/tanstack/table/releases)
- [Commits](https://github.com/tanstack/table/compare/v8.9.1...v8.9.3)

---
updated-dependencies:
- dependency-name: "@tanstack/react-table"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 21:40:59 +00:00
Jonas DanielsandManan Tank 42a64d76cc Jd/attempt sentry cleanup (#1435)
* refactor: Update Sentry client configuration

* update deps

* allow regex

* Fix sentry allowUrls

* don't init Sentry if browser not supported

---------

Co-authored-by: Manan Tank <[email protected]>
2023-07-24 21:18:53 +00:00
Tair Asim 73c41e9006 chore: add api keys validation tests + ci workflow (#1433)
* chore: add api keys validation tests

* add ci gh workflow

* add cache

* add push strategy

* typo
2023-07-24 18:09:59 +00:00
Manan Tank 543944ab2a Pass Chain icon to embed via query param (#1430)
* pass icon via query param to embed

* add NEXT_PUBLIC_DASHBOARD_CLIENT_ID in .env.example

* Use minimizeChain from /chains pkg

* remove log
2023-07-24 17:53:59 +00:00
Tair Asim d4a15205a9 fix: api key domain validation (#1431) 2023-07-21 16:08:50 +00:00
iketw 64bf2230b4 Pass correct clientId to rpcs (#1429) 2023-07-21 02:47:04 +00:00
Jonas Daniels e7f327cc8e feat: update @thirdweb-dev packages versions (#1428) 2023-07-20 21:42:18 +00:00
Jonas Daniels 01540fcbad style: Remove unnecessary code and conditionally render secret key details (#1427) 2023-07-20 17:25:54 +00:00
Jonas Daniels fef967272c Jd/paper announce (#1426)
* feat: Add paper logo icon to AnnouncementBanner

* style: improve layout of AnnouncementBanner component
2023-07-19 15:51:31 +00:00
Tair Asim ff870726de polish: api keys spacing and domains placeholder (#1425) 2023-07-19 13:31:02 +00:00
Joaquim Verges d76b68c947 change code snippet for initializing TS SDK (#1424)
* change code snippet for initializing TS SDK

* even clearer

* add python and go snippets
2023-07-19 09:08:56 +00:00
Jonas Daniels 884b36b5e5 feat: add vercel.json configuration (#1423) 2023-07-19 05:27:27 +00:00
Jonas Daniels 2a00a58437 chore(package.json): update thirdweb-dev dependencies (#1422) 2023-07-19 05:23:12 +00:00
FirekeeperandJonas Daniels 7e10f35922 Small tooltip simplification (#1418)
small tooltip simplification

Co-authored-by: Jonas Daniels <[email protected]>
2023-07-19 05:08:30 +00:00
dependabot[bot] aef52227ca Bump @types/react from 18.2.14 to 18.2.15 (#1408)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.14 to 18.2.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 05:01:01 +00:00
Nacho Iacovino 8e8ba426c7 Update AnnouncementCard.tsx (#1420) 2023-07-19 02:05:21 +00:00
e115cbc969 Banners and clarifications for api keys (#1413)
* Add AnnouncementCard

* Add clarifications

* Update banner

* Update value prop

* Update url

* Update components/homepage/sections/ValuesSection.tsx

* Invert colors

* Add clarification for bundle

* Fix import

* make announcement bg shiny

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Tair Asim <[email protected]>
2023-07-19 01:37:34 +00:00
Firekeeper 8f34f7c5de Update Unity wallet code snippets + add Paper (#1419)
* Update Unity wallet code snippets + add Paper

* typo
2023-07-18 23:49:45 +00:00
Firekeeper a85048e0e3 Update Target Addresses > Destination Contracts & Wallets (#1417)
* Update Target Addresses > Destination Contracts & Wallets

* Emphasize interaction
2023-07-18 21:26:52 +00:00
Tair Asim 75ba50fc63 fix: allow localhost for domain (#1416) 2023-07-18 20:43:07 +00:00
Jonas Daniels d5483e1eda replace with real client_ids 2023-07-18 13:07:00 -07:00
Nacho Iacovino 0c768c34b6 Add secret key snippet (#1415) 2023-07-18 17:09:42 +00:00
dependabot[bot] d65af5650d Bump @sentry/nextjs from 7.57.0 to 7.58.1 (#1409)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.57.0 to 7.58.1.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.57.0...7.58.1)

---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 00:26:21 +00:00
dependabot[bot] bd15560dfc Bump eslint from 8.44.0 to 8.45.0 (#1412)
Bumps [eslint](https://github.com/eslint/eslint) from 8.44.0 to 8.45.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.44.0...v8.45.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 00:26:10 +00:00
dependabot[bot] f48981f373 Bump @types/pluralize from 0.0.29 to 0.0.30 (#1411)
Bumps [@types/pluralize](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/pluralize) from 0.0.29 to 0.0.30.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/pluralize)

---
updated-dependencies:
- dependency-name: "@types/pluralize"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 00:26:03 +00:00
Manan TankandNacho Iacovino ea0876d128 Add /create-api-key redirect to /settings (#1414)
* Add /create-api-key redirect

* Update redirects.js

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2023-07-17 23:33:48 +00:00
859320b6ed feat: add bundle ids to keys (#1404)
* feat: add bundle ids to keys

completes FTD-1886

* typo

* fix ui bug

* Update sdks

* Merge branch 'ta/keys-add-bundle-ids' of https://github.com/thirdweb-dev/dashboard into ta/keys-add-bundle-ids

* Fix build

* Update sdks

* hide services

* fix count

* update nightly

* update to [email protected]

* fixes

* dont hide rpc

* copy - remove thirdwebs

* missing form values

* dont be smart about none

* feat: validate api keys (#1406)

completes FTD-1826

* Add descriptions

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-07-17 22:10:55 +00:00
Nacho Iacovino 54d11ec0ae API keys tracking + initialization (#1405)
* Add tracking to api keys

* Update sdk initializations

* Update RN

* Update contract-ui/tabs/code/components/code-overview.tsx
2023-07-15 00:01:18 +00:00
Jonas Daniels b9abf0e8b1 update dependencies (#1401) 2023-07-14 07:15:54 +00:00
Nacho IacovinoandJonas Daniels 134ee4db1f Add default circle USDC addresses (#1395)
* Add default circle USDC addresses

* Add back WETH for Polygon

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-07-13 23:45:32 +00:00
Tair Asim 80b85425be feat: use service utils (#1399)
* feat: use service utils

completes FTD-1922

* update service-utils nightly
2023-07-13 23:33:11 +00:00
Mariano Fuentes 769a0057ca Fix state bugs when creating keys (#1400)
reset state and fields after creating a key
2023-07-13 21:20:45 +00:00
Adam Majmudar 0dbb6de2fd Update chains package (#1397)
* Update chains package

* Fix
2023-07-13 15:54:04 +00:00
Jonas Daniels 975a8170a6 new apikeys update (#1398) 2023-07-13 05:40:05 +00:00
Nacho Iacovino a4c173d36e Add report abuse (#1396) 2023-07-12 19:59:49 +00:00
Jonas Daniels 75d7fa81c2 upgrade dependencies (#1393) 2023-07-12 04:40:14 +00:00
Nacho IacovinoandJonas Daniels ac513b604d Non-default secret keys (#1392)
* Non-default secret keys

* Fix warning

* Move /settings to /dashboard/settings

* Update heading copy

* Fix stuff

* lotsa updates

* working dashboard now

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-07-12 04:10:12 +00:00
Manan Tank 6aba65fc43 Fix Posthog (#1390)
Fix posthog
2023-07-11 15:00:23 +00:00
Tair Asim 8cb239ac87 chore: Improve api keys service actions update and missing react key (#1389) 2023-07-11 14:48:31 +00:00
dependabot[bot] 8d2a5d761b Bump semver from 6.3.0 to 6.3.1 (#1388)
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 02:10:32 +00:00
dependabot[bot] 65eb4b1620 Bump eslint-config-next from 13.4.8 to 13.4.9 (#1383)
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.4.8 to 13.4.9.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.4.9/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 01:42:01 +00:00
dependabot[bot] bc7f529721 Bump @typescript-eslint/eslint-plugin from 5.61.0 to 5.62.0 (#1384)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.61.0 to 5.62.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.62.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 01:41:52 +00:00
dependabot[bot] e25eb706de Bump next-plausible from 3.8.0 to 3.9.1 (#1386)
Bumps [next-plausible](https://github.com/4lejandrito/next-plausible) from 3.8.0 to 3.9.1.
- [Changelog](https://github.com/4lejandrito/next-plausible/blob/master/CHANGELOG.md)
- [Commits](https://github.com/4lejandrito/next-plausible/compare/v3.8.0...v3.9.1)

---
updated-dependencies:
- dependency-name: next-plausible
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 01:41:27 +00:00
dependabot[bot] f12002e574 Bump posthog-js from 1.67.1 to 1.70.1 (#1387)
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.67.1 to 1.70.1.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.67.1...v1.70.1)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 01:41:15 +00:00
Tair Asim 47a1c7076a feat: api keys v2 (#1356)
* feat: api keys v2

- new api keys with pk/sk
- domains, wallets and service restriction
- secret regeneration

completes FTD-1879, FTD-1880, FTD-1835

* minor pr feedback

* test jam feedback

completes FTD-1902

* show none when no service targets

* change copy

* enable all services

* add service actions

fixes FTD-1874

* f

* sort saved services

* add copy pk on create
2023-07-11 01:24:36 +00:00
Jonas Daniels 6cbf989533 add x-frame-options-back 2023-07-09 22:10:02 -07:00
Jonas Daniels 57021e4aec allow gateway.ipfscdn.io 2023-07-09 22:02:46 -07:00
Jonas Daniels 31556f0a1b fix embeds and dashboard (#1382)
* fix embeds and dashboard

* ipfscdn io
2023-07-10 04:44:14 +00:00
Nacho Iacovino f5a0c8d1e2 Add loyalty page (#1379)
* Add Layout and Hero components

* wip

* Finish section item section

* Add main image section

* Add card section

* Add guides and final CTA

* Add images, fix hero

* Fix build

* Fix CTA buttons on small screens

* Update content and images

* Add dynamic selector (only images)

* Fix comments
2023-07-07 18:55:41 +00:00
+7 de9fa5c449 WIP: Bounties in open source section (#1149)
* WIP: Bounties in open source section

* Add bounty data for review

* Update according to feedback

* modified gas submission bounty

* changed bug bounty link

* Bump framer-motion from 10.12.16 to 10.12.17 (#1333)

Bumps [framer-motion](https://github.com/framer/motion) from 10.12.16 to 10.12.17.
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.12.16...v10.12.17)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove unused package (#1331)

* Bump @codesandbox/sandpack-react from 2.6.6 to 2.6.9

Bumps [@codesandbox/sandpack-react](https://github.com/codesandbox/sandpack) from 2.6.6 to 2.6.9.
- [Release notes](https://github.com/codesandbox/sandpack/releases)
- [Changelog](https://github.com/codesandbox/sandpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codesandbox/sandpack/compare/v2.6.6...v2.6.9)

---
updated-dependencies:
- dependency-name: "@codesandbox/sandpack-react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Uninstall :)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>

* Solutions SEO metadata (#1330)

* Solutions SEO metadata

* Prettier

---------

Co-authored-by: Nacho Iacovino <[email protected]>

* Add environment as query param on build tab (#1342)

* Update sdk.ts (#1343)

* new embed url scheme (#1344)

* new embed url scheme

* switch to v1 ipfs hashes and to ipfs public

* wallet connect v2 (#1337)

* Use wcv2 by default

* Fix wallet tab descriptions

* Fix WalletConnect Modal z-index

* test latest wallet connect libraries

* fix error

* fix z-index

* update versions, add supportedChains back

* Update sdks to nightly and embeds

* update nightly

* fix sdk version

---------

Co-authored-by: Nacho Iacovino <[email protected]>

* fix embed hashes again (#1345)

* fix embed hashes again

* remove unused

* Add Paper Wallet (#1346)

* Add Paper Wallet

* Add Paper in Safe

* use AWS_MANAGED recovery for paper

* Rename smart wallets of the SDK -> accounts (#1348)

* Rename smart wallets of the SDK -> accounts

* revert back change in robots.txt

* Fix deploy for Vote/Split (#1349)

* Fix deployment for Vote and Split

* Prettier

* Update contract verification process (#1347)

* Update contract verification process

* lint disable no-empty

* cleanup

* Minor updates to analytics UI (#1351)

* Storage page copy fixes (#1352)

* Storage page copy fixes

* run prettier

---------

Co-authored-by: Jonas Daniels <[email protected]>

* Allow chainId override (#1353)

* Allow chainId override

* remove log

* Fix sidebar layout shift (#1358)

* Fix Sidebar layout shift

* two more

* /contracts/deploy and /contracts/publish doesn't have sidebar

* Fix typos, eslint and prettier issues (#1357)

* Fix some typos

* fix prettier and eslint issues

---------

Co-authored-by: Manan Tank <[email protected]>

* Fix error on /sources for chain with empty explorers array (#1359)

* Bump eslint from 8.43.0 to 8.44.0 (#1362)

Bumps [eslint](https://github.com/eslint/eslint) from 8.43.0 to 8.44.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.43.0...v8.44.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @next/bundle-analyzer from 13.4.6 to 13.4.8 (#1364)

Bumps [@next/bundle-analyzer](https://github.com/vercel/next.js/tree/HEAD/packages/next-bundle-analyzer) from 13.4.6 to 13.4.8.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.4.8/packages/next-bundle-analyzer)

---
updated-dependencies:
- dependency-name: "@next/bundle-analyzer"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @tanstack/query-async-storage-persister from 4.29.11 to 4.29.19 (#1361)

Bumps [@tanstack/query-async-storage-persister](https://github.com/tanstack/query) from 4.29.11 to 4.29.19.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.29.11...v4.29.19)

---
updated-dependencies:
- dependency-name: "@tanstack/query-async-storage-persister"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump posthog-js from 1.67.1 to 1.68.5 (#1360)

Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.67.1 to 1.68.5.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.67.1...v1.68.5)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @tanstack/react-query-persist-client from 4.29.7 to 4.29.19 (#1363)

Bumps [@tanstack/react-query-persist-client](https://github.com/tanstack/query) from 4.29.7 to 4.29.19.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.29.7...v4.29.19)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query-persist-client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add Progress Bar (#1306)

* Add Progress Bar

* Fix issues

* show only when loading time > 200ms

* Update default gateway (#1365)

* update storage and sdks (#1366)

* update storage and sdks

* fix build?

* fix type issues

* update embeds again

* update embed (#1367)

* Add account signers page (#1341)

* wip

* Update to nightly

* Update sdk, fix detection

* Render the signers for the account

* Make it so it can be copied

* Not green

* Fix build

* Fix build

* Now for real

* Make table a bit nicer

* Delete comments

* Update lock

* Stop using hardcoded IPFS gateways (#1369)

* Stop using hardcoded ipfs gateways

* temp remove

* Hardcode for now

* Revert Posthog version (#1371)

Revert posthog version

* fix wrong router.query issue in /solana (#1372)

fix router.query issue in /solana

* Update template name (#1373)

* Update template name

* Format

* Min value for price input (#1374)

* added starter templates (#1370)

* fix: add back api key shortening (#1375)

* Improve /chainlist perf (#1376)

improve /chainlist perf

* Fix price input (#1377)

* Update to support safe on all safe chains (#1378)

* WIP: Bounties in open source section

* Add bounty data for review

* remove duplicate open bounty

* WIP: Bounties in open source section

* Add bounty data for review

* escape quote

* remove duplicate open bounty

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: jarrodwatts <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: samina <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
Co-authored-by: Dustin <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: nkrishang <[email protected]>
Co-authored-by: Yash <[email protected]>
Co-authored-by: Adam Majmudar <[email protected]>
Co-authored-by: Kien Ngo <[email protected]>
Co-authored-by: samina <[email protected]>
Co-authored-by: Tair Asim <[email protected]>
Co-authored-by: Marfuen <[email protected]>
2023-07-07 18:24:29 +00:00
Nacho Iacovino da8c19c53e Add social_urls to contract metadata (#1380)
* Working ugly version

* Working version

* Better display

* No need to log

* Update to nightly
2023-07-07 18:18:10 +00:00
Adam Majmudar 432d73f69c Update to support safe on all safe chains (#1378) 2023-07-07 02:00:53 +00:00
Nacho Iacovino c96f708660 Fix price input (#1377) 2023-07-06 20:53:58 +00:00
Manan Tank 6193b13cca Improve /chainlist perf (#1376)
improve /chainlist perf
2023-07-06 11:39:43 +00:00
Tair Asim 521f9976b3 fix: add back api key shortening (#1375) 2023-07-06 10:26:39 +00:00
samina 81fd770c26 added starter templates (#1370) 2023-07-06 01:25:56 +00:00
Nacho Iacovino 36aa0b7897 Min value for price input (#1374) 2023-07-05 22:43:59 +00:00
Nacho Iacovino 622494db94 Update template name (#1373)
* Update template name

* Format
2023-07-05 22:35:03 +00:00
Manan Tank ba1ded059c fix wrong router.query issue in /solana (#1372)
fix router.query issue in /solana
2023-07-05 21:50:45 +00:00
Manan Tank 2572255ef4 Revert Posthog version (#1371)
Revert posthog version
2023-07-05 20:27:46 +00:00
Nacho Iacovino d590c1c1f7 Stop using hardcoded IPFS gateways (#1369)
* Stop using hardcoded ipfs gateways

* temp remove

* Hardcode for now
2023-07-05 20:25:58 +00:00
Nacho Iacovino d1903acd30 Add account signers page (#1341)
* wip

* Update to nightly

* Update sdk, fix detection

* Render the signers for the account

* Make it so it can be copied

* Not green

* Fix build

* Fix build

* Now for real

* Make table a bit nicer

* Delete comments

* Update lock
2023-07-05 10:19:48 +00:00
Jonas Daniels da6ac9c2fc update embed (#1367) 2023-07-04 18:47:57 +00:00
Jonas Daniels 279f38a1ac update storage and sdks (#1366)
* update storage and sdks

* fix build?

* fix type issues

* update embeds again
2023-07-04 18:05:54 +00:00
Nacho Iacovino e0ca91b14a Update default gateway (#1365) 2023-07-04 15:36:48 +00:00
Manan Tank 68a83ecc1b Add Progress Bar (#1306)
* Add Progress Bar

* Fix issues

* show only when loading time > 200ms
2023-07-03 22:48:19 +00:00
dependabot[bot] 825a53b420 Bump @tanstack/react-query-persist-client from 4.29.7 to 4.29.19 (#1363)
Bumps [@tanstack/react-query-persist-client](https://github.com/tanstack/query) from 4.29.7 to 4.29.19.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.29.7...v4.29.19)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query-persist-client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 20:48:02 +00:00
dependabot[bot] 49808ab3c1 Bump posthog-js from 1.67.1 to 1.68.5 (#1360)
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.67.1 to 1.68.5.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.67.1...v1.68.5)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 19:53:59 +00:00
dependabot[bot] 61ea6e7a79 Bump @tanstack/query-async-storage-persister from 4.29.11 to 4.29.19 (#1361)
Bumps [@tanstack/query-async-storage-persister](https://github.com/tanstack/query) from 4.29.11 to 4.29.19.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.29.11...v4.29.19)

---
updated-dependencies:
- dependency-name: "@tanstack/query-async-storage-persister"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 19:52:37 +00:00
dependabot[bot] fec203448f Bump @next/bundle-analyzer from 13.4.6 to 13.4.8 (#1364)
Bumps [@next/bundle-analyzer](https://github.com/vercel/next.js/tree/HEAD/packages/next-bundle-analyzer) from 13.4.6 to 13.4.8.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.4.8/packages/next-bundle-analyzer)

---
updated-dependencies:
- dependency-name: "@next/bundle-analyzer"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 19:51:45 +00:00
dependabot[bot] e4db3d1b36 Bump eslint from 8.43.0 to 8.44.0 (#1362)
Bumps [eslint](https://github.com/eslint/eslint) from 8.43.0 to 8.44.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.43.0...v8.44.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 19:51:33 +00:00
Manan Tank b899f89424 Fix error on /sources for chain with empty explorers array (#1359) 2023-07-03 18:14:20 +00:00
Kien NgoandManan Tank 0246b0488b Fix typos, eslint and prettier issues (#1357)
* Fix some typos

* fix prettier and eslint issues

---------

Co-authored-by: Manan Tank <[email protected]>
2023-07-03 13:40:39 +00:00
Manan Tank 25802c2c8a Fix sidebar layout shift (#1358)
* Fix Sidebar layout shift

* two more

* /contracts/deploy and /contracts/publish doesn't have sidebar
2023-07-03 13:00:23 +00:00
Manan Tank 8808b8d7c0 Allow chainId override (#1353)
* Allow chainId override

* remove log
2023-07-02 18:12:01 +00:00
Juan LealandJonas Daniels 27ae05dea0 Storage page copy fixes (#1352)
* Storage page copy fixes

* run prettier

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-06-30 21:44:24 +00:00
Adam Majmudar b9597f730f Minor updates to analytics UI (#1351) 2023-06-30 18:30:31 +00:00
Yash e435988a48 Update contract verification process (#1347)
* Update contract verification process

* lint disable no-empty

* cleanup
2023-06-30 13:42:24 +00:00
Nacho Iacovino 4e98bc55eb Fix deploy for Vote/Split (#1349)
* Fix deployment for Vote and Split

* Prettier
2023-06-29 23:47:30 +00:00
nkrishang 6842b9e0d5 Rename smart wallets of the SDK -> accounts (#1348)
* Rename smart wallets of the SDK -> accounts

* revert back change in robots.txt
2023-06-29 16:17:16 +00:00
Manan Tank e23459a5a7 Add Paper Wallet (#1346)
* Add Paper Wallet

* Add Paper in Safe

* use AWS_MANAGED recovery for paper
2023-06-28 22:36:26 +00:00
Jonas Daniels b3e2534a6a fix embed hashes again (#1345)
* fix embed hashes again

* remove unused
2023-06-28 15:37:39 +00:00
Manan TankandNacho Iacovino ef78f3c3a8 wallet connect v2 (#1337)
* Use wcv2 by default

* Fix wallet tab descriptions

* Fix WalletConnect Modal z-index

* test latest wallet connect libraries

* fix error

* fix z-index

* update versions, add supportedChains back

* Update sdks to nightly and embeds

* update nightly

* fix sdk version

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2023-06-28 14:09:51 +00:00
Jonas Daniels cdc9a63592 new embed url scheme (#1344)
* new embed url scheme

* switch to v1 ipfs hashes and to ipfs public
2023-06-28 03:21:02 +00:00
Dustin 58465ea244 Update sdk.ts (#1343) 2023-06-27 19:41:25 -07:00
Nacho Iacovino a222bb344b Add environment as query param on build tab (#1342) 2023-06-28 00:17:39 +00:00
Juan LealandNacho Iacovino 36cc7641c6 Solutions SEO metadata (#1330)
* Solutions SEO metadata

* Prettier

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2023-06-27 21:36:05 +00:00
dependabot[bot]andNacho Iacovino e593aa29fc Remove unused package (#1331)
* Bump @codesandbox/sandpack-react from 2.6.6 to 2.6.9

Bumps [@codesandbox/sandpack-react](https://github.com/codesandbox/sandpack) from 2.6.6 to 2.6.9.
- [Release notes](https://github.com/codesandbox/sandpack/releases)
- [Changelog](https://github.com/codesandbox/sandpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codesandbox/sandpack/compare/v2.6.6...v2.6.9)

---
updated-dependencies:
- dependency-name: "@codesandbox/sandpack-react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Uninstall :)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-06-27 21:35:48 +00:00
dependabot[bot] aaede9fec0 Bump framer-motion from 10.12.16 to 10.12.17 (#1333)
Bumps [framer-motion](https://github.com/framer/motion) from 10.12.16 to 10.12.17.
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.12.16...v10.12.17)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 21:24:44 +00:00
Nacho Iacovino f14432d843 Add contact us button to mobile (#1339) 2023-06-27 20:46:48 +00:00
Tair Asim 79f20ebb69 chore: sort & update internal contribs (#1340) 2023-06-27 20:27:05 +00:00
Nacho Iacovino 577febfe6e Fix marketplace auction in embeds (#1338) 2023-06-27 19:22:14 +00:00
dependabot[bot] 9a4b77cd79 Bump prism-react-renderer from 2.0.4 to 2.0.6 (#1332)
Bumps [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) from 2.0.4 to 2.0.6.
- [Release notes](https://github.com/FormidableLabs/prism-react-renderer/releases)
- [Commits](https://github.com/FormidableLabs/prism-react-renderer/compare/[email protected]@2.0.6)

---
updated-dependencies:
- dependency-name: prism-react-renderer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 09:46:24 +00:00
dependabot[bot] 168f6e3295 Bump eslint from 8.42.0 to 8.43.0 (#1334)
Bumps [eslint](https://github.com/eslint/eslint) from 8.42.0 to 8.43.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.42.0...v8.43.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 09:43:31 +00:00
dependabot[bot] adb5f3b563 Bump next-seo from 6.0.0 to 6.1.0 (#1335)
Bumps [next-seo](https://github.com/garmeeh/next-seo) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/garmeeh/next-seo/releases)
- [Commits](https://github.com/garmeeh/next-seo/compare/v6.0.0...v6.1.0)

---
updated-dependencies:
- dependency-name: next-seo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 22:22:44 +00:00
nkrishangandManan Tank 026b36c987 Fix Accounts tab for smart account factory dashboard (#1328)
* update sdk version

* update react sdk

* update packages again

* Fix yarn.lock

* Update react and sdk packages

---------

Co-authored-by: Manan Tank <[email protected]>
2023-06-26 19:42:40 +00:00
Nacho Iacovino 4a8b1f2e33 Fix retrieval on publish flow (#1329)
* Fix retrieval

* Fix audit
2023-06-26 18:24:42 +00:00
Nacho Iacovino 6d5866e87a Improvements to Accounts page (#1326)
* Link to created account, show associated accounts on table

* Add info on build tab for smart wallet factory

* Add some margin

* Fix build

* Fix build

* Update sdks
2023-06-26 17:07:03 +00:00
Nacho Iacovino 0a34848fad Use new contact form everywhere (#1327)
Use new contact form
2023-06-26 16:48:11 +00:00
Jonas Daniels 1a000f701c upgrade to nightly (#1325) 2023-06-23 00:48:22 +00:00
dd2c00d7bf Default trusted forwarders for zksync (#1309)
* default trusted forwarders for zksync

* Update components/contract-components/hooks.ts

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-06-23 00:39:25 +00:00
Nacho Iacovino e60c588698 Open edition checklist + deployment (#1322)
* Add open edition to explore

* Fix contract checklist

* Add step to set nft metadata on deploy

* nope

* Fix txn count

* Now for real

* Add advanced section

* Fix build

* Fix return type of shared metadata

* Fix todo

* Update SDK
2023-06-23 00:15:05 +00:00
Joaquim VergesandJonas Daniels fa54b8160b Fixes for open edition (#1323)
* set shared metadata works!

* Update contract-ui/tabs/nfts/components/shared-metadata-button.tsx

* Update contract-ui/tabs/nfts/components/mint-form.tsx

* fix button label

* update to latest SDK

* fix conflict

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-06-22 19:39:21 +00:00
Tair Asim 2c132c6ace hotfix: fit desc in contracts nft table (#1324)
* hotfix: fit desc in contracts nft table

fixes FTD-1831

* fix
2023-06-22 19:17:04 +00:00
Jonas DanielsandJoaquim Verges 7648c8afcb set shared metadata for OE contracts (#1318)
* set shared metadata works!

* Update contract-ui/tabs/nfts/components/shared-metadata-button.tsx

* Update contract-ui/tabs/nfts/components/mint-form.tsx

* fix button label

---------

Co-authored-by: Joaquim Verges <[email protected]>
2023-06-21 23:47:49 +00:00
dependabot[bot] bb55eb55ad Bump @tanstack/react-query from 4.29.7 to 4.29.14 (#1314)
Bumps [@tanstack/react-query](https://github.com/tanstack/query) from 4.29.7 to 4.29.14.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.29.7...v4.29.14)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-21 23:43:51 +00:00
dependabot[bot] 692bb11ac3 Bump @next/bundle-analyzer from 13.4.3 to 13.4.6 (#1315)
Bumps [@next/bundle-analyzer](https://github.com/vercel/next.js/tree/HEAD/packages/next-bundle-analyzer) from 13.4.3 to 13.4.6.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.4.6/packages/next-bundle-analyzer)

---
updated-dependencies:
- dependency-name: "@next/bundle-analyzer"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-21 23:43:42 +00:00
dependabot[bot] ae0c60d51a Bump @typescript-eslint/parser from 5.59.8 to 5.60.0 (#1316)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.8 to 5.60.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.60.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-21 23:43:34 +00:00
Jonas Daniels 3513783dd5 fix erc721 openedition embed (#1321) 2023-06-21 23:42:27 +00:00
samina 38757dac64 changed ambassador link on comm page (#1320) 2023-06-21 23:19:57 +00:00
Adam Majmudar 82a7e96221 Filter events to last 20,000 blocks (#1311)
Update filter on events
2023-06-17 02:14:23 +00:00
Jonas Daniels 61f4fd02e5 fix FTD-1817 (#1310) 2023-06-16 22:18:01 +00:00
Nacho Iacovino afc215b651 Fix wording on contract checklist (#1308) 2023-06-16 00:35:35 +00:00
7cb84a0b52 feat: build community page (#1132)
* feat: start building comm page

* copy update

* update design

* update img

* metadata updates

* Update components/community/Card.tsx

Co-authored-by: Nacho Iacovino <[email protected]>

* Update pages/community.tsx

Co-authored-by: Nacho Iacovino <[email protected]>

* Update pages/community.tsx

Co-authored-by: Nacho Iacovino <[email protected]>

* make updates from feedback

* remove icon

* small fixes

* add gradient

* make req. updates

* chore: update lock

* feat: add icons

* fix: review

* fix card component

* fix: lock

* add line lock

* fix: change name

* use require

* General improvements

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-06-16 00:34:52 +00:00
Nacho Iacovino 8a300b0598 Fix accounts page (#1307)
* Fix cache

* Rename all the things
2023-06-16 00:10:55 +00:00
Nacho Iacovino 6d069e823d Add contact us page (#1303)
* Form UI

* Add endpoint

* Update links

* Add error validation and success message

* Update .env.example

* Fix company property

* Everything is required :D

* Force dark mode

* Update logos

* Back to black

* Now for real

* Capitalize properly

* test?

* Actual test

* Test 2

* Test 3

* Test 4

* Test 5

* Test 6

* Test 7

* Test 8

* Test 9

* Test lostcount
2023-06-15 22:59:36 +00:00
Jonas Daniels 6b8874a170 update deps to nightly (#1305) 2023-06-15 20:25:21 +00:00
Manan Tank 9172465d6f Replace any-evm image with optimized version (#1304)
Repalce any-evm image with optimized version
2023-06-15 18:10:44 +00:00
Jonas Daniels 5a86b125f5 bust cache 2023-06-14 15:29:11 -07:00
Jonas Daniels 974a11235f sure up analytics (#1302) 2023-06-14 21:04:30 +00:00
Jonas Daniels 809f543bd0 remove onchain contract search (#1301) 2023-06-13 23:52:54 +00:00
Manan Tank bc984bc40f Turn off focus trap on PrivacyNotice modal (#1300) 2023-06-13 21:39:12 +00:00
Adam MajmudarandJonas Daniels 4d4a34378c [Auth] Support for multiple wallet login, refresh tokens, and safe login (#1297)
* Fix login with Safe

* Fix login with Safe

* Update dashboard

* Require signature again and support gnosis signing

* fix build

* popup transaction prompt in safe wallet case

* Update

* Update

* Update to new auth

* Update version

* Update

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-06-13 21:16:36 +00:00
dependabot[bot] 8106ca6e5a Bump @hookform/resolvers from 3.1.0 to 3.1.1 (#1291)
Bumps [@hookform/resolvers](https://github.com/react-hook-form/resolvers) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/react-hook-form/resolvers/releases)
- [Commits](https://github.com/react-hook-form/resolvers/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: "@hookform/resolvers"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 16:17:55 +00:00
dependabot[bot] 09a49031c1 Bump @typescript-eslint/eslint-plugin from 5.59.7 to 5.59.11 (#1290)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.7 to 5.59.11.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.11/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 16:17:44 +00:00
dependabot[bot] bf36339ab0 Bump eslint from 8.41.0 to 8.42.0 (#1292)
Bumps [eslint](https://github.com/eslint/eslint) from 8.41.0 to 8.42.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.41.0...v8.42.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 16:17:32 +00:00
dependabot[bot] 332b8b0702 Bump posthog-js from 1.63.4 to 1.67.1 (#1293)
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.63.4 to 1.67.1.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.63.4...v1.67.1)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 16:17:07 +00:00
Nacho Iacovino d8035c9ddb Update minting landing (#1298)
* Update minting landing

* Fix
2023-06-12 22:00:45 +00:00
Nacho Iacovino 6b5005fbac Update unity code on wallet tab (#1295) 2023-06-12 20:57:06 +00:00
Nacho Iacovino 8169892eb1 Enable add to dashboard by default with disconnected wallet (#1289)
* Enable add to dashboard by default with disconnected wallet

* Actually fix it

* Remove log

* Remove unused import
2023-06-12 19:16:52 +00:00
Nacho Iacovino 5b20cc6035 Update minting solutions page images (#1286) 2023-06-09 20:31:57 +00:00
Tair Asim e2c93e8a8c fix: align name in the deployed contracts table (#1287)
fixes FTD-1777
2023-06-09 10:30:54 +00:00
Tair Asim 2f00b22afc feat: add settings page (#1284)
* feat: add settings page

- add settings page
- move api keys to it
- reuse nav and navlink where possible

fixes FTD-1768

* fix sections render

* move redirect

* polish

* fix up redirect

* remove unused index
2023-06-08 19:17:04 +00:00
Ooi Thian HooiandJonas Daniels cf9ee7a7e1 [Dashboard] feat: added button to view deployed contract on block explorer (#1217)
* feat: added button to view deployed contract on block explorer

* feat: filter block explorer URL that has standard of `EIP3091`

* revert: remove button to view deployed contract on block explorer

* feat: added button to view deployed contract on block explorer

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-06-08 17:38:41 +00:00
Nacho Iacovino 05a0dff120 Add Smart Wallet factory tab (#1269)
* Smart wallet tab wip

* Update sdks

* Add table

* Add loading

* Just return null

* Update nightly

* Disable button when wallet is already created
2023-06-08 01:00:21 +00:00
Nacho Iacovino a26741601f Add case studies to minting page (#1280)
* Add case studies

* Make it three columns

* Add deploy and airdrop toggle

* Update get started
2023-06-07 23:25:22 +00:00
Nacho Iacovino 3ab0d391ce Update to latest SDKs (#1283)
Update to latest nightly
2023-06-07 23:19:45 +00:00
Nacho Iacovino efa7afe35f Fix wrong icon in embeds connect wallet (#1282)
Fix icon not working
2023-06-07 22:47:54 +00:00
dependabot[bot] 3216286ddd Bump react-icons from 4.8.0 to 4.9.0 (#1275)
Bumps [react-icons](https://github.com/react-icons/react-icons) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/react-icons/react-icons/releases)
- [Commits](https://github.com/react-icons/react-icons/compare/v4.8.0...v4.9.0)

---
updated-dependencies:
- dependency-name: react-icons
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 21:56:34 +00:00
dependabot[bot] 49530c8d10 Bump posthog-js from 1.58.0 to 1.63.4 (#1276)
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.58.0 to 1.63.4.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.58.0...v1.63.4)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 21:56:24 +00:00
dependabot[bot] be45cfaa9d Bump eslint-config-next from 13.4.3 to 13.4.4 (#1277)
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.4.3 to 13.4.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.4.4/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 21:56:13 +00:00
dependabot[bot] 8bbc468c10 Bump @babel/core from 7.21.8 to 7.22.1 (#1278)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.21.8 to 7.22.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.22.1/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 21:56:04 +00:00
Jonas DanielsandTair Asim 9d6ba77327 feat: rpc endpoint validation (#1237)
* add rpc validation page

* rpc endpoint validation

- extract to component
- remove steps (chain validation not used now)
- polish ui and simplify

fixes FTD-1762

* remove spinner

* show chain conflicts and improve validation

* fixes

* dont disable button to see invalid url

* f

---------

Co-authored-by: Tair Asim <[email protected]>
2023-06-07 21:55:42 +00:00
Manan Tank 792b62ff81 Move /gas, /check-verification-status, /email-signup, /luma-events APIs to edge (#1281)
* delete /api/paper/register

* Move /gas api to edge

* move /check-verification-status api to edge

* move /email-signup to edge

* Move /luma-events API to edge

* cache /check-verification-status if verified
2023-06-07 18:43:46 +00:00
dependabot[bot] 34c11f86a2 Bump framer-motion from 10.12.12 to 10.12.16 (#1279)
Bumps [framer-motion](https://github.com/framer/motion) from 10.12.12 to 10.12.16.
- [Changelog](https://github.com/framer/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v10.12.12...v10.12.16)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 09:50:32 -07:00
Tair AsimandJonas Daniels a9fd20d6f7 polish: api keys + tables (#1267)
* polish: api keys + tables

- style tables and extract into table container
- refactor api keys to sub components
- show api key name and created at
- remove two step approach to creating keys
- define menu list/item styles on theme level

completes FTD-1752

* add missing ChainId import

* fix types

* add edit edit modal

* add update key func

* make work with local api server

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-06-05 17:26:21 +00:00
Danny RobertsandJonas Daniels 48b7433dfe Update footerLinks.tsx (#1261)
updating link to new ambassador page.

Co-authored-by: Jonas Daniels <[email protected]>
2023-06-05 17:18:45 +00:00
Jonas Daniels 9cd8422b6b remove ens api route (#1274) 2023-06-05 17:08:26 +00:00
Jonas Daniels 6948842410 handle empty functions in explorer (#1273) 2023-06-05 16:06:25 +00:00
Yash 001b639370 Fix CLI and standard deployments (#1272)
* handle undefined extraMetadataParam for cli deploys

* sdk dev build 2431: fix standard deploys

* latest nightly
2023-06-04 00:05:52 +00:00
Yash b5ebd81aa4 Fix any evm deployments (#1271)
* sdk dev build 2424

* latest nightly

* correct version
2023-06-03 03:16:12 +00:00
Yash 0ddd6d4c07 Enable ZKSync Mainnet deployments (#1270)
sdk changes enabling zksync mainnet deployment
2023-06-03 01:33:18 +00:00
Nacho IacovinoandManan Tank 20ebbb68ac Revamp publish flow (#1218)
* Get rid of proxy option

* Add network selector for publish

* Finish publish form

* Prettier pls

* Stop disabling deploy button

* Filter networks on deployment

* Update to dev

* Add checks for customFactory

* Add tabs

* Add custom factory flow

* Add networks fielset

* Fix prettier

* Update storage

* Update chains package

* Add resolution

* Fix build?

* Fix copy and default value

* Fix validation

* Add AbiSelector and update contractParams accordingly

* Fix deployment error

* Fix default values

* Fix reduce is not a fn

* Fix back button

* Fix reduce error

* Fix tabs, fix useEffect

* Updates

* Update sdks

* Add customFactoryAbi flow

* Fix autoFactory

* Fix autoFactory again

* Ternary city

* Fix default value

* Update lock

* Update versions

* test latest nightly

* Fix customFactoryAddresses not populating on edit

* Fix error on deploy

* Copy changes

* Remove unused import

* Copy changes

* Update copy

* Add advanced parameter field

* Move accordion outside platform fees

* Add advanced toggle on deploy

* Update packages

* Dev build test

* Update to nightly

---------

Co-authored-by: Manan Tank <[email protected]>
2023-06-03 00:28:27 +00:00
Adam Majmudar acac8e2200 Add analytics 🚀 (#1203)
* Add analytics

* Remove analytics secret

* Add date range picker and timestamp

* Refactor and add logs

* Update

* Remove cumulative wallets stat

* Add beta tag to analytics

* Add function calls table

* Add key

* Fix prettier

* Add event breakdown

* Add banner and total statistics

* Remove total txs

* Update analytics

* Fix suspense bug

* Add suspense to analytics stats

* Fix suspense

* Fix update

* Add zero states for charts

* Remove unused import

* Fix date ranges, add stack, add commas

* Cap end date

* Disable date selection

* Switch to new GET API format

* Update

* Fix stacked bar chart

* Add commas to values

* Fix highlight for stack

* Update colors to blue first

* Update color scheme

* Update bar colors
2023-06-03 00:00:24 +00:00
Nacho Iacovino 1c9afa6805 Update minting solutions page (#1268)
* Updated copy, add top projects

* Remove unused imports

* Add code section

* Update code

* Update code

* Update copy

* Comment unused code for now
2023-06-02 22:41:04 +00:00
Adam Majmudar 0112805468 [Auth] Update to server-side login payload generation (#1266)
* Update

* Update auth
2023-06-02 01:04:54 +00:00
Nacho Iacovino e7ac57cfdf Update wallet landing hero (#1265)
* Update wallet landing hero

* Temp

* Update images
2023-06-01 23:54:45 +00:00
Adam Majmudar 7835c59257 Fix login with auth (#1264)
Update auth version
2023-06-01 19:08:51 +00:00
Yash 786e23de60 Add overrides for read functions (#1260)
* use connected address as override for view and pure functions

* lint

* correct import
2023-06-01 00:04:59 +00:00
Adam Majmudar b17ca462bc Add updated auth (#1259)
* Add updated auth

* Fix build
2023-05-31 23:39:54 +00:00
Nacho Iacovino 07258a3e1f Small updates on wallet sdk landing (#1257)
Small updates'
2023-05-31 18:21:06 +00:00
28da5374c1 Add ambassadors page (#1221)
* added ambassador page - initial version

* fixed responsiveness issues

* fix linting errors on text

* fix more small changes

---------

Co-authored-by: Jarrod Watts <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-05-31 17:44:45 +00:00
Tair Asim de6777c542 chore: add missing twitter handle (#1256)
fixes FTD-1751
2023-05-31 17:10:12 +00:00
Joaquim Verges 04d799daba Disable add to dash by default linea (#1255)
* Uncheck add to dashboard by default for linea

* temporarily disable add to dash by default on linea
2023-05-31 16:45:29 +00:00
Manan Tank 7b20a1884c fix import redirect URL (#1254)
* fix import redirect URL

* use normal button instead of transaction button for importing
2023-05-31 16:17:48 +00:00
Tair Asim 6d08368287 chore: update team members (#1252)
* chore: update team members

* fix typo
2023-05-31 15:27:05 +00:00
Tair Asim d94190254e fix: remove sentry + github api deps (#1251)
- allows dashboard to be deployed w/o SENTRY_DSN & GITHUB_API_TOKEN
- if not set, contributors won't show up nor errors reported
2023-05-31 13:35:58 +00:00
Yash faa01c8457 Fix create2 factory issue (#1249)
* sdk dev build 2338

* sdk latest nightly
2023-05-31 00:20:08 +00:00
Nacho Iacovino a6ba817b1c Linea testnet popular contracts override (#1248)
Linea testnet popular contracts override'
2023-05-30 20:42:22 +00:00
Jonas Daniels 696fcd0ff9 safe workaround (#1247) 2023-05-30 18:05:03 +00:00
dependabot[bot] f44f71f9c3 Bump @typescript-eslint/parser from 5.59.7 to 5.59.8 (#1242)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.7 to 5.59.8.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.8/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 15:46:24 +00:00
dependabot[bot] b96d24a27c Bump posthog-js from 1.57.2 to 1.58.0 (#1243)
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.57.2 to 1.58.0.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.57.2...v1.58.0)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 15:46:16 +00:00
dependabot[bot] e472e325fb Bump next from 13.4.3 to 13.4.4 (#1244)
Bumps [next](https://github.com/vercel/next.js) from 13.4.3 to 13.4.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v13.4.3...v13.4.4)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 15:46:04 +00:00
dependabot[bot] 7a57a3d849 Bump @tanstack/query-async-storage-persister from 4.29.7 to 4.29.11 (#1245)
Bumps [@tanstack/query-async-storage-persister](https://github.com/tanstack/query) from 4.29.7 to 4.29.11.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.29.7...v4.29.11)

---
updated-dependencies:
- dependency-name: "@tanstack/query-async-storage-persister"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 15:45:57 +00:00
Nacho Iacovino 763d19ef6d Fix can't save empty cc on signature drop (#1246)
Fix can't save cc on signature drop
2023-05-29 19:26:05 +00:00
Jonas Daniels 1d41e15737 force login flow & guest wallet (#1236)
* force login flow

* slightly better styled modal

* fix build

* upgrade to nightly to fix signing after switching accounts

* add guest wallet

* fix chanlist page

* do not show signature prompts when wallet is headless

* track accept and cancel
2023-05-27 00:27:28 +00:00
Nacho IacovinoandJonas Daniels e4497e4e3b GamingKit landing updates (#1239)
* GamingKit updates

* copy fixes via @mike

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-05-26 17:12:31 +00:00
Jonas Daniels d7c2d7ac99 contract explorer read errors should show correctly (#1238) 2023-05-25 02:09:59 +00:00
Yash 63f1ef292f ZkSync custom contract deployments (#1220)
* sdk dev build 2199

* latest nightly

* resolution

* fix
2023-05-25 00:06:15 +00:00
Jarrod Watts 9b1b281f58 Fix grid spacing on /templates page (#1235) 2023-05-24 06:01:27 +00:00
Jonas Daniels edec4dbd6b update dependencies (#1233) 2023-05-22 23:54:44 +00:00
Nacho Iacovino d1fee9741a Update erc1155/erc20 embed (#1232)
* Update erc1155 embed

* Add claim condition set to contract checklist for erc20
2023-05-22 23:36:29 +00:00
Jonas Daniels a5515a36bc fix og image generation (#1231)
* fix og image generation

* append an og version to be able to bump generation when needed
2023-05-22 22:01:05 +00:00
Nacho Iacovino b34c9c11a1 Update embeds SDKs (#1214)
* Update embeds SDKs

* Update URI

* Update URI (again)
2023-05-22 21:39:34 +00:00
dependabot[bot] 32ca8979e4 Bump posthog-js from 1.56.0 to 1.57.2 (#1230)
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.56.0 to 1.57.2.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.56.0...v1.57.2)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 20:44:19 +00:00
dependabot[bot] 21326a8e95 Bump @tanstack/react-query from 4.29.5 to 4.29.7 (#1227)
Bumps [@tanstack/react-query](https://github.com/tanstack/query) from 4.29.5 to 4.29.7.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.29.5...v4.29.7)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 20:38:46 +00:00
dependabot[bot] d2c40439e2 Bump @typescript-eslint/parser from 5.59.5 to 5.59.7 (#1225)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.5 to 5.59.7.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.7/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 20:38:38 +00:00
dependabot[bot] 8b18846245 Bump @sentry/nextjs from 7.51.2 to 7.52.1 (#1226)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.51.2 to 7.52.1.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.51.2...7.52.1)

---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 20:38:32 +00:00
dependabot[bot] ed228f2508 Bump next from 13.4.2 to 13.4.3 (#1229)
Bumps [next](https://github.com/vercel/next.js) from 13.4.2 to 13.4.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v13.4.2...v13.4.3)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 20:38:16 +00:00
Joaquim Verges 31d8dab3ca Add polygon zk evm testnet verification (#1224) 2023-05-22 04:22:54 +00:00
Jonas Daniels a669c1bcba update tw packages and bump cache buster value (#1223) 2023-05-21 17:07:38 +00:00
Joaquim Verges a2a1e88267 Update create command syntax (#1222) 2023-05-20 20:31:45 +00:00
Jonas Daniels 47b4095b0e ipfs-2 (#1219) 2023-05-19 16:18:23 +00:00
d0a1a117d6 Add Templates page (#1117)
* POC

* fix build for testjam

* WIP on design

* use marketplace-v3

* Address security risk of SSR

* Add alt tag to thirdweb icon author image

* Rename Props type correctly

* add build debugging logs

* more debug logs

* Disable fallback

* Remove logs

* Fix mobile responsiveness and add images

* Add guide JSX for NFT Drop template

* Fix link lint for build

* fix server hydration issue

* Add details for marketplace and nft gallery templates

* Format

* Add templates to menu and footer

* Add contract deploymnet steps to local setup of templates

* Run prettier

* Address todos

* Add footer sections

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-05-18 18:06:29 +00:00
Manan Tank 2d731df942 Fix overlay issue on iOS safari on contracts page (#1215)
Fix overlay issue on ios safari on contracts page
2023-05-16 15:42:54 +00:00
BankkandJonas Daniels 534ba04287 RE: #1155 - Optimize Data Fetching (#1200)
* RE: #1155 - Optimize Data Fetching 

RE: Update to include thirdweb-dev & thridwed-examples, optimize and fix from #1155

* Apply filter fixes

Apply filterting
Add bots to filters

* Update filter to match original filter

* fix small issues

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-05-15 21:31:00 +00:00
dependabot[bot] d38774653a Bump @tanstack/react-table from 8.7.9 to 8.9.1 (#1210)
Bumps [@tanstack/react-table](https://github.com/tanstack/table) from 8.7.9 to 8.9.1.
- [Release notes](https://github.com/tanstack/table/releases)
- [Commits](https://github.com/tanstack/table/compare/v8.7.9...v8.9.1)

---
updated-dependencies:
- dependency-name: "@tanstack/react-table"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 20:59:47 +00:00
Manan Tank 764f31fe49 Fix overflow on small screens (#1213)
* Fix overflow on small screens

* remove pos sticky from import + deploy contracts button on mobile
2023-05-15 20:52:36 +00:00
Nacho IacovinoandJonas Daniels 131b7bd899 New erc721 embeds (#1201)
* New erc721 embeds

* Send purple

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-05-15 20:23:49 +00:00
dependabot[bot] 9884fce36f Bump @tanstack/react-query-persist-client from 4.29.5 to 4.29.7 (#1208)
Bumps [@tanstack/react-query-persist-client](https://github.com/tanstack/query) from 4.29.5 to 4.29.7.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.29.5...v4.29.7)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query-persist-client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 20:03:59 +00:00
dependabot[bot] 177467a59d Bump @typescript-eslint/eslint-plugin from 5.59.5 to 5.59.6 (#1209)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.5 to 5.59.6.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.6/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 20:03:44 +00:00
dependabot[bot] d2625e452b Bump next from 13.4.1 to 13.4.2 (#1211)
Bumps [next](https://github.com/vercel/next.js) from 13.4.1 to 13.4.2.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v13.4.1...v13.4.2)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 20:03:27 +00:00
Adam Majmudar 631bb87390 Update landing page header (#1207)
* Update landing page copy

* Add line break
2023-05-15 19:52:45 +00:00
Yash 43b6db8994 Add support for ZKSync Era Testnet (#1189)
* zksync deploy

* cleanup

* correct transaction count for zksync

* sdk dev build 2083

* sdk dev build 2084

* sdk dev build 2092

* sdk latest nightly

* sdk resolution

* fix nightly version
2023-05-15 17:01:23 +00:00
MykandManan Tank 7cf3a7e582 fix network filter across pages on dashboard (#1206)
* fix filter across pages on dashboard

* Fix Network filter show more button (#1205)

Fix Network filter

* fix filter across pages on dashboard

* fix prettier

---------

Co-authored-by: Manan Tank <[email protected]>
2023-05-13 00:21:07 +00:00
Manan Tank 95dae346ee Fix Network filter show more button (#1205)
Fix Network filter
2023-05-12 23:41:45 +00:00
00571e571e Filter dashboard by network (#1192)
* filter contracts with dropdown

* move filter closer to table

* style dropdown

* filter on the table itself

* no header, only filter

* filter across pages

* remove unused code

* use storedchain and columninstance types

* Update Design, Add back show more functionality

* rename NETWORKS -> NETWORK

---------

Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-05-12 22:09:08 +00:00
Nacho Iacovino 253c415cf9 Update snippet for smart wallet (#1202) 2023-05-12 20:12:01 +00:00
9a0d975004 update wallets in dashboard (#1196)
* update wallets in dashboard

* use main .lock

* Update links

* Fix build

* Add step 3

* Add react preview

* Toggle light/dark

* Simplify code

* Add extra step for smart wallet and docs

* Add Unity Snippets

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-05-12 01:55:39 +00:00
Jonas Daniels da21f2275e major version updates (#1199) 2023-05-11 19:21:14 +00:00
Jonas Daniels 2e93e8d4ea update dependencies (#1198) 2023-05-11 18:13:14 +00:00
Jonas Daniels f9c0054dc4 update banner and get started and add sanction address blocking (#1197) 2023-05-11 17:40:08 +00:00
vzvu3k6kandJonas Daniels 7c1451eb0a Fix bug in ClaimTab that "To Address" is not used (#1171)
Fix bug that "To Address" is not used in ClaimTab

Co-authored-by: Jonas Daniels <[email protected]>
2023-05-10 19:37:51 +00:00
Mariano Fuentes 9d99ec7eb4 Landing Page Improvement (#1194)
instant complete on speed up
2023-05-10 18:42:37 +00:00
Mariano Fuentes 90a60eb77a Add press kit link (#1195)
add press kit link
2023-05-10 18:23:35 +00:00
3f19ec254e feat: add community section to footer (#1178)
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2023-05-10 16:08:19 +00:00
225a18a78f feat: add events to navbar (#1177)
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-05-10 16:01:45 +00:00
dependabot[bot] adacb81b2e Bump @typescript-eslint/parser from 5.56.0 to 5.59.5 (#1185)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.56.0 to 5.59.5.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.5/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 15:31:20 +00:00
dependabot[bot] 8cbbdf680e Bump @types/react from 18.0.37 to 18.2.6 (#1184)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.37 to 18.2.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 15:31:10 +00:00
Nacho Iacovino 7a30ee26b4 Rename claim conditions presets (#1193) 2023-05-10 01:13:30 +00:00
Nacho Iacovino 933491a6e5 Add support for more chains on NFT API (#1191) 2023-05-10 00:21:25 +00:00
Nacho Iacovino 2140108dde Add presets to Claim conditions (#1145)
* Presets presets presets

* Fix build

* Small stuff

* Show active phase

* Nice display stuff

* Fix claim conditions v1

* General improvements

* A bit of guidance on non saved phases

* Well this is better

* Update price input

* Add NumberInput to theme

* UI stuff

* Fix build

* ok

* Fix build

* Fix single phase

* Fix creator phase display

* Copy update

* Fix some stuff

* Make isEditing work better

* Fix bug when value is 0.0

* Fix currently active refreshing on save

* Hide buttons conditionally

* Remove unused import
2023-05-09 23:57:31 +00:00
Adam Majmudar ac828ed325 Support uploading large snapshots (#1190) 2023-05-09 23:01:09 +00:00
Nacho Iacovino 5a76ff6999 Add support for Sepolia NFT API (#1188) 2023-05-09 15:17:06 +00:00
Joaquim Verges 6bb15192e4 Update nightly SDKs and fix build (#1187)
* Update nightly SDKs and fix build

* fix build
2023-05-09 05:35:01 +00:00
Manan Tank fd9b2bdcd8 Update popular chains - add Base Goerli, remove BSC testnet (#1186) 2023-05-08 22:54:20 +00:00
Danny Friday f0d25891a1 Use new paths for API keys (#1183)
* Use new paths for API keys

* Lint
2023-05-08 20:09:22 +00:00
Manan Tank e4da7eda1d update thirdweb-dev/chains package to latest nightly (#1180) 2023-05-08 16:04:54 +00:00
869d029c4b Landing page w/wo thirdweb (#1154)
* First pass

* mobile responsive and always show header of codeblocks

* made code auto type faster

* couple of improvements

* change copy

* remove border radius from inner box

* Change repetitive text

* update messsaging in landing page

* remove free

* tighter layout

* clearer with/without tw

* fix how it works width

* copy changes

* adjust image mt

* in > for

* Fix hydration error

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2023-05-05 21:20:42 +00:00
Adam Majmudar 56335a00a4 Update copy for API Keys (#1179)
* Update copy

* Update
2023-05-05 19:14:53 +00:00
Manan Tank 9a4f6d4893 Fix broken pages on non-default chains (#1176)
FIx broken pages on non-default chains
2023-05-04 19:41:24 +00:00
Mariano Fuentes 505f808b36 add hover state to connect wallet button (#1175) 2023-05-04 19:35:02 +00:00
Joaquim Verges 4c2c33fb1a rename gnosis to safe (#1174) 2023-05-04 18:16:16 +00:00
Mariano Fuentes e8bbe13232 Add Wallet SDK Landing Page (#1165)
* fix gnosis safe select network

* initial page

* add highlighted button component

* first version working

* copy and styling changes

* update styles

* make hero image bigger

* update copy and add contact us button

* cleanup

* updatre og image

* update hero image

* how it works title and image plus add links to text.

* escape quote

* remove logic 2

* update how it works image

* update wallet icons

* remove padding from top

* updated copy

* prevent from crashing

* remove code

* added supported wallets section

* remove commented code

* update menu copy

* copy change

* update announcement banner

* delete invisible character??

* update how it works image

* Add blogs

* add space

* copy changes, hero change, update packages

* update copy and nightly

* update nightly again

* back to latest stable
2023-05-04 17:49:03 +00:00
Joaquim Verges 7ce540ca4b rename explore category (#1173) 2023-05-04 17:29:26 +00:00
cb8eca2a0c Add support for API Keys (#1164)
* Add support for API Keys

* Update

* Fix import

* Fix invalidation

* Add a getting started flow

* Fix

* Fix everything

* Remove console.log

* Update

* Logout if there's an address mismatch

* Logout if there's an address mismatch

* Add error messages

* Add wallets

* Escape apostrophe

* Add link to documentation

* Update copy

* rename and added CW button demo

* reorder wallets

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2023-05-04 16:31:17 +00:00
Joaquim Verges fe4da9cab2 account abstraction explore page section (#1170) 2023-05-04 04:28:04 +00:00
Mariano Fuentes 8440caa02e Update Forms and CTA (#1166)
* update explore page publish cta

* update solution pages cta and form url

* update copy
2023-05-03 19:00:14 +00:00
Mariano Fuentes 1fb12c4f50 Update Banner (#1163)
* fix gnosis safe select network

* update banner to open source announcement

* update dismissed code

* fix url and add helpful error message if not api key is provided
2023-05-02 18:20:09 +00:00
Yash 4d7df78473 Fix deploy param check for trusted forwarders (#1162)
fix forwarder deploy param check
2023-05-02 00:25:59 +00:00
Yash c70fbab2a3 Get default forwarders from SDK (#1157)
* fix forwarders, sdk dev build 1960

* update to nightly

* use latest nightly for sdk
2023-05-01 22:07:50 +00:00
Mariano Fuentes 7355e05e99 Copy changes to minting page (#1152)
* Copy changes

* Add bullet points, change copy

* delete video section

* delete bullet points and remove bullets
2023-04-28 20:40:37 +00:00
Mariano Fuentes 90c9b829f8 Update solidity sdk description (#1151)
update solidity sdk description
2023-04-28 02:01:48 +00:00
Jarrod Watts 21a2ff310f Change "external" to "community" contributors on open source page (#1153)
* Change "external" to "community" contributors on open source page

* Update open-source.tsx

* Update open-source.tsx
2023-04-28 01:40:14 +00:00
Nacho Iacovino bc757fe686 Improved FTUX (#1150)
* wip

* Add import button

* Prettier?

* Fix useMemo

* Fix build

* Fix build?

* Update copy

* Copy updates
2023-04-28 00:30:59 +00:00
Jarrod WattsandNacho Iacovino 9de960aa9f Add OSS Page (#1066)
* Add /oss page for repositories and contributors

* Add GitHub to suite of icons in DesktopMenu

* Fix page ID, add getStaticProps for getting dynamic results of top contributors

* change repocard to linkbox component

* Use ProductPage Component rather than Box

* Fix button with increased zIndex

* replace solana with examples

* add links to menus and footer

* remove comment on revalidate

* filter out internal contributors

* fix examples copy

* fix build from comment

* remove footer

* Rename to open-soruce. Add avatars of contributors

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2023-04-26 04:27:25 +00:00
dependabot[bot] 25c9159c34 Bump @next/bundle-analyzer from 13.3.0 to 13.3.1 (#1142)
Bumps [@next/bundle-analyzer](https://github.com/vercel/next.js/tree/HEAD/packages/next-bundle-analyzer) from 13.3.0 to 13.3.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.3.1/packages/next-bundle-analyzer)

---
updated-dependencies:
- dependency-name: "@next/bundle-analyzer"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 01:18:16 +00:00
dependabot[bot] f2613dab7c Bump react-markdown from 8.0.6 to 8.0.7 (#1143)
Bumps [react-markdown](https://github.com/remarkjs/react-markdown) from 8.0.6 to 8.0.7.
- [Release notes](https://github.com/remarkjs/react-markdown/releases)
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md)
- [Commits](https://github.com/remarkjs/react-markdown/compare/8.0.6...8.0.7)

---
updated-dependencies:
- dependency-name: react-markdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 01:18:09 +00:00
dependabot[bot] c8f49f9eb6 Bump prettier from 2.8.7 to 2.8.8 (#1144)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.7 to 2.8.8.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.7...2.8.8)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 01:17:44 +00:00
Mariano Fuentes ae3f7124ea Redirect from contracts to explore (#1147) 2023-04-25 01:17:35 +00:00
Mariano Fuentes 86b7cc7180 Update chain slug seo metadata (#1146)
* update chain slug seo metadata

* check if testnet has faucets
2023-04-25 01:16:58 +00:00
Yash 47a007a225 Update packages (#1141)
update packages
2023-04-24 18:50:01 +00:00
Nacho Iacovino 009a435967 Move MarketplaceV3 up in explore (#1137) 2023-04-20 18:56:46 +00:00
Nacho Iacovino 3d52210724 Update redirects.js (#1136) 2023-04-20 15:34:45 +00:00
dependabot[bot] 0a05627aeb Bump @types/react from 18.0.30 to 18.0.37 (#1110)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.30 to 18.0.37.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 13:57:48 +00:00
dependabot[bot] 1a62941dac Bump posthog-js from 1.52.0 to 1.53.3 (#1112)
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.52.0 to 1.53.3.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.52.0...v1.53.3)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 13:55:54 +00:00
dependabot[bot] c46bc5d684 Bump @next/bundle-analyzer from 13.2.4 to 13.3.0 (#1111)
Bumps [@next/bundle-analyzer](https://github.com/vercel/next.js/tree/HEAD/packages/next-bundle-analyzer) from 13.2.4 to 13.3.0.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.3.0/packages/next-bundle-analyzer)

---
updated-dependencies:
- dependency-name: "@next/bundle-analyzer"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 13:52:18 +00:00
Mariano Fuentes 26de619d74 Bear Market Fix (#1135)
* fix gnosis safe select network

* disable claiming temporarily

* move logic to airdrop component

* copy change

* update airdrop address and fix supply count

* comment on gasless

* disable claiming again and show out of packs screen if out of packs

* claiming is disabled

* re-enable airdrop claiming

* enable claiming
2023-04-19 23:27:05 +00:00
Mariano Fuentes 9d499185a2 Disable (#1134)
* fix gnosis safe select network

* disable claiming temporarily

* move logic to airdrop component

* copy change

* update airdrop address and fix supply count

* comment on gasless

* disable claiming again and show out of packs screen if out of packs

* claiming is disabled
2023-04-19 22:04:10 +00:00
Mariano Fuentes 168f244b40 Re-enable Bear Drop (#1133)
* fix gnosis safe select network

* disable claiming temporarily

* move logic to airdrop component

* copy change

* update airdrop address and fix supply count

* comment on gasless
2023-04-19 21:37:46 +00:00
Juan LealandNacho Iacovino e6f21e3475 Fixed metatitle double thirdweb + prettier ' in desc (#1109)
Fixed metatitle + prettier ' in desc

Co-authored-by: Nacho Iacovino <[email protected]>
2023-04-19 19:05:13 +00:00
Mariano Fuentes 3666ad10e0 Disable Claiming temporarily (#1131)
* fix gnosis safe select network

* disable claiming temporarily

* move logic to airdrop component

* copy change
2023-04-19 18:36:53 +00:00
Juan LealandNacho Iacovino 2c4d272f27 Update Announcement Banner to Bear Market Builders (#1130)
* Update Announcement Banner to Bear Market Builders

not sure if i set the local storage correctly or tracking label correctly, lmk

we can add the community CTA back once airdrop is over!

* Fix build

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2023-04-19 17:38:21 +00:00
Yash a73900526b Fix error handling for create2 factory deployments (#1120)
* sdk dev build 1879

* sdk dev build 1887

* sdk nightly #709
2023-04-19 16:14:07 +00:00
Adam Majmudar 40cd4ebb66 Update banner to community (#1127)
Update banner
2023-04-19 03:36:24 +00:00
Nacho Iacovino 9b7f1b4648 Full width ConnectWallet on embed (#1126)
Full width CW on embed
2023-04-19 00:35:44 +00:00
Nacho Iacovino 116ddeab6b Small landing changes (#1125) 2023-04-18 23:26:20 +00:00
Nacho Iacovino 7405e46ba5 Add tweet variations for bear market builder (#1124)
* Add newsletter signup

* Add tweet variations
2023-04-18 21:00:17 +00:00
Nacho Iacovino 89565617ed Add newsletter signup (#1123) 2023-04-18 20:38:11 +00:00
Mariano Fuentes 35192e985b Bear Market Updates (#1122)
* fix gnosis safe select network

* update faq dates to be more clear

* update state when packs run out of stock

* Airtable fix (#1121)

* fix gnosis safe select network

* update faq dates to be more clear

* change airtable key

* update state when packs run out of stock
2023-04-18 19:31:43 +00:00
Mariano Fuentes b58da57c2b Airtable fix (#1121)
* fix gnosis safe select network

* update faq dates to be more clear

* change airtable key
2023-04-18 17:51:08 +00:00
Nacho Iacovino 7efec32e49 Small updates on bear-market-airdrop (#1119)
* Refetch supply

* Better code, improve responsive
2023-04-18 13:54:38 +00:00
Jonas Daniels 503c7b7ecb temp disable (#1118)
* temp disable

* disable gasless for now
2023-04-18 07:38:06 +00:00
Yash 7ec4870ed5 sdk latest nightly build (#1115)
add latest nightly build of sdk
2023-04-18 00:01:08 +00:00
Nacho Iacovino 616ded8300 Update embed with new connect wallet (#1116) 2023-04-17 23:04:15 +00:00
Nacho Iacovino 2e937673e1 Add events page (#1114)
* Events page

* New api key, make it serverless

* Make it nicer

* Small margin issue

* Fix overflow

* Small changes

* Better skeleton experience

* Fix footer
2023-04-17 22:12:07 +00:00
Manan Tank 1d5445cad6 Fix EVM connect wallet button on solana pages (#1108)
Fix EVM connect wallet button on solana
2023-04-17 13:19:46 +00:00
520c2c6380 Bear Market Airdrop (#1075)
* fix gnosis safe select network

* Initial transfer to dashboard

* remove axios

* Feedback from PR / code cleanup

* Fixed image imports and resolve most vercel comments

* move email input box to claim and adjust ui to support light mode

* carousel of prizes and ui fixes from bobby designs

* responsiveness

* remove all prizes from main page

* Ui tweaks and gif confetti

* Edit contracts deployed, add pagination

* add empty state to contracts

* update image size

* update contracts using allowlist and fix some ui bugs

* organize imports

* list contracts

* testjam fixes

* setup new relayer and fix contract query for contracts deployed

* add custom sdk

* Use supply hook

* Dont rquire pack

* Small changes

* Custom SDK context

* fix loading contracts on account change

* fix forwarder

* Delete unused

* A lotta changes

* updated version to nightly

* More changes

* Don't show name

* A lotta stuff

* remove resolution and remove extra email icon

* Fix text color for claim/subscribe button

* add trackers and fix some small bugs

* more trackers

* update trackers naming conventions

* update constant

* update tracker category name to make more sense

* fix comments on trackers

* add og image

* update bear pack image, no bg

* Edit copy for why section

* add extra line break for tweet

* update copy

* update oz link and new contracts

* update FAQ

* update pack terminology

* filter only on mainnet and specific chains

* styling issues with button and pack copy

* chain name more visible

* styling fixes and copy

* styling fixes

* add filtering by chain and deployer address

* add hover to claim btn

* add quicknode card assets

* update contract addresses to SAFE ones.

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-04-15 00:51:09 +00:00
Jonas Daniels d7de3a4f01 contract card fix for safari (#1107) 2023-04-14 23:02:19 +00:00
Mariano Fuentes 496211e532 Remove "who said" copy (#1106)
* fix gnosis safe select network

* Copy suggestions

* add experiment additional name for better tracking

* remove "who said" copy
2023-04-14 17:29:31 +00:00
Mariano Fuentes 28cda332a5 Landing Page copy suggestions (#1104)
* fix gnosis safe select network

* Copy suggestions

* add experiment additional name for better tracking
2023-04-14 17:09:12 +00:00
Nacho Iacovino c2c41e3003 Minting page copy changes (#1105)
* Minting page copy changes

* Update pages/solutions/minting.tsx
2023-04-14 00:04:45 +00:00
ciaranightingaleandNacho Iacovino f7889f57d3 Rename ContractKit to Solidity SDK (#1078)
* rename ContractKit to Solidity SDK

* make redirect permenant

* guide tag update

* revert tracking labels to contractkit

* fix merge error

* Update redirects.js

Co-authored-by: Nacho Iacovino <[email protected]>

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2023-04-13 22:10:28 +00:00
Manan Tank 8742033de1 Fix /explore page SSR (#1103)
FIx /explore page ssr
2023-04-13 20:45:26 +00:00
Manan Tank e07eb5901b Fix /Marketplace/{version} 404 (#1102) 2023-04-13 20:30:16 +00:00
Nacho Iacovino fef341751b Add new partner logos (#1101) 2023-04-13 20:17:03 +00:00
Nacho Iacovino 396885008e GamingKit page updates (#1100) 2023-04-13 20:13:48 +00:00
Nacho Iacovino 4eb1a9bc7f Use correct pageId for published contract (#1099)
Use correct pageId
2023-04-13 18:06:23 +00:00
Yash 80765f984f Enable MarketplaceV3 deploys on any EVM (#1085)
* sdk dev build 1791

* sdk dev build 1793

* sdk dev build 1803

* sdk dev build 1804

* sdk dev build 1814

* sdk dev build 1816

* fix react version

* sdk nightly 3.11.8-nightly-bfdd8493-20230411231810

* latest nightly
2023-04-12 05:28:07 +00:00
Manan Tank 8e8bd8d4bd Fix publish form, Platform fees accordion (#1097)
* use defaultChains in publish form instead of supportedChains

* make the PlatformFeeFieldset accordion open by default
2023-04-11 22:17:22 +00:00
Jonas Daniels b6c3cbf998 fix infinite profile redirect (#1098) 2023-04-11 21:57:27 +00:00
dependabot[bot] c7da653771 Bump @tanstack/react-query-persist-client from 4.28.0 to 4.29.1 (#1092)
Bumps [@tanstack/react-query-persist-client](https://github.com/tanstack/query) from 4.28.0 to 4.29.1.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.28.0...v4.29.1)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query-persist-client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 20:16:34 +00:00
dependabot[bot] 3a1008f0f0 Bump posthog-js from 1.51.5 to 1.52.0 (#1094)
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.51.5 to 1.52.0.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.51.5...v1.52.0)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 20:16:22 +00:00
dependabot[bot] 7166e2e173 Bump tailwindcss from 3.2.7 to 3.3.1 (#1095)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.2.7 to 3.3.1.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.7...v3.3.1)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 20:16:03 +00:00
dependabot[bot] 785132f6c7 Bump @typescript-eslint/eslint-plugin from 5.57.1 to 5.58.0 (#1096)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.57.1 to 5.58.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.58.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 20:15:32 +00:00
Manan Tank 0695d37548 Fix Network popover showing wrong network when switching via wallet app (#1091) 2023-04-10 19:16:39 +00:00
Joaquim Verges 835438f4a2 verify on Base capability + better verify button (#1090) 2023-04-10 19:03:28 +00:00
Manan Tank f2ce226d59 network config improvements, Fix FTUX flash (#1089)
* fix "add custom network" opening "edit network" modal

* code cleanup

* code cleanup

* reduce width of network config form on unknown network slug page

* Fix FTUX flash
2023-04-10 17:17:01 +00:00
Manan Tank 17b3fea6c8 No config Any EVM (#1086)
* temp

* make it work
2023-04-08 04:35:41 +00:00
Muhammad Meigooni 6aa670896f Updates banner to learn announcement (#1088)
* Update banner with learn announcement

* Fix a typo
2023-04-07 23:59:24 +00:00
Muhammad Meigooni 93b61349ed New thirdweb learn landing page (#1073)
* Add "Learn" option to `type` property in `HeroProps`

* Creates /pages/learn/index.tsx using a solutions page as a template

* Add product cards

* Add a description section

* Add Path section

* Clean up unused code

* Add pageId

* Remove ProductPage component to have custom GetStartedSection

* Bring in the needed elements from ProductPage and GetStartedSection

* Replaces GeneralCta with a LinkButton that opens the url in a new window

* Remove opening button link in new tab

* Add form url

* Edits across all sections

* Fix linting issues

* Update seo

* Update hero image

* Update hero name
2023-04-07 20:38:47 +00:00
Joaquim Verges 1dfb193fe3 add sepolia etherscan verification endpoint (#1082) 2023-04-07 04:22:51 +00:00
Nacho IacovinoandJoaquim Verges 7f78073028 Add correct transaction count to deploy form (#1081)
* Add correct transaction count to deploy form

* Show txns

* latest nightly

---------

Co-authored-by: Joaquim Verges <[email protected]>
2023-04-07 00:23:41 +00:00
Nacho Iacovino bbfce764bd Fix address flashing (#1080) 2023-04-06 21:46:28 +00:00
Nacho Iacovino 2b15a60e19 Fix contract metadata not showing (#1079) 2023-04-06 21:28:21 +00:00
Nacho Iacovino 241581c5d6 Fallback to deploy-form instead of undefined (#1077) 2023-04-06 01:07:25 +00:00
Nacho Iacovino 173de5222c Fix invalid bigNumber on deploy (#1076) 2023-04-05 23:32:27 +00:00
56de70a6a5 any evm new flow (#1034)
* cwv2 lets go

* Switch Theme

* lots of cleanup

* Gnosis safe

* add wallet connect v1

* sdk dev build

* correct build

* fix merge

* sdk dev build

* correct sdk dev build

* sdk dev build

* sdk dev build 1714

* sdk dev build 1715

* sdk dev build 1721

* sdk dev build 1723

* update chains package

* sdk dev build 1744

* latest nightly

---------

Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2023-04-05 22:23:23 +00:00
Nacho Iacovino a9354926af Add tracking back for wallet_connected (#1074) 2023-04-05 19:48:22 +00:00
Joaquim Verges f34c41d1d8 update latest nightlies (#1072)
* update latest nightlies

* revert storage upgrade
2023-04-05 18:57:37 +00:00
Jonas Daniels 9e84f780bd fix publish crash (#1071) 2023-04-05 15:19:18 +00:00
e56a7c87d4 Add contract checklist (#1063)
* add contract ftux

* fix lint

* fix uploaded nfts

* fix

* fix bug

* Big refactor

* Rename component

* Use absolute imports where possible

* More changes

* Show number of extensions on contract list

* Add permissions check

* Collapse if completed

* Hide if all steps are completed

---------

Co-authored-by: sid <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-04-05 02:30:28 +00:00
Nacho Iacovino 05a11ccc12 Better tracking for custom contract deploy (#1070) 2023-04-05 02:20:26 +00:00
Nacho IacovinoandJonas Daniels 7b42e1c9d0 Stop using prebuilt form, only custom contract form deploy (#1009)
* ContractMetadata detection on deploy

* Royalty detection

* Primary sale detection

* Platform Fee detection

* This feels better

* It works now :D

* Add split detection, cleanup

* Cleanup

* More cleanuppp

* Moar remove

* Kill useWeb3 hook

* nvm we need this

* Enable any evm for thirdweb contracts

* DefaultValue 0

* update sdk

* nope

* Remove double title

* Update dependencies

* install nightly

* use latest

* Fix default values

* Delete prebuilt analytics file

* fix wallet address not being filled in on subsequent renders

* Remove resolution

* Make inputs required

* Enable all chains for tw contracts

* Fix input default value

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-04-04 23:36:46 +00:00
ciaranightingale a777df75c0 install nightly - fix portal links (#1069)
* install nightly

* remove storage & chains

* type error
2023-04-04 22:32:16 +00:00
ciaranightingaleandNacho Iacovino 04bf458fe7 Extension portal link updated (#1050)
* extension portal link updated

* portal link update

* footer solidity link

* fix link

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2023-04-04 21:24:03 +00:00
Adam Majmudar c21e74d1b4 Update call snippets for react and typescript (#1068)
* Fix code tab with new react & sdk snippets

* Update TS snippets

* Fix web3 button
2023-04-04 19:32:29 +00:00
Manan Tank b7462fb17d Fix broken PartnerCarousel UI (#1067) 2023-04-04 14:18:36 +00:00
dependabot[bot] ef0090ff51 Bump @typescript-eslint/eslint-plugin from 5.56.0 to 5.57.1 (#1061)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.56.0 to 5.57.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.57.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 08:49:49 +00:00
dependabot[bot] a8d4d4c469 Bump @sentry/nextjs from 7.45.0 to 7.46.0 (#1059)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.45.0 to 7.46.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.45.0...7.46.0)

---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 08:49:15 +00:00
dependabot[bot] 375abb4429 Bump react-hook-form from 7.43.8 to 7.43.9 (#1058)
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.43.8 to 7.43.9.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.43.8...v7.43.9)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 08:48:50 +00:00
dependabot[bot] 20ea9243f2 Bump @babel/core from 7.21.3 to 7.21.4 (#1057)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.21.3 to 7.21.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.21.4/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 08:48:32 +00:00
Nacho Iacovino 3df9fa935e General fixes and improvements (#1065)
* UI improvements

* Fix tooltip transparency

* Small improvements

* Small stuff

* Add clarification of max num of addresses on airdrop

* Limit changelog section to 2 lines
2023-04-04 08:09:07 +00:00
Nacho Iacovino d7f4f88523 Fix reset eligibility triggering two transactions for erc1155 (#1064)
Fix reset eligibility triggering two transactions
2023-04-03 22:29:36 +00:00
Nacho Iacovino c514aa87fb Fix embed not showing for marketplace v3 (#1062)
* Fix embed not showing for marketplace v3

* Remove log
2023-04-03 20:00:23 +00:00
Nacho Iacovino b75aa64b69 Show general icon when no icon is found (#1056)
* Fix logo not showing when no logo is found

* Also show it when no logo is found
2023-04-03 16:41:00 +00:00
Nacho IacovinoandJonas Daniels 99cc71528c Make the selector a dropdown on the sidebar on build tab (#1046)
* Make the selector a dropdown on the sidebar

* Fix build

* Hide sidebar on mobile

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-04-03 16:28:13 +00:00
Jonas Daniels d3295a2a21 fix claim conditions crash (#1055) 2023-04-02 23:55:47 +00:00
Jonas Daniels 273d7b817a update tw packages (#1054) 2023-04-01 01:13:04 +00:00
Jonas Daniels fa7bc7ce08 permission tab bug fix (#1053) 2023-03-31 23:35:56 +00:00
Nacho Iacovino 6029534d14 Show Phantom option when Phantom not installed (#1052) 2023-03-31 19:58:24 +00:00
Jonas Daniels 4c77faf1d1 update packages and fix explorer (#1048) 2023-03-31 07:41:36 +00:00
Jonas Daniels 2c477e7db8 use staging for ipfs on preview urls also use the ipfs resolution for… (#1047)
use staging for ipfs on preview urls also use the ipfs resolution for more things
2023-03-31 02:04:54 +00:00
Nacho Iacovino 214609cc01 Stop UI flashing, use react hooks for permissions (#1040)
* Stop UI flashing, use react hooks

* Use delayed display for contract ftux

* Make DelayedDisplay a component
2023-03-31 00:57:37 +00:00
Jonas Daniels 4347e983bc update packages again (#1045)
* update packages again

* actually update the packages
2023-03-30 23:17:09 +00:00
Jonas Daniels bc6f6c404d update thirdweb stable packages (#1044) 2023-03-30 18:22:09 +00:00
iketw 97cdeb2870 fix typo landing (#1043)
* fix typo landing

* typo;
2023-03-29 20:50:26 +00:00
Jonas Daniels 84de000163 fix FTD-1574 (#1042) 2023-03-29 16:48:07 +00:00
Jonas Daniels 1feaad7e83 update to new nightly for new chains and new wallet behavior (#1041) 2023-03-29 00:58:26 +00:00
Jonas Daniels 426c5aaaee update chains and add polygon zkevm redirect (#1039) 2023-03-28 22:01:40 +00:00
Nacho Iacovino 9786439194 Fix js snippet (#1038) 2023-03-28 20:26:08 +00:00
ciaranightingale 69ee9d5e78 fix broken links (#1037)
* Revert "fix broken links (#1033)"

This reverts commit 5f91e3a013.

* Revert "Fix Redirects (#1035)"

This reverts commit 159d581dac.

* fix
2023-03-28 19:51:40 +00:00
ciaranightingale 159d581dac Fix Redirects (#1035)
* fix broken links

* fix broken links
2023-03-28 19:21:42 +00:00
ciaranightingale 5f91e3a013 fix broken links (#1033)
* fix broken links

* fix broken links

* redirects
2023-03-28 18:57:58 +00:00
YashandJonas Daniels 5ca4641f17 Display plugins on router release page (#970)
* display plugins on router release page

* don't use dev build for react

* fix errors

* fix order in hooks

* correctly pass abi to Extensions

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-03-28 18:10:08 +00:00
Jonas Daniels 3319239ecb fix crash when adding chain without rpc (#1032) 2023-03-28 17:40:19 +00:00
Jonas Daniels ba9852e408 fix crash when adding chain without rpc (#1031) 2023-03-28 17:26:06 +00:00
Jonas Daniels 24a305ab04 bust cache 2023-03-28 04:56:06 -07:00
Jonas Daniels d1da4dd7d1 lots of clean up (#1030)
* lots of things

* further cleanups
2023-03-28 11:35:08 +00:00
Jonas Daniels 82e961081b fix zkevm mainnet testnet (#1029) 2023-03-27 23:34:22 +00:00
dependabot[bot] a8da06c9b4 Bump @hookform/resolvers from 2.9.11 to 3.0.0 (#1021)
Bumps [@hookform/resolvers](https://github.com/react-hook-form/resolvers) from 2.9.11 to 3.0.0.
- [Release notes](https://github.com/react-hook-form/resolvers/releases)
- [Commits](https://github.com/react-hook-form/resolvers/compare/v2.9.11...v3.0.0)

---
updated-dependencies:
- dependency-name: "@hookform/resolvers"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 22:49:14 +00:00
dependabot[bot] a78349bb12 Bump @chakra-ui/react from 2.5.3 to 2.5.4 (#1023)
Bumps [@chakra-ui/react](https://github.com/chakra-ui/chakra-ui/tree/HEAD/packages/components/react) from 2.5.3 to 2.5.4.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases)
- [Changelog](https://github.com/chakra-ui/chakra-ui/blob/main/packages/components/react/CHANGELOG.md)
- [Commits](https://github.com/chakra-ui/chakra-ui/commits/@chakra-ui/[email protected]/packages/components/react)

---
updated-dependencies:
- dependency-name: "@chakra-ui/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 22:48:26 +00:00
dependabot[bot] ca76d4c783 Bump @types/react from 18.0.29 to 18.0.30 (#1025)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.29 to 18.0.30.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 22:48:19 +00:00
Manan Tank 230817a3bd Fix Safe not connecting because of JSON error (#1026) 2023-03-27 20:31:49 +00:00
Jonas Daniels de6bbded76 add new chains (#1020) 2023-03-27 17:57:12 +00:00
Jonas Daniels fb06ce0d2e update dependencies (#1018) 2023-03-25 19:21:01 +00:00
Manan Tank 140f9d3974 various connect wallet ui fixes (#1019) 2023-03-25 09:37:10 +00:00
Manan TankandJonas Daniels 406bb83f6b connect wallet v2 (#965)
* cwv2 lets go

* Switch Theme

* lots of cleanup

* Gnosis safe

* add wallet connect v1

* Add Safe and other confirmation popovers back

* fix the build error

* update sdk, remove device wallet

* new dev version

* Fix wallet autoconnect on prod

* Fix Gnosis Safe Connection glitch, UI improvements

* update all deps to nightly

* remove unused packages, update to nightly sdks

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-03-25 02:30:32 +00:00
Nacho Iacovino 6308232ba8 Change register to value/onChange (#1017)
* Use value/onchange

* Fix show logic
2023-03-25 01:13:36 +00:00
Nacho Iacovino 770e5c1406 Fix set implementation (#1016) 2023-03-25 00:01:25 +00:00
sid 9e3026634a Fix GetStarted component (#1015)
gray instead of whitealpha
2023-03-24 19:45:15 +00:00
Manan Tank ae42e35cd9 Fix chain not configured error (#1014) 2023-03-24 19:31:03 +00:00
Nacho Iacovino a5de6eb15c Fix custom chains symbol (#1013) 2023-03-24 17:54:19 +00:00
Nacho Iacovino c643ad1c17 Update gamingkit feature guide (#1012) 2023-03-23 23:29:53 +00:00
sidandJonas Daniels 2cbbc3cdf7 Update deployed + published contracts page (#962)
* get started component

* push everything

* ln

* Update published.tsx

* fixes

* fix link and getstarted -- remove mumbai steps from deployed get started

* eslint

* diff state for active vs inactive

* completed

* link

* readd description

* small fix

* better storage key and also bigger hit area for collapse/expand

* link auto highlight

* ftux not removable and add loader

* small fix

* memoize + change states for complete/incomplete

* minor tweaks and formatter

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-03-23 21:30:41 +00:00
Nacho Iacovino 39723cbf40 Fix distribute funds for native token (#1011) 2023-03-23 20:32:01 +00:00
sidandJonas Daniels 61933ae9d9 Various changes on landing pages (#1010)
various changes on landing pages

Co-authored-by: Jonas Daniels <[email protected]>
2023-03-23 04:33:04 +00:00
Jonas Daniels 5ade7f43c9 landing page updates (#1008) 2023-03-22 22:32:55 +00:00
Jonas Danielsandsid 32ac61247d Sid/gamingkit page updates (#1007)
* Update gaming.tsx

* gamingkit page completed

* cleanup

* update copy

* add banner

---------

Co-authored-by: sid <[email protected]>
2023-03-22 21:27:03 +00:00
Nacho Iacovino b50a0f1bdb Update catattack url (#1006)
* Update catattack url

* Correct url
2023-03-22 18:22:52 +00:00
Nacho Iacovino a05df9bcf1 Fix txn button loading (#1005)
Fix txn button loadding
2023-03-22 10:45:56 +00:00
Nacho Iacovino bb61fdedbf Incremental claim conditions improvement (#997)
* Incremental Claim Conditions improvements

* Show default currency name for custom chains

* Revert
2023-03-21 21:44:22 +00:00
Nacho Iacovino 4ae114033d Fix button overflow (#1004) 2023-03-21 19:19:08 +00:00
Nacho Iacovino de2445408a isLoading state when fetching funds (#1003) 2023-03-21 19:15:03 +00:00
Nacho Iacovino 6e4d76f62a Enable button when updating contract metadata iamge (#1002) 2023-03-21 18:26:04 +00:00
Nacho Iacovino f5570885f6 /chains -> /chainlist (#1001)
* /chains -> /chainlist

* Fix links
2023-03-21 17:47:32 +00:00
sid 12e92122cc SDK copy changes (#1000)
* keys, text align, section spacing

* Update sdk.tsx
2023-03-21 05:45:41 +00:00
dependabot[bot] 9aed1fd87b Bump @typescript-eslint/parser from 5.55.0 to 5.56.0 (#996)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.55.0 to 5.56.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.56.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 03:03:02 +00:00
dependabot[bot] ef0b49c218 Bump @tanstack/react-query from 4.27.0 to 4.28.0 (#995)
Bumps [@tanstack/react-query](https://github.com/tanstack/query) from 4.27.0 to 4.28.0.
- [Release notes](https://github.com/tanstack/query/releases)
- [Commits](https://github.com/tanstack/query/compare/v4.27.0...v4.28.0)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 03:02:50 +00:00
dependabot[bot] 89906df59c Bump eslint-config-prettier from 8.7.0 to 8.8.0 (#994)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.7.0 to 8.8.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.7.0...v8.8.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 03:02:36 +00:00
dependabot[bot] 9f225b3cba Bump react-markdown from 8.0.5 to 8.0.6 (#993)
Bumps [react-markdown](https://github.com/remarkjs/react-markdown) from 8.0.5 to 8.0.6.
- [Release notes](https://github.com/remarkjs/react-markdown/releases)
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md)
- [Commits](https://github.com/remarkjs/react-markdown/compare/8.0.5...8.0.6)

---
updated-dependencies:
- dependency-name: react-markdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 03:02:25 +00:00
sid 3cacc5cb43 Minor build on base landing fixes (#991)
keys, text align, section spacing
2023-03-21 02:04:29 +00:00
Jonas Daniels fe1a82b47f FIX FTD-1469 (#998) 2023-03-20 22:37:49 +00:00
Nacho Iacovino eaf4828f2b Dont filter ccs on multiphase (#992) 2023-03-20 19:04:50 +00:00
Nacho Iacovino 5d3a5d8df4 Don't show Build Apps button on /code (#990) 2023-03-20 17:01:47 +00:00
sidandJonas Daniels c3b36f035c Build on base landing (#971)
* add base page

* correct links

* add cats image

* landing snippets

* minor fix for theme

* small tweaks

* placeholder youtube

* image instead of chakra next image

* always 2 col

* small 2 col

* some improvements

* maxH = 1080

* correct link

* ui changes

* Update base.tsx

* small spacing fix

* fix crucial things

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-03-20 16:31:40 +00:00
Jonas Daniels 8735276ae9 contract seo improvements (#988)
* contract seo improvements

* add back generic `| thirdweb` in title

* upgrade nvm to use node 18
2023-03-20 00:23:28 +00:00
Jonas Daniels 1fda6b7d90 ipfscdn -> thirdwebcdn (#987) 2023-03-17 02:34:19 +00:00
Nacho Iacovino 35badf0ea7 Rename Integrate to Build (#986) 2023-03-16 23:11:14 +00:00
iketw 636298f880 [RNCodeTab] Add a link for installation instructions (#985) 2023-03-16 21:14:35 +00:00
iketw 69eca5f1d7 Add React Native code snippets (#976)
* [ReactNativeDashboard] Add ReactNative code tabs in Dashboard and code snippet to the landing page

* complete RN installation steps

* [RNInstall] Add dependencies comment

* [RN] direct users to installation guide
2023-03-16 18:26:43 +00:00
Nacho Iacovino 9cb90b89f0 Upsell testnet switch on deploy (#978)
* Upsell testnet switch on deploy

* Add tracking

* Fix build

* Better tracking
2023-03-16 17:24:43 +00:00
Nacho Iacovino 9a0c66da8b Add Integrate contract button (#979) 2023-03-16 17:22:50 +00:00
dependabot[bot] 48d6f2d8cc Bump @tanstack/react-table from 8.5.13 to 8.7.9 (#981)
Bumps [@tanstack/react-table](https://github.com/tanstack/table) from 8.5.13 to 8.7.9.
- [Release notes](https://github.com/tanstack/table/releases)
- [Commits](https://github.com/tanstack/table/compare/v8.5.13...v8.7.9)

---
updated-dependencies:
- dependency-name: "@tanstack/react-table"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 17:22:11 +00:00
dependabot[bot] 1863400df1 Bump react-children-utilities from 2.8.0 to 2.9.0 (#984)
Bumps [react-children-utilities](https://github.com/fernandopasik/react-children-utilities) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/fernandopasik/react-children-utilities/releases)
- [Commits](https://github.com/fernandopasik/react-children-utilities/compare/v2.8.0...v2.9.0)

---
updated-dependencies:
- dependency-name: react-children-utilities
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 17:21:21 +00:00
dependabot[bot] 4c2778ac62 Bump @sentry/nextjs from 7.41.0 to 7.43.0 (#982)
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.41.0 to 7.43.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.41.0...7.43.0)

---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 11:35:36 +00:00
dependabot[bot] 0ad634bc4e Bump eslint-config-next from 13.2.3 to 13.2.4 (#980)
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.2.3 to 13.2.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.2.4/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 11:30:09 +00:00
Jonas Daniels f5f0097727 Update dependabot.yml 2023-03-16 04:18:38 -07:00
Jonas Daniels fe273d3478 Create .github/dependabot.yml 2023-03-16 04:18:06 -07:00
Joaquim Verges 6a01c87553 show unity code snippets in dashboard (#977)
* show unity code snippets in dashboard

* make js the default code selection
2023-03-14 23:51:06 +00:00
Nacho Iacovino 045f850740 Fix placeholder overlap on input/button (#975) 2023-03-14 01:05:14 +00:00
Nacho Iacovino 0fea15193a Make previous commit nicer (#974) 2023-03-14 00:59:10 +00:00
Nacho Iacovino 77fb25bea6 Fix button overflowing on long chain names (#973) 2023-03-14 00:46:08 +00:00
Nacho Iacovino d666e09467 Fix application error (#972) 2023-03-14 00:23:17 +00:00
Joaquim Verges d5c599737a Revert "enable anyEVM deploys for Airdrop/Staking (#968)" (#969)
This reverts commit 967b1592b3.
2023-03-11 07:10:45 +00:00
Joaquim Verges 967b1592b3 enable anyEVM deploys for Airdrop/Staking (#968) 2023-03-11 06:32:58 +00:00
Joaquim Verges 0fa283e242 update SDKs to nightly (#966)
* update SDKs to nightly

* update storage
2023-03-10 22:36:35 +00:00
Manan Tank 73d87ce1f8 Fix /[chainSlug] UI issue on safari mobile (#963) 2023-03-10 10:35:21 +00:00
Jonas Daniels 9e93872580 improve changelog (#961) 2023-03-10 01:20:05 +00:00
Jonas Daniels bdb4a46f56 FIX FTD-1492 (#960) 2023-03-09 21:42:05 +00:00
Atharva Deosthale d3a7ee3d5e use "publish" instead of "release" (#958) 2023-03-09 16:43:47 +00:00
Jonas Daniels 240d6500c5 Update contract.tsx 2023-03-08 21:52:28 -08:00
Jonas Daniels 629aca92fe fix text wrap 2023-03-08 20:31:42 -08:00
Jonas Daniels 382a53396a new contract og (#957) 2023-03-09 04:03:55 +00:00
Jonas Daniels 8d5b75deb9 catch import required state (#956) 2023-03-09 01:41:21 +00:00
Jonas Daniels 95ca26981c disallow robots on preview and dev (#955) 2023-03-08 19:58:48 +00:00
Jonas Daniels 2a3d0b5c55 contract page seo (#954)
* contract page seo

* always set the canonical url to thirdweb.com
2023-03-08 19:44:53 +00:00
Jonas Daniels 770083ab0a le sitemap (#953) 2023-03-08 09:19:40 +00:00
Adam Majmudar be0b9c7443 Update version to wait for gasless txs (#952)
Update version
2023-03-08 06:17:29 +00:00
sidandJonas Daniels 7d8789b06e Improve how it works section (#950)
* improve how it works section and add rpc icon

* add key

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-03-08 04:40:55 +00:00
Jonas Daniels 8ed8b40056 fix mobile layout on homepage 2023-03-07 20:31:35 -08:00
Jonas Daniels e654980da4 update dependencies (#951)
* update dependencies

* fix supply based things

* fix some more things
2023-03-08 03:01:27 +00:00
Manan Tank 4a8c6aa427 Fix button alignment on /[chainSlug] (#949) 2023-03-07 09:33:22 +00:00
Manan Tank a752b1a1af Fix overflow on /chains (#948) 2023-03-07 08:27:40 +00:00
Jonas Daniels fe56b2a57e animated cli command (#947) 2023-03-06 22:18:57 +00:00
Jonas Daniels ae677e62da extensions homepage better (#946) 2023-03-06 21:54:23 +00:00
Nacho Iacovino 4ce23da0fa Use a better NFTDetails key (#945)
* Use a better nftdetails key

* Update dummy metadata

* This is the best option

* No need but hey
2023-03-06 21:29:49 +00:00
Nacho Iacovino 91b888b5da Mobile improvements/fixes (#944) 2023-03-06 20:43:21 +00:00
Jonas Daniels 504ad54355 solana sidebar things (#943) 2023-03-06 18:30:00 +00:00
Jonas Daniels a682fa65be import contract no longer forces u to mainnet (#942) 2023-03-06 17:52:37 +00:00
Jonas Daniels acbe1b2601 Jd/sidebar (#941)
* fix couple build things

* further improvements

* update
2023-03-05 02:29:36 +00:00
Adam MajmudarandJonas Daniels d86cded981 Update to nightly (#936)
* Update to nightly

* Fix types

* Fix build

* Update

* Update nightly

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-03-05 01:52:07 +00:00
Manan Tank 2ed5a7c647 Update Extension icon on /contracts/deploy (#940) 2023-03-03 17:39:22 +00:00
Jonas Daniels 06ce4c2cc2 add explicit import contract (#939) 2023-03-03 05:14:20 +00:00
Nacho Iacovino 2d67d2cfa9 Contract publisher fix (#932)
* Show configured chains on factory/proxy

* wip

* fix?

* revert

* onChange everything

* let's try this

* Remove log
2023-03-03 01:23:20 +00:00
Jonas Daniels ea6bac7fc8 commerce kit (#938) 2023-03-02 21:28:18 +00:00
Jonas Daniels fa741008d0 improved search with chain selection (#937)
improved chains
2023-03-02 21:18:01 +00:00
Adam Majmudar f267a08f58 Update extensions tagline on landing page (#935)
Update extensions tagline
2023-03-02 05:58:26 +00:00
imgbot[bot]andImgBotApp c3603a1c50 [ImgBot] Optimize images (#934)
*Total -- 295.73kb -> 243.67kb (17.6%)

/public/assets/landingpage/build-infrastructure.png -- 24.35kb -> 18.46kb (24.18%)
/public/assets/landingpage/build-ui_components.png -- 16.41kb -> 12.86kb (21.62%)
/public/assets/landingpage/build-explore.png -- 254.97kb -> 212.35kb (16.71%)

Signed-off-by: ImgBotApp <[email protected]>
Co-authored-by: ImgBotApp <[email protected]>
2023-03-02 05:49:38 +00:00
Jonas Daniels 4aa2fad6fe never gonne give u up (#933) 2023-03-02 03:03:26 +00:00
Jonas Daniels 2f22649013 add extension icon back (#930)
add extension icon
2023-02-28 23:24:44 +00:00
Jonas Daniels 78cbb0a682 sort by mainnet (#929) 2023-02-28 22:55:26 +00:00
Nacho Iacovino e98a20794a Use latest storage (#928)
* Use latest storage

* maybe?

* everything works

* this should be fine
2023-02-28 22:16:08 +00:00
Nacho Iacovino d5f2afb366 Fix [object Object] (#926) 2023-02-28 21:07:47 +00:00
774c7c7814 Show factory/proxy in publish page details (#920)
* Show factory/proxy in publish page details

* Add factories/implementations modal

* Fix build

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-02-28 20:42:40 +00:00
Jonas Daniels f9dda48ee9 search add address to result (#924)
* search add address to result

* remove address wording
2023-02-28 19:03:32 +00:00
Jonas Daniels 1d26af89ea better search (#922) 2023-02-28 07:56:30 +00:00
Nacho Iacovino 6889369adf Rename NFT to nft plz (#923) 2023-02-28 07:10:47 +00:00
Nacho Iacovino de62706c62 Support non-nft api supported chains on marketplace (#921)
* Display contract address input if chain is not supported on marketplace listing

* Add yet

* Use SolidityAddressInput
2023-02-28 06:34:43 +00:00
sid 91d5d8172b Landing page build section improvements (#918)
* new graphics, fix font import, and reorder build section

* fix route for og url

* old import

* gradient button animation

* improve aurora

* some more tweaks

* more tweaks

* small fix
2023-02-28 00:51:32 +00:00
Nacho Iacovino bbb72f94b1 Fix default replace (#919) 2023-02-27 22:42:59 +00:00
Jonas Daniels ceeda4cf02 next 13.2? (#909)
* next 13.2?

* upgradd deps more

* allow worker src blob ad self

* cleanup worker-src

* oof

* proper sentry handling?

* turn sentry debug off and widenClientFileUpload

* remove sentry tunnel again for now
2023-02-27 00:16:48 +00:00
Jonas Daniels dc64518b7e small routing fix (#917) 2023-02-26 20:08:45 +00:00
Nacho Iacovino 2a2c618dbb Snippets in more languages (#915)
* Only one language selector

* Make selector fetch different snippets

* No prebuilt tab

* Replace wallet address with connected wallet

* Remove comments

* Don't show unity contract metadata snippets
2023-02-26 07:24:11 +00:00
imgbot[bot]andImgBotApp 8a4aa494f9 [ImgBot] Optimize images (#916)
*Total -- 13,999.36kb -> 13,126.44kb (6.24%)

/public/assets/landingpage/build-contractkit.png -- 20.02kb -> 8.60kb (57.06%)
/public/assets/landingpage/launch-deploy.png -- 54.37kb -> 40.59kb (25.34%)
/public/assets/landingpage/launch-publish.png -- 62.55kb -> 48.27kb (22.83%)
/public/assets/landingpage/build-ui-components.png -- 16.40kb -> 12.86kb (21.61%)
/public/assets/landingpage/build-infrastructure.png -- 32.38kb -> 25.57kb (21.04%)
/public/assets/landingpage/howitworks-networks.png -- 24.43kb -> 20.24kb (17.14%)
/public/assets/product-pages/storage/hero.png -- 2,210.70kb -> 1,842.23kb (16.67%)
/public/assets/landingpage/build-explore.png -- 287.00kb -> 247.50kb (13.76%)
/public/assets/landingpage/build-sdk.png -- 82.34kb -> 72.95kb (11.41%)
/public/assets/landingpage/howitworks-apps.png -- 21.68kb -> 19.46kb (10.23%)
/public/assets/og-image/publish.png -- 1,638.99kb -> 1,493.75kb (8.86%)
/public/assets/landingpage/manage-reports.png -- 246.67kb -> 225.24kb (8.69%)
/public/assets/landingpage/manage-dashboard.png -- 312.49kb -> 287.34kb (8.05%)
/public/assets/product-pages/publish/hero.png -- 198.17kb -> 182.43kb (7.95%)
/public/assets/solutions-pages/commerce/hero-icon-3.png -- 12.96kb -> 12.33kb (4.9%)
/public/assets/solutions-pages/commerce/hero-icon-2.png -- 12.78kb -> 12.18kb (4.7%)
/public/assets/solutions-pages/commerce/hero-icon-1.png -- 10.26kb -> 9.78kb (4.68%)
/public/assets/solutions-pages/commerce/hero-icon-4.png -- 12.67kb -> 12.09kb (4.56%)
/public/assets/landingpage/manage-permissions.png -- 158.46kb -> 152.39kb (3.83%)
/public/assets/landingpage/howitworks-explore.png -- 4.02kb -> 3.90kb (2.89%)
/public/assets/landingpage/howitworks-wallet.png -- 3.90kb -> 3.80kb (2.65%)
/public/assets/landingpage/any-evm.png -- 8,219.98kb -> 8,037.54kb (2.22%)
/public/assets/landingpage/howitworks-storage.png -- 4.70kb -> 4.60kb (2.2%)
/public/assets/landingpage/howitworks-deploy.png -- 3.78kb -> 3.70kb (2.09%)
/public/assets/landingpage/howitworks-indexer.png -- 4.61kb -> 4.52kb (1.95%)
/public/assets/dashboard/extension-check.svg -- 1.55kb -> 1.53kb (1.57%)
/public/assets/landingpage/howitworks-gasless.png -- 4.15kb -> 4.09kb (1.46%)
/components/contract-components/import-contract/wrench.png -- 11.94kb -> 11.77kb (1.45%)
/public/assets/landingpage/howitworks-ui.png -- 3.95kb -> 3.89kb (1.39%)
/public/assets/landingpage/howitworks-dashboard.png -- 3.95kb -> 3.90kb (1.19%)
/public/assets/about/haun.svg -- 1.13kb -> 1.12kb (1.03%)
/public/assets/landingpage/howitworks-contractkit.png -- 3.75kb -> 3.72kb (0.75%)
/public/assets/about/coin-ventures.svg -- 16.64kb -> 16.62kb (0.09%)
/public/assets/about/mark-cuban.svg -- 8.31kb -> 8.31kb (0.04%)
/public/assets/about/shopify.svg -- 100.47kb -> 100.44kb (0.03%)
/public/assets/about/f-inc.svg -- 187.19kb -> 187.17kb (0.01%)

Signed-off-by: ImgBotApp <[email protected]>
Co-authored-by: ImgBotApp <[email protected]>
2023-02-25 11:35:15 +00:00
Nacho IacovinoandJoaquim Verges 4d77cb623a Extension-based code tab (#912)
* Change order to not have an empty line

* Extension-based code tab

* Fix logic on when to show custom code tab

* wip sidebar

* Fix sidebar linking

* New UI

* Add icon to sidebar

* Remove unused imports

* Only show for custom contracts

* Don't have the sidebar on publish page

* Update sdks

* Update components/contract-components/hooks.ts

* fix storage

---------

Co-authored-by: Joaquim Verges <[email protected]>
2023-02-25 04:02:01 +00:00
sid a8439afd97 Add web3 components card to landing (#914)
* add web3 components card and minor ui tweaks

* correct the glow
2023-02-25 00:06:33 +00:00
YashandJoaquim Verges 87e8ed4a0d feature for extension router (#913)
* feature for extension router

* update to nightly SDKs

---------

Co-authored-by: Joaquim Verges <[email protected]>
2023-02-24 04:22:05 +00:00
sid 73f259c7a4 Rearrange landing sections (#911)
* rearrange landing sections

* update description to remove repetition
2023-02-24 01:41:29 +00:00
sid deb34f78bd feat: Add extensions to overview (#910)
* lowercase all

* add extensions component

* unused import

* reuse component

* unused imports
2023-02-24 00:59:50 +00:00
Nacho IacovinoandJonas Daniels bcc59561c3 New code tab (#901)
* Working version with read/write functions

* Add event tab and clean up

* Fix args

* A lot of stuff to initialize the chain

* Pass RPC for Python/Go

* Revert for now

* Fix js init

* Remove log

* Revert for now

* Add unity init and more event snippets

* Add getting started to chainSlug page

* Fix build

* Configure chain when clicking a contract to deploy

* Fix styles

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-02-24 00:03:16 +00:00
Jonas Daniels eb0597f172 init updating design (#903)
* init updating design

* quick updates

* theme skeleton better

* fix contract card width thing

* fix rpc button

* switch code block to vsDark theme for darkmode
2023-02-23 22:15:37 +00:00
sid 1cba718e68 fix: Contract Overview improvements (#908)
* fix capitalization

* tag overflow

* change render cases
2023-02-23 22:13:39 +00:00
Nacho Iacovino a058700638 Add faucets from chainInfo to no funds popover (#906)
* Add faucets from chainInfo to no funds popover

* Use correct sdk

* Fix build
2023-02-23 19:57:22 +00:00
Nacho Iacovino 4dca771cc4 Don't show modal if already accepted ToS (#907) 2023-02-23 19:43:07 +00:00
Jonas Daniels 2f2945c63e ur a wizard harry (#905) 2023-02-23 18:18:12 +00:00
Jonas Daniels 30ff8582e7 new chains (#904) 2023-02-23 17:36:03 +00:00
Jonas Daniels 54ccd17ed0 base things (#893)
* base things

* fix yarn lock
2023-02-23 15:10:18 +00:00
Jonas Daniels 4fe4d95666 fix unique chains in local storage and render client only (#902) 2023-02-23 09:57:29 +00:00
Nacho Iacovino 9b02286806 Add tracking to storage page (#900) 2023-02-22 22:43:42 +00:00
Jonas Daniels b735e7e85e enable replays for errors (#898) 2023-02-22 22:00:19 +00:00
a500f0d78c refactor: Release to Publish (#851)
* change banner to commercekit

* change bg

* progress check

* a lot more progress

* minor changes

* small changes

* correct folder name

* fix copy

* ui fixes

* lots of copy fixes

* one small fix

* some more small fixes

* minor fix

* more fixes

* new publish og

* small changes

* few new cases

* small fix

* rename folder

* add redirect

* Update LaunchSection.tsx

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-02-22 21:51:48 +00:00
Nacho Iacovino 09fe483a39 Fix failed to construct URL (#899) 2023-02-22 18:35:26 +00:00
Jonas Daniels ed49068945 Jonas/ftd 1409 (#897)
* fix contract metadata failed to load & canonical url

* improve metadata header and improve import flow
2023-02-22 04:40:27 +00:00
Nacho Iacovino 9efe758e8f Add embed support for any evm (#895)
* Add embed support for any evm

* Change order just because

* Remove log
2023-02-22 02:15:27 +00:00
Jonas Daniels 66cf419832 auto-verify where possible (#896) 2023-02-22 02:00:01 +00:00
6cf1c9d420 feat: Add Token + Marketplace Details to Contract Overview (#880)
* token details

* clean

* fix grid key

* marketplace progress, cannot test because contract metadata is broken

* fix

* Fix overflow page MarketplaceTable

* empty state

* layout fix + add link

* stat card fixes

* support v1 & 3 and new design

* small fix

* fix

* another fix

* skeleton

* add hover effect and separate english auctions + direct listings

* lint

* last three listings (inaccurate because of inactive listings)

* MarketplaceV3 --> Feature breakdown

---------

Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-02-22 01:13:47 +00:00
Nacho IacovinoandJonas Daniels 2246960aa1 Small improvements (#894)
* Move current /dashboard to /contracts

* Renamings

* Create navbar

* Add dashboard cards

* Add changelog with base styles

* Better styles

* Add arrow

* Basic storage page

* Add integrating into your app section

* Fix build and style

* Add IpfsUploadDropzone component

* Add visibility public

* Improve styles

* Make nicer copy hash component

* Make it responsive

* Basic card structure

* Render all chains

* Link to chain page

* Add search

* Fix long chain styles

* Update search width

* Update color

* Slice the list for now

* Use new TrackedCopyButton component

* Fix styles

* Various feedback addressed

* Address chains feedback

* Disable upload with disconnected wallet

* lots of changes

* Progress things amiright

* No logs

* Change supported types

* Small changes

* Add sidebar

* Rename chains to rpc

* Add metadata to upload

* Change gateway section

* Add CLI section

* Update chains page SEO

* Update URL

* Change checkmark to only show when chain was added to dashboard

* upgrade deps

* RPC page changes

* Improve cli section in /storage

* Revert gateway section

* lots of cleanup

* further cleanup

* small fix

* remove yalc

* remove rocket

* Small improvements for storage page

* Improve styles a bit

* Clean up CodeSelector

* Add python and go snippets

* Add SEO for chains page

* Same styles for /chains and /rpc

* Scroll on mobile for navbar

* Remove added to dashboard icon

* Update /rpc description

* Add chainlist links to footer

* Fix typo

* Minimal style changes

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-02-21 20:37:51 +00:00
Nacho IacovinoandJonas Daniels b69691b402 Dashboard revamp (#860)
* Move current /dashboard to /contracts

* Renamings

* Create navbar

* Add dashboard cards

* Add changelog with base styles

* Better styles

* Add arrow

* Basic storage page

* Add integrating into your app section

* Fix build and style

* Add IpfsUploadDropzone component

* Add visibility public

* Improve styles

* Make nicer copy hash component

* Make it responsive

* Basic card structure

* Render all chains

* Link to chain page

* Add search

* Fix long chain styles

* Update search width

* Update color

* Slice the list for now

* Use new TrackedCopyButton component

* Fix styles

* Various feedback addressed

* Address chains feedback

* Disable upload with disconnected wallet

* lots of changes

* Progress things amiright

* No logs

* Change supported types

* Small changes

* Add sidebar

* Rename chains to rpc

* Add metadata to upload

* Change gateway section

* Add CLI section

* Update chains page SEO

* Update URL

* Change checkmark to only show when chain was added to dashboard

* upgrade deps

* RPC page changes

* Improve cli section in /storage

* Revert gateway section

* lots of cleanup

* further cleanup

* small fix

* remove yalc

* remove rocket

* Small improvements for storage page

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-02-21 19:46:20 +00:00
Manan Tank ab664c10a9 Upgrade next version to ^13.1.6 (#892) 2023-02-21 17:42:31 +00:00
Jonas Daniels 9fe3fe4d28 drive release version purely from url (#890) 2023-02-21 01:26:26 +00:00
Jonas Daniels 7503d5fa92 upgrade packages (#889) 2023-02-20 18:09:46 +00:00
Jonas Daniels a02b3774ab Jd/various error fixes (#888)
* various error fixes

* update deps
2023-02-18 19:17:12 +00:00
Jonas Daniels 43c6387e39 faster sources panel (#887) 2023-02-18 18:41:15 +00:00
Jonas Daniels 2858de210c use webp image for landingpage (#886) 2023-02-18 18:31:09 +00:00
sidandJonas Daniels 8badcfb491 landing: Add any chain section (#885)
* add anyevm section

* fix sdk section header + reduce top padding

* unused imports

* slightly reduce bottom padding

* make graphic bigger

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-02-18 00:31:45 +00:00
sidandJonas Daniels 10e4e38a95 fix: Add section to CommerceKit landing page (#879)
* add more storage hero

* wrap in text

* add icons

* reduce first card content

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-02-17 22:21:25 +00:00
Jonas Daniels 1e439d6730 add chainlanding page id 2023-02-17 11:44:25 -08:00
Jonas DanielsandManan Tank 867b5cf70f add chain pages (#884)
* add chain pages

* properly redirect chainIds instead

* Fix Hydration error, UI improvements, Add Chain now showing fixed

* initial OG image support

* thx chatgpt

* smaller images duh

* fallback blocking and instead just add the paths to the sitemap directly

* round the icon itself

* better meta

* add popular contracts section

* more chain page updates

---------

Co-authored-by: Manan Tank <[email protected]>
2023-02-17 19:11:38 +00:00
Jonas Daniels e15a43db1d update to stable 3.9.0 (#883) 2023-02-16 05:55:38 +00:00
Nacho Iacovino e1d1c99e0f Fix replace, don't track twice (#882) 2023-02-16 03:35:51 +00:00
Avneesh Agarwal e45459fe71 chore: update packages (#881) 2023-02-16 03:09:09 +00:00
Nacho Iacovino 617b727ee9 Track request funds button (#878) 2023-02-15 20:41:50 +00:00
Nacho Iacovino 816aaae728 Fix tooltip for int array and height for explorer (#877) 2023-02-15 20:36:13 +00:00
Jonas Daniels 898c747bba fix solana things (#876) 2023-02-15 20:04:11 +00:00
Nacho Iacovino a305f85d2c Add configure network button tracking (#875) 2023-02-15 19:36:37 +00:00
Jonas Daniels 449ebcf01b only enable sentry on production environments 2023-02-15 10:34:59 -08:00
Jonas Daniels 1abad45453 attempt to fix sentry (#874) 2023-02-15 18:04:45 +00:00
Manan Tank a281f8c05a Fix Solana NFT table crash when token Id is number (#873) 2023-02-15 10:00:41 +00:00
Manan Tank e47f40b47c Fix Solana Program Tabs (#872)
Fix Solana Program tabs
2023-02-15 09:22:54 +00:00
Nacho Iacovino 39e4840b12 Fix Solana programs (#871) 2023-02-15 04:33:41 +00:00
Nacho Iacovino 360920ece6 Fix airdrop button being disabled (#870)
* Fix aidrop button being disabled

* Remove log

* Revert
2023-02-15 03:13:12 +00:00
Nacho Iacovino dda23b253e Add view more and fix overview page mobile styles (#869) 2023-02-15 02:42:16 +00:00
Nacho Iacovino 7f575d3613 Render html NFTs, improve NFT renderer (#868)
* Render html NFTs, improve NFT renderer

* Sync sdk versions
2023-02-15 01:39:05 +00:00
Nacho Iacovino 03fa5a3c61 Fix Play request was interrupted (#867)
Play request was interrupted
2023-02-14 20:36:01 +00:00
Mariano Fuentes eb556e6891 fix gnosis safe select network (#865) 2023-02-14 19:21:23 +00:00
Manan Tank 06e2730db1 Fix network config form not removed when custom network with required chain id configured (#866)
Fix configure networks not removed when custom network with required chain id configured
2023-02-14 18:55:38 +00:00
Jonas Daniels 42077cea8e fix re-setting contractInfo to null for no reason 2023-02-14 09:49:17 -08:00
Jonas Daniels b31220590b fix loading state and chain adding 2023-02-14 09:30:49 -08:00
Jonas Daniels 310958ef87 fix chainNotFound having to come first 2023-02-14 09:06:57 -08:00
Manan TankandJonas Daniels 48d1d6b713 handle local Storage overflow case when saving configured chains (#864)
Co-authored-by: Jonas Daniels <[email protected]>
2023-02-14 16:04:02 +00:00
Manan Tank 5de1c8c3d8 Fix invalid route with one segment showing spinner indefinitely (#863) 2023-02-14 07:59:18 -08:00
Manan Tank f4f701c8d1 Fix Hydration error of twitter href in release page (#862) 2023-02-14 11:06:45 +00:00
Jonas Daniels ab6fbdcab7 fix hydration error on homepage 2023-02-14 02:18:18 -08:00
Jonas Daniels 302f423d5e reset storage, dont fetch data urls via proxy 2023-02-14 01:57:03 -08:00
1064350681 Any EVM + middleware (#814)
* homepage: infinite looping logo carousel

* split partners logo among two rows on mobile

* remove lazy loading from partner logos

* Fix partner logo cut off on safari

* fade-in logo carousel at the container edge

* v1

* v2

* remove temp code changes

* switch network *technically* works, and new chains package

* Fix src warning in AsyncContractTypeCell

* Updated Design for config form, fix metadata error

* add initial deployment status modal

* Fix contract duplication bug in dashboard

* Make RPC url always editable

* v3 - middleware + refactor

* reset form when selecting custom option

* Fix crash on sources tab for unsupported chains

* add missing deps in effects

* /evm - use SSG with fallback

* /evm - add ensQuery dehydration back

* /solana - fix program page loading issue

* Allow editing details for custom chains

* solana program context

* fix build crash

* fix all the networkOrAddress getters

* use chain icons from chains package

* separation of fallback and final page

* Fix wrong default network type in form

* validation improvements in configure network form

* disable custom chains from dropdown on On non thirdweb contracts deploy page

* Fix wrong network slug

* custom chain improvement

* Fix Lightmode UI of Network Config Form

* UI improvements for network search dropdown

* UI tweaks

* code review cleanup

* UI tweaks

* Network Config Form: Better Keyboard UX

* fix broken /contracts/release and /contracts/deploy routes

* add configure networks button for custom contract deployment page

* UI tweaks for network configurator

* fix merge

* add the icon to the custom chain

* Bunch of Improvements

* Improve auto chain configuration
* Do not allow adding custom network with existing chain id
* Show delete default chains with 1-click add
* Convert delete dialog to a popover
* Retain all fields when selecting a chain from list
* Allow configuring chain Icons
* Allow using chainId as network slug for custom networks
* Remove unnecessary chainInfos object passed in provider

* configurable slug + prefill form

* improve scrollbar styling

* upgrade to newer sdk etc

* make it work

* Various testjame improvements

* Stop form submit event propagation
* preselect “testnet” for custom network based on name
* Clear form errors when selecting a network from list
* Improved UI for Delete network popover
* Disable “Add Network” button when on add network page
* Change fallback chain icon

* custom and search tabs

* reduce layout shift when switching tabs

* allChains caching with idb

* Add IPFS upload button for icon input

* Deploy Modal, chain icon, code cleanup

* Fix Deploy Modal not working for custom contract deployment
* Fix Fantom testnet icon
* Remove useDashboardNetwork()
* Update Deploy Modal wording in case for 3 prompt scenario
* Remove hardhat and localhost from CURRENCIES object
* Remove gateway.ipfscdn.io from images.remotePatterns in next config

* add chain config tracking

* remove useChainInfos()

* Remove EVM_RPC_URL_MAP usage as much as possible

* Fix Network Switcher for non-default chains

* upgrade new dev sdk versions

* fix versions

* Fix contractInfo.chain not available on contract page of custom chain

* Fix contract page links in overview page

* Update default chain Icon

* bunch of UI improvements for network configuration modal

* Better active state for add network button and chains
* Suggest a slug for custom network
* Show chain id next to network names in list
* Allow searching by chain id
* Autofocus on first input of the form
* Add cross button for clearing search input
* Toggle search results open state with chevron icon
* Add icons in chain list

* handle wallet connected to unsupported network in <SupportedNetworkSelect/>

* No reload required after adding a network

* revert last commit - reload still required

* handle case where wallet is connected to an auto configured chain - show it as unknown network

* update dependencies and switch to activeChain and supportedChains

* nightly sdk versions

* Improved Icon Uploader

* always use default chains for polygon registry work

* dev version & updated list fetching

* Improved Chain ID input in Network Configurator

* Improved Network ID validation and prefill

* Hide etherscan verification button for non-default chains

* Form Refactor + network type toolip

* update deps

* update package versions

* upgrade dependencies

* show "create custom"  when no search results found

* slug calculated from prefillName should not be considered dirty

* open edit screen when selecting already configured network from list

* fuzzy search with fuse.js

* replace thirdweb key with it's value in form

* temp fix for getChainRPC throwing error

* update to newer chains package

* lots of rpc cleanup etc

* fix nightly maybe?

* upgrade to nightly packages

* add initial import contract search input

* fix localhost

* clean up smoe more stuff

* lots of updates

* Show "Request Testnet Funds" button in wallet when applicable (#856)

* fix crash on events page

* Fix Links in Overview page

* import contract improvements

* Fix wrong explorer tab link in ContractPermissionsPage

* make search faster (individual queries)

* properly split contract and program routing

* remove all via stuff etc

* various further improvements

* add a proxy and setup storage to hit that proxy

* further cleanup

---------

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2023-02-14 09:37:47 +00:00
sid 6bc55c037f fix: NFT Overview empty state and hide Contract Card (#861)
* various fixes

* cleaner
2023-02-14 07:59:01 +00:00
sid 01536169a5 fix: correct gap and button on product hero (#859)
* fix gap and button on product hero

* smaller button

* make lg instead of xl
2023-02-13 23:38:23 +00:00
Nacho Iacovino 35d66144da Fix publisher link socials (#858) 2023-02-13 22:13:44 +00:00
Nacho Iacovino 12f122d217 Make max claimable lower case (#857)
* Make max claimable lower case

* Remove log
2023-02-13 18:46:09 +00:00
Nacho Iacovino e7a146e83d Move Erc721Stake to popular section in /explore (#855)
Move Erc721Stake to popular section
2023-02-11 03:31:46 +00:00
Jonas Daniels 6e03c1e51e ethers v5 (#854) 2023-02-10 05:41:45 +00:00
Nacho Iacovino 3815abf031 Update troubleshooting link (#853) 2023-02-10 00:55:16 +00:00
sid 1f2e6461b5 fix: Contract Overview UI, NFT + Permissions (#852)
some fixes
2023-02-09 15:15:48 -08:00
sid 0c5df7f36d Change banner to CommerceKit (#850)
* change banner to commercekit

* change bg
2023-02-09 12:26:50 -08:00
sid f11e1fbe06 Minor commercekit landing changes (#849)
* incorporate yan's changes

* no maxw
2023-02-08 23:21:15 -08:00
sidandJonas Daniels 64ce846b62 Minor landing page changes (#846)
* add github link and change section order

* add minting card to solutions section

* track values link

* remove unused import

* change breakpoint

* white links

* make links slightly bold to emphasize more

* missed a link

---------

Co-authored-by: Jonas Daniels <[email protected]>
2023-02-08 00:56:29 +00:00
Adam Majmudar c1b8ab65ca Update error parsing with new error message format (#839) 2023-02-07 21:00:05 +00:00
sid 1ebd64ebb0 Add nft + permissions to contract overview (#843)
* add some tracking

* fix

* NFT done, progress on permissions

* small fix with merge conflict

* finish permissions table

* remove comment

* add empty state

* auto scroll to top on permissions page

* fix title
2023-02-07 20:56:57 +00:00
sid eb8808feb5 fix: Correct tracking events for guides, templates, etc. (#847)
* use tracking props for guides, templates, contracts

* rename variable

* correct variable name
2023-02-07 20:22:14 +00:00
Juan Lealandsid 9cc30c2ccd og:images for product pages (#844)
* og:images for product pages

* add og payload

* add og:image:alt

---------

Co-authored-by: sid <[email protected]>
2023-02-07 12:15:54 -08:00
Nacho Iacovino ca8304424f Replace Marketplace v3 url (#845) 2023-02-07 19:21:34 +00:00
dependabot[bot]andJonas Daniels 87aabc9a96 Bump http-cache-semantics from 4.1.0 to 4.1.1 (#841)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jonas Daniels <[email protected]>
2023-02-06 06:09:23 +00:00
Nacho Iacovino 3d6090affc Add marketplace v3 embeds (#842) 2023-02-04 03:54:15 +00:00
caa6e5635d Add marketplace v3 tabs (#827)
* Add direct listings tab logic

* Add common table for both direct listings and english auctions

* Add UI to cancel listing/auction

* Disable create listing button if no address

* Detect features

* Update storage

* Can deploy marketplace v3 and create direct listings

* Can create english auctions

* Update auth

* Fix build

* Add marketplace v3 deployment event

* We got status pog

* Rendering english auctions

* Add getValid results filter

* Update create listing text

* Only show select if extension enable, default to one from tab

* Fix logic

* Fix cache

* Fix build

* Show default snippets if possible

* Update sdks

* Update storage

* Add support for 3d files (#837)

* Fix overflow in markdown renderer caused by inline code (#836)

* Add support for 3d files

* fix up nft media?

* seems to work now

---------

Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>

* Add price column

* Fix math

* Only allow to create each listing on each tab

* No need to detect here anymore

* Use NFTMedia commponent, make tooltip nicer

* Add CTA if no NFTs found

* Remove plural

* Remove invalid prop

* Move comments

* Improve platform fees text for marketplace

* Add new staking section and marketplace v3 to beta section

* Give auctionTimes defaults

* Update SDKs to nightly

* Use previous nightly D:

* Fix build

---------

Co-authored-by: sid <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Manan Tank <[email protected]>
2023-02-04 03:32:04 +00:00
Nacho Iacovino 1dc8c4a2c6 Fix embeds claim conditions (#840) 2023-02-04 02:02:32 +00:00
sid 2db56be828 Add tracking to contract overview (#838)
* add some tracking

* fix
2023-02-03 17:30:30 -08:00
Manan Tank 72f8ded775 Fix overflow in markdown renderer caused by inline code (#836) 2023-02-03 14:16:02 +05:30
sid 1eeb2a55cb refactor: Add feature detection to contract overview page (#835)
* feature based guides

* correct guides
2023-02-02 17:04:22 -08:00
sidandNacho Iacovino 3a165ecb2e Redesign contract functions overview (#834)
* add explorer tab, redesign contract functions overview component

* remove skeleton import and fix import urls

* remove import contract from explorer tab, already on overview tab

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2023-02-02 14:29:24 -08:00
Jonas Daniels 99d202d91c fix magic build when missing the env var (#833) 2023-02-02 20:34:47 +00:00
ccbcbe6485 feat: Add contract overview page (#826)
* build your app

* correct link for build your app

* add share contract

* add padding to badge preview

* linting and add contractType prop

* night progress

* most nacho fixes

* hide view all button and handle conditional guide/template rendering

* small tweak for rahul

* UI tweaks

* Update Guide Links

* add events table -- event links not working

* reorganize ui, simplify latest events, more apparent build your app link

* add skeleton

* minor event label ui tweak

* fix skeleton height and add autoscroll to top

---------

Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-02-01 15:53:15 -08:00
Avneesh Agarwal 3d04f9110e Fix responsiveness on the events page (#832) 2023-02-01 17:24:16 +01:00
Jonas Daniels d28b3a31bd actually send to the address specified not to wallet connected 2023-01-31 16:40:58 -08:00
Jonas Daniels d28e46aeb6 devnet not testnet 2023-01-31 16:18:49 -08:00
b1a5b18930 feat: make the events page (#754)
* feat: start making the events page

* feat: make responsive

* feat: add sort

* small fix

* feat: update events

* fix: things from review

* fix: contrast issues

* Update components/events/Event.tsx

Co-authored-by: Nacho Iacovino <[email protected]>

* Update components/events/Event.tsx

Co-authored-by: Nacho Iacovino <[email protected]>

* Update components/events/Event.tsx

Co-authored-by: Nacho Iacovino <[email protected]>

* fix: more things from review

* review

* make whole button clickable

* add search using all parameters

* add select for showing past/upcoming events

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-01-31 12:15:46 -08:00
Manan Tank b1b50c9ee0 Fix code snippet not visible on light mode (#831)
Fix code not visible on light mode
2023-01-31 04:59:39 +05:30
Juan Leal 6b8ca3c85c Quick SEO fixes (#829) 2023-01-30 23:23:38 +00:00
Nacho Iacovino 263eeb84e0 Fix edge case where arguments dont have names (#830) 2023-01-30 22:54:51 +00:00
80b2047695 feat: improve the winners section (#780)
* feat: improve the winners section

* Update components/hackathon/common/HackathonWinners.tsx

Co-authored-by: Nacho Iacovino <[email protected]>

* fix: feedback

* use flex

* fix: overlap

* fix: layout

---------

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-01-30 22:49:15 +00:00
Manan Tank 4defad07e6 Fix Infinite rendering issue of <BuiltinContractForm/> (#828) 2023-01-30 23:06:17 +05:30
sid 0bf1816c6f feat: Add tracking on links throughout product pages and landing page (#825)
* landing tracking

* remove unused section code

* add yan twitter

* add more tracking

landing:
how_it_works_section
build_section
launch_section
manage_section

product pages:
auth, authentication --> auth
contract_kit
dashboards
deploy
release, release-page --> release
smart_contracts
sdks
storage
ui_components

* update investors list

* better shopify svg
2023-01-26 17:49:21 -08:00
Justin Schneider d9b5c71afb Support for NFTs displaying 3d models (#823)
support for NFTs displaying 3d models
2023-01-26 07:31:26 +00:00
Jonas Daniels 4d864cc216 fix some linkbox stuff (#822) 2023-01-26 05:57:16 +00:00
sid be27f0a454 fix: /about fixes + /commerce quote (#821)
* small fixes on about page

* more about fixes

* fix

* add devin

* add quote to commerce page

* improve ui

* small fixes
2023-01-25 19:17:43 -08:00
sidandJonas Daniels 6732a49b81 refactor: Redid landing features section (#812)
* completed new features section!

* small gradient fix

* remove duplicate

* fix links and lint

* nacho + manan fix

* vercel comments

* bobby feedback

* small lint fix

* small fix

* fix font-size

* fixes

* how it works section

* small linting fix

* links

* all fixes from bobby and manan

Co-authored-by: Jonas Daniels <[email protected]>
2023-01-25 22:55:18 +00:00
Nacho Iacovino aba8f09df4 Show batch id if batch has no name (#820) 2023-01-25 17:12:13 +00:00
Jonas Daniels 4688fdf21d big numbers are big and we need to be aware of that (#819) 2023-01-25 03:03:02 +00:00
Jonas Daniels 9ca4212db7 remove double form control (#818) 2023-01-25 02:52:02 +00:00
Nacho IacovinoandJonas Daniels 5124cb5be9 Solidity Input validation and UX improvement (#811)
* Add IntInput and SolidityInput main component

* Add address input

* Fix various bugs

* Add bytes input

* Add button to convert to bytes if not valid

* Add uri input (as any fml)

* Add bool input

* Move stuff around

* Add ENS resolve to address input

* Make the form context optional

* Use AddressInput everywhere in the app

* Add shouldDirty

* Add raw input

* No logs

* Various changes

* Wip array input

* Fix errror not showing

* Solve weird opacity thing

* Better error feedback on uint/int

* Fix bug on version validation

* Add To Wei button conversion

* A bit cleaner now

* Bytes input improvement

* Fix validation

* Separate tuple input

* Move int input validation

* Move bytes input validation

* Move address input validation

* Improve int validation

* wip rawinput

* Improve bytes validation

* wip

* Pass solidityName for IPFS upload

* Fix string input condition

* Add camelToTitle function and solidityType placeholders

* Test stuff out

* Add validation for int[] and array[]

* Remove unused import

* Use raw input for tuple for now

* Pass solidityComponent for better FormHelperText, especially tuples

* Better error msg for tuple

* Delete unused improt

* Only validate if there's components

* Remove unused file

* Improve address input UX

* Don't render empty helperText

* Fix address input edge cases

* Optional chaining

* Fix error

* Accept empty array for bytes type

* Fix string input

* Make buttons smaller

* Make JSON input monospace

* Remove fixed todo

* Improve error color

* Fix int/uint []

* Remove log

* various fixes

* use prod api during build step?

Co-authored-by: Jonas Daniels <[email protected]>
2023-01-24 18:30:30 -08:00
patandJonas Daniels a3e81b8ce1 Updated Dev Post Submission Date (#817)
Co-authored-by: Jonas Daniels <[email protected]>
2023-01-25 00:28:26 +00:00
dependabot[bot] 1aedbec7a5 Bump cookiejar from 2.1.3 to 2.1.4 (#816)
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases)
- [Commits](https://github.com/bmeck/node-cookiejar/commits)

---
updated-dependencies:
- dependency-name: cookiejar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 12:46:29 -08:00
Juan Leal 2503b39c3d Metadesc/header/other small changes (#815)
I see that our metatitle for this is "Solana (SOL) Faucet | thirdweb" - it used to show up like this on Google, but it seems to be showing as "Solana Faucet" now for some reason. (can't attach screenshot but tried on different windows/browsers)

Because of this, we're missing out on a lot of traffic that goes to "sol faucet" rather than "solana faucet" - we rank #4 for "solana faucet" but not at all for "sol faucet" & could easily rank in the top 5 for sol faucet as well!

Generally seeing discrepancies across Dashboard pages between what shows up on Google, what it shows up as when shared (og:title), and what shows up when on-page. @jnsdls hope you feel better throughout the week - lmk if you'll be able to make it to our SEO biweekly or if ya wanna push!
2023-01-23 21:40:10 +00:00
Manan Tank d2ebb6b7df Add Loading Spinner to CatchAll routes fallback, and show 404 on Release page error (#813) 2023-01-23 15:33:12 +05:30
362f049563 Improved UX for price-input (#803)
* Improved UX for price-input

* Make step 10^-18 for price input

* Improved support for prices < 10^-7 in price input

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-01-19 00:25:30 +00:00
Avneesh Agarwal e2ec0f31aa fix: update timer timestamp (#809) 2023-01-18 22:43:53 +00:00
pat 3a2644ef55 Update readyplayer3.tsx (#810) 2023-01-18 22:30:11 +00:00
Nacho Iacovino 703d3c144c Show prebuilt code tab for Multiwrap and Pack (#808) 2023-01-18 02:31:06 +00:00
Nacho IacovinoandJonas Daniels b3022485b4 Add clarification text on claim conditions snapshot (#797)
* Add clarification text on claim conditions snapshot

* Not show this point for v1

* Remove extra space

Co-authored-by: Jonas Daniels <[email protected]>
2023-01-18 02:11:52 +00:00
Avneesh AgarwalandJonas Daniels 9574200ff5 feat: add Leanne Bats as mentor (#800)
* feat: add Leanne Bats as mentor

* feat: optimize image

Co-authored-by: Jonas Daniels <[email protected]>
2023-01-17 21:38:59 +00:00
Manan Tank 181268c235 homepage: infinite looping logo carousel (#807)
* homepage: infinite looping logo carousel

* split partners logo among two rows on mobile

* remove lazy loading from partner logos

* Fix partner logo cut off on safari

* fade-in logo carousel at the container edge
2023-01-18 00:42:29 +05:30
Manan Tank d8b216c4cc ClaimCondition Form: Disable snapshot edit button when form is disabled (#802)
* ClaimCondition Form: Disable snapshot edit button when form is disabled

* Reduce opacity for snapshot info when snapshot button is disabled
2023-01-17 16:56:47 +05:30
Manan Tank d35858e93a homepage: Fix CTA button overlap on device width 990px - 1090px (#806) 2023-01-17 14:10:56 +05:30
ed6ac8a593 Overhaul product pages (#791)
* update the dashboard, storage, and ui component pages

* remove comments

* small fix

* Fix UI components page, require icon, and add guide icon

* fix padding issue and clean up code.

* fix eslint

* fix other eslint warnings

* restore judges avatar showcase

* Update solanathon.tsx

* fix paadding

* fix more spacing and re-add gradient

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2023-01-16 12:13:10 -08:00
Nacho Iacovino 32a25b6e2c Update submit link (#804) 2023-01-16 18:16:01 +00:00
Joaquim Verges f44a7cbe09 Fix claim conditions tab not detected on legacy contracts (#801) 2023-01-16 05:05:29 +00:00
imgbot[bot] 72d39a2d64 [ImgBot] Optimize images (#799) 2023-01-14 13:20:33 +01:00
Nacho Iacovino eba88773a0 New upsell card for /explore (#798)
* New upsell card

* Make it 3 lines

* Update copy
2023-01-13 20:09:45 -08:00
Nacho Iacovino fea7ee67d9 Add more partner logos (#796) 2023-01-14 01:56:00 +00:00
Nacho Iacovino 2ec3089aec Fix client-side exception on release flow (#795) 2023-01-14 01:43:47 +00:00
Nacho Iacovino d96b931258 Fix various bugs with publish flow (#794)
* Fix various bugs with publish flow

* Update embed

* Couple small changes
2023-01-14 01:36:20 +00:00
Nacho Iacovino d54ea28e11 Update banner copy (#793) 2023-01-13 22:46:36 +00:00
508377d061 New publish flow (#782)
* wip

* First page styling

* Implement first pageToShow

* Add contractParams page

* Add deployable via proxy and factory

* Dynamic next button

* New design proxy page

* New design for factory deployment page

* New design for contract parameters

* Small stuff

* Change chainName label width

* Add paste icon

* Extract PasteInput component

* Extra contract params page

* Extract ProxyPage

* Extract factory page

* Rename page to inputGroup

* Extract landing page

* Rename to fieldset

* Add padding to preview

* Use tw Card

* Lot of changes

* Fix build

* Add info to select option, change size of description text

* Fix Next logic

* Default option to what you had before

* Keep dirty fields

* Update info for options

* More updates

* Copy changes

* Edit logic

* make displayName and version required properly

* Fix auto submit issue

* Various changes

* Add placeholders

* Update description

* Make initialize function mandatory

* Add hover on deploy button

* Add semver validation

* Remove comment

* Improve UI for template variables

* Change order around

* Fix typo

* Update publish contract button color

* Remove supported template variable heading

* Fix placeholderVersion NaN

* Fix proxy/factory inputs on mobile

Co-authored-by: Manan Tank <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2023-01-13 22:37:00 +00:00
Manan Tank 55c9f153ff Refactor claim conditions form + Fix weird behavior (#789)
* temp

* refactor step 1

* refactor PhaseName

* Remove temp code

* Use CustomFormControl

* Use Context and split inputs to its own file

* Fix the root cause of claims condition form UI issue

* Fix typo
2023-01-13 13:08:58 -08:00
Manan Tank 06f6cdc746 SettingsRoyalties: Mark Percentage dirty when value is changed (#792)
* SettingsRoyalties: Mark Percentage dirty when value is changed

* SettingsPlatformFees: Mark Percentage input as dirty when value changed
2023-01-13 20:22:32 +05:30
Nacho Iacovino aaca41172e Add hackathon banner (#790) 2023-01-13 00:49:01 +00:00
Manan Tank f18e568ca4 homepage: Cycle through commands in hero (#788)
hero: Cycle through commands in hero
2023-01-13 01:22:54 +05:30
Manan Tank 6220798d4c Add Minting Solution in Footer (#787) 2023-01-12 15:10:18 +05:30
Joaquim Verges 90eeecdfe1 Resolve Imported Contracts (#785)
* update sdk to resolve contracts

* update to latest nightly
2023-01-12 03:41:41 +00:00
Manan Tank fcb98da55e Homepage UI overhaul - Dark Variant (#770)
* homepage: add stats section

* HomePage: Add KeyFeatures section

* Homepage: Fix import of Build.svg in KeyFeatures section

* Homepage: update titles in KeyFeatures section

* homepage: adjust padding on stat box in stats section

* homepage: lots of UI adjustments and new Solutions section

* thirdweb always in lowercase

* Homepage: update content and UI tweaks

* homepage: add values section and better gradient border

* fix style props in GradientBorder

* homepage: Add bottomPattern in HeroSection back

* Vercel inspired design

* integrate new sdk-section ui

* homepage: content updates

* homepage: UI tweaks

* homepage: content and UI tweaks

* homepage: code correction for React SDK

* homepage: update content for values section

* homepage: Optimize StatsSection for Mobile

* homepage: UI adjustments

* Update Stats

* homepage: content and ui tweaks

* homepage: replace Link with TrackedLink

* Nav: Add the Docs in Resources as well

* Aurora Tweaks in Home Page, Auth, SDK page
2023-01-12 04:57:52 +05:30
Manan TankandNacho Iacovino 8994df873b New Solution Page: Minting (#756)
* New Solution Page: MintingKit

* mintingKit: Update CTA button link

* minting solution page: update content

* MintingKit: update NFT contracts section - use center alignment

* MintingKit: content updates

* MintingKit: Update Icon for Nav Menu

* MintingKit: update hero gradient

* MintingKit: Replace Image with Video

* content tweaks

* Minting: Update the Youtube Iframe title

Co-authored-by: Nacho Iacovino <[email protected]>
2023-01-12 04:19:16 +05:30
Manan Tank f08f7e2083 GamingKit: Replace Image with Video (#786) 2023-01-12 03:53:39 +05:30
Jonas Daniels 39977a3e36 remove deprecated og pages (#784) 2023-01-10 19:38:04 +01:00
Manan TankandJonas Daniels bc06b8286e Ready Player 3 Hackthon page redesign (#783)
* rp3: reduce layout shift and fade-in the timer

* rp3: content and UI tweaks

* rp3: content and UI tweaks

* rp3: spacing tweaks

* rp3: update casting of title and hackathon date range

* rp3: update end date

* rp3: update end date in schedule

Co-authored-by: Jonas Daniels <[email protected]>
2023-01-10 22:24:26 +05:30
ikethirdwebandJorge 2a0cf302f1 fix: typo (#781)
Co-authored-by: Jorge <[email protected]>
2023-01-10 00:38:42 +01:00
Avneesh Agarwal 8bfd573d07 Small updates to the rp3 page (#779)
* feat: add Shai as mentor

* fix: resource

* center align mentors

* update gradient

* fix: alignment

* feat: update resource on mobile

* more updates
2023-01-09 22:20:01 +01:00
Jonas Daniels a4a726a335 upgrade dependencies (#777) 2023-01-09 13:19:16 +01:00
dependabot[bot] 4f8e14d86c Bump json5 from 1.0.1 to 1.0.2 (#776)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 12:22:49 +01:00
Nacho Iacovino 7327d4da9a Update sponsors on Gaming hackathon page (#774)
Update sponsors
2023-01-05 21:06:01 +00:00
Avneesh Agarwal e1d8643572 fix: readyplayer3 schedule (#773)
fix: schedule
2023-01-05 14:52:06 -05:00
Justin SchneiderandManan Tank ca62eb526e Possible solution to the large bundle size caused by AddressCopyButton (#767)
* AddressCopyButton no longer imports Solana and EVM libraries

* AddressCopyButton shorten function checks to see if string is already short

* address copy button only shortens string if string > 13

* AddressCopyButton: refactor & run prettier

Co-authored-by: Manan Tank <[email protected]>
2023-01-05 23:55:42 +05:30
Avneesh Agarwal eea871c1d0 feat: update rp3 og image (#772) 2023-01-05 12:01:19 -05:00
Avneesh AgarwalandNacho Iacovino 0f7a7bbb6d Add gaming hackathon page (#740)
* feat: start building gaming hackathon landing

* feat: update more things

* feat: some updates

* small fix

* feat: update order

* feat: move register button above text

* feat: make responsive

* feat: some updates

* feat: add cta footer

* small updates

* feat: update prize amount

* make some updates

* wip: landing page

* feat: some updates

* fix: build

* Refactor judges/mentors

* Simplify Hero component

* Update data

* Update ScheduleSection

* Update assets

* Add more sponsors

* feat: update logos, and fix minor issues

* chore: remove unused assets

* chore: update path from solana to common

* add faq

* feat: update links of schedule items

* feat: make necessary updates

* add og image

* fix: timer

* og fix

* A lot of stuff

Co-authored-by: Nacho Iacovino <[email protected]>
2023-01-05 15:04:33 +00:00
Nacho Iacovino 181333192a Replace SigDrop with Split (#771) 2023-01-04 20:11:13 +00:00
Manan Tank 4b54c32a92 /contracts/deploy page: Use the same icon for extensions used in dashboard (#766)
contracts/deploy: Use the same icon for extensions used in dashboard
2023-01-03 13:24:19 +05:30
Manan Tank e5ae0f3a6d Fix font loading issue (#765) 2023-01-03 01:22:10 +05:30
Manan Tank 96981bc157 Support network chain-id path in Dashboard (#763) 2022-12-29 18:26:15 +05:30
Manan Tank fd1a4a41b9 Fix Logo Link in AppShell when wallet is not connected (#762) 2022-12-28 01:34:33 +05:30
Manan Tank 18d34c118b Fix Dashboard Flash (#761) 2022-12-27 21:11:50 +05:30
Manan TankandJonas Daniels a7c2d02499 Overhaul and Refactor FTUX (#752)
* Overhaul and Refactor FTUX

* FTUX: Fix wrong content and UI adjustments

Co-authored-by: Jonas Daniels <[email protected]>
2022-12-27 17:52:53 +05:30
Manan Tank e208156bae Fix multiple re-renders of Entire App (#760)
Fix multiple re-renders of Entire App
2022-12-27 15:07:20 +05:30
Manan Tank c199cd0c65 Overhaul Product Pages: auth, contractkit and deploy (#750)
* Overhaul Product Pages: auth, contractkit and deploy

* Product Pages: Content Tweaks

* Content and UI Tweaks

* Deploy Page: Content Tweaks
2022-12-24 04:22:14 +05:30
Manan Tank 147b40ed22 SDK page: Fix icon positions in ProductCard (#749) 2022-12-21 20:03:07 +05:30
Manan Tank 8232d94eae Fix Hydration Error in /sdk page by fixing ProductCard (#748) 2022-12-21 18:39:02 +05:30
Manan Tank bc0ce54c42 Fix file name of QuantityInputWithUnlimited component (#746)
Fix the wrong file name introduced in #745
2022-12-21 17:11:31 +05:30
Manan Tank f4b3c7d936 Refactor claim-conditions.tsx (#745)
* Fix emotion's string not allowed as css prop error in UpdateNotice

* Move components from claim-conditions.tsx to separate files

* Fix imports of PriceInput and QuantityInputWithUnlimited components
2022-12-21 13:05:35 +05:30
Manan Tank 2953cb6f65 Fix emotion's string not allowed as css prop error in UpdateNotice (#744) 2022-12-20 02:55:36 -08:00
Nacho Iacovino cf8ab4ad6c Release page overhaul (#742)
* Overhaul release page

* Small changes

* Add og:image

* Small changes
2022-12-15 00:43:54 +00:00
Nacho Iacovino 164ed4832c Bring back _og folder temporarily (#743) 2022-12-15 00:33:16 +00:00
Jonas Daniels de9d62690f basic contract og images (#741) 2022-12-14 16:13:56 -08:00
Joaquim Verges 72792acae8 Downgrade react-table (#739) 2022-12-14 21:27:51 +13:00
Jonas Daniels ae058f72b8 fix color 2022-12-13 18:35:08 -08:00
Jonas Daniels 078af26a20 small profile pic fix (#738) 2022-12-14 02:17:32 +00:00
Jonas Daniels c6ed71146e fix profile og image (#737)
* fix profile og image

* fix background size

* bit of margin
2022-12-14 01:35:18 +00:00
Nacho IacovinoandJonas Daniels b789e8dda3 Smart contract marketing page overhaul (#732)
* Update title and description

* Re-refactor SDKSection component

* Remove unused import

* First small changes

* More updates

* Update guides

* Copy updates

* Lots of changes

* Update images

* SDK -> Contracts

Co-authored-by: Jonas Daniels <[email protected]>
2022-12-14 01:30:17 +00:00
Jonas Daniels ca9fe7a54b test vercel og package again (#720)
* test vercel og package again

* init release og

* refactor

* remove shortening to fix build
2022-12-13 16:31:42 -08:00
Nacho IacovinoandJonas Daniels e713384754 Add link to open ipfs hashes on gateway (#735)
Co-authored-by: Jonas Daniels <[email protected]>
2022-12-13 22:42:31 +00:00
Nacho Iacovino d8ac9cbfd7 Add contract badge clarification (#736) 2022-12-13 22:31:53 +00:00
Manan TankandJonas Daniels 3b0b0f0405 Huge JS bundle size optimization! 🎉 (#734)
Huge JS Optimization: Fix Tree Shaking issue caused by AddressCopyButton

Co-authored-by: Jonas Daniels <[email protected]>
2022-12-13 13:08:11 -08:00
Jonas Daniels 6c92524fd8 cleanup .env file and add description to each env var (#733) 2022-12-13 11:39:05 -08:00
Nacho Iacovino 67ed1cc34a SDK page copy changes (#730)
* Update title and description

* Re-refactor SDKSection component

* Remove unused import

* Update guides desc

* shorter -> faster

* Shorten react code
2022-12-13 17:37:16 +00:00
Nacho Iacovino 936696dbe4 Add releaseAsPath tracking (#731)
* Add releaseAsPath tracking

* Remove log
2022-12-13 17:16:34 +00:00
Nacho Iacovino 17556ab052 Remove OSRF contracts (#729) 2022-12-13 16:23:16 +00:00
Nacho Iacovino 6cfe9214a4 Overhaul SDK page (#726)
* Overhaul SDK page

* Add language icons
2022-12-12 20:09:33 -08:00
Nacho Iacovino 646b3bac3e Fix wrong chainName on code tab on release page (#727) 2022-12-13 00:36:45 +00:00
Nacho Iacovino cec19593ad Add code tab to releases (#725) 2022-12-12 16:14:47 -08:00
Manan TankandNacho Iacovino c30cd3136b Landing Page: Fix Aurora Images (#723)
* Landing Page: Fix Aurora Image size

* Add missing aurora image on top of CLISection

Co-authored-by: Nacho Iacovino <[email protected]>
2022-12-12 20:16:13 +00:00
Nacho Iacovino 77fe6d44ea Update gas estimates for new NFT Drop (#724) 2022-12-12 17:40:25 +00:00
Manan TankandJonas Daniels 86dca737e3 optimize-newsletter: drop react-hook-form (#721)
Co-authored-by: Jonas Daniels <[email protected]>
2022-12-10 15:59:30 -08:00
Jake Loo 33980b6776 Remove OSRF contracts (#722) 2022-12-10 12:24:32 -08:00
Jonas Daniels faf05824d1 fix txn button, topnav mobile menu and about page (#719)
* fix txn button, topnav mobile menu and about page

* further fixes

* more small cleanups
2022-12-09 23:13:50 +00:00
Jonas Daniels 2b1b9e0840 fix txn button and program claim conditions (#718) 2022-12-08 13:00:21 -08:00
Manan TankandJonas Daniels 2decc45bef Footer: Code refactor + UI Adjustments (#716)
* Footer: Code Refactor + UI Adjustments

* Footer: change type to interface

* Footer: Remove unnecessary Flex wrapper in FooterLinksGrid

* Footer: convert numeric spacing from string to number

* Footer: infer isExternal prop by checking url

* Footer: Use number for numeric values instead of string

* Footer: Replace Stack with Flex

* Footer: use React.FC type for components

Co-authored-by: Jonas Daniels <[email protected]>
2022-12-08 11:28:23 -08:00
Jonas Daniels 7ffe3dc15b Jd/case study link (#717)
* link to case studies in that toggle

* further improvements
2022-12-08 19:08:07 +00:00
Jonas Daniels c7e3ecee40 use indexdb as cache backend instead of localstorage and other fixes (#715) 2022-12-07 19:01:44 -08:00
Jonas Daniels b0f2fcdab7 Merge branch 'main' of github.com:thirdweb-dev/dashboard 2022-12-07 17:34:00 -08:00
Jonas Daniels fce2f38930 Jd/more fixes (#714)
* constructor params for impl deploy

* small updates

* fix solana faucet

* further fixes
2022-12-07 17:17:44 -08:00
Jonas Daniels ef96110c1a Merge branch 'main' of github.com:thirdweb-dev/dashboard 2022-12-06 16:31:45 -08:00
Jonas Daniels 7dd709a331 constructor params for impl deploy (#713)
* constructor params for impl deploy

* or state

* true only
2022-12-06 15:06:49 -08:00
Jonas Daniels a42e7e9a9e constructor params for impl deploy 2022-12-06 14:48:01 -08:00
Jonas Daniels 45a471b39d fix typos 2022-12-06 13:02:50 -08:00
Jonas Daniels f5c577e928 fix blur max-width 2022-12-06 12:55:12 -08:00
Jonas Daniels c918887417 various fixes (#711) 2022-12-06 12:51:57 -08:00
Jonas Daniels baf273f2ab case studies 2022-12-06 11:11:11 -08:00
Jonas Daniels 654ad90523 update og image 2022-12-06 09:50:55 -08:00
Jonas Daniels 6c2dcd1eb4 fix things 2022-12-06 09:47:31 -08:00
Jonas Daniels e6596e8e1a bring back the privacy notice 2022-12-06 02:05:24 -08:00
Jonas Daniels 41c37d34ab various fixes (#710)
* various fixes

* load gradient with priority

* gradient improvements

* bit of opacity fading in

* does not need fading with priority set

* move newsletter section

* revert some dynamic stuff

* add a timeout to privacy notice to prevent flash
2022-12-06 10:00:10 +00:00
imgbot[bot]andImgBotApp c16d0a5d89 [ImgBot] Optimize images (#709)
*Total -- 8,594.38kb -> 6,163.64kb (28.28%)

/public/assets/solutions-pages/gaming/2d-rpg.png -- 558.14kb -> 141.05kb (74.73%)
/public/assets/solutions-pages/gaming/nft-lootbox.png -- 1,184.85kb -> 562.04kb (52.57%)
/public/assets/solutions-pages/gaming/3d-racer.png -- 1,198.46kb -> 693.50kb (42.13%)
/public/assets/solutions-pages/gaming/hero.png -- 4,285.10kb -> 3,517.06kb (17.92%)
/public/thirdwebxcoinbase.png -- 1,367.83kb -> 1,249.98kb (8.62%)

Signed-off-by: ImgBotApp <[email protected]>

Signed-off-by: ImgBotApp <[email protected]>
Co-authored-by: ImgBotApp <[email protected]>
2022-12-05 23:34:02 -08:00
Nacho IacovinoandJonas Daniels 19cc393e8b GamingKit landing page (#682)
* Copy commerce to solutions

* Reuse some components

* Make GuideShowcase commponent

* Update guides

* Update Learn More Cards text

* Update og:title and og:desc

* Add CodeSelector

* Add in partnership with

* Add to footer and mobile menu

* Use GuidesShowcase component on Solana page

* Delete unused imports

* Update gradient

* Update unity code

* Fix deployment

* Update code snippets

* Update react code

* Use CodeSelector component for auth

* add coinbase

* add vercel handling

* fix some basic stuff

* 4px looks better

* fix build

* Refactor city

* Temp commit

* I thought this only happened on Windows, fml

* Make code shorter

* Address most feedback

* Fix docs link

* Add game thumbnails

* Remove unnecessary prop

* Need this image plz

* Add GameShowcase section

* Gaming -> Game

* Update copy

* Update to GamingKit and CommerceKit

* Update menu

* More changes

* Update NFT Lootbox href

* Update text

* various improvements

* better game cards

* address some feedback

* lots of image size related updates

* further fixes

* fix contractkit ts issue

* address a bunch of feedback

* more feedback things

* fix some redirect issues

Co-authored-by: Jonas Daniels <[email protected]>
2022-12-06 05:51:01 +00:00
Jonas Daniels 5d109d965a fix canonical (#708) 2022-12-06 05:23:33 +00:00
Jonas Daniels 8e00cb4693 improve import (#707) 2022-12-05 21:56:45 +00:00
Jonas Daniels 9ac405e845 fix bignumber cache issue (#705) 2022-12-03 21:48:28 +00:00
Nacho IacovinoandJonas Daniels ad9e643737 Add Import flow (#690)
* WIP Import contract

* Don't read twice

* Make UI a bit nicer

* Fix import contract flow flash

Co-authored-by: Jonas Daniels <[email protected]>
2022-12-02 19:05:55 -08:00
Jonas Daniels 513ad1d44d attempt small perf wins (#702) 2022-12-02 18:20:58 -08:00
Nacho Iacovino 68ceeeba42 Small landing page wins (#701)
* Fake change

* Revert fake changes

* Small changes

* Add link to pricing section

* Change fees to pricing
2022-12-03 02:33:23 +01:00
Jonas Daniels 93bbe33991 remove splits chart & react-vis library (#700) 2022-12-03 01:10:23 +00:00
Jonas Daniels ee7751b289 update sdk for better rpc batching (#699) 2022-12-02 14:59:37 -08:00
Jonas Daniels d9f5629a7d solve lots of things (#698) 2022-12-02 13:29:50 -08:00
Jonas Daniels e54cb8e3f3 re-add nightly to fix gnosis (#697) 2022-12-02 19:07:38 +00:00
Manan TankandJonas Daniels affc922609 Refactor pages/index.tsx (#693)
* Refactor pages/index.tsx

* Move all sections from <HomePageSections/> to pages/index.tsx

Co-authored-by: Jonas Daniels <[email protected]>
2022-12-02 19:32:05 +01:00
Jonas Daniels e995d8adbb downgrade to stable sdk (#696) 2022-12-02 17:26:22 +00:00
Jonas Daniels 738e6baff3 switch over to tw rpc (#692) 2022-12-01 16:23:27 -08:00
Joaquim VergesandJonas Daniels 5a6f0d011c update to latest nightly SDK (#688)
Co-authored-by: Jonas Daniels <[email protected]>
2022-12-01 21:49:44 +00:00
Jonas Daniels 612d89886e fix tx button width (#691) 2022-12-01 21:22:41 +00:00
Jonas Daniels 7699cd7ac1 fix devmode catchall route (#689) 2022-12-01 20:59:30 +00:00
Jonas Daniels 47fc67cafb upgrade a bunch of deps (#687) 2022-12-01 12:41:37 -08:00
Jonas Daniels d910ae6218 fix sitemap for deployer -> thirdweb.eth rewrite (#685) 2022-12-01 19:24:12 +00:00
Nacho Iacovino bc59300fd8 Fix all instances of useClipboard (#683) 2022-11-30 00:39:15 +00:00
Nacho Iacovino 8211e0d013 Landing page improvements (#681)
* Fake change

* Revert fake change

* Address feedback

* Address feedback

* Remove unnecesary prop
2022-11-30 01:30:14 +01:00
362a7fb4c8 feat: change create app commands (#656)
* feat: change solana command

* feat: update commands

* Update components/contract-tabs/code/ContractCode.tsx

* Update components/contract-tabs/code/ContractCode.tsx

* Update components/contract-tabs/code/ContractCode.tsx

* Update components/contract-tabs/code/ContractCode.tsx

Co-authored-by: Jarrod Watts <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2022-11-29 02:40:36 +00:00
Jonas Daniels a8250a18ad enable trusted forwarders default value replacer (#674)
* enable trusted forwarders default value replacer

* handle address array
2022-11-29 02:23:24 +00:00
Nacho Iacovino 4f4e34ae77 Improve marketplace drawer (#680)
* Fix token standard: 0, and address(0) for owner on erc1155

* Rename owner to seller
2022-11-28 18:20:24 -08:00
Nacho Iacovino f487c45cdc Add more tracking to custom deployment (#679)
* Add more tracking to custom deployment

* Delete extra line

* Add a combined tracking param
2022-11-29 02:24:34 +01:00
Ibrahim Ahmed 71686cbe83 Adjust top padding to avoid huge dead space on mobile (#677)
* Adjust top padding to avoid huge dead space on mobile

* Remove redundant line
2022-11-28 17:54:52 +01:00
imgbot[bot] 5696d86d48 [ImgBot] Optimize images (#676) 2022-11-24 17:11:37 -08:00
Nacho Iacovino 8e5de75b0a Update og image for thirdweb Explore (#675) 2022-11-24 13:18:35 +00:00
Nacho Iacovino 9a750bf9a4 Refactor landing topnav (#673)
* Make topnav a bit more reusable, make solutions one column

* Refactoring city

* Delete unused files

* Fix hover
2022-11-23 12:45:23 -08:00
Jonas Daniels a2f5677ce6 swap out fnatic logo (#672) 2022-11-23 17:19:07 +00:00
imgbot[bot]andImgBotApp 7a1f0b4442 [ImgBot] Optimize images (#671)
/batch-test/0.gif -- 4,079.16kb -> 4,042.41kb (0.9%)

Signed-off-by: ImgBotApp <[email protected]>

Signed-off-by: ImgBotApp <[email protected]>
Co-authored-by: ImgBotApp <[email protected]>
2022-11-23 09:13:07 -08:00
Jonas Daniels 3bb087e90c gasless extension in nightly sdk (#670) 2022-11-23 09:33:47 +00:00
Jonas Daniels fb3b737c29 add releases get deploys upsell to release page (#669) 2022-11-23 07:28:40 +00:00
imgbot[bot]andImgBotApp e4718dc2cb [ImgBot] Optimize images (#668)
*Total -- 678.34kb -> 551.00kb (18.77%)

/components/partners/logos/paradigm.png -- 19.27kb -> 11.77kb (38.94%)
/components/partners/logos/unlock.png -- 141.01kb -> 87.44kb (37.99%)
/components/partners/logos/fnatic.png -- 13.13kb -> 9.40kb (28.44%)
/components/partners/logos/nyfw.png -- 29.39kb -> 21.05kb (28.37%)
/public/assets/product-pages/sdk/hero.png -- 79.09kb -> 59.03kb (25.36%)
/public/assets/solutions-pages/commerce/shopify.png -- 25.16kb -> 21.50kb (14.55%)
/public/assets/hackathon/thirdplace.jpeg -- 94.59kb -> 84.08kb (11.11%)
/components/partners/logos/shopify.png -- 28.96kb -> 25.74kb (11.1%)
/public/assets/hackathon/secondplace.jpeg -- 116.94kb -> 107.64kb (7.95%)
/public/assets/hackathon/firstplace.jpeg -- 81.00kb -> 74.87kb (7.57%)
/public/assets/landingpage/chris.jpg -- 49.81kb -> 48.48kb (2.65%)

Signed-off-by: ImgBotApp <[email protected]>

Signed-off-by: ImgBotApp <[email protected]>
Co-authored-by: ImgBotApp <[email protected]>
2022-11-22 22:15:21 -08:00
Jonas Daniels 9c22c0340e fix hover behavior on top nav 2022-11-22 18:06:49 -08:00
Nacho Iacovino 691c862777 Fix learn more color (#667) 2022-11-23 02:49:52 +01:00
Nacho IacovinoandJonas Daniels 90a51c7609 Add commerce page (#661)
* Add commerce page

* Fix heading

* Shorter description

* Delete repeated text

* Update for SEO

* Fix correctly

* Fix image and tinify it

* Fix spacing

* Add in partnership with, address most of the feedback

* Add Commemrce to topnav and footer

* Primitives -> Technologies

* Update guide title

* Make image larger

* Pre-built -> Prebuilt

* Add Solutions section to navbar

* Make in partnership an span

* Change button width

* Add spacing

Co-authored-by: Jonas Daniels <[email protected]>
2022-11-23 01:39:43 +00:00
Jonas Daniels 35aabd13bb partner things (#666) 2022-11-23 01:09:52 +00:00
Jonas Daniels 6f295fcf3f Jd/creators ts (#665)
* fix ts stuff in creators

* may as well update deps
2022-11-22 17:06:31 -08:00
Jonas Daniels a4ad801333 updated navbar header (#664) 2022-11-23 00:05:47 +00:00
bbe24361a1 Add creators and royalties settings for Solana (#608)
* Add royalties settings

* Update nightly

* Wip creators

* Make it render

* Default state working

* Disable remove button only when length === 1

* Updating creators works

* Creators fully working

* Update to nightly

* Add updateAll switch

* Add helper text, just enable for nft-collection

* Update SDK

* Update program-ui/settings/creators.tsx

Co-authored-by: Jonas Daniels <[email protected]>

* Update program-ui/settings/royalties.tsx

Co-authored-by: Jonas Daniels <[email protected]>

* Prettify

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Jarrod Watts <[email protected]>
Co-authored-by: Adam Majmudar <[email protected]>
2022-11-22 23:44:19 +00:00
Jonas Daniels 4f52682007 add support for default values for releases (#662)
fix default values
2022-11-22 11:11:55 -08:00
Jonas Daniels c9069761c4 add contract card track (#663) 2022-11-22 18:09:39 +00:00
c7df882d7f Added hackathon winners to the hackathon page (#659)
* Added chakra

* Added hackathon winners

* Added prettier

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2022-11-21 19:34:23 -08:00
Adam MajmudarandJonas Daniels 3f685f7975 Add pagination to Solana (#650)
* Add pagination to solana

* Update SDK

Co-authored-by: Jonas Daniels <[email protected]>
2022-11-21 23:20:43 +00:00
Jonas Daniels 7b8b6ec434 fix isFactory stuff 2022-11-21 13:09:27 -08:00
Jonas Daniels bb1be02188 fix missing graphic (#660)
* add better tracking

* add basic graphic into flow
2022-11-21 20:45:28 +00:00
Jonas Daniels 3746093674 Update explore.ts
Fix airdrop addresses
2022-11-19 08:15:11 -08:00
Jonas Daniels 3cd482a421 Explore Page (#625)
* init contract shelves

* updated styles etc

* update theme

* fix some more stuff

* lots more things

* fix release revalidate api

* lots more things

* reset colors

* navbar change

* fix font stuff

* cleanup pkg json

* unify prefix

* quick and dirty extension bar

* fix various things

* fix some mobile stuff

* switch release upsell messaging

* address a ton of feedback

* shuffle around title stuff

* further improvements

* add deploy upsell to category pages

* fix couple more things

* push up changes so far
2022-11-19 05:59:47 +00:00
Jonas Daniels 52780dc116 fix claim condition solana (#658) 2022-11-19 05:48:07 +00:00
Nacho Iacovino cd1011a2ba Enable see snapshot for non-admins (#655) 2022-11-17 19:54:29 -08:00
Nacho Iacovino 746fc75b26 Fix default price on snapshot set (#654)
* Fix price to undefined

* Update embeds
2022-11-17 22:48:54 +00:00
Jonas Daniels cbacd403ab do not double add to dashboard (#653)
* do not double add to dashboard

* show accurate transactionCount
2022-11-17 11:06:43 -08:00
Nacho Iacovino ae9976bede Fix snapshot link (#649) 2022-11-17 00:43:45 +00:00
Jonas DanielsandJoaquim Verges 1b91237787 [Upgrade SDKs] - new drops (#621)
* updated claim conditions

* fix several things

* update embed

* allow single phase to be added

* fix claimer snapshot button

* fix it for realz

* fix learn more suffs

* it workz!

* update to re-allow claiming etc

* make it nightly & update sdk

* update to latest SDK with all chains enabled

* fix various claim condition things

* fix snapshot defaults

* change explainer

* fix snapshot with overrides

* fix eiman-bug

* fix small stuff

* maybe we should actually pass the damn data?

* update SDK to fix custom price claims

* update embed uri

* update sdks and embed logic, etc

* actually deploy specific versions for prebuilt contracts

* update to latest dev version of sdk

* driveby add new gnosis safe supported chains

* fix latest deploy on initial load

* stable sdks and embed

* remove withSentry (no longer needed)

Co-authored-by: Joaquim Verges <[email protected]>
2022-11-16 22:21:45 +00:00
Jonas Daniels 16c0ba21ad fix releasing 2022-11-15 22:44:55 -08:00
dependabot[bot] 20d063e17b Bump loader-utils from 1.4.1 to 1.4.2 (#648)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-16 02:22:01 +00:00
Nacho IacovinoandJonas Daniels 3a464eaa17 Add displayName/description for contractParams (#646)
* Add displayName/description for contractParams

* Remove logs

* Fix SDK initialization

* Use polygon sdk for anything release related

Co-authored-by: Jonas Daniels <[email protected]>
2022-11-16 02:08:52 +00:00
Nacho Iacovino 953fc3ed4a Make embeds work for any erc1155/erc20/erc721 (#647)
* Make embeds work for any erc1155/erc20/erc721 with claimableWithConditions

* Delete unused imports
2022-11-15 18:05:41 -08:00
Nacho Iacovino 807cfa4312 Add display name to deployment (#645)
* Add display name to deployment

* use correct info
2022-11-15 01:48:23 +00:00
Nacho IacovinoandJonas Daniels 48bca3b6cf Revert prebuilt deploy for OSRF (#643)
Co-authored-by: Jonas Daniels <[email protected]>
2022-11-14 22:24:35 +00:00
Jarrod WattsandJonas Daniels 448fb117f3 Jw/code tab v3 patches (#641)
* Add isLoading and error to code tab useContact snippet

* Add @latest to solana starter CLI snippet

Co-authored-by: Jonas Daniels <[email protected]>
2022-11-14 19:04:22 +00:00
Nacho Iacovino dc4feb2050 Fix implementation deploy (#642) 2022-11-14 18:03:17 +01:00
Jonas Daniels 37e9e0a848 remove solana banner (#640) 2022-11-10 05:16:28 +00:00
Nacho IacovinoandJonas Daniels 61df5e1836 Use getClaimerProofs instead of withAllowlist for embeds (#639)
Update embeds

Co-authored-by: Jonas Daniels <[email protected]>
2022-11-10 04:50:56 +00:00
Nacho Iacovino 997cc82e2a Add OSRoyaltyToPrebuilt mapping (#638)
* Add OSRoyaltyToPrebuilt mapping

* Hardcode enabled chains
2022-11-09 20:48:23 -08:00
pat 0838067a16 Change H2 --> H1 (#637)
Updating the Solana network page meta title to H1 from H2.
2022-11-09 12:41:40 -08:00
Nacho Iacovino fdd90cf2e3 Fix toString not found (#635) 2022-11-08 22:15:15 +00:00
Nacho Iacovino 8f889ac039 Fix toLowerCase not found (#636) 2022-11-08 20:21:46 +00:00
Jonas Daniels b6aa34810b update headline (#634)
* update hedline

* fix gnosis safe url
2022-11-08 00:51:44 +00:00
Nacho Iacovino 1a71631d6a Rename scriptName (#633) 2022-11-07 23:47:55 +00:00
Nacho Iacovino 6e8bdfc248 Remove src override (#632) 2022-11-07 23:18:53 +00:00
Nacho Iacovino 79f0bec81f Add plausible proxy (#631) 2022-11-07 22:05:46 +01:00
Nacho Iacovino d26d83e604 Implement plausible (#630)
* Implement plausible

* Move to _app.tsx

* Remove proxy
2022-11-07 21:50:40 +01:00
Nacho Iacovino 3324204e40 Fix Solana copy address (#629) 2022-11-04 19:14:50 +00:00
Nacho Iacovino a6ec513e2a Minor copy changes (#627)
* Minor copy changes

* More minor copy changes
2022-11-04 19:09:17 +00:00
Nacho Iacovino 51669fa3d0 Remove hackathon section (#628) 2022-11-04 19:02:56 +00:00
juandolealt 988c5e9f2f Updated metadescription (#626)
Google didn't take our metadesc because I wrote "build, launch, and manage web3 apps..." - needs to include copy on the homepage so changed this to "build web3 apps easily" & will be more likely to use it.

"Build, launch, manage" is better messaging & we can switch back to it once we update homepage copy (there have been branding discussions here)
2022-11-04 18:52:11 +00:00
Nacho Iacovino e45f90cc12 Fix maxClaimable with snapshot (#623) 2022-11-02 23:20:01 +00:00
Jonas Daniels a53b6e9e44 init next 13 (#613)
* init next 13

* layout responsive by default again

* more next13 things

* push up

* remove beehiiv embed

* make lgtm happy

* halfway through push up

* push up
2022-11-02 16:05:50 -07:00
Joaquim Verges 3d0cb90946 Update SDK to fix handling of old snapshot format (#622) 2022-11-02 15:16:06 -07:00
Joaquim Verges 9f677052d4 bust cache 2022-11-01 17:40:26 -07:00
Joaquim Verges 96850796f4 Integrate new claim conditions (#612)
* Integrate new claim conditions

* update to latest dev

* patch sdk

* update embed as well

* latest SDK build

* update embeds

* fix ipfs hash

* one more update

* update again

* update to SDK 3.5.0
2022-11-01 23:36:29 +00:00
Nacho IacovinoandJonas Daniels 2543e5d3f9 Add linting rule for no console.logs (#614)
Co-authored-by: Jonas Daniels <[email protected]>
2022-11-01 23:03:00 +00:00
Joaquim Verges 543e3aac17 override sol-devnet rpc (#619) 2022-10-30 02:16:14 +00:00
Nacho Iacovino 9cbb8bb736 Add tracking to embeds (#618) 2022-10-28 16:06:30 +00:00
juandolealt 7e98c4ac1c Change homepage metatitle & description (#617)
Our metas still include "drop NFTs with no code" and "no-code for NFT artists" - needed to change to reflect our positioning today!
2022-10-28 15:40:15 +00:00
Nacho Iacovino 8069e90d57 Make embeds use thirdweb rpc (#616) 2022-10-27 23:32:29 +00:00
Jonas Daniels 26f7eefeea make edit release button show always 2022-10-25 20:00:32 -07:00
Nacho Iacovino 8920f4f2bd Add contract badge (#611)
* Add contract badge

* Add chainId param

* Fix URL

* Fix quotes
2022-10-25 12:44:57 -07:00
Jonas Danielsandjuandolealt 2c34dd62ca Jd/fix seo branch (#610)
* Heading changes + slight copy edits

* remove mr

Co-authored-by: juandolealt <[email protected]>
2022-10-25 19:10:51 +00:00
Nacho IacovinoandJonas Daniels b85b6ec650 Fix useReleasesFromDeploy hook (#606)
* Fix hook, remove old chains references

* Use nightly

* Remove logs

Co-authored-by: Jonas Daniels <[email protected]>
2022-10-25 19:03:41 +00:00
Nacho Iacovino 379d89cf45 Update embeds to fix token drop display (#609) 2022-10-25 17:20:59 +00:00
Nacho Iacovino 0ff2c3a98a Fix other instances of useClipboard (#607) 2022-10-24 18:07:14 -07:00
Nacho IacovinoandJonas Daniels a23e36c56a useEffect for setValue (#604)
Co-authored-by: Jonas Daniels <[email protected]>
2022-10-24 20:29:39 +02:00
samina 6c71386381 Update Solanathon CTA (#603)
added links
2022-10-24 20:21:00 +02:00
Jonas Daniels a945d1ff52 update packages to nightly with new magic link and gnosis safe (#599)
* update packages to nightly with new magic link and gnosis safe

* update deps
2022-10-21 16:34:55 -07:00
Nacho Iacovino 7aa86d5f3b Try/catch getInitialProps (#601)
* Try/catch getInitialProps

* Move comment
2022-10-21 13:56:15 -07:00
Nacho Iacovino 4c3f4d1eda Update sentry package (#600) 2022-10-21 18:22:54 +00:00
Nacho IacovinoandJonas Daniels 323b5e3cf4 Add Web3Button option to code tab (#597)
* Add Web3Button option to code tab

* Add docs link

* Fix build

Co-authored-by: Jonas Daniels <[email protected]>
2022-10-21 03:13:25 +00:00
Nacho Iacovino c09104d25f Add audit shields to missing contracts (#598) 2022-10-21 00:59:31 +00:00
Nacho Iacovino f00f3e29da Add faucet to footer and mobile menu (#596)
* Add faucet link to footer

* Add to mobile menu
2022-10-20 23:00:01 +00:00
Joaquim Verges 317d550d50 [SDK] update embed to fix legacy merkle tree checks (#595)
* update embed to fix legacy merkle tree checks

* update SDKs

* remove log
2022-10-20 15:34:22 -07:00
Nacho Iacovino 5d8872859a Fix unlimited for TokenDrop embed (#594) 2022-10-20 19:15:25 +00:00
Nacho Iacovino 65999b6433 Fix bool in contract explorer (#593)
* Fix bool in contract explorer

* Remove log
2022-10-20 18:27:46 +00:00
Joaquim Verges 0a9449bbb7 upgrade SDK to fix deploying contracts with bytes params (#592) 2022-10-20 08:53:22 -07:00
Joaquim Verges 474f148a00 Implement new sharded merkle trees (#590)
* Implement new sharded merkle trees

* update embeds

* update embeds again
2022-10-19 21:19:37 -07:00
Nacho IacovinoandJonas Daniels c7a414175d Show switch between all/active listings (#585)
* Show switch between all/active listings

* Fix lgtm

* Improve logic

* fix various things

* sm button group

Co-authored-by: Jonas Daniels <[email protected]>
2022-10-18 22:37:59 -07:00
Jonas Daniels 5e6c4448fa [basic ftux] (#577)
* start adding getting started cards

* still WIP but close finally

* remove unused hook

* initial ftux done

* small thing

* fix tos notice shenanigans

* fix safe inset bottom padding

* fix safe area inset bottom?

* allow vercel.live in script-src

* fix safari issues

* refinement

* implement feedback, wordsmith

* add links & tracking

* remove unused hook
2022-10-18 22:08:58 -07:00
Adam MajmudarandJonas Daniels add6c88dbf [WIP] Add file and JSON upload for URI field in contract explorer (#586)
* Add URI file upload

* Add upload button

* Update

Co-authored-by: Jonas Daniels <[email protected]>
2022-10-18 14:10:21 -07:00
Nacho Iacovino bf2c869290 Fix claim tab detection (#589) 2022-10-18 20:54:22 +00:00
Nacho Iacovino 1bab1ac9c6 Fix detection for supply cards (#588) 2022-10-18 20:38:22 +00:00
Nacho Iacovino 8536d753a4 Fix error, add Skeleton on SupplyCards (#587)
* Fix error, add Skeleton

* Bust cache
2022-10-18 09:03:05 +00:00
Nacho IacovinoandJonas Daniels 7cdc2675b3 Add supply cards back (#584)
Co-authored-by: Jonas Daniels <[email protected]>
2022-10-18 01:09:38 +00:00
Nacho IacovinoandJonas Daniels 54b1d361e9 Don't check claim conditions on non-drops (#580)
Co-authored-by: Jonas Daniels <[email protected]>
2022-10-18 00:59:53 +00:00
Nacho Iacovino f565815bce Add token ID copy button (#581)
* Add token ID copy button

* Fix lgtm
2022-10-18 00:46:24 +00:00
Nacho IacovinoandJonas Daniels d54427a960 Add Mint Additional Supply to Solana (#571)
* Add mint more supply tab

* Use same structure to concat tab

* Use nightly

* Fix build

* Update nightly

Co-authored-by: Jonas Daniels <[email protected]>
2022-10-18 00:39:07 +00:00
Nacho IacovinoandJonas Daniels f86430a219 Enumerable -> Supply and add links (#582)
Co-authored-by: Jonas Daniels <[email protected]>
2022-10-18 00:32:54 +00:00
Nacho Iacovino f631a37708 Remove SF kickoff event (#583) 2022-10-17 22:00:25 +00:00
Nacho Iacovino 4ede3757d1 Disable claim button for erc1155 (#579) 2022-10-17 20:55:47 +00:00
Nacho Iacovino 80f3fac45d Update audit badges (#578) 2022-10-17 19:52:42 +00:00
Joaquim Verges e0d347d588 fix prebuilt contracts not redirecting to deployed page 2022-10-16 21:54:52 -07:00
Avneesh AgarwalandJonas Daniels 9cd8799d39 feat: update faq (#576)
Co-authored-by: Jonas Daniels <[email protected]>
2022-10-14 23:08:57 +00:00
Jonas Daniels 0acff2ffd6 upgrade deps 2022-10-14 10:39:21 -07:00
Nacho IacovinoandJonas Daniels a3eb48e0c6 Add claim tab/drawer (#574)
* Add claim tab/drawer

* Revert

Co-authored-by: Jonas Daniels <[email protected]>
2022-10-14 10:32:13 -07:00
Adam Majmudar 5d458cd6d4 Remove shopify partner page (#575)
Remove shopify
2022-10-14 00:43:12 +00:00
saminaandNacho Iacovino c7195530bf Update styles on solanathon landing page (#573)
* added judge

* changed heading

* more requested changes

Co-authored-by: Nacho Iacovino <[email protected]>
2022-10-14 00:49:05 +02:00
samina 0c75635a55 added judge (#572) 2022-10-13 15:20:29 -07:00
imgbot[bot] 253164176b [ImgBot] Optimize images (#569) 2022-10-13 11:23:24 -07:00
Nacho Iacovino 5ae5658b09 Disable deploy button for unsupported chains (#568)
Disable unsupported chains
2022-10-13 10:21:15 -07:00
Nacho Iacovino 86541b808b Add 404 page (#567) 2022-10-13 09:02:07 -07:00
Nacho Iacovino 7a90b44128 Small solanathon ui changes (#566) 2022-10-13 00:12:03 +00:00
saminaandJonas Daniels 36637bf1d6 added more events to solanathon (#563)
* added more events to solanathon

* changed broken link

* added companies to judges object

* added companies

Co-authored-by: Jonas Daniels <[email protected]>
2022-10-12 23:52:11 +00:00
Nacho Iacovino 1e36bbb00d Update link on shopify landing (#565)
* Update link on shopify landing

* Update link again
2022-10-12 23:27:50 +00:00
Joaquim Verges a61d19253c [SOL] Fix showing correct owners (#564)
Fix showing correct owners
2022-10-12 16:13:17 -07:00
Jake Loo e546a00049 Support etherscan verification for un-released contracts (#557)
* unreleased contract verification

* short-circuit params extraction for 0 input
2022-10-12 12:40:51 -07:00
Nacho Iacovino 76c56e0d59 Update networks landing images (#562) 2022-10-12 19:18:50 +00:00
Joaquim Verges 4926a2c66e resolve icons on release table (#561)
resolve icons on table
2022-10-12 19:03:57 +00:00
Jonas Daniels d2df9de027 fix announcement banner 2022-10-12 11:22:23 -07:00
Jonas Daniels a4bb988409 fix deploy network data 2022-10-12 11:16:02 -07:00
Jonas Daniels 8c7498093b Merge branch 'main' of github.com:thirdweb-dev/dashboard 2022-10-12 11:10:59 -07:00
Jonas Daniels 0463999f70 fix things 2022-10-12 11:10:52 -07:00
Nacho Iacovino b43e959c1f Minify images (#560)
Minify img
2022-10-12 18:05:48 +00:00
Nacho Iacovino 389abd0f9b Update Solanathon judges (#559) 2022-10-12 17:59:21 +00:00
Jonas Daniels cf8602d42e update og image 2022-10-12 10:50:09 -07:00
5db96a64c7 [SOLANA] (#486)
* init solana dashboard

* some updates

* deploying programs works?

* solana program page is go

* more updates

* various updates and improvements

* git add maybe?

* working state

* working minting / nft list

* working drop lazy mint + latest nightly

* dashboard works

* forgot to add things

* fix various small things

* fix rpc

* implement token page + code organization

* update SDK

* rename accounts to program

* implement token mint button

* split dashboard into evm vs sol and separate out solana programs

* fix caching

* upgrade to combined sdk

* merge in main

* update to latest nightly SDK

* tabs for days

* lul query client maybe?

* remove unused hook

* add super basic nft drawer

* lots of updates to start on nft drawer etc

* add code tab content

* fix merge conflicts

* pass program address to code tab

* some changes

* some minor updates

* new nft drawer and table

* drawer for solana done (v1)

* fix a bunch of stuff

* fix some tracking

* update nightly

* add programId to program deploy event

* adapt to changes in react lib

* upgrade to dev version

* Add batch upload to Solana (#539)

* First small necessary refactor

* Working version

* Working version with yalc

* Use nightly

* Move everything around

* Remove unused imports

* Fix types

* Add state for hasTried

* Fix conditions

* Add solana

* Move selectedReveal to be part of the form

* Improve logic

* Update dependencies

* Make drawer fullscreen

* Fix hasFailed logic

* Fix types

* Make inputs required conditionally

* Fix types

* Make loading work

* Remove repeated code

* Remove unused

* Pass progress as a prop

* Move common files to core-ui

* massive cleanup

Co-authored-by: Jonas Daniels <[email protected]>

* feat(faucet): build solana faucet (#528)

* feat(faucet): build solana faucet

* chore: update names

* fix: type

Co-authored-by: Jonas Daniels <[email protected]>

* fix: minor stuff

Co-authored-by: Jonas Daniels <[email protected]>

* fix: feedback

* feat: minor improvements

* feat: add faq section

* refactor: refactor faq

* add accordion

* minor fix

Co-authored-by: Jonas Daniels <[email protected]>

* tiny fix

* Revert batch upload styles (#541)

* Fix typo, fix drawer width

* Revert to old batch upload styles

* Fix some more styles

* Fix progress bar styles

* Update to using TWRegistry

* [Solana] Add claim conditions to NFT Drop (#542)

* Add tab and getter

* Working version

* Delete unused imports

* Currency selector works but I hate it

* Add maxClaimable

* Fix build issue

* Make batch upload work again

* Fix claim conditions for devnet

* Test fix

* Delete console.logs

* A lot of solana stuff (#545)

* Remove unused banner

* Hide Claim Conditions tab for no drops

* Add loading state

* Remove comment

* Add helper text for nft drop supply

* Delete log

* Add loading state to program list

* Add redirect if you don't have any program deploys

* Add default instant reveal for Solana

* Fix styles

* Fix logic

* doc fixes

* fix(faucet): minor issues (#543)

* fix(spacing): fix spacing in faq

* feat: some updates from feedback

* fix: use linkButton

* feat: use fetch

* remove test code

* fix: err handling

* pass err

* fix sucecss state

* fix: link

* some updates

* small fixes

Co-authored-by: Nacho Iacovino <[email protected]>

* update to latest nightly

* fix up form and update deps

* Add claim button to Solana (#555)

* wip

* Add claim buttons, fix warning, disable buttons conditioanlly

* Use nightly

* Delete unused import

* Solana hackathon landing (#554)

* feat: build hackathon page (#547)

* wip: build hackathon page

* add some more stuff

* feat: responsievness and some minor stuff

Co-authored-by: Nacho Iacovino <[email protected]>

* First section

* Fix PrizeSection

* Add link to register now

* Add judges and footer

* Update startTime for hackathon

* Fix Schedule

* Add tracking

* Add pageId

* Prettier?

* Prettier again

* Prettier you're drunk

* This is my life now

* Remove unused import

* Add og metadata

* Update SEO

Co-authored-by: Avneesh Agarwal <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>

* Add solana landing page (#556)

* Add landing page for Solana

* Add solana landing page

* Add shopify landing

* Add shopify

* Remove quote

* Add meta tags

* Add landing page updates

* Add links

* small cleanups

* fix various & pagination on nft table solana

* Show unclaimed instead of tokenId for lazy minted tokens

* add full install command for solana react

* show create cli command in code tab for react

* add funds notice for solana

* add various things

* various updates

* various updates

* updated some guides and copy based on juan feedback

* Fix Solana faucet link

* Add disclaimer on how to deploy with Devnet

* Small fixes

* Update guidelines

* Fix currency selector bug

* Update hero copy

* fix build issues

* update to latest

* link solana cards

* Add partners

* update og images for shopify & solana

* Add solanathon og:image

* copy changes

* Update image size

* Center sponsors

Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Avneesh Agarwal <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Adam Majmudar <[email protected]>
2022-10-12 17:41:45 +00:00
Nacho Iacovino c4737c4cc7 Fix broken link (#551) 2022-10-11 13:04:33 +00:00
Ashish Mittal 28c098436b Fixed Broken ContractKit Links (#550) 2022-10-11 14:59:19 +02:00
Nacho Iacovino b2ffd59132 Change thirdweb_ mentions to thirdweb (#546) 2022-10-08 00:45:56 +00:00
Adam Majmudar 41e1ed2478 Add deploy CTA (#544) 2022-10-07 22:04:51 +00:00
Jonas Daniels 76593b72bc blow away the global cache 2022-10-06 00:35:47 -07:00
Jonas Daniels 68c70c6934 stop quering deprecated chains witbout RPCs (#540)
* stop quering deprecated chains witbout RPCs

* upgrade sdk version to nightly (which removes the deprecated chains
2022-10-06 07:29:10 +00:00
Adam Majmudar 49ddadfcca Update storage landing page link (#537)
* Update landing page link

* React version
2022-10-05 22:00:55 +00:00
Adam Majmudar c65fd48fe3 [WIP] Add storage product page (#501)
* Add storage product page

* Add storage product page
2022-10-05 14:14:11 -07:00
Jonas Daniels a5f1e5f88e split & nft fix (#536) 2022-10-04 18:41:37 -07:00
Jonas Daniels b851ed3476 [Permissions, Token] - fix permissions for custom contracts, use new token hooks (#535)
* fix permissions by upgrading sdk etc

* remove unused imports

* fix token
2022-10-04 13:26:32 -07:00
Nacho IacovinoandJonas Daniels d471757e50 Don't use .at() anymore (for now) (#533)
Co-authored-by: Jonas Daniels <[email protected]>
2022-10-03 21:01:15 +00:00
Nacho Iacovino 18cb41e10f Add check for prebuilt deploy page (#534)
Add check
2022-10-03 13:58:54 -07:00
Nacho Iacovino 950b11a9b4 Don't show tab title on load (#532) 2022-10-03 11:40:59 -07:00
Nacho IacovinoandJonas Daniels dfa004c82e Ignore some more non-actionable errors (#527)
* Ignore non-actionable errors

* Fix comments

Co-authored-by: Jonas Daniels <[email protected]>
2022-10-03 18:15:36 +00:00
Nacho IacovinoandJonas Daniels 542d495f30 Add error handling for token API not supported (#531)
Co-authored-by: Jonas Daniels <[email protected]>
2022-10-03 11:10:35 -07:00
Nacho Iacovino 0f561d21d5 Add error handling for invalid JSONs (#530) 2022-10-03 10:33:14 -07:00
Nacho Iacovino 2a502f6ce7 Enable burn button on default (#529) 2022-10-03 15:13:41 +00:00
Jarrod Watts 484eeb37bc Rename extensions to be ContractKit (#526)
* Rename extensions to be contract kit

* rename extensions.tsx page to contract-kit.tsx

* Contract Kit -> ContractKit

* Footer - don't open product pages in new tab

* Remove external link icon from get started button on product landing pages

* contract-kit in urls to contractkit

* add redirect from extensions -> contract kit

* Add permanent:false to extensions -> contractkit redirect
2022-09-30 14:55:37 +10:00
Adam Majmudar 94bc045296 Add ui components landing page (#525) 2022-09-29 16:07:34 -07:00
Nacho IacovinoandJonas Daniels a7795d61f6 Return error if CSV/JSON don't have a name column (#519)
* Return error if CSV/JSON don't have a name column

* Fix lgtm

* Update contract-ui/tabs/nfts/components/airdrop-upload.tsx

Co-authored-by: Jonas Daniels <[email protected]>

* Update contract-ui/tabs/claim-conditions/components/snapshot-upload.tsx

Co-authored-by: Jonas Daniels <[email protected]>

* Update contract-ui/tabs/nfts/components/upload-step.tsx

Co-authored-by: Jonas Daniels <[email protected]>

Co-authored-by: Jonas Daniels <[email protected]>
2022-09-29 20:36:07 +00:00
Nacho IacovinoandJonas Daniels c06cb29e70 Add tracking to marketplace/vote/split (#522)
Co-authored-by: Jonas Daniels <[email protected]>
2022-09-29 20:25:32 +00:00
Nacho Iacovino 1136b86751 Revert ml (#524) 2022-09-29 19:07:12 +00:00
Nacho Iacovino 99300db32b Small style changes (#523)
* Style fixes

* Small changes
2022-09-29 18:38:48 +00:00
Nacho Iacovino 5c8d1c3154 Fix maxClaimable for erc1155 embed (#521) 2022-09-29 18:12:12 +00:00
Nacho Iacovino 5c76b91a74 Truncate error toast to 3 lines (#517)
Truncate error to 3 lines
2022-09-29 16:45:42 +00:00
Nacho Iacovino f06cdce523 Check if image/animation_url is mapped to not assign by order (#516) 2022-09-29 16:06:24 +02:00
Nacho Iacovino ff1076151f Sentry improvements (#515)
* Fix .replaceAll is not a function

* Fix cannot read properties of null image

* Add a couple non-actionable errors
2022-09-28 20:44:49 -07:00
Nacho Iacovino 3974f5e3a9 Add properties to listing, fix wrong txn msg (#514)
Add properties to listing, fix wrong txn, update embeds
2022-09-28 22:08:42 +00:00
Nacho Iacovino f0eecc8e69 Update sentry dependency (#513)
Update sentry dep
2022-09-28 18:55:55 +00:00
Nacho Iacovino 6193075880 Disable deprecated networks deployment (#510) 2022-09-28 04:45:07 +00:00
Joaquim Verges ad4c8fca5b update SDK to fix release deploys (#512) 2022-09-28 04:32:58 +00:00
Nacho Iacovino f70179aa18 Fix permissions not showing for custom contracts (#511)
* Fix permissions not showing for custom contracts

* Remove log
2022-09-28 02:27:07 +00:00
Joaquim Verges 8d4fdbcbd1 Expose proxy deploy flow for released contracts (#509)
* Expose proxy deploy flow for released contracts

* disable chain ids that don't have implementations

* update imports

* add factory/proxy to tracking event

* add s_factory on deploy too
2022-09-27 18:12:31 -07:00
Nacho Iacovino 4550ff41fd Fix console error on first render in deploy step (#508)
* Make only the text clickable

* Merge branch 'main' of https://github.com/thirdweb-dev/dashboard

* Fix console error
2022-09-27 23:06:31 +00:00
Nacho Iacovino 7f44b746a3 Fix network switching not showing (#507)
* Make only the text clickable

* Fix network switching not showing

* Update embeds
2022-09-27 21:42:27 +00:00
Nacho Iacovino 9576cd9339 Add tracking to issue click (#506) 2022-09-27 12:40:25 +00:00
Nacho IacovinoandJonas Daniels de9b5f0d6b Update embeds and add biconomy support (#504)
* Update embeds and add biconomy support

* update embeds

Co-authored-by: Jonas Daniels <[email protected]>
2022-09-27 09:54:04 +00:00
Adam Majmudar 14bf140c1b Add storage FAQ to dashboard (#505)
* Add experiencing issues uploading your files

* Update to notion.site link
2022-09-26 21:43:15 +00:00
Jonas Daniels eae0ec66e3 update deps & update cli on landingpage (#502)
* update deps & update cli on landingpage

* increase timeout for full-reload (to handle some odd edge-cases)
2022-09-26 20:14:20 +00:00
Jarrod WattsandNacho Iacovino 32e8f33554 Update Portal Links (#499)
* Update contract extension links to point to /extensions not /contracts. Update a few old links to point to correct new place rather than redirect. Fix broken royalty link

* fix

* fix again

* Revert

Co-authored-by: Nacho Iacovino <[email protected]>
2022-09-26 19:22:51 +02:00
Nacho Iacovino 33d4e1a013 Fix broken portal links (#500)
* Fix broken links

* Add some mobile padding

* Fix hh

* Looks a bit better on safari
2022-09-26 19:18:59 +02:00
Jonas Daniels 6db87677d4 updated embeds (#498)
* updated embeds

* update again

* fix buffer not defined issue
2022-09-24 01:03:42 +00:00
Jonas Daniels 4a817a2e7f fix roles? (#497) 2022-09-23 13:42:20 -07:00
Adam Majmudar dec4647e4a Add dev builds for progress (#496)
* Add dev builds for progress

* Add this may take a while

* Update SDK version
2022-09-23 10:38:55 -07:00
Adam MajmudarandJonas Daniels 9eedecf56f Add storage dev build (#494)
* Add storage dev build

* update versions to nighlty

* fix release form and audit

Co-authored-by: Jonas Daniels <[email protected]>
2022-09-22 17:09:28 -07:00
Jonas Daniels 0d7c75e67a enable pack deploys on mainnets (#491) 2022-09-22 23:40:48 +00:00
Jonas Daniels bce6f30d69 fix marketplace embed (#495) 2022-09-22 16:35:09 -07:00
Jonas Daniels 88f7ceb57e update sdk (#493) 2022-09-22 12:15:46 -07:00
Jonas Daniels 262715c9e8 fix various small bugs (#492) 2022-09-22 10:39:18 +00:00
Nacho Iacovino 1dba6075c6 Render goerli l2s on dashboard (#490)
* Render goerli l2s on dashboard

* Fix wrong chainId
2022-09-22 03:05:40 -07:00
Jonas Daniels 02dbfb5f9f Update embeds, update SDKs (#489)
* use dev sdks

* upgrade dev versions

* upgrade to nightly

* upgrade embeds

* fix default color option

* fix small issue

* fix uri issues for ipfs resolution

* update sdks again
2022-09-22 09:43:44 +00:00
Joaquim Verges f42e672121 Fix releasing from Goerli + deploying individual implementations (#488)
* upgrade SDK

* fix storage
2022-09-20 23:28:52 +00:00
Jonas Daniels 46c82127d1 add KYB and init adding register contract (#463)
* add KYB and init adding register contract

* bearer id

* full setup loop

* merge in main

* integrate nightly of sdk

* paper enabled flag
2022-09-20 22:07:18 +00:00
Joaquim Verges e3f7b704b9 Fix editing existing releases (#487) 2022-09-15 21:24:56 +00:00
Jonas Daniels 17284dafd2 fix filter 2022-09-13 17:45:12 -07:00
Jonas Daniels 421a3eee79 catch wallet nfts (#485) 2022-09-14 00:36:05 +00:00
Jonas Daniels 7dd69cf51d upgrade to stable version (#484) 2022-09-13 23:34:24 +00:00
Nacho Iacovino 7dc4787814 Only do auto-run for read functions (#483) 2022-09-13 16:25:01 -07:00
Jonas Daniels 53e92add39 move over the last prebuilt pages and use @nightly (#481)
* move over the last prebuilt pages and use nightly

* fix lint

* update to latest dev

* remove log

* fix various more things

* upgrade to @nightly

* fix lister for creating listings

* update dependencies to solve token metadata issue
2022-09-13 21:15:37 +00:00
Nacho Iacovino 963c35a84d Fix edit logic, move readme on top (#482) 2022-09-13 20:52:52 +00:00
Nacho IacovinoandJonas Daniels d0648ad3c9 Add more tracking to release success (#480)
* Add more tracking to release success

* fix small issue

* add releaseId to all of the events

Co-authored-by: Jonas Daniels <[email protected]>
2022-09-13 17:27:24 +00:00
Nacho IacovinoandJonas Daniels 5ad8099fa0 Read functions not requiring connect wallet/switch network (#477)
* Don't use MismatchButton

* Call read function when no params found

Co-authored-by: Jonas Daniels <[email protected]>
2022-09-13 07:19:44 +00:00
Nacho Iacovino 672431e7fa Add arrow icon to NFT row, move properties inside drawer (#478)
* Add arrow to nft row

* Move properties to nft drawer

* Fix buttons on mobile
2022-09-13 00:15:46 -07:00
Jonas Daniels e7a674c626 upgrade nightly (#476) 2022-09-12 15:32:55 -07:00
Nacho Iacovino 72716334be Fix border radius on /gas (#472) 2022-09-12 22:24:20 +00:00
Nacho Iacovino 82c2515a03 Fix claim conditions check (#475) 2022-09-12 21:19:35 +00:00
Nacho Iacovino 3988950a80 Fix show edit button for ens (#474) 2022-09-12 17:18:51 +00:00
Nacho Iacovino c6976b5bdc Fix burn on erc721 (#473)
Disable button only on erc1155
2022-09-12 16:31:59 +00:00
Adam Majmudar 95900a8657 Update nav with product icons (#471) 2022-09-11 22:19:49 +00:00
Jonas Daniels c310e25fcc remove unused package 2022-09-09 18:19:46 -07:00
752b2c2634 Refactor for react/sdk v3 (#457)
* Refactor claim conditions

* Add util function

* Full NFT pages refactor

* Improve onDashboard

* Token refactor fun

* Fix some logic

* Make token drop use custom contract pages

* Remove all the things

* Fix checks

* Fix delayed reveal

* Fix marketplace embed

* Fix lgtm

* Change detection strategy

* Improve some checks

* Reduce use of actualContract

* Fix lgtm

* Fix build

* Some renamings and some more cleanup

* Default sources to release source if found

* Fix lgtm

* Rename multiwrap

* Use useTokenDecimals hook

* Fix token forms not accepting decimals

* Check decimals for inputs

* Fix logic

* Update packages

* update SDK + add Optimism/Arbitrum goerli testnets

* Add goerli l2s to disabled chains of gnosis

* Add comment

* Fix todo

* Rename detection

* Fix code tab on multiwrap and pack

* Add deprecated text

* Add faucet links

* Prettier comments

* Check isDirty for all forms

* add latest nightly

* upgrade nightly and use stable for storage

Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2022-09-09 18:16:09 -07:00
Jonas Daniels 5e996c5907 fix batch utils & dependencies & batch lazy mint (#470) 2022-09-09 20:27:36 +02:00
Nacho Iacovino 4a114aed3d Fix batch upload for jsons (#469) 2022-09-09 15:12:37 +00:00
Nacho Iacovino 53745b5ee9 Release improvements (#468) 2022-09-09 04:33:28 +00:00
Jonas Daniels 9f9566366b remove alchemy sdk (#467) 2022-09-08 21:28:35 -07:00
Jonas Daniels edef56d831 smaller images solve everything? 2022-09-08 12:50:54 -07:00
Jonas Daniels 3548060512 pre-generate og images (#466) 2022-09-08 12:25:34 -07:00
Nacho Iacovino e0c250a7bf Add show more on deployed contracts on releaser page (#465)
* Add show more on deployed contracts on releaser page

* Fix build

* Use show more for releases
2022-09-08 09:40:15 -07:00
Nacho IacovinoandJonas Daniels 13a09e6c8c Dashboard releaser improvements (#451)
* Create released contracts component

* Pass address as prop

* A lot ot stuff, make stuff nice

* Clean imports

* Fix build

* Add visit profile button

* Fix releases not showing correctly

* No need for this

* Remove selectable

* Small stuff

* Merge

* Don't show projects on releaser profile

* Working version, only mainnets

* Only fetch mainnets on releaser page

* Improve loading and fetched states

* Copy update

* Fix only showing mainnets for ens

Co-authored-by: Jonas Daniels <[email protected]>
2022-09-07 22:35:57 +02:00
Joaquim Verges a6d1f46e5c Support chain agnostic release flow (#462)
* support gasless chain agnostic release flow

* also do it for releaser profile

* update to latest SDK/React
2022-09-06 21:47:29 -07:00
Nacho Iacovino cda4b0eee2 Fix long address on released contract og:image (#461) 2022-09-07 01:08:19 +02:00
Jonas Daniels 3f4404d8a7 Jd/fix emoji (#459)
* fix sometimes empty og image

* rename confusing version to ogv

* fix emoji on og pages
2022-09-06 21:32:32 +00:00
Avneesh AgarwalandJonas Daniels cdaf68ee70 fix: typos (#455)
Co-authored-by: Jonas Daniels <[email protected]>
2022-09-06 14:25:24 -07:00
Jonas Daniels 4c114a85f7 fix image sizes for OG 2022-09-06 12:32:33 -07:00
Jonas Daniels 3f92d012ff small OG fixes (#458) 2022-09-06 12:19:59 -07:00
Jonas Daniels a275770c79 Jd/og (#454)
* og generation

* internalize og:image generation

* correctly specify image dimensions

* remove unused constants

* downgrade puppeteer core & chrome-aws-lambda

* attempt to slim things down further

* add vercel.json?

* fix pattern

* slim things down further

* move unused-things

* massively shrink _app.ts

* small landingpage improvement

* extract screenshot-taking

* remove unsused screenshot

* deal with wrong url

* fix env stuff

* add profile og image

* fix release vs releases
2022-09-06 09:31:52 -07:00
Nacho Iacovino 4a04760d3b Fix claim conditions detection (#456)
Fix claim condition detection
2022-09-05 17:52:45 +00:00
Jonas Daniels d8d1bde28f fix data:b64 as img src (#453) 2022-09-04 16:29:21 +00:00
Jonas Daniels 4cd54a7f11 fix up CSP for firefox (#452) 2022-09-04 16:19:05 +00:00
Jonas DanielsandNacho Iacovino e9568849ac CSP (#446)
* CSP policy

* add nightly react build for iframe sandboxing

* push up changes

Co-authored-by: Nacho Iacovino <[email protected]>
2022-09-02 18:21:24 -07:00
Nacho Iacovino 4ab78a1747 Add x to dismiss announcement (#450) 2022-09-02 22:02:15 +02:00
Nacho Iacovino 1e0976b012 Fix portal links (#449) 2022-09-02 19:37:07 +00:00
Adam Majmudar 7f9960cbfc Add examples to Auth product page (#448)
* Add login with wallet flow to the dashboard

* Update authentication landing page examples
2022-09-01 17:36:00 -07:00
Nacho Iacovino 845216da6b Fix broken links (#444)
* Fix broken links

* Fix lgtm

* Fix lgtm
2022-09-01 14:18:17 +00:00
Nacho Iacovino 2f111dd7c1 Add binance faucet (#445) 2022-09-01 14:09:15 +00:00
Nacho Iacovino c9715452ae Fix contract explorer skeleton (#443) 2022-09-01 16:02:16 +02:00
Nacho Iacovino 56a6bf5262 Redirect to dashboard from landing (#442) 2022-08-31 02:35:20 +00:00
Nacho IacovinoandJonas Daniels c480421c97 Make nft drop contracts use custom contract page (#405)
* Make nft drop contracts use custom contract page

* Fix claim conditions detection of token drop

* Hide tab until we fix erc20 cc

* Fix hooks

* Fix lgtm

* Add MinterOnly checks

* Only show burn/transfer/airdrop if balance > 0

* Fix token balance

* Fix lgtm

* Redirect old urls

* Delete console.logs

* Fix import

* Add claim conditions banner

* Use old code tab for prebuilts

* Disable add button when conditions are saving

* Only show banner to admins

* Remove eslint disable

* Use activeChainId

* Don't render Drawer if not minter

* Clean stuff

* Stop breaking react

* Improvypvyvpy

* Show button but disable it

* Save omg

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-31 01:41:41 +00:00
Adam Majmudar 75ddf090e5 Fix product page colors (#441) 2022-08-30 14:41:36 -07:00
Joaquim Verges 761887a354 Enable BSC + add query param to force show the verify button (#440)
* Enable deploys on BSC

* force verify button to show up when adding query param
2022-08-30 13:24:04 -07:00
Jonas Daniels fafbfb883e fix binance urls 2022-08-30 10:29:12 -07:00
Jonas Daniels 34780d7fcd binance + monorepo nightly (#435)
* binance + monorepo nightly

* update to latest nightly

* even more nightly

* update versions

* stable versions
2022-08-29 23:50:56 +00:00
Nacho Iacovino 62c1c569a0 Add event filter (#438)
* Get eventTypes

* Filter works

* setSelectedEvent works

* Change URL when changing filter

* Move the Select

* Update get param
2022-08-29 16:40:46 -07:00
Nacho IacovinoandJonas Daniels d14bf14172 Release flow improvements (#412)
* Hide release notes on first release, default version to 1.0.0

* Fix conditional logic

* Add logo input

* Disable logo input when wallet disconnected

* Update batch upload icon

* Add audit input

* Move logo placement

* Render contract logo

* Render logo on release page

* Add audit link

* Fix lgtm

* Add links to portal for extensions

* Fix conditional

* Fix lgtm

* Replace hexagon with circle

* Display logo in contract list

* Fix lgtm

* Add released on timestamp

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-29 19:12:38 +00:00
Nacho Iacovino b97392d76d Small landing improvements (#437)
* Add bgColor prop to CodeBlock

* Fix npx thirdweb button clipping
2022-08-29 12:07:11 -07:00
Nacho Iacovino 01b9493f8e Fix mint additional supply (#436) 2022-08-29 17:02:03 +02:00
Jonas Daniels d287381463 fix mint -> airdrop button 2022-08-27 17:04:05 -07:00
Jonas Daniels 2859ef72a5 350x eng 2022-08-27 16:37:08 -07:00
Jonas Daniels 9b4550db4c remove the first deprecated pages (#434) 2022-08-27 15:16:12 -07:00
Jonas Daniels 15a2749c20 remove extension detect (#433)
* remove extension detect

* fix up verification status
2022-08-27 14:29:16 -07:00
Jonas Daniels 762995f349 add common ignore patterns for sentry (#432)
* add common ignore patterns for sentry

* fix up creator/minter title & description
2022-08-27 12:54:50 -07:00
Jonas Daniels d0f4cb66c4 remove names under investor logos 2022-08-27 11:47:17 -07:00
Jonas Daniels 50a6740b41 fix claim conditions on erc1155 (#431)
* fix claim conditions on erc1155

* upgrade deps again
2022-08-27 11:40:32 -07:00
Jarrod Watts 790f025b47 Change links to cli pages on portal (#430) 2022-08-27 11:41:39 +10:00
Nacho IacovinoandJonas Daniels 1019cba8c6 Fix infinite skeleton on first release (#429)
* Fix infinite skeleton on first release

* Just in case

* Delete log

* Replace isStale for isFetching

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-26 10:15:20 -07:00
Nacho IacovinoandJonas Daniels 50a87b0088 Update contracts source to latest release (#428)
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-26 10:02:02 -07:00
Jonas Daniels e8f84b4f8e add back sentry (#427)
* add back sentry

* fix up verify api route for now?

* upgraded deps
2022-08-25 23:12:38 -07:00
Jonas Daniels 00377463ab shrink a bunch of images, better landing page (#426) 2022-08-25 19:47:08 -07:00
Jonas Daniels f72728d03c start people on contracts 2022-08-25 17:17:47 -07:00
Joaquim Verges 4d28bfcd65 re-order side bar to the bottom on mobile (#425) 2022-08-25 16:21:16 -07:00
Joaquim Verges d1b8d1f046 always show verify on etherscan button (#424) 2022-08-25 12:27:30 -07:00
Joaquim Verges 443d0ba64a Update to SDK 2.3.41 (#423)
* Update to SDK 2.3.41

* add storage

* fix claim conditions isDataEqual check
2022-08-25 11:53:23 -07:00
Jonas Daniels 021b76fffc fix drawer hierarchy 2022-08-25 11:07:35 -07:00
Jonas Daniels ee5f1a3e4c add more stuff to homepage 2022-08-25 10:34:33 -07:00
Jonas Daniels 64aa248f68 slight change 2022-08-25 09:50:28 -07:00
Jonas Daniels 6d7e14811e update resources, update banner 2022-08-25 09:47:51 -07:00
Jonas Daniels 2e0ab6e6cf homepage updates (#421)
* homepage updates

* more homepage updates

* add about page
2022-08-25 01:09:25 -07:00
Nacho Iacovino 84facb9d37 Fix AdminOrSelf on permissions (#419) 2022-08-25 02:50:02 +02:00
Nacho IacovinoandJonas Daniels 602e49ec2a Separate read/write in contract explorer (#418)
* Separate read/write

* Remove duplication of icons

* Fix minH

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-24 12:55:47 -07:00
Jonas Daniels 9babbf16ed add careers link (#417) 2022-08-24 10:35:39 -07:00
Nacho IacovinoandJonas Daniels 579791f27a Add edit profile to release page (#416)
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-24 10:00:18 -07:00
Nacho Iacovino d38a7bd998 Add upsell button and move ABI to accordion (#415)
* Move ABI to bottom inside accordion, show OZ contracts

* Merge branch 'main' of https://github.com/thirdweb-dev/dashboard

* Add learn more button

* Stop filtering out extensions
2022-08-24 09:50:58 -07:00
Nacho IacovinoandJonas Daniels 8a2fc28e6d Fix redirect (#413)
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-24 09:11:31 -07:00
Nacho IacovinoandJonas Daniels 9d82986c40 Ni/drop fixes (#410)
* Add embed tab

* Rename Lazy Mint to Single Upload

* Update wording

* Fix logic

* Remove logs

* Hide reveal button if no batches

* Add optional chaining

* Reset forms after success

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-24 09:11:10 -07:00
Adam Majmudar 4645bc5957 Update product page copy (#411)
update copy
2022-08-24 09:00:12 -07:00
Nacho IacovinoandJonas Daniels afce321924 Update how we get contract explorer (#406)
* Update how we get contract explorer

* Use same fn on code tab

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-23 15:25:28 -07:00
Nacho Iacovino c8ed74012d Fix highlighting on contract explorer (#408)
Fix highlighting
2022-08-23 15:18:51 -07:00
Joaquim Verges c7079f10db update embeds to latest SDK (#407) 2022-08-23 13:59:06 -07:00
Adam MajmudarandJonas Daniels 77fce56632 Add all product pages and links on navigation (#385)
* Add all product pages and navbar

* Make bold text inline

* Fix bold font size

* a bunch of updates

* remove isExternal from mobile menu for products

* make hero image priority

* make buttons external if they start with "http"

* fix dashboard get started link

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-23 13:27:22 -07:00
Joaquim Verges 8c6e04f35e upgrade SDK to fix marketplace fetching external NFT contracts where names can be numbers (#404) 2022-08-23 10:35:22 -07:00
Nacho Iacovino 8de7bb7ed2 Add optional chaining to ABI (#403) 2022-08-23 19:02:11 +02:00
Nacho IacovinoandJoaquim Verges d2b68e176b Implement Claim Conditions extension (#398)
* Add detection for erc721

* Erc721 claim conditions working

* Add Claim Conditions for ERC1155

* Reset claim conditions work

* Fix logic for multiPhase

* Fix detectClaimable check

* This works but I hate it

* Clean console.logs

* Stop yalcing

* Add tracking

* Fix UI

* update to latest react sdk

Co-authored-by: Joaquim Verges <[email protected]>
2022-08-22 17:25:40 -07:00
Nacho Iacovino af8cdba5a9 Custom delayed reveal (#399)
* Add delayed reveal

* Add reveal form

* update react sdk

* Push lock

* Add tracking

* Fix build?

* Add reveal tracking

* Fix build again
2022-08-22 10:29:44 -07:00
Joaquim Verges 5c40bfad4c update sdk to 2.3.38 (#402)
* update sdk to 2.3.38

* fix build
2022-08-19 16:56:16 -07:00
Joaquim Verges 788f72d092 [Release] fix form submit + use custom deploy drawers for known prebuilt contracts (#401)
* fix form double submission issue on release page

* open custom deploy form for our own contracts

* reduce button size for learn more
2022-08-19 12:45:20 -07:00
Jonas Daniels 67ea8476a7 fix all templates links 2022-08-19 10:50:25 -07:00
Jonas Daniels c48d18a0ac fix masked avatar being low quality (#400) 2022-08-18 19:04:14 -07:00
Joaquim Verges f691e11d27 [DONT MERGE] Basic UX for factory release configuration (#394)
* Basic UX for factory release configuration

* remove logs

* add deploy button for implementations + query param to show the proxy UX

* stable SDK release
2022-08-18 14:31:50 -07:00
Nacho Iacovino 82e9a8f40b Fix transfer token (#397)
* Fix transfer tokens

* Remove file

* Fix typo
2022-08-18 21:34:00 +02:00
Nacho Iacovino 94fc8be900 Update TS SDK (#396) 2022-08-18 19:23:41 +02:00
Nacho IacovinoandJonas Daniels 7777cd81b8 Sources cleanup (#392)
* Add Copy ABI to relases

* Use Accordion, fix types

* Move accordion to own component

* Fix condition

* Move stuff around

* Rename source to sources

* Simplify logic

* Simplify logic in sources tab

* Fix abi type

* Fix more abi types

* Prettier did this

* Fix lgtm

* Get ABI from deployed contract

* Fix query

* Get ABI for prebuilts

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-17 16:59:58 -07:00
Nacho Iacovino 0e89a820be Fix client exception on Signature Drop Claim Phases (#393)
Fix client exception
2022-08-16 16:32:39 -07:00
db1a16166c Move function selector on code tab (#390)
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 12:40:39 -07:00
Adam MajmudarandJonas Daniels a6d5d6e573 Fix batch upload bug on edition drop (#391)
* Fix batch upload bug on edition drop

* Remove .yalc

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 12:18:56 -07:00
Nacho IacovinoandJonas Daniels 7b6e9a0fa6 Move remove button to settings tab (#388)
* Move remove button to settings tab

* Make on dashboard one single component

* Remove unused imports

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 12:11:07 -07:00
Nacho IacovinoandJonas Daniels 6ee73cfc2e Add isAdmin check on settings for prebuilts (#389)
* Add isAdmin check on settings for prebuilts

* Use AdminOnly component where it makes sense

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 11:39:29 -07:00
Nacho IacovinoandJonas Daniels 16350f99e3 Use custom contract pages for token contracts (#381)
* Use custom contract pages for token contracts

* Fix url on dashboard

* Fix logic

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 09:47:17 -07:00
03d0246203 Add link to take contract quiz (#384)
* Add link to take contract quiz

* Update pages/contracts/index.tsx

Co-authored-by: Jonas Daniels <[email protected]>

* Update pages/contracts/index.tsx

Co-authored-by: Jonas Daniels <[email protected]>

Co-authored-by: Jarrod Watts <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 09:36:55 -07:00
Nacho IacovinoandJonas Daniels b01c95568b Add reset flag to make signature drop single phase consistent (#387)
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 18:23:09 +02:00
Nacho IacovinoandJonas Daniels ca9333f3c6 Rework events (#386)
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 09:13:10 -07:00
Nacho Iacovino fb3a89f788 Add SEO to releaser page (#383) 2022-08-15 19:51:49 -07:00
Nacho Iacovino 227edb69ec Fix phrasing for token drop claim phases (#382) 2022-08-16 01:20:41 +02:00
Nacho Iacovino 2e1032d4c0 Disable "Next" button when invalid addresses found (#380)
Disable Next when invalid addresses found
2022-08-16 01:02:26 +02:00
Nacho Iacovino d780dd78bc Enable Rinkeby again (#379)
* Enable Rinkeby again

* Fix logic
2022-08-16 00:57:57 +02:00
Jonas Daniels 0d880b4640 fix date time? (#378) 2022-08-15 12:44:11 -07:00
Nacho IacovinoandJonas Daniels adb13cc148 Show toggles for prebuilts on custom contract pages (#374)
* Show toggles for prebuilts

* Fix lgtm

* useIsAdmin for prebuilts

* Revert back

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-15 09:28:29 -07:00
Joaquim Verges 1113a23f64 SDK update for delayed reveal audit + 1155 extensions (#377) 2022-08-13 14:41:18 -07:00
Nacho IacovinoandJonas Daniels 61a37f9bf4 Add skeletons for token loading (#376)
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-12 16:43:11 -07:00
Jonas Daniels 7cfdbd1443 Jd/fix error in tracking hook (#375)
* fix error in useTrack

* small improvement
2022-08-12 16:25:27 -07:00
Jonas Daniels c65366365e show contract name in dashboard instead "custom" when possible (#373)
* show contract name in dashboard instead "custom" when possible

* fix typescript issue
2022-08-12 15:43:40 -07:00
Nacho IacovinoandJonas Daniels 461aa1afad Mint additional supply tab for Erc1155Mintable (#371)
* Working for nft with yalc

* Add detected extension

* Add token burn, use dev release of react sdk

* Use new hook instead of old mutation

* Update react dev SDK

* Add clarification text

* Add mint additional supply tab

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-12 12:44:37 -07:00
Nacho IacovinoandJonas Daniels 7bddef4082 Prebuilt source tab (#366)
* Working hardcoded version

* Fetch correct contract for each prebuilt

* Fix lgtm

* Hardcode latest version, not main

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-12 12:26:53 -07:00
Nacho IacovinoandJonas Daniels 53dbc1b647 Add burn to NFTs and Token custom contract pages (#367)
* Working for nft with yalc

* Add detected extension

* Add token burn, use dev release of react sdk

* Use new hook instead of old mutation

* Update react dev SDK

* Add clarification text

* Number -> parseInt

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-12 20:40:37 +02:00
Jonas Daniels 2cb45be4ab clean up route transition a bit (#370) 2022-08-12 10:00:40 -07:00
Jonas Daniels 0263a34503 Jd/attempt fix slow loading times (#369)
* fix analytics hook

* attempt to fix slow loading times
2022-08-11 19:45:11 -07:00
Jonas Daniels 7b90cc99f4 fix analytics hook (#368) 2022-08-11 19:26:51 -07:00
Jonas DanielsandJoaquim Verges d58b7420f6 fix arb icon (#365)
fix arb meeting

Co-authored-by: Joaquim Verges <[email protected]>
2022-08-11 15:53:37 -07:00
Joaquim Verges 23790b6026 SDK deployer API update (#364) 2022-08-11 13:53:14 -07:00
Nacho IacovinoandJonas Daniels 7a3504774a Standarize tracking (#362)
* Standarize tracking

* Fix permissions

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-11 12:31:40 -07:00
Nacho Iacovino a39540e16e Fix horizontal scrollbar on release page (#361)
Fix horizontal scrollbar
2022-08-11 20:08:20 +02:00
Joaquim Verges 4b007320cb parse release/deploy analytics from ipfs data instead of UTM (#363)
* parse analytics from ipfs data instead of UTM

* remove unused var
2022-08-11 10:16:40 -07:00
Joaquim Verges 52e884764b Resolve contract names when available + marketplace getAll() fix (#360) 2022-08-10 16:21:39 -07:00
Nacho IacovinoandJonas Daniels af78321d88 Add events tab to contract panel (#354)
* Events tab working

* Fix to only use one component

* Add events to release page

* Fix icon

* Remove console.log

* Refactor a bit

* Fix key

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-10 21:58:38 +02:00
Nacho Iacovino 517066053f Add lazymint and batch upload to ERC1155 contracts (#359)
* Add single lazy mint to ERC1155

* Add batch upload to ERC1155

* Fix lgtm
2022-08-10 12:52:07 -07:00
Nacho Iacovino 1c86f9baa4 Paper cuts (#358)
* Add lineheight, add s when plural to licenses

* Fix link

* Change divider color

* Make avatar clickable on release contract page

* Reword asset role

* More reword
2022-08-10 21:44:36 +02:00
Nacho Iacovino c9a7387084 Code tab fixes (#357)
* Fix network

* Fix empty parameter
2022-08-10 21:39:04 +02:00
Nacho Iacovino 6f82e5c3f8 Disable rinkeby on custom contracts dpeloy (#356) 2022-08-10 21:32:06 +02:00
Joaquim Verges c8a9df7ac4 Fix release linking with deployed contracts (#355)
* Fix release linking with deployed contracts

* deduplicate getAll entries

* fix build
2022-08-09 21:32:53 -07:00
Jonas Daniels 0b804578ec fix custom contract permissions (#353) 2022-08-09 15:56:21 -07:00
Jonas Daniels 6f056783b5 fix some copy (#352)
* fix some copy

* fix it better

* remove unused import
2022-08-09 15:45:31 -07:00
Jonas Daniels c4c38654b5 releasing contract copy 2022-08-09 15:21:39 -07:00
Jonas DanielsandNacho Iacovino 88cc4a51c8 improve contract table (#351)
Co-authored-by: Nacho Iacovino <[email protected]>
2022-08-09 15:16:01 -07:00
Nacho Iacovino bc4355e500 Add missing role in multiwrap (#350)
* Filter permissions for our pre-builts

* Remove console.log

* Add missing role in multiwrap
2022-08-10 00:10:13 +02:00
Jonas Daniels a0a343648d use correct mutation 2022-08-09 14:20:32 -07:00
Jonas Daniels 27e55670a2 Jd/various improvements (#349) 2022-08-09 11:45:06 -07:00
Nacho Iacovino 3145093d0b Filter permissions for our pre-builts (#348)
* Filter permissions for our pre-builts

* Remove console.log
2022-08-09 11:34:18 -07:00
Nacho IacovinoandJonas Daniels f8f09a39fd Refix edit profile (#347)
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-09 10:34:29 -07:00
Jonas Daniels 588261671e attempt using dedicated alchemy url + better ipfs resolution (#344)
* attempt using dedicated alchemy url + better ipfs resolution

* fallback true instead of blocking maybe

* shallow render for redirect purposes

* small cleanup
2022-08-09 09:57:34 -07:00
Nacho Iacovino b788b915cb Fix edit profile (#346) 2022-08-09 18:09:27 +02:00
Nacho Iacovino ec25d688a5 Use correct detection on Transfer/Airdrop (#345)
Mintable to base ERC20
2022-08-09 12:18:32 +02:00
Nacho IacovinoandJonas Daniels 34c5dc243f Erc20 transfer and airdrop (#341)
* Add erc20 transfer

* Add airdrop

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-07 18:58:20 -07:00
Jonas Daniels f81d732a8f various quick wins (#343)
* various quick wins

* fix more various things, unify table for functions, variables, events, etc

* input types table and markdown parsing for the fn comments

* attempt to fix the drawer behavior
2022-08-07 18:51:52 -07:00
Nacho Iacovino bb8e2fb14d Fix useContractCall code snippet (#342) 2022-08-07 14:12:11 -07:00
Jonas Daniels cf3f200658 various improvements (#340)
* various improvements

* fix LGTM
2022-08-05 11:07:06 -07:00
Jonas Daniels 73861c778e upgrade dependencies (#339) 2022-08-04 22:08:23 -07:00
Nacho IacovinoandJonas Daniels 80df5a1a55 NFT drawer (#336)
* Add table styles

* Working version with basic data

* Working for Erc721

* Use react dev build

* Only render one drawer

* Fix transfer tab for erc1155

* Delete unused stuff

* Fix logic

* Fix tab styles

* Move details to default tab

* Open from right side

* Add airdrop tab

* Add tracking to token transfer

* small cleanups

* slightly more small updates

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-04 19:51:35 -07:00
Nacho Iacovino dd2eb1330a Add custom tracking (#338)
* Add tracking to release pages

* Add wallet to specific-release

* - to _

* Team profile _

* Finish - to _

* Add tracking to all custom contract actions

* Add edit profile attempt

* Update to snake_case

* Fix stuff

* Fix build

* Simplify permissions
2022-08-04 18:42:19 -07:00
Jonas Daniels ceb29a69ec fix streched profile pics (#337) 2022-08-04 14:31:11 -07:00
Jonas Daniels 1d60d9c76b add pageId to every page (#335)
* add pageId to every page

* turn off debug mode for posthog

* better organization of page ids

* fix breakage

* fix various small things
2022-08-04 10:31:16 -07:00
Adam Majmudar 2d571774b4 Add product page components and hero (#328)
* Add landing page hero section

* Update product page components

* Add cards and update graphics

* Fix gradient bgu

* Rename authentication -> auth

* remove use of authentication

* Update mobile view

* Update buttons

* Update auth page metadata

* Update example images

* Fix menu styling
2022-08-03 18:07:14 -07:00
Joaquim Verges 884cbf3bda Fix resolving publish metadata from deployed contracts + UI polish (#334) 2022-08-03 12:30:08 -07:00
Nacho Iacovino 8f50621236 Filter used CSV on animation_url files (#333) 2022-08-03 13:08:21 +02:00
Nacho IacovinoandJonas Daniels b69ca3203c New /contracts page (#330)
* Edit header

* First working version

* Delete learn more

* Delete unused imports

* Show 2.0.0 for our pre-builts

* Change CTA to Deploy

* Add released by

* Link to releaser page

* Link to deploy page

* Fix back button

* Some more reorder

* Re-order

* UI small changes

* Fix loading logic

* fix various small things

* small other improvement

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-02 23:23:37 -07:00
Jonas Daniels d301daeefe Jd/fix various things (#332)
* fix seo image generation

* slight share button improvement
2022-08-02 22:47:36 -07:00
Jonas Daniels 9490de6f26 use relative url for api route on client 2022-08-02 21:40:30 -07:00
Jonas Daniels 6e09d7f85b much longer cache for releases (#326)
* much longer cache for releases

* lots of cache changes etc

* fix vercel url issue

* fix small further things

* only revalidate on actions that actually cause caches to get stale
2022-08-02 21:34:44 -07:00
Jarrod Watts 2037194aeb Update links according to new sidebar (#331) 2022-08-03 11:02:34 +10:00
Adam Majmudar 62b7928757 Add product pages to home page navigation (#308)
* Add product pages to navigation

* Update navigation

* Update nav

* Update movile view and footer
2022-08-02 16:12:26 -07:00
Nacho Iacovino b2e21d27a7 Fix batch upload types (#329) 2022-08-02 14:08:52 +02:00
Nacho Iacovino 5cc6d6379a Add single lazy mint (#324) 2022-08-02 03:20:41 +02:00
Nacho IacovinoandJonas Daniels 70d03dafc2 Deploy drawer (#317)
* Make deploy from release a drawer

* Fix spacing

* Fix menu going off-screen

* Remove another instance of matchWidth

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-02 03:13:14 +02:00
Joaquim Verges 086fc1093f redirect to ENS from /custom/new (#327)
more ENS fixes
2022-08-01 18:10:51 -07:00
Joaquim Verges c3c9ef3686 add github to profile edit modal (#325) 2022-08-01 17:51:25 -07:00
Nacho IacovinoandJonas Daniels fd5dcc3626 Add signature drop to gas estimator (#319)
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-01 22:09:51 +02:00
Jonas DanielsandNacho Iacovino 23ea30acda upgrade dependencies (#323)
Co-authored-by: Nacho Iacovino <[email protected]>
2022-08-01 21:58:54 +02:00
Nacho Iacovino 3f2d87b998 Use activeChainId hook (#322)
* Use activeChainId hook

* Delete log
2022-08-01 21:48:46 +02:00
Joaquim Verges f9f4d899e6 fix redirecting to ENS release link (#321) 2022-08-01 12:42:33 -07:00
Nacho IacovinoandJonas Daniels f70f779ba6 Delete readme heading (#320)
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-01 11:52:20 -07:00
Nacho Iacovino 656332031d Disable Rinkeby deployments (#318) 2022-08-01 11:47:45 -07:00
Jonas DanielsandNacho Iacovino 688dc80043 lots of changes to handle new routing (#310)
* lots of changes to handle new routing

* handle some redirect cases

* remove unused stuff

Co-authored-by: Nacho Iacovino <[email protected]>
2022-08-01 09:57:40 -07:00
Nacho Iacovino bd9aa73445 Actually fix max claimable (#316)
* Trim qty and maxClaimable

* Simplify map

* Add clarification

* Actually fix maxClaimable
2022-07-31 12:40:28 +02:00
EimanandJonas Daniels a08fd3e0e9 removing defaulting to 0 (#315)
* removing defaulting to 0

* reverting to previous version of code

* cleaning up

* fix revert

Co-authored-by: Jonas Daniels <[email protected]>
2022-07-31 00:19:50 -05:00
Jonas Daniels 6814f17d38 fix replit link 2022-07-28 22:44:40 -07:00
Nacho Iacovino 25d2c8a582 Small landing fixes (#314)
* Trim qty and maxClaimable

* Simplify map

* Add clarification

* Small landing fixes
2022-07-28 20:26:59 -07:00
Nacho Iacovino bb099ca072 Trim quantity/maxClaimable (#313)
* Trim qty and maxClaimable

* Simplify map

* Add clarification

* Fix lgtm
2022-07-28 13:42:28 -07:00
Nacho Iacovino e5e8c9413b Fix code tab on custom contracts (#312)
* Fix code tab on custom contracts

* Add ethers to js install
2022-07-28 22:00:28 +02:00
Jonas Daniels 0eb5ac2bdb achieve some quick wins (#311) 2022-07-28 09:19:58 -07:00
Nacho IacovinoandJonas Daniels 482657bb68 Add helper text to claim phases (#305)
* Add helper text to claim phaseS

* Update copy

* Fix copy, remove gateway recommendation

Co-authored-by: Jonas Daniels <[email protected]>
2022-07-27 18:15:14 -07:00
Jonas Daniels d23b27bad0 small updates (#309) 2022-07-27 18:11:26 -07:00
Jonas Daniels ab9494897f upgrade react query to stable (#307) 2022-07-27 11:51:18 -07:00
Nacho Iacovino 1d93d2494c Fix code suggestion on custom contracts (#306)
* Fix code suggestion on custom contracts

* Delete unnecessary block

* Fix lgtm
2022-07-27 02:35:51 +02:00
Nacho Iacovino b65b677688 Convert name/desc to string on csv batch upload (#304)
Convert name/desc to string
2022-07-27 00:22:34 +02:00
Nacho Iacovino 7fc1eaaff3 Replit replacement (#303)
* Working version

* Update buttons

* Update lock

* Fix border
2022-07-26 23:57:05 +02:00
Nacho Iacovino 78ce11b012 Fix maxClaimable preview (#302) 2022-07-26 19:04:02 +02:00
Nacho IacovinoandJonas Daniels 0da7132e36 Make CSV use OS standard (#293)
* Make csv use OS standard

* Update utils/batch.ts

Co-authored-by: Jonas Daniels <[email protected]>

Co-authored-by: Jonas Daniels <[email protected]>
2022-07-26 00:35:33 +02:00
Nacho Iacovino 7116b90ec2 Enable minting additional supply (#294)
* Enable minting additional supply

* FIx error
2022-07-26 00:32:18 +02:00
Nacho Iacovino 851170b297 Fix description on /contracts (#299)
* Fix description on /contracts

* Change order

* Fix lgtm
2022-07-26 00:28:51 +02:00
Nacho Iacovino 72a2bb91a1 Update broken links (#300)
* Update broken links

* Fix lgtm
2022-07-26 00:25:08 +02:00
Nacho Iacovino c3a6b3a853 Update embeds bgs (#301) 2022-07-26 00:21:58 +02:00
Nacho Iacovino 82eae90775 Fix embeds borders (#298) 2022-07-25 19:37:52 +02:00
Nacho Iacovino a34dca452c Send chain_id (#296) 2022-07-25 19:00:26 +02:00
Nacho Iacovino 7990a877b0 Fix chain names (#297) 2022-07-25 18:52:57 +02:00
Adam Majmudar c2e0d94d18 Update login-with-wallet example on authentication product page (#295) 2022-07-24 16:34:05 -07:00
Nacho Iacovino 31b8ace09e Fix SEO (#292)
* Fix SEO

* Fix lgtm
2022-07-22 14:54:01 +02:00
Nacho Iacovino ec5fbc035e Markdown prettify (#289) 2022-07-21 21:59:35 -07:00
Nacho Iacovino be8cdd6d79 Update sig drop max mint on embeds (#291) 2022-07-22 03:07:04 +02:00
Adam Majmudar e6caf8950e Remove pricing from the landing pages and add metadata (#290)
* Remove pricing from the landing pages and add metadata

* Update SEO
2022-07-21 17:56:37 -07:00
Nacho Iacovino c888e1c9d6 Add avatar in og-image (#288)
* Add avatar in og-image

* Delete logs

* Fix avatar logic

* Delete log

* Append conditional
2022-07-22 02:28:32 +02:00
Nacho Iacovino bd20e543bb Release in deploy page (#287)
* wip

* Fix logic, create component

* Make button small

* Improve scroll

* Don't use useMemo

* Back to the classics

* Delete logs
2022-07-22 01:00:13 +02:00
Jonas Daniels c12b41fddd now with hexagon avatar + parsing for markdown (#285) 2022-07-20 14:45:11 -07:00
Nacho Iacovino 86a981e361 Add avatar edit (#284)
* Add avatar edit

* Simplify

* Remove domain
2022-07-20 11:36:04 -07:00
Nacho Iacovino 37de0ca24e Fix version placeholder (#282)
* Update Embed sdks

* Fix version placeholder
2022-07-20 17:15:26 +02:00
Jonas Daniels 49395e8e37 bring back replaceAll because instead just upgrade the node version... 2022-07-19 21:59:04 -07:00
Jonas Daniels f94bbd5069 remove replaceAll 2022-07-19 21:57:59 -07:00
Jonas Daniels 2ffccb31fc fix 500 error because of lazy loading of functions for no reason 2022-07-19 21:53:49 -07:00
Jonas Daniels f3a8b4665e better release tabs (#281) 2022-07-19 21:29:01 -07:00
Jonas Daniels 6660fad2c9 rudimentary ens support for releases (#280)
* rudimentary ens support for releases

* fix merge

* fix one more resolver error

* released contract with ens stuff

* fix og title
2022-07-19 20:45:42 -07:00
Nacho IacovinoandJonas Daniels e96ceb8ff5 Update seo (#279)
* Update Embed sdks

* Update SEO

* Fix build

* fix releaser logic

* fix it better

Co-authored-by: Jonas Daniels <[email protected]>
2022-07-19 20:03:55 -07:00
Jonas Daniels c84ed8ab34 enable sig drop on mainnet (#278) 2022-07-19 16:02:00 -07:00
Nacho Iacovino 9fe29f9d11 Batch upload for custom contracts (#277)
* Make two batch files into one

* Disable Delayed Reveal on Edition Drop

* Don't use full width drawer for airdrop/snapshot

* big wip

* Detect correct feature

* Make it work

* phrasing plz

* Fix lgtm

* Update SDK
2022-07-19 15:54:09 -07:00
Nacho Iacovino 6eee14ef37 Autogenerated og image (#276)
* Update Embed sdks

* Rename features to extension, add og-image

* Add licenses

* Fix url

* Update url
2022-07-19 15:02:25 -07:00
Nacho Iacovino 8c0c04fbde Hide breadcrumbs (#275)
* Update Embed sdks

* Hide breadcrumbs
2022-07-19 21:49:17 +02:00
Jonas Daniels 0c1e129a3a further improve ssr (#273)
* further improve ssr

* further improvements

* add sources panel

* add sources tab
2022-07-19 11:34:32 -07:00
Nacho Iacovino 324b296c4a Add og assets (#274)
* Update Embed sdks

* Add og-image assets
2022-07-19 19:22:10 +02:00
Adam MajmudarandJonas Daniels c1d6989d41 Fix IPFS upload bug (#271)
Upgrade SDK version

Co-authored-by: Jonas Daniels <[email protected]>
2022-07-18 20:39:08 -07:00
Jonas Daniels f1d52ea7d9 fix images (#272) 2022-07-18 20:32:28 -07:00
Jonas Daniels c831b6a415 fix contract redirect better 2022-07-18 20:13:30 -07:00
Jonas Daniels 09bdef41f6 fix app-shell a bit 2022-07-18 18:34:14 -07:00
Jonas Daniels 08d7b4ef79 Jd/various released contract improvements (#270)
* various released contract improvements

* fix contract image stuff

* fix link

* try it with readonlyRpc setup

* try it with default polygon

* add note
2022-07-18 18:29:09 -07:00
Jonas Daniels 4f6f069621 ssr for contract release page for SEO (#269)
* ssr for contract release page for SEO

* use url from alchemy map
2022-07-18 16:33:01 -07:00
Nacho Iacovino 6ff1df6c56 Version in URL (#268)
* Update Embed sdks

* Add version in the URL

* Convert to optional catch-route
2022-07-18 22:51:58 +02:00
Nacho IacovinoandJonas Daniels f466b491ab Add view contracts button (#264)
* Update Embed sdks

* Add view contracts button

* Fix lgtm

Co-authored-by: Jonas Daniels <[email protected]>
2022-07-18 21:09:47 +02:00
Jonas Daniels 47f6595425 upgrade deps (#267) 2022-07-18 11:47:17 -07:00
Adam Majmudar 5365d7745e Add authentication product landing page (#265)
* Restructure navigation on mobile and desktop

* Add initial landing page

* Update navigation and integrations section

* Update navigation links

* Update fixes

* Add verify to the code snippets

* Update feedback

* Update react snippet

* Add examples tracking

* update hero image
2022-07-17 18:34:01 -07:00
Jake Loo 7a0d37b399 dev sdk build to fix contract publish (#266)
* dev sdk build to fix contract publish

* update sdk
2022-07-17 12:40:54 -07:00
4a14491515 Etherscan verification API (#231)
* etherscan verification API

* Add info hints for arrays and struct inputs (#241)

* Add placeholder text for arrays and structs

* Update spacing

* Update JSON message

* Add testnet support for new contracts (#226)

* Add testnet support for new contracts

* Fix already selected chain

* Sig drop coming soon

* Enable multiwrap on mainnets

* Fix pack url and disable on l2 testnets

Co-authored-by: Jonas Daniels <[email protected]>

* Fix push to previous route (#229)

* Fix push to previous route

* Merge branch 'main' of https://github.com/thirdweb-dev/dashboard into ni/push-to-previous-route

* Prettier error and tx responses on contract explorer (#243)

Add tx hash

Co-authored-by: Joaquim Verges <[email protected]>

* Enable signature drop custom page (#230)

* WIP of enabling signature drop

* Update SDK

* Fix copy

* fix build error

* Reset to empty array if maxClaimable 0

* Consistent methods

* Fix filter

* Fix build

* Add embed

* Fix useEffect

Co-authored-by: Joaquim Verges <[email protected]>

* Fix single NFT lazy mint on Signature Drop (#246)

Fix single NFT lazy mint

* Add activity tab to custom contracts (#245)

* Move activity display to activity tab

* Add new activity table

* Update padding on accordion

* Show at most 2 events on a row

* Removed unused imports

* polish ui

* ui polish

* log RPC url

* add readonly settings

* switch to default providers

* update latest SDK, cleanup

* show error message when contract is not released

Co-authored-by: Adam Majmudar <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2022-07-14 13:56:16 -07:00
Nacho Iacovino fa265a3637 Update Embed sdks (#263) 2022-07-14 22:04:13 +02:00
Nacho Iacovino 0ad74744f6 Fix landing dropdown (#262)
* Fix landing dropdown

* Fix lgtm
2022-07-14 21:42:36 +02:00
Nacho IacovinoandJoaquim Verges 073e7efb55 Edit your own profile (#260)
* Edit works

* Logic check

* Better logic check

* Fill the form with existing data

* Add table to page

* Fix link

* Grab description/version with disconnected wallet

* Fix props

* Simplify code

* Update size

* some extra polish, show bio

Co-authored-by: Joaquim Verges <[email protected]>
2022-07-13 22:36:01 -07:00
Nacho Iacovino cf19908ff7 Add enabled features to contract details (#261) 2022-07-13 22:19:39 -07:00
Adam Majmudar 61db843648 Add initial contract code tab (#253)
* Add initial contract code tab

* Add code sections for start, read, write

* Add edge case when no input name

* Add contract call and data code
2022-07-13 17:36:14 -07:00
Nacho Iacovino 20b7a42bb1 Accept glb and usdz in batch upload (#258) 2022-07-14 02:22:55 +02:00
Nacho Iacovino 28f0a17492 Add png logo (#257) 2022-07-13 20:52:15 +02:00
Joaquim Verges 97dc3e12d8 Fix deploy/release action button logic + show descriptions for released contract rows (#256) 2022-07-12 23:41:21 -07:00
Joaquim Verges 80a2d2bd0b Fix extracting license information from released contracts (#255)
* Fix extracting license information from released contracts

* unused imports
2022-07-12 22:22:01 -07:00
Nacho Iacovino 74c83e2362 Fix transfer and burn in sig drop (#254)
* Fix transfer and burn in sig drop

* Add typings, fix cache

* Delete console.log
2022-07-13 03:34:51 +02:00
Nacho IacovinoandJoaquim Verges 9c4e3525c1 Released contract page (#244)
* wip

* Redirect to /deploy namespace

* Prettier

* Add dependency array

* Fix build?

* Fix build

* Make release and deploy the same structure

* Fix mobile

* fix redirect logic and table prop

* remove unused prop

* restore changes from main lost from refactor

* redirect to deploy page after publish

* small polish on deploy contract form

* move padding up to card level

* wip

* wip releaser profile

* Add new hooks

* wip

* UI work

* Comment button for now

* Create release contract page

* Add socials

* Add basic releaser page

* Wip on releaser page

* Add version selector

* Add contract details

* Get rid of breadcrumbs

* Add description

* Add tweet intent

* Add copy url button

* Small fixes

* Style opinions

* Functions component

* polish card

* Fix redirect

* update sdk

* Delete console.logs

* Fix formatting

* add tooltips with comments

* Change link on /contracts/new

* update width

* Basic releaser page

* Fix page

* upgrade sdk to fix contract function comment parsing and update logic

* Fix lgtm

* bust cache

* Update SEO and tweet intent

Co-authored-by: Joaquim Verges <[email protected]>
2022-07-13 00:56:44 +02:00
Nacho Iacovino d5386a9f2b Only show ToS when wallet connected (#252)
Only show ToS when connected
2022-07-12 18:47:36 +02:00
Nacho Iacovino 64d2b4828d Add option to randomize batch upload (#242)
* Randomize batch upload

* Update copy

* Update copy

* Fix deprecated warnings

* Make shuffle a SelectOption

* Fix copy

* Go back to a checkmark
2022-07-11 21:34:05 +02:00
Nacho Iacovino dc193649f0 Claim phases public improvements (#250)
Hide buttons, update copy
2022-07-11 20:44:11 +02:00
Nacho Iacovino 2bff443a47 Make claim phases public (#249) 2022-07-11 20:11:09 +02:00
Nacho Iacovino 53176adb40 Update landing chains (#248) 2022-07-11 18:32:48 +02:00
Adam Majmudar 4429e7184d Add activity tab to custom contracts (#245)
* Move activity display to activity tab

* Add new activity table

* Update padding on accordion

* Show at most 2 events on a row

* Removed unused imports
2022-07-08 16:23:55 -04:00
Nacho Iacovino d6fe693b72 Fix single NFT lazy mint on Signature Drop (#246)
Fix single NFT lazy mint
2022-07-08 13:08:45 -07:00
Nacho IacovinoandJoaquim Verges b59471034e Enable signature drop custom page (#230)
* WIP of enabling signature drop

* Update SDK

* Fix copy

* fix build error

* Reset to empty array if maxClaimable 0

* Consistent methods

* Fix filter

* Fix build

* Add embed

* Fix useEffect

Co-authored-by: Joaquim Verges <[email protected]>
2022-07-08 16:19:22 +02:00
Adam MajmudarandJoaquim Verges de9851df9b Prettier error and tx responses on contract explorer (#243)
Add tx hash

Co-authored-by: Joaquim Verges <[email protected]>
2022-07-07 16:54:33 -07:00
Nacho Iacovino 4345d9731d Fix push to previous route (#229)
* Fix push to previous route

* Merge branch 'main' of https://github.com/thirdweb-dev/dashboard into ni/push-to-previous-route
2022-07-08 00:24:37 +02:00
Nacho IacovinoandJonas Daniels 00c6e349a1 Add testnet support for new contracts (#226)
* Add testnet support for new contracts

* Fix already selected chain

* Sig drop coming soon

* Enable multiwrap on mainnets

* Fix pack url and disable on l2 testnets

Co-authored-by: Jonas Daniels <[email protected]>
2022-07-07 13:33:23 -07:00
Adam Majmudar 981a47afbb Add info hints for arrays and struct inputs (#241)
* Add placeholder text for arrays and structs

* Update spacing

* Update JSON message
2022-07-07 15:18:15 -04:00
Adam MajmudarandJarrod Watts fe9dffc739 Update navigation links (#227)
* Update navigation links

* Update navigation links

* Add back pricing

* Add hover popover

* Update navbar

Co-authored-by: Jarrod Watts <[email protected]>
2022-07-07 11:03:52 -04:00
Nacho IacovinoandJoaquim Verges 878390d429 Redirect to deploy namespace (#239)
* wip

* Redirect to /deploy namespace

* Prettier

* Add dependency array

* Fix build?

* Fix build

* Make release and deploy the same structure

* Fix mobile

* fix redirect logic and table prop

* remove unused prop

* restore changes from main lost from refactor

* redirect to deploy page after publish

* small polish on deploy contract form

* move padding up to card level

Co-authored-by: Joaquim Verges <[email protected]>
2022-07-06 19:00:40 -07:00
Joaquim Verges b0d56dee77 rename and polish /contracts/new/custom (#240) 2022-07-06 15:51:57 -07:00
Joaquim Verges 27765e92a9 update sdk and add 'releasing as' in publish step (#238)
* update sdk and add 'releasing as' in publish step

* change button color if disconnected
2022-07-06 14:13:19 -07:00
Nacho Iacovino e1473a2d19 Revert IPFS gateway (#237) 2022-07-06 19:47:54 +02:00
Nacho Iacovino 11f6be19ec Fix max code size error (#235) 2022-07-06 19:44:17 +02:00
Nacho IacovinoandJoaquim Verges 5774fd64c7 New publish flow (#233)
* Only publish one contract

* Working with version form

* Add title

* Add changelog

* Disable input if not connected wallet

* Add prepublish

* Working version

* show version insteaf of ABI for published contract rows

* small polish

* remove 'v' from version

* Address feedback

* Add custom image

* Fix bugs, update text

* Fix lgtm

* change text to release terminology

* change link

Co-authored-by: Joaquim Verges <[email protected]>
2022-07-06 19:36:30 +02:00
Adam Majmudar 8885f651dd am/contract-explorer (#232)
* Add comments to contract explorer

* Add transaction value for payable transactions

* Update
2022-07-06 13:17:49 -04:00
Nacho Iacovino 201f2c39ce Update default gateway (#236) 2022-07-06 18:52:42 +02:00
Nacho Iacovino be4f8a2ec5 Add customization to embeds (#228)
* Add customization form to embeds

* Fix lgtm

* Remove gray as option
2022-07-06 17:39:46 +02:00
Nacho Iacovino 276a746644 Rename to contract explorer (#234) 2022-07-06 17:27:35 +02:00
Jake Loo f523829412 Update index.tsx 2022-07-04 18:51:59 -07:00
Jake Loo 11b0d5cca7 Update index.tsx 2022-07-04 18:44:29 -07:00
Nacho IacovinoandJonas Daniels 3fdf16c2ca Fix multiwrap getAll (#224)
* Fix multiwrap on getall

* Go back to enumerable

Co-authored-by: Jonas Daniels <[email protected]>
2022-07-01 14:26:10 -07:00
Joaquim Verges be5cf28015 bust cache 2022-07-01 14:13:54 -07:00
Joaquim Verges 7005b5eb2c Fix custom contracts not loading (react SDK update) (#225)
Fix custom contracts not loading
2022-07-01 13:59:40 -07:00
Nacho Iacovino 49cc6337a7 Fix optimism add network on embed (#223) 2022-07-01 20:59:40 +02:00
Adam Majmudar 1559b872f0 Parse array and tuple inputs on contract code component (#220)
* Add correct syntax for golang

* Fix python and go snippets

* Add correct golang parsing and textarea

* Add JSON string line

* Rearrange functions
2022-07-01 13:54:47 -04:00
Joaquim Verges 8c66407835 Update SDK to handle publish versioning (#222) 2022-06-30 21:42:25 -07:00
Nacho Iacovino 1f270fe6bb "rinkeby" to chainName on Code tab (#221)
* Rinkeby to {{chain}}

* chain -> chainName
2022-07-01 03:43:20 +02:00
Nacho Iacovino 2edd66628e Merge both batch uploads into one (#219)
* Make two batch files into one

* Disable Delayed Reveal on Edition Drop

* Don't use full width drawer for airdrop/snapshot
2022-07-01 03:36:20 +02:00
Joaquim Verges f097b50f8a update to latest SDK (#218) 2022-06-30 13:10:09 -07:00
Joaquim Verges 1dc0490070 Gasless publish flow (#216)
* gasless publish flow

* switch to publishing one at a time for now to support gasless
2022-06-29 15:18:24 -07:00
Nacho Iacovino 9e706d0e86 Fix max claimable on embed (#217) 2022-06-29 05:13:30 +02:00
Nacho IacovinoandJonas Daniels 4885193acb New "Add to Dashboard" flow (#213)
* Add checkbox on deploy

* New add to dashboard flow

* Fix form

* Add tracking

* Fix build

* Fix lgtm

* Switch logic

* Delete console.log

* Remove add to dashboard from prebuilt

* Fix layout shift

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-29 01:34:38 +02:00
Nacho IacovinoandJonas Daniels 92ad3877cf Enumerable check (#215)
Co-authored-by: Jonas Daniels <[email protected]>
2022-06-28 14:15:39 +02:00
Nacho IacovinoandJonas Daniels 2a2b6a9e34 Add audit links (#212)
* Add audit links

* Fix lgtm

* Update audited badge

* Use audit logo on card

* Prettier pls

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-27 23:44:36 -07:00
Jonas Daniels bfb96c5330 Jd/slight activity feed improvmenents (#214)
* slight activity feed improvements

* fix huge activity feed issues
2022-06-27 17:58:16 -07:00
Jonas Daniels a07597fbde activity feed (#211)
* upgrade deps & pin react-hook-form for now

* add additional chains to marketplace listing disabled list

* upgrade deps

* custom contract-code-yalc

* real SDKs

* fix some basic issues
2022-06-27 15:56:22 -07:00
Joaquim Verges a1df68b915 Fix splits with decimal percentages (#210)
* Fix splits with decimal percentages

* eslint
2022-06-25 21:42:15 -07:00
Nacho IacovinoandJonas Daniels 85c8e7184f Deploy flow with thirdweb deploy (#202)
* Add /custom flow

* Add step-0 to ftux

* Update command

* Fix divider placement

* Removed unused

* Remove mt

* Update text

* Update icon

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-24 16:03:59 -07:00
Jarrod Watts 259f894d7c Jw/change urls (#209)
* Add P2E example github url

* Change Contract Cards to link to the top level overview page on portal for that category
2022-06-24 10:08:51 -07:00
Jonas Daniels 548eff41a8 update interact with contract ui (#208)
* update interact with contract ui

* fix eslint
2022-06-23 15:31:04 -07:00
Jarrod Watts c335ea9e3f Update to 2.4.4 react package (#206) 2022-06-23 09:04:38 -07:00
Nacho IacovinoandJonas Daniels 78c00505ba Enable L2s (#204)
* Enable L2s

* push up changes

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-22 20:17:38 -07:00
Joaquim Verges a67cfaff1f use official AVAX rpc url 2022-06-21 11:54:30 -07:00
Nacho Iacovino 2b9f952c08 Fix combobox (#205) 2022-06-21 11:46:19 -07:00
Nacho Iacovino af1a2c6fce Fix ftux tracking (#201) 2022-06-18 22:42:24 -07:00
Joaquim Verges c0c280cf5a update react package to fix gnosis balance issue (#200) 2022-06-18 17:49:59 -07:00
Nacho Iacovino 99a892d9c9 Old/New FTUX (#199)
* Move learn more

* Redirect to /contracts if no contracts found

* Hide navbar connect wallet to avoid duplication

* Track wallet_connected and connector

* Register chainId and balance

* Fix learn more placement

* Remove unreachable code

* Only redirect when fetched

* Fix magic register

* Edge case of projects but no contracts

* Delete console.log

* Flow working

* UI changes

* Remove unused imports

* Fix link to /new

* Add ERC badge, fix descriptions

* Add tracking

* Add learn more

* Add attempt/failed connect wallet events

* Add sdk context
2022-06-17 23:39:35 -07:00
Jonas Daniels 4d4a23bf14 disable listing on avax & fantom testnet (#198) 2022-06-17 16:22:50 -07:00
Nacho IacovinoandJonas Daniels 367137538a Update privacy/tos notice (#128)
* Update privacy/tos notice

* Rename NightlyNotice -> PrivacyNotice

* fix form

* do not flicker modal during loading of state

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-17 16:02:33 -07:00
Nacho Iacovino 9cc65c0654 Small ftux changes (#197)
* Move learn more

* Redirect to /contracts if no contracts found

* Hide navbar connect wallet to avoid duplication

* Track wallet_connected and connector

* Register chainId and balance

* Fix learn more placement

* Remove unreachable code

* Only redirect when fetched

* Fix magic register

* Edge case of projects but no contracts

* Delete console.log
2022-06-16 21:18:12 -07:00
Nacho Iacovino 37a6b4b112 Change order on /contracts (#196)
* Change order on /contracts

* Fix punctuation
2022-06-16 12:39:10 -07:00
Jonas Daniels 995fb99c47 support .usdz file extension (#195)
* support usdz

* upgrade deps
2022-06-15 17:59:16 +10:00
Nacho Iacovino 08b21bbd6a Disable leave confirm (#194)
* Disable useLeaveConfirm

* Remove console.log
2022-06-14 17:48:24 -07:00
Nacho IacovinoandJonas Daniels 847adb5774 Fix metadata detection (#193)
* Fix metadata detection

* Switch logic

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-14 17:12:29 -07:00
Nacho IacovinoandJonas Daniels fcba9f7bc1 Add all new chains (#191)
* Add all new chains

* Import from SDK

* Add RPC urls

* Fix type error

* Fix currency map

* Fix build

* Fix imports

* Add faucets, fix stuff

* Rename

* Add Optimism/Arbitrum icons

* Disable arbitrum/optimism

* Fix build

* Fix build again

* Update SDK

* Update TypeScript SDK

* Add registry

* Fix faucets

* Update embeds

* slight changes

* Update embeds

* Filter gnosis, update optimism kovan alchemy url

* Simplify transfer modal

* Remove console.logs

* Fix embeds

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-14 17:02:21 -07:00
Nacho IacovinoandJonas Daniels 9a344759b0 Make add to dashboard a modal (#192)
* Make add to dashboard a modal

* fix add to dashboard modal logic

* computer does not lie

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-14 16:55:46 -07:00
Jonas Daniels a58573ab14 select combobox input on focus 2022-06-10 14:04:04 -07:00
Jonas Daniels b740f6575b interact with contract (#188)
* interact with contract

* actually check in libs bruh
2022-06-10 13:20:03 -07:00
Joaquim Verges c284866642 Show contract source code tab when available (#187)
* show contract source code when available

* update sdk to add timeout

* add message on errror to use CLI 0.5+

* add link to portal
2022-06-10 13:13:56 -07:00
Jonas Daniels 092451dd4c fix gnosis safe (#189) 2022-06-10 13:07:04 -07:00
Jonas Daniels e450d4ec08 upgrade to stable version of sdk (#186) 2022-06-09 16:35:17 -07:00
Jonas Daniels 05748cf9aa fix sdk with dev build (#185) 2022-06-09 15:27:11 -07:00
Nacho Iacovino 62e37fa80a Downgrade SDK (#184)
* Working version

* Stable react version
2022-06-09 12:41:51 +02:00
Nacho Iacovino 1a59154338 Fix buggy prompt on claim phases (#181)
* Only prompt when necessary

* Fix currencyAddress

* Fix snapshot

* Fix example CSV

* Nitpicky length stuff
2022-06-09 12:17:00 +02:00
Jonas Daniels 33b84f7978 multi language code on overview + enabled featues wrap when needed (#183) 2022-06-09 01:17:31 -07:00
Jonas Daniels 4f9ec70b2f remove suggested extensions (#182) 2022-06-09 00:38:03 -07:00
Nacho Iacovino a84a8749a4 Add thirdweb audited images (#180) 2022-06-08 16:04:34 +02:00
Nacho Iacovino c87841247b Apply testjam fixes (#179) 2022-06-08 14:33:52 +02:00
Nacho Iacovino 978b2d33ac Remove all console.logs (#178)
* Remove console.log

* Remove another log

* Update to console.error
2022-06-07 23:40:58 +02:00
Nacho Iacovino bd285b7bba Custom contract deploy page improvements (#177)
* Remove available extensions

* Move form to deploy page

* Make prettier

* Detect connected chain

* Move stuff around

* Use badges for enabled extensions

* Add tracking

* Simplify component

* Fix imports

* Small fixes

* Fix lgtm
2022-06-07 19:39:29 +02:00
Jonas Daniels a2d3ebc6c3 Jd/improve ux (#176)
* default to wallet chain if wallet chain is supported in deploy dialogue

* drop phases improvements
2022-06-06 10:36:59 -07:00
Jonas Daniels 1d769fcba8 stable sdk & deps updates (#174)
upgrade deps while Im at it
2022-06-03 13:23:44 -07:00
Nacho IacovinoandJonas Daniels 7dda0398ef Move custom contract code to Overview tab (#172)
* Move custom code to overview

* Move component

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-03 10:40:21 -07:00
Nacho Iacovino 7b3e6b1b09 Add which network link on deploy (#173) 2022-06-03 17:58:04 +02:00
Nacho Iacovino 670496be88 Update IPFS URI (#171) 2022-06-03 12:17:54 +02:00
Nacho Iacovino 7ea3ed442e Add main CTA to examples (#170) 2022-06-03 02:59:53 +02:00
Nacho Iacovino c24f6f9e12 Add token drop (#169) 2022-06-03 01:47:50 +02:00
Jonas DanielsandNacho Iacovino ac383c9339 Ni/custom contract permissions (#168)
* Update sdk

* Wip permissions page

* make it build... does it work? maybe!

* add new dev build of react sdk

* Fix lgtm

* Add loading

* Make permissions generic

Co-authored-by: Nacho Iacovino <[email protected]>
2022-06-02 15:56:23 -07:00
Nacho Iacovino 68a56a1a1c Ni/fix total supply (#167)
* Fix total supply on Edition Drop embed

* Add opacity to CTA
2022-06-02 19:21:56 +02:00
Nacho Iacovino e1f605ed77 Only show nofunds on testnets (#166) 2022-06-02 13:43:30 +02:00
Jonas Daniels 5c2601f517 fix mismatch button not executing if everything is ok (#164)
* fix mismatch button not executing if everything is ok

* add basic tracking
2022-06-01 18:17:39 -07:00
Nacho IacovinoandJoaquim Verges b7ed75d671 Settings feature detection (#162)
* Add detections

* Move detections to correct page

* wip primary sale

* Wip settings page

* Merge

* Update ts sdk

* Update SDK, fix build

* Fix import

* Fix import again

* Comment permissions tab for now

* Fix lgtm

* Fix lgtm, again

* Fix text and link

* Fix logic

Co-authored-by: Joaquim Verges <[email protected]>
2022-06-02 02:13:24 +02:00
b5a3982523 Add balance zero notice (#158)
* Wip balance zero notice

* use new balance hook

* fix build

* switch mismatch logic

* Add tracking

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2022-06-02 01:55:13 +02:00
Joaquim Verges 7445139036 Enable all chains for thirdweb deploy (#163)
* Enable all chains for thirdweb deploy

* remove unused imports
2022-06-01 13:35:58 -07:00
Nacho Iacovino d33fc6ae05 Update sdk, fix snapshot (#161) 2022-06-01 19:58:19 +02:00
Jonas Daniels cf68c7925e Jd/upgrade sdk version (#160)
* upgrade sdk version

* upgrade deps

* upgrade sdk to stable
2022-05-31 21:46:11 -07:00
Nacho Iacovino cc7802d208 Onboarding changes (#159)
* Copy changes

* Re-order published contracts

* Recommend testnets first
2022-05-31 10:55:56 -07:00
Jarrod Watts d9345c02ba Add community rewards example git hub url (#157) 2022-05-31 08:19:37 -07:00
Nacho Iacovino 24a3814f18 Fix typo (#156) 2022-05-30 20:02:47 +02:00
Joaquim Verges 185293a4c9 update SDK and new function call for new pre-deploy fetching logic (#155)
update SDK and new funciton call for predeploy fetch
2022-05-29 17:08:56 -07:00
Joaquim Verges 10c9965128 fix solidity import syntax 2022-05-27 22:15:07 -07:00
Joaquim Verges 45cf40be35 Merge pull request #146 from thirdweb-dev/direct_deploy
Direct deploy
2022-05-27 21:37:32 -07:00
Joaquim Verges d19eead808 fix sigdrop/multiwrap descriptions 2022-05-27 21:30:33 -07:00
Joaquim Verges 69e635de9c update SDK 2022-05-27 21:21:42 -07:00
Jonas Daniels 7d298736ea weirdly javascript has better syntax highlighting? 2022-05-27 19:07:44 -07:00
Jonas Daniels f414b7f3ec move location into state in page instead of above 2022-05-27 19:04:11 -07:00
Jonas Daniels 4af8e46a6a Merge branch 'main' into direct_deploy 2022-05-27 18:54:17 -07:00
Jonas Daniels fbc9426c99 bust the cache 2022-05-27 18:53:33 -07:00
Jonas Daniels a81f7eeb86 merge in main 2022-05-27 18:50:39 -07:00
adam-majandJonas Daniels 28b9e5d5ef Add progress (need to update SDK) (#150)
* Add progress (need to update SDK)

* Push updates

Co-authored-by: Jonas Daniels <[email protected]>
2022-05-27 18:45:32 -07:00
Joaquim VergesandJonas Daniels c0258fec48 update SDK and show new API for contract functions (#153)
* update SDK and show new API for contract functions

* add multiwrap to all mappings

Co-authored-by: Jonas Daniels <[email protected]>
2022-05-27 18:05:24 -07:00
Jonas Daniels 963171bf1c update contract id 2022-05-27 17:41:59 -07:00
Jonas Daniels 02261e7611 Merge branch 'main' into direct_deploy 2022-05-27 16:04:49 -07:00
Nacho Iacovino 64c14516de Fix landing tag (#152) 2022-05-27 17:46:49 +02:00
Jonas Daniels ca2f6cca94 remove unused stuff 2022-05-27 03:15:04 -07:00
Jonas Daniels d5615d836e add .sol 2022-05-27 03:11:46 -07:00
Jonas Daniels 15215905f8 make cards more card-like 2022-05-27 03:08:54 -07:00
Jonas Daniels 6ad715c409 deploy now -> deploy 2022-05-27 02:10:02 -07:00
Jonas Daniels 548090a15d 2 step deploy flow for custom contracts 2022-05-27 02:05:24 -07:00
Jonas Daniels 34cd7237fe merge in main 2022-05-26 22:04:35 -07:00
Jonas Daniels ed4a45a54c fix nft tables when containing broken metadata (#151) 2022-05-26 14:33:59 -07:00
Jonas Daniels 62c0096cc3 add initial extensiondetectbutton 2022-05-26 12:03:22 -07:00
Jonas Daniels b4afe42c40 Merge branch 'direct_deploy' of github.com:thirdweb-dev/dashboard into direct_deploy 2022-05-25 19:32:04 -07:00
Jonas Daniels 25918c9955 upgrade to stable react hooks 2022-05-25 19:31:54 -07:00
Jonas Daniels 07d340c29d Merge branch 'main' into direct_deploy 2022-05-25 16:08:04 -07:00
Jonas Daniels dcccb9b0aa upgrade deps 2022-05-25 16:07:46 -07:00
613e129b71 Ni/direct deploy (#148)
* Add TokenSupply

* Add TokenMint

* Fix wrong image on Brave Wallet (#147)

* Move drawer

* Add mint form for erc721/erc1155

* wip

* fix minting

* fix types

Co-authored-by: Nacho Iacovino <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2022-05-25 16:04:05 -07:00
Nacho Iacovino ff52a715e4 Fix wrong image on Brave Wallet (#147) 2022-05-25 18:09:55 +02:00
Jonas Daniels 03f5cd282a start setting up dashboard for success here 2022-05-25 03:13:23 -07:00
Jonas Daniels eb1f6c748b fix contract feeback card 2022-05-24 19:26:36 -07:00
Jonas Daniels 634f967019 merge main, upgrade sdk 2022-05-24 15:50:44 -07:00
Jonas Daniels b2993ac997 initial direct deploy logic 2022-05-24 12:52:13 -07:00
Jonas Daniels 5ee7a74b8c enable tw deploy on polygon (#145) 2022-05-24 11:21:37 -07:00
Joaquim Verges 9ef13a063a WIP direct deploy flow 2022-05-24 11:14:34 -07:00
Nacho Iacovino 48b98fc1c8 Landing copy changes (#144)
* Copy changes, add tracking

* Redo thirdweb-deploy section

* Explore documentantion always go to portal

* Update build anything, improve hovers

* Add subline, mobile fixes

* Add tracking to learn more button on deploy

* Fix lgtm

* Text decoration -> border bottom

* Fix tracking
2022-05-24 10:31:44 -07:00
Nacho IacovinoandJonas Daniels d7909a55bb Embed using @thirdweb-dev/react (#140)
* Update URI

* Update URLs

* Update URI

* Update URI

Co-authored-by: Jonas Daniels <[email protected]>
2022-05-23 20:41:49 -07:00
Jonas Daniels 463f1b23bb upgrade deps 2022-05-23 16:46:36 -07:00
Nacho Iacovino 3c18172dc8 Add goerli to thirdweb deploy (#143) 2022-05-23 14:58:20 -07:00
Nacho Iacovino 88387de6c9 Enable goerli (#141) 2022-05-23 23:16:22 +02:00
adam-maj de3832169a Update go install command (#142) 2022-05-23 13:01:37 -07:00
adam-majandJonas Daniels f4e789f3ee Add go snippets (#137)
Co-authored-by: Jonas Daniels <[email protected]>
2022-05-23 09:55:10 -07:00
Nacho Iacovino c30d2c6a16 Update links (#138) 2022-05-23 17:26:08 +02:00
Jonas Daniels 02a488b4a1 fix splits logic more (#136) 2022-05-23 00:51:18 -07:00
Jonas Daniels 89e29ccc11 fix distribute button display logic (#135)
* fix distribute button display logic

* if there is nothing to distributed show a disabled button with that information
2022-05-21 18:19:29 -07:00
Jonas Daniels 7816d2788c upgrade deps 2022-05-21 11:36:16 -07:00
Jonas Daniels 1b9f78dc1a upgrade dependencies 2022-05-20 15:44:41 -07:00
Jonas Daniels 19f8ca17c3 make audit button stand out more 2022-05-20 11:38:30 -07:00
Joaquim Verges b195243940 Merge pull request #134 from thirdweb-dev/joaquim/update_tw_deploy
Pull in latest thirdweb deploy architecture changes
2022-05-20 11:31:07 -07:00
Joaquim Verges fe75b4700d Latest thirdweb deploy architecture changes 2022-05-20 11:19:59 -07:00
Nacho Iacovino c9a708a612 Chakra issues + Audited notice on deployment + New og thumbnail (#132)
* Fix description tooltip

* Fix actions cells width

* Add new og thumbnail

* Add audited contract notice to deployment step

* Fix spacing better

* Fix lgtm
2022-05-20 19:30:36 +02:00
Jonas Daniels 2d234ac801 bring back replit for now (#131) 2022-05-19 22:58:45 -07:00
Jonas Daniels b896297bc3 temporary dev section fix (#130) 2022-05-19 13:49:18 -07:00
Jonas Daniels 7a432981da upgrade sdk & fix link component 2022-05-19 13:29:02 -07:00
Nacho IacovinoandJonas Daniels 1cb22971f0 Add learn more cards (#127)
* Add learn more cards

* Fix lgtm

* make it shippable

* add a bit of delight on the icons

* adhere to solidity brand guidelines

Co-authored-by: Jonas Daniels <[email protected]>
2022-05-19 02:35:26 -07:00
Jonas Daniels 4324b4a3f8 fix small issues 2022-05-19 01:42:25 -07:00
Jonas Daniels e84c1136a0 upgrade sdk (#129) 2022-05-19 01:26:31 -07:00
Nacho Iacovino 2f738378fa Comment SDK section (#126) 2022-05-18 20:52:56 +02:00
Jonas Daniels b478626629 fix burned edition bug 2022-05-18 00:49:47 -07:00
Jonas Daniels b4535b5505 remove stuff 2022-05-17 22:08:32 -07:00
Jonas Daniels 1d837f47b9 Jd/shrink it (#125) 2022-05-17 20:46:31 -07:00
Jonas Daniels 1449abaa31 Jd/sdk 2.2.10 platform fees (#124)
* update sdk, do other things

* update svg

* fix more page things
2022-05-17 17:17:19 -07:00
480ef20905 New landing (#113)
* New header

* GeneralCta wip

* Add right image

* Mobile fixes

* Prettify

* Update static gradient

* Add union

* Add dashboard section

* Add supported chains section

* Add free section

* Finish merge

* Fix stuff

* Add case studies section

* Gradients shananigans

* Fix borders

* Use ChakraNextImage

* Add Partners

* Fix lgtm

* Fix lgtm 2.0

* Change position

* Add footer and newsletter

* Delete old components

* Add contracts section

* Add get started section (kinda)

* Add union

* no union

* Fix spacing

* Fix copy

* Spacing and stuff

* Add sdk section

* Language selector for SDK section

* Add LinkButton

* Unused imports

* Update Link imports

* Update embed width

* Set active status

* Set active status

* Fix button width

* Add links to case studies

* Add links to partners

* Fix spacing

* Fix react warning

* Fix title/subtitle center issues

* Fix broken link

* Delete start building from menu

* Fix buttons on mobile

* Update images

* Update text

* Add external icon to tw-link

* Make icon a one-off

* Add hover

* small improvements, also make landing page way leaner in terms of size

* iframe a bit better again

* Add tracking everywhere

* Add tracking to CodeSelector

* clean up a bunch of small things everywhere

* doing more things more better

* Clean up, fix textAlign

* Fix lgtm

* Fix leftAlign

* Fix graphic centerAligned

* Fix cta padding

* Change CTA hover behavior

* Button adjustments

* LeftAlign?

* Change header bg with blur

* Fix icon size

* cleanup homepage section (#121)

* cleanup homepage section

* cleanup case-sudy stuff

* thirdweb deploy new design

* Rename union to bottomPattern

* Fix gap on mobile

* Update copy

* Footer isExternal

* Make TrackedLink generic and reuse it

* Fix mobile layout

* Update dashboard section

* Add opacity bg

* Update ContractCard

* Spacing and mobile hero image

* Fix aria-label_

* Fix pre-built contracts

* Latest changes

* Use tracked components

* Small renaming

* add examples scection, update lots of copy

* cheating lol

* nit pick

* Add github urls to example items

* homepage copy & random other fixes

* new multi chain graphic

* Fix typo

* Developer portal -> Docs

* Small fixes

* More small fixes

* Fix subscribe

* iPad fixes

* No italics anymore

* Multichain mobile svg

* Delete unused component

* changes

* Replace png with svg

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Jarrod Watts <[email protected]>
2022-05-17 16:36:59 -07:00
Nacho Iacovino af69677179 Update URI (#123) 2022-05-17 16:35:08 +02:00
Nacho Iacovino f0470bdf05 Fix Coinbase Wallet not showing on mobile (#120)
* Change filter

* Generic wallet icon

* Update icon

* Fix logic
2022-05-16 11:01:07 -07:00
Jonas Daniels dc7b898f10 fix toast position & variant (#119) 2022-05-13 00:30:08 -07:00
Nacho IacovinoandJonas Daniels 9194a7af93 Make token drop available to deploy (#114)
* Make it available to deploy

* actually update the sdk...

* use the `pre-built-contracts/` path

* built-in -> pre-built

Co-authored-by: Jonas Daniels <[email protected]>
2022-05-13 00:15:54 -07:00
Jonas Daniels 3b647fccc1 react 18 upgrade (#80)
* react 18 upgrade (WIP)

* fix typography logic

* fix lots of lint issues
2022-05-12 18:03:53 -07:00
adam-maj e17e737bb3 Polish contract deletion flow (#117)
* Add notice on deletiong

* Update banner and invalidation

* Fix LGTM

* Use useMutation instead of useMutationWithInvalidate

* Fix invalidation
2022-05-11 11:58:48 -04:00
Nacho Iacovino 50331ed16b Update URI (#118) 2022-05-11 17:21:10 +02:00
adam-maj 9750a9e445 Add remove custom contracts (#115)
* Add remove custom contracts

* Update sdk version
2022-05-10 15:47:51 -04:00
adam-maj 8e18f889d8 am/registry (#110)
* am/registry

* Add remove contract button component

* Upgrade sdk version

* Disable removing custom contracts
2022-05-09 22:05:48 -04:00
Jarrod Watts d0ba2bdcfb Fix redirects on homepage to align with updated portal (#112) 2022-05-09 18:50:16 -07:00
Jonas Daniels 2f60ec3026 fix stuff (#111) 2022-05-09 17:56:46 -07:00
Jonas Daniels 9d233527a6 upgrade deps & type errors 2022-05-09 12:10:21 -07:00
Joaquim Verges 00366c6563 update SDK 2022-05-08 09:59:49 -07:00
Nacho Iacovino cde31eaec4 Show correct maxClaimable value (#109) 2022-05-06 17:49:40 +02:00
Nacho Iacovino 1172b43651 Check for unlimited (#108) 2022-05-06 16:53:10 +02:00
Nacho Iacovino b9283af701 Fix BigNumebr on Edition Drop (#107) 2022-05-06 15:50:24 +02:00
Jonas Daniels a94139ab69 upgrade sdk (#106)
* upgrade sdk

* upgraded sdk more

* do not filter disabled connectors

* maybe make it work for now?

* update sdk more

* stable version
2022-05-05 19:19:02 -07:00
Jonas Daniels f65a2bdb4a Priacy -> Privacy 2022-05-05 09:14:51 -07:00
Nacho Iacovino e866ab4e63 Embed and totalSupply fix (#105)
* Fix totalSupply

* Update ipfs hash
2022-05-05 15:56:25 +02:00
Jonas Daniels 01d86fc0e3 Jd/contract metadata extracted (#104)
* extract contract metadata

* feature detection top level maybe

* remove unused stuff

* add tos and privacy policy

* more padding

* add privacy and tos and update feature url

* upgrade sdk
2022-05-04 19:33:53 -07:00
Jonas Daniels 26bc14a508 fix embed code etc 2022-05-04 12:39:55 -07:00
Jonas Daniels a9c8afc354 fix embeds 2022-05-04 12:28:31 -07:00
Jonas Daniels 6b73ef9fd7 upgrade sdk 2.2.0 (#103)
* upgrade sdk 2.2.0

* upgrade sdk again
2022-05-04 11:38:02 -07:00
Jonas Daniels 267bf0db09 expose gnosis safe (#102)
* expose gnosis safe

* gnosis safe
2022-05-03 18:33:13 -07:00
Jonas Daniels b51b7f9a6d fix v1 projects now showing up for a given address on dashboard (#101)
* fix v1 projects now showing up for a given address on dashboard

* add feedback modal

* fix up feedback form

* amek rating a bit safer
2022-05-02 19:47:30 -07:00
Joaquim Verges 1fed311c97 fix code snippet 2022-05-02 00:16:35 -07:00
Jonas Daniels 94b1dbab38 ship smaller package 2022-05-01 23:59:48 -07:00
Joaquim VergesandJonas Daniels c96e0e4b6d WIP - display detected features (#99)
* display detected features

* dev sdk + cleanup

* fix memo, add contract interface in comment

* fix icon

Co-authored-by: Jonas Daniels <[email protected]>
2022-05-01 22:27:05 -07:00
Joaquim Verges 7fa248c63f Merge pull request #100 from thirdweb-dev/jd/enable-rinkeby-smart-contract
enable rinkeby
2022-05-01 20:29:28 -07:00
Jonas Daniels c54d7a9003 fix table 2022-05-01 17:30:57 -07:00
Jonas Daniels 0cad69b7cb fix network select rule && redirect url 2022-05-01 17:24:42 -07:00
Jonas Daniels eacf8b116b fix url 2022-05-01 16:44:35 -07:00
Jonas Daniels 4adfc1c87d fix custom contract fetching probably? 2022-05-01 16:37:35 -07:00
Jonas Daniels 47c45c96b7 fix last custom contract naming 2022-05-01 15:18:55 -07:00
Jonas Daniels 96fc1ebf8c various updates 2022-05-01 15:17:27 -07:00
Jonas Daniels ff11286af5 enable rinkeby 2022-05-01 15:13:57 -07:00
Jonas Daniels 8d420235f6 add experimental gnosis safe implementation (#97)
* add experimental gnosis safe implementation

* update react sdk

* upgrade sdk

* new connect wallet dropdown /w gnosis

* fix learn more link

* upgrade deps mainly

* add gnosis and walletConnect popover

* add errors to gnosis

* handle outline badges properly
2022-05-01 14:53:00 -07:00
Nacho IacovinoandJonas Daniels bf7deffa23 Add airdrop tracking (#96)
* Add airdrop tracking

* Fix dependency array

* Move all handleSubmits to inline

* Fix lgtm

* airdrop section tracking update

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-29 22:08:06 -07:00
Jonas Daniels 56119b5cdf Jd/new network switch (#98)
* halfway

* better network switching

* remove leftIcons with transactionButton

* just also disallow leftIcon on transaction button

* better wording

* some further updates

* fix proposal button
2022-04-29 21:50:15 -07:00
Jonas Daniels 61606a4123 fix edition drop 2022-04-29 16:25:54 -07:00
Jonas Daniels 8c4dc0546c fix drop getAll 2022-04-29 14:03:08 -07:00
Jonas Daniels f143a7d099 fix nft drop 2022-04-29 13:42:12 -07:00
Jonas Daniels c35e330d1c fix badge light mode force 2022-04-29 12:43:22 -07:00
Jonas Daniels ceeebe230e upgrade sdk 2022-04-29 12:36:41 -07:00
Jonas Daniels 4c086b72fb fix buttons, make "/deploy" ready for cli 2022-04-29 09:18:06 -07:00
2eda4d3022 Custom Contract (working branch) (#35)
* initial /publish

* custom contract init (#27)

* clean up customContract interface for the moment

* upgrade sdk & make multi-uri publish work

* upgraded dependencies and customContract workflow

* more custom contract stuff

* publish ui update

* basic publish & deploy flow works

* cleanup eslint

* update sdk

* add contract address to toast and log it out

* integrate newer sdk version

* upgrade deps

* full deploy loop functional with updated sdk

* upgrade sdk

* upgrade deps

* upgrade sdk to fix big contracts

* full flow!

* update deps

* update to latest sdk, support custom contracts in contracts list

* one more sdk update

* cache keys // analytics mapping

* make mr. typescript happy

* try catch the resolve type (need to fix it in SDK)

* fix type check

* upgrade sdk & handle `ipfs=` from cli

* fix yarn lock

* publishBatch

* add very basic code tab

* fix build

* init cleaning up code tab

* fix zindex issue

* update code segments

* prep some more stuff

* remove duplication

* this wont build and that is ok

* fix build

* upgrade react package

* add super basic mint button

* update sdk

* clean up some custom contract interfaces a bit

* updated sdks all around

* change minting to useNFTMint

* append contract.functions to signatures so you can copy paste

* add byoc page tracking

* new publish page

* slightly fix hook

* custom deploy form update

* completely overhauled deploy flow now

* some improvements, empty states etc

* only show coming soon on non-mumbai

* tw-components

* fix contract items table

* upgrade deps

* fix secondary cta

* fix string

* fixed things more

* fix up code-block

* small code tab improvements

* Add mint drawer if ERC721 (#95)

* Update thumbnail/title/desc

* Add custom nft mint

* Fix FormHelperText

* Delete unused imports

* Remove imports

* fix build issues etc

* Add token drop (#93)

* Update thumbnail/title/desc

* Merge

* wip

* Token drop page working

* Add claim phases tab, add TokenDrop to conditionals

* update font size

* NFTs/token conditional

* Add QuantityInputWithUnlimited

* Update SDK

* Fix unlimited

* Remove fontSize

Co-authored-by: Jonas Daniels <[email protected]>

* set tokendrop back to coming soon

* remove "@dev" tag for sdk installation

* fix mappings file

* fix indentation on custom code tab

* ship central 🚢

* fix build

Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Jake Loo <[email protected]>
Co-authored-by: Nacho Iacovino <[email protected]>
2022-04-28 17:51:20 -07:00
Nacho Iacovino a2beac600c Fix trim (#94)
* Fix trim

* make it better

* Conditional rendering
2022-04-27 17:49:40 -07:00
Joaquim Verges 24d5a69783 Merge pull request #92 from thirdweb-dev/joaquim/embedss
update embeds to latest hash
2022-04-27 10:11:57 -07:00
Joaquim Verges e4707b0dc4 update embeds to latest hash 2022-04-27 09:48:06 -07:00
adam-maj ba3cff9351 am/snippets (#91) 2022-04-27 12:11:24 -04:00
adam-maj b8b1cda1aa am/snippets(#90) 2022-04-27 02:31:23 -04:00
Nacho Iacovino af35ef0a51 Update thumbnail/title/desc (#89) 2022-04-26 17:30:52 +02:00
Joaquim Verges 889bab219f Merge pull request #88 from thirdweb-dev/joaquim/embeds
update embeds hash
2022-04-25 21:53:13 -07:00
Joaquim Verges 283aee20e9 update embeds hash 2022-04-25 21:43:20 -07:00
Nacho IacovinoandJonas Daniels 27a04e659e Add map_image to batch upload (#82)
* Add map_image

* Add map_animation_url

* Dont use map_

* Cleanup

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-25 13:51:10 -07:00
Nacho IacovinoandJonas Daniels 85fa2d64fd Add burn action to NFTs (#85)
* Rename ListAndTransfer to Transfer

* Rename

* Burn working on ERC-1155

* Burn working on ERC-721

* Cleanup

* Invalidate supply

* Supply is not a key

* Fix invalidate

* Fix icons

* Remove supply

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-25 12:39:20 -07:00
Nacho IacovinoandJonas Daniels 1f5f9cc4e2 Fix num of transactions in split, default for symbol (#86)
* Fix num of transactions, default symbol

* Delete console.log

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-25 12:36:50 -07:00
Nacho Iacovino 24c01ae683 Trim addresses on Snapshot/Aidrop (#87) 2022-04-25 12:32:23 -07:00
Nacho IacovinoandJonas Daniels ccbd4ba80d Parse description in NFT table (#81)
* Parse description in NFT table

* Use pre-wrap

* Use Tooltip/Text and limit noOfLines

* Move borderRadius

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-25 20:01:35 +02:00
Nacho IacovinoandJonas Daniels 6e7564f9e6 Fix vote contract deployment (#83)
Co-authored-by: Jonas Daniels <[email protected]>
2022-04-25 10:29:08 -07:00
Nacho Iacovino 6bfffe0a0c Make inputs required (#84) 2022-04-25 10:11:11 -07:00
Nacho IacovinoandJonas Daniels b86a95b9b0 Add ERC-1155 airdrop (#79)
* Add ERC-1155 airdrop

* slight ui update

* fix eslint warn

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-23 14:32:31 -07:00
Jonas Daniels adb759d43c rewrite magic connector name 2022-04-22 21:26:37 -07:00
Nacho IacovinoandJonas Daniels da783950ff Small fixes for Magic connector (#78)
* Small fixes

* Make modals responsive

* Use useForm

* useForm more

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-22 18:06:11 -07:00
Jonas Daniels d1d01d3d7c new marketplace sdk things (#77)
* new marketplace sdk things

* fix transfer logic bug

* show reason why transfer cell is disabled
2022-04-22 15:59:43 -07:00
4e7fdd7cff am/magic (#76)
* Magic added to dashboard

* fixed react sdk

* switch network support

* use process env etc

* Add logo

* fix wallet connect icons

* Add logos from relative path

* Upgrade SDK version

* Add magic logo

Co-authored-by: adam-maj <[email protected]>
Co-authored-by: adam-maj <[email protected]>
2022-04-22 18:07:35 -04:00
Nacho IacovinoandJonas Daniels fa74f26741 Add maxClaimable to snapshots (#75)
* Move component to another folder

* Add maxClaimable

* Add examples

* Delete empty addresses

* Give error if no address column

* Filter duplicate addresses

* Delete comment

* Delete unused import

* Fix type

* Fix lgtm

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-22 23:56:52 +02:00
Jonas Daniels 329f4d93de pin alchemy version to fix marketplace 2022-04-21 19:39:38 -07:00
Jonas Daniels 80c872e71e fix bignumber check 2022-04-21 10:45:58 -07:00
adam-majandJonas Daniels c30f6984df am/transfer (#74)
* Add transfer cells for edition and edition drop

* remove unused vars

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-20 14:27:20 -07:00
Nacho IacovinoandJonas Daniels 4359ff9c86 trait_type validation (#66)
* Filter if value is empty

* Remove trait_type if empty

* Add to the other token contracts

* Move onSubmit inside component

* fix minor things

* Add parsedArray

* Fix lgtm

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-20 13:13:03 +02:00
Jonas Daniels 09b0fd92ae render reason instead of data in error 2022-04-19 23:14:39 -07:00
Jonas Daniels c10361ad9f re enable marketplace (#71)
* re enable marketplace

* better error handling

* better error handling to go with it

* fix error handler styles
2022-04-19 22:41:44 -07:00
Jonas Daniels 3dfbcaf758 use env vars for rpc urls (#73) 2022-04-19 20:04:11 -07:00
Jonas Daniels b1ffad1108 quicknode for the moment (#72) 2022-04-19 19:41:32 -07:00
Nacho Iacovino dff419bde2 Fix sorting on batch upload (#70)
* Add gradient on landing button

* Update other button, remove learn more button

* Fix lgtm

* Fix sorting of files
2022-04-19 16:56:07 -07:00
Jonas Daniels 8a70688113 make marketplace "coming soon" again 2022-04-15 21:18:34 -07:00
Jonas Daniels 49389413a4 re enable marketplace (audited version) (#69) 2022-04-15 21:10:47 -07:00
Jonas Daniels ddcd7e04d3 upgrade deps (incl sdk fixex) (#68) 2022-04-15 12:01:41 -07:00
Nacho IacovinoandJonas Daniels 3c75c6d19a Correct tokenId batch upload (#63)
* Add nextTokenIdToMint to nftDrop

* Use get total count instead

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-15 12:47:28 +02:00
Nacho Iacovino a6851a3099 Add gradient on landing button (#67)
* Add gradient on landing button

* Update other button, remove learn more button

* Fix lgtm
2022-04-15 02:00:06 +02:00
Nacho Iacovino 7d77824dfb Fix landing gray button (#65) 2022-04-15 00:53:44 +02:00
adam-maj 82bbc3fa48 Remove goerli from dropdown (#64) 2022-04-14 13:10:26 -04:00
Jonas Daniels 89071be326 update cta button color + add icon 2022-04-14 09:34:08 -07:00
Jonas Daniels fb956e63ac Merge branch 'main' of github.com:thirdweb-dev/dashboard 2022-04-14 09:28:58 -07:00
Nacho Iacovino d0998b69b5 Early access -> Start building (#61) 2022-04-14 03:21:15 +02:00
Jonas Daniels 2b9dcc54c6 prepare for react 18 2022-04-13 13:26:01 -07:00
Nacho IacovinoandJonas Daniels f6129f26c7 General renaming (#57)
* Rename hooks

* Rename mint forms

* Rename cache keys

* Rename table columns

* Widgets to embeds

* Update expansion

* Fix errors

* Rename pages

* Rename some variables

* Fix dropzone issue

* Redeploy

* Fix edition drop caching

* Fix name

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-13 21:21:21 +02:00
Nacho Iacovino 7a54555f0e Update SDK (#60) 2022-04-13 12:56:09 +02:00
Nacho Iacovino 6a5d7cf9be Make Batch Upload and Snapshot upload responsive (#59)
* Fix paddings and embed width

* Make ABI button responsive

* Fix row/column

* Fix text overlapping

* One r

* Fix permissions on mobile

* Make it consistent, update icons

* Address -> Contract address

* Address -> Project address

* Consistent paddings, delete unnecessary divider

* Fix lgtm

* Make Batch upload responsive

* Make snapshot upload responsive
2022-04-13 01:46:38 +02:00
Nacho Iacovino 261990ca0b Mobile fix and responsiveness (#58)
* Fix paddings and embed width

* Make ABI button responsive

* Fix row/column

* Fix text overlapping

* One r

* Fix permissions on mobile

* Make it consistent, update icons

* Address -> Contract address

* Address -> Project address

* Consistent paddings, delete unnecessary divider

* Fix lgtm
2022-04-13 01:07:00 +02:00
Nacho Iacovino b74962ccbb Fix typo (#56) 2022-04-12 13:12:20 +02:00
Nacho Iacovino 19fdb99c3d Use trait_type in single upload (#55) 2022-04-12 09:28:45 +02:00
Nacho Iacovino afa5b3ee5d Add JSON sorting (#54)
* Add JSON sorting

* Sort before
2022-04-11 22:54:24 +02:00
Nacho Iacovino fd20cd4ce5 Default to attributes (#50)
* Default embed to mint tab

* Default to attributes on batch upload and tables

* Default to attributes on single NFT upload too

* Delete console.log

* Update SDK
2022-04-11 21:17:54 +02:00
Nacho Iacovino e4943604b1 Add platform fee setting to the dashboard (#51) 2022-04-11 18:09:41 +02:00
Nacho IacovinoandIbrahim Ahmed 9050b25445 Add support for multiple JSON in Batch upload (#52)
* WIP multi-json upload

* Work for one or multiple files

* Rename variable

* Accept single NFT object file

* Clean old code

* Reuse code and apply to EditionDrop

* Fix wrong file check

* Fix type

Co-authored-by: Ibrahim Ahmed <[email protected]>
2022-04-09 02:19:35 +02:00
Nacho Iacovino 4d912f3268 Fix snapshot issue with embed (#53) 2022-04-09 01:56:43 +02:00
Nacho Iacovino 04f49622e8 Default embed to mint tab (#49) 2022-04-07 00:33:19 +02:00
Nacho Iacovino c88e8b974c Update no-apps image (#48) 2022-04-06 22:55:51 +02:00
Nacho Iacovino 06255e4e57 Update ipfs hash (#47) 2022-04-06 12:46:20 +02:00
Jonas Daniels d89d6700a0 upgrade deps and fix iframe url (#46) 2022-04-06 09:24:18 +02:00
Nacho IacovinoandJonas Daniels db39a54e4e Add new empty states, fix no empty state on NFT drop (#44)
* Add new empty states, fix no empty state on NFT drop

* Update wallet illustration

* Update contract-emptystate.tsx

Co-authored-by: Jonas Daniels <[email protected]>
2022-04-06 09:07:43 +02:00
Nacho IacovinoandJonas Daniels 488052f531 Fix wrong description (#43)
Co-authored-by: Jonas Daniels <[email protected]>
2022-04-06 09:07:25 +02:00
Nacho Iacovino 2d5a22293c Fix revoke roles bug (#45)
* Fix revokeRoles bug

* Install latest
2022-04-06 03:17:32 +02:00
Nacho Iacovino 0c0f14d2b5 Accept number in json value (#42) 2022-04-04 17:16:09 +02:00
Jonas Daniels 07faeabaab upgrade thirdweb sdks (#41)
* upgrade thirdweb sdks

* upgrade deps more

* make the balance endpoint a bit safer

* make splits sane
2022-04-04 14:13:51 +02:00
Jonas Daniels d43f19ec40 fix date-utils crash (#40) 2022-03-31 12:06:46 +02:00
Nacho Iacovino e5d49aa657 Delete feedback modal, add link to hellonext (#39) 2022-03-31 11:30:27 +02:00
Nacho Iacovino bcbea4d94e Add portal link tracking (#37)
* Add mapping

* Basic modal with gas price

* Fetch gas price from etherscan

* Only 4 decimals

* Make /gas a page

* Create gas endpoint

* Show USD value

* Built switch

* Linting

* Make ETH the default

* Prettier pls

* Fix styles

* Fix corner

* Border color change

* Add useGas query

* Add defaults

* Fetch data only once

* Use try/catch and promise.all

* Consistent naming

* Move default inside parenthesis

* Use parenthesis

* Prettier pls

* Add undefined to possible type

* Fix error status

* Add key directly to query

* Add links to portal

* Add tooltips

* Add disclaimer

* Add ethereum badge

* Add external link icon

* Make Switch smaller

* Use semantic borderColor

* Add SEO and tracking

* Track portal links

* Improve SEO
2022-03-30 21:09:22 +02:00
Nacho Iacovino dbb900f77c Add SEO and tracking (#36)
* Add mapping

* Basic modal with gas price

* Fetch gas price from etherscan

* Only 4 decimals

* Make /gas a page

* Create gas endpoint

* Show USD value

* Built switch

* Linting

* Make ETH the default

* Prettier pls

* Fix styles

* Fix corner

* Border color change

* Add useGas query

* Add defaults

* Fetch data only once

* Use try/catch and promise.all

* Consistent naming

* Move default inside parenthesis

* Use parenthesis

* Prettier pls

* Add undefined to possible type

* Fix error status

* Add key directly to query

* Add links to portal

* Add tooltips

* Add disclaimer

* Add ethereum badge

* Add external link icon

* Make Switch smaller

* Use semantic borderColor

* Add SEO and tracking
2022-03-30 20:48:33 +02:00
Nacho Iacovino 556b4f4a50 Gas estimator (#30)
* Add mapping

* Basic modal with gas price

* Fetch gas price from etherscan

* Only 4 decimals

* Make /gas a page

* Create gas endpoint

* Show USD value

* Built switch

* Linting

* Make ETH the default

* Prettier pls

* Fix styles

* Fix corner

* Border color change

* Add useGas query

* Add defaults

* Fetch data only once

* Use try/catch and promise.all

* Consistent naming

* Move default inside parenthesis

* Use parenthesis

* Prettier pls

* Add undefined to possible type

* Fix error status

* Add key directly to query

* Add links to portal

* Add tooltips

* Add disclaimer

* Add ethereum badge

* Add external link icon

* Make Switch smaller

* Use semantic borderColor
2022-03-30 16:43:33 +02:00
Nacho Iacovino 510766137b Fix app breaking with unvalid JSONs (#34) 2022-03-30 16:36:46 +02:00
Nacho IacovinoandJonas Daniels b7d8af12fc Rename minter to creator and update some descriptions (#32)
Co-authored-by: Jonas Daniels <[email protected]>
2022-03-30 16:32:54 +02:00
Nacho Iacovino aa1e96ae25 Use transaction buttons on Delayed Reveal (#33)
* Use transaction buttons on Delayed Reveal

* Use txn button for Reveal

* Use txn button for Edition Drop batch, update border radius
2022-03-30 10:44:14 +02:00
Nacho Iacovino de803defd5 Merge pull request #31 from thirdweb-dev/ni/new-scissors-image
Update scissors image
2022-03-29 16:07:30 +02:00
Nacho Iacovino 80c3e7c981 Update scissors image 2022-03-29 15:46:55 +02:00
Nacho Iacovino 4db4082275 Merge pull request #29 from thirdweb-dev/ni/pricing-section
Add pricing section to landing
2022-03-28 22:53:10 +02:00
Nacho Iacovino 2c0424a7f9 Better quality img 2022-03-28 22:22:30 +02:00
Nacho Iacovino 965f0818f6 Update image and add to topnav 2022-03-28 22:21:13 +02:00
Nacho Iacovino e535ce6b1f Add pricing section to landing 2022-03-28 22:07:50 +02:00
Nacho IacovinoandJonas Daniels 80aaabf901 Update CID (#26)
Co-authored-by: Jonas Daniels <[email protected]>
2022-03-28 11:19:38 -07:00
Jonas Daniels ed629d5f07 fix safari bg (#28) 2022-03-28 10:28:44 -07:00
Nacho Iacovino efca7726b7 Merge pull request #25 from thirdweb-dev/ni/disable-gas-limits
Update SDK and enable deploy button
2022-03-28 13:28:25 +02:00
Nacho Iacovino 968e3630c6 Update SDK and enable deploy button 2022-03-28 12:03:10 +02:00
Jonas Daniels 5b30e2a4f0 Jd/native date picker (#24)
* use platform features for date picker

* handle color modes properly

* colorScheme native in body only not on html
2022-03-26 23:44:24 -07:00
Jonas Daniels a59af22403 fix walletlink qr code by upgrading react pkg (#23) 2022-03-26 22:32:31 -07:00
Jonas Daniels 484994a438 use the new /react media renderer in contract tables (#20)
* use the new /react media renderer in contract tables

* upgrade deps

* yarn lock

* upgrade sdk / react sdk
2022-03-25 18:41:27 -07:00
Jonas Daniels c710d303b5 fix uploading external_url files by upgrading sdk (#22)
* fix uploading external_url files by upgrading sdk

* fix build error
2022-03-25 17:18:42 -07:00
dependabot[bot] 9a0ba5f01c Bump minimist from 1.2.5 to 1.2.6 (#21)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 02:28:05 -07:00
Jonas Daniels 5ce4dc4e60 upgrade sdk (#17) 2022-03-22 11:34:19 -07:00
adam-maj 365d8c3e82 Disable marketplace deploy (#19) 2022-03-22 09:58:58 -04:00
adam-maj 1b052de983 am/splits (#15)
* Get address balances for splits contract

* Distribute all currencies

* Update tokens on distribute

* filter out native token

* Add numTransactions
2022-03-21 22:33:26 -04:00
adam-maj 4912693325 Add better no NFTs UX (#16) 2022-03-21 19:41:33 -04:00
Nacho Iacovino e5d2166f2e Merge pull request #10 from thirdweb-dev/ni/menu-dark-mode
Fix mobile menu on dark mode
2022-03-21 23:19:09 +01:00
Nacho Iacovino b8c7fcfe50 Add color black back 2022-03-21 22:46:30 +01:00
Nacho Iacovino 7398bc4074 Delete color black@ 2022-03-21 22:45:18 +01:00
Nacho Iacovino 7a63677419 Add WETH back 2022-03-21 22:44:37 +01:00
Nacho Iacovino 140d38e4ad Merge branch 'main' of https://github.com/thirdweb-dev/dashboard into ni/menu-dark-mode 2022-03-21 22:43:39 +01:00
adam-maj dbedf4d8c3 Marketplace embed shows listing when disconnected (#14) 2022-03-21 16:58:19 -04:00
adam-maj fd62185c8d Am/listing (#13)
* Remove loading state on no NFTs

* Block dashboard listing creation on fantom and avax

* Fix double tooltip bug on fantom and avax
2022-03-21 16:35:22 -04:00
Nacho Iacovino 5f2a2aa0fe Revert 2022-03-21 21:16:10 +01:00
Nacho Iacovino 667079dc74 Merge branch 'ni/menu-dark-mode' of https://github.com/thirdweb-dev/dashboard into ni/menu-dark-mode 2022-03-21 21:15:39 +01:00
Nacho Iacovino 7ed125e70f Simplify 2022-03-21 21:15:32 +01:00
Jonas Daniels b0c047bfc3 Merge branch 'main' into ni/menu-dark-mode 2022-03-21 09:52:01 -07:00
Nacho Iacovino a565798c48 Add WETH to Mumbai currency list (#12)
* Fix mobile menu on dark mode

* Add WETH to Mumbai currency list

* Revert
2022-03-21 09:36:13 -07:00
Nacho Iacovino f589d80319 Fix mobile menu on dark mode 2022-03-21 12:02:03 +01:00
adam-maj a7f53dcb11 [WIP] add table for v1 projects (#9) 2022-03-19 19:50:50 -04:00
adam-maj 8f396a8832 Fix quantity selector on embed (#8) 2022-03-19 14:57:02 -04:00
adam-maj dd5dad758d Merge pull request #5 from thirdweb-dev/jd/improve-listing-tooltip
improve listing tooltip
2022-03-19 11:24:46 -04:00
Jonas Daniels f8a1f5af85 Merge branch 'main' into jd/improve-listing-tooltip 2022-03-19 08:17:21 -07:00
Jonas Daniels fc42601ec0 fix dashboard table (#6) 2022-03-19 00:21:07 -07:00
Jonas Daniels 5191b220b3 Merge branch 'main' into jd/improve-listing-tooltip 2022-03-18 23:26:14 -07:00
adam-majandJonas Daniels c3d039b14a Am/claim condition (#1)
* Reset claim eligibility and date picker in time zone

* Reset claim eligibility and date picker in time zone

* Reset eligibility doesn't ruin price

* upgrade embeds & sdk

* upgrade sdk to stable

Co-authored-by: Jonas Daniels <[email protected]>
2022-03-18 23:25:39 -07:00
Jonas Daniels 6f04fd0706 improve listing tooltip 2022-03-18 20:13:51 -07:00
Jonas Daniels e620b2efc7 update contract tracking (#4) 2022-03-18 16:13:40 -07:00
adam-maj 8fa1728996 Merge pull request #3 from thirdweb-dev/am/listing
Display all NFTs on marketplace listing
2022-03-18 18:47:32 -04:00
adam-maj 471289a53d add empty image NFT 2022-03-18 18:41:00 -04:00
adam-maj 45dd87029f Display all NFTs on marketplace listing 2022-03-18 18:31:07 -04:00
Nacho Iacovino 5cff09d02c Merge pull request #2 from thirdweb-dev/ni/add-license
Add License
2022-03-18 18:53:54 +01:00
Nacho Iacovino 11d60f2fac Add License 2022-03-18 18:49:48 +01:00
Jonas Daniels 855ba8c4d7 Create codeql-analysis.yml 2022-03-17 20:48:28 -07:00
Jonas Daniels 44a47b497c update insufficientfunds 2022-03-17 15:40:44 -07:00
Jonas Daniels c7cefec755 remove unused 2022-03-17 15:30:14 -07:00
Jonas Daniels 80f61b45ec remove unused env vars from .env.example and remove unused api endpoints 2022-03-17 15:27:49 -07:00
Jonas Daniels c9b7e6b4a6 improve readme 2022-03-17 14:54:54 -07:00
Jonas Daniels b43a63e12d Initial commit 2022-03-17 14:41:47 -07:00
9509 changed files with 388186 additions and 451978 deletions
+1 -12
View File
@@ -7,21 +7,10 @@
}
],
"commit": false,
"fixed": [
["@thirdweb-dev/react-core", "@thirdweb-dev/react"]
],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [
"bundlers-esbuild",
"bundlers-vite",
"bundlers-webpack",
"bundlers-swc",
"runtimes-node-commonjs",
"runtimes-node-module"
],
"ignore": ["playground-web", "thirdweb-dashboard", "wallet-ui", "portal"],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"updateInternalDependents": "always",
"onlyUpdatePeerDependentsWhenOutOfRange": true
+13 -43
View File
@@ -1,53 +1,23 @@
# Order is important; the last matching pattern takes the most precedence.
# Platform team owns everything by default
- @jnsdls @joaquim-verges @MananTank @gregfromstl
# legacy packages
legacy_packages/auth/ @jnsdls
legacy_packages/chains/ @jnsdls
legacy_packages/cli/ @jnsdls
legacy_packages/contracts-js/ @jnsdls
legacy_packages/crypto/ @jnsdls
legacy_packages/generated-abis/ @jnsdls
legacy_packages/merkletree/ @jnsdls
legacy_packages/pay/ @jnsdls
legacy_packages/payments/ @jnsdls
legacy_packages/react/ @MananTank @jnsdls
legacy_packages/react-core/ @MananTank @jnsdls
legacy_packages/react-native/ @jnsdls
legacy_packages/react-native-compat/ @jnsdls
legacy_packages/sdk/ @joaquim-verges @jnsdls
legacy_packages/storage/ @jnsdls
legacy_packages/wallets/ @MananTank @jnsdls
# legacy e2e
legacy_e2e/ @jnsdls
# default ownership group
@thirdweb-dev/developer-tools
# packages
packages/thirdweb/ @thirdweb-dev/core-platform @thirdweb-dev/developer-tools
## specific thirdweb pieces
packages/service-utils/ @thirdweb-dev/core-platform
packages/eslint-config-thirdweb/ @thirdweb-dev/core-platform @edwardysun
packages/tw-tsconfig/ @thirdweb-dev/core-platform @edwardysun
packages/thirdweb/src/react/ @MananTank
packages/thirdweb/src/reactive/ @MananTank
packages/thirdweb/src/gas/ @joaquim-verges
packages/thirdweb/src/pay/ @MananTank @IDubuque
packages/typedoc-gen/ @MananTank
# owned by phil for now
packages/service-utils/ @arcoraven
packages/eslint-config-thirdweb/ @jnsdls
packages/tw-tsconfig/ @jnsdls
packages/unity-js-bridge/ @joaquim-verges @0xFirekeeper
# apps
apps/ @thirdweb-dev/developer-tools @thirdweb-dev/core-platform
# .github folder + .changeset + turbo config is owned by jonas for now
scripts/ @jnsdls @joaquim-verges
.github/ @jnsdls @joaquim-verges
.changeset/config.json @jnsdls @joaquim-verges
turbo.json @jnsdls @joaquim-verges
.vscode/ @jnsdls @joaquim-verges
scripts/ @jnsdls
.github/ @jnsdls
.changeset/config.json @jnsdls
turbo.json @jnsdls
+1 -1
View File
@@ -12,7 +12,7 @@ runs:
# pnpm for our dependencies
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- name: Setup Node.js
uses: actions/setup-node@v4
with:
+66 -33
View File
@@ -73,6 +73,25 @@ pnpm test:dev <YOUR TEST FILE PATH>
> Specifying your test file path is optional, but will save time by only running specific tests each time. Before opening your PR, run `pnpm test` from the monorepo root (without specifying your test file) to ensure your changes didn't break any existing tests.
Many of the tests use forked versions of live chains like mainnet. We fork these chains at a specific arbitrary block number so results are consistent across test runs. If you're interacting with on-chain data, you can write tests that interact with real contracts at the same block number by using `FORKED_ETHEREUM_CHAIN`. However, if you don't need to interact with existing contracts, we recommend running your tests against `ANVIL_CHAIN`.
If you need to use accounts in your tests, use the predefined accounts in `test/src/test-wallets.ts`. These are the default anvil accounts that are pre-funded on the local test forks.
##### Mocking Network Calls
If your test depends on a downstream network call, you must mock the call using `msw`. You can use one of the existing mocks in `test/src/mocks` or create your own. Once you've created a mock request, setup the server and add all your mocks like so:
```ts
import { setupServer } from "msw/node";
import { downloadMock, uploadMock } from "../../../test/src/mocks/storage.js";
const server = setupServer(uploadMock("HASH"), downloadMock({ name: "Test NFT" }));
beforeAll(() => server.listen());
afterEach(() => server.resetHandlers());
afterAll(() => server.close());
```
#### Linting
We use a linter to maintain best practices across projects. Once your changes are complete (or periodically while making changes), run the linter with the following command from the repo root:
@@ -83,39 +102,9 @@ pnpm lint
If there are errors, try running `pnpm fix` to auto-fix any basic errors. Other linter errors, like missing documentation, will need to be fixed manually. See existing files for examples of inline documentation.
#### Creating a Local Test Project
#### Testing on the Demo Apps
You can use [yalc](https://github.com/wclr/yalc) to test changes on a local project.
Install the yalc CLI globally:
```bash
pnpm add yalc -g
```
First, create a test project where you can experiment with your changes. This can be any node project that uses your changes.
Push your local version to your `yalc` store with:
```bash
pnpm build && pnpm push
```
Link your local changes in the monorepo to the test project by running the following command from your test repo:
```bash
yalc add thirdweb
```
Now, each time you make a change to the monorepo, you can run `pnpm push` from the monorepo then `yalc update thirdweb` from your test project to publish your latest changes to the test project.
If your changes modify dependencies, you may need to reinstall dependencies on your test project with `pnpm install`
To make sure your latest changes are used, in your test project you may need to:
1. Delete the dependencies cache. If you're using Next.js, that's the `.next` directory, and if you're using CRA, that's the `node_modules/.cache` directory.
2. Restart the development server.
You can test your changes on any of the demo apps within the `/apps` directory without linking or publishing your changes to npm. When you run `pnpm dev` from the root directory, turbo will start the demo apps and watch the dependent packages for changes. Any time you make a change anywhere in the repo, the apps will hot reload and the changes will be reflected in the browser.
#### Testing from npm
@@ -140,6 +129,51 @@ These are the versions the GH action published to npm for testing purposes. Let'
<br/>
### Test Your Changes (React Native)
The repository does not yet have a React Native playground, so some additional steps are needed to test any React Native SDK changes.
#### Create a Local React Native Project
For ease of setup, we recommend using the React Native SDK template project as a local testing playground. To generate this project, just run `npx thirdweb create --react-native`.
#### Linking Your Local Changes
To use the local version of the SDK while listening for changes in your React Native project, we'll use [wml](https://www.npmjs.com/package/wml). To install wml, run `npm i -g wml`.
Once installed, edit the project's `package.json` so the thirdweb package points to your local version of the repository (rather than a version number). It should look something like this:
```json
"thirdweb": "/Users/me/Desktop/js/packages/thirdweb/"
```
Now we'll add a wml link between your React Native project and this local repository:
```bash
wml add /[Path to this repository on your machine]/packages/thirdweb /[Path to your RN project]/node_modules/thirdweb
```
Run `wml list` to confirm you've added the connection successfully.
Now run `wml start` to start the connection between your two projects. wml will watch for changes in the first directory you specified and copy them to the second.
However, for this to work you'll also need to setup [watchman](https://facebook.github.io/watchman/) on wml (confusing, I know). First, install watchman with homebrew or another installer.
Once watchman is installed, find where wml's src is. You can normally do this by running `which wml` to find your node directory, then adding `/lib/node_modules/wml/src` from the root path of your current node version. It should look something like this: `/Users/me/.nvm/versions/node/v20.13.0/lib/node_modules/wml/src`
Now, run watchman on this path with `watchman watch /Users/me/.nvm/versions/node/v20.13.0/lib/node_modules/wml/src`
Finally, navigate to the V5 SDK package with `cd packages/thirdweb` and run it in dev mode to rebuild on changes with `pnpm dev:esm`.
You should now have:
1. `wml` running in one terminal window, watching your local SDK and your React Native project
2. `watchman` set to watch your `wml` src directory
3. `pnpm dev:esm` running in `packages/thirdweb`
4. The "thirdweb" dependency in your RN `package.json` pointing to `packages/thirdweb` of your local version of this repository
Try making changes in the SDK to see if they affect your React Native project. If they don't, try deleting your RN project `node_modules`, reinstalling via yarn (the preferred package manager for React Native), and trying again.
### Publish Your Changes
Once you're satisfied with your changes, you are ready to submit them for review!
@@ -169,4 +203,3 @@ git push origin <YOUR BRANCH NAME>
```
4. Create a [pull request](https://www.atlassian.com/git/tutorials/making-a-pull-request) to the `main` branch of the official (not your fork) SDK repo.
+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"
+19
View File
@@ -0,0 +1,19 @@
# PRs with these paths will be labeled with the following labels
dashboard:
- changed-files:
- any-glob-to-any-file: "apps/dashboard/**/*"
playground:
- changed-files:
- any-glob-to-any-file: "apps/playground-web/**/*"
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/**/*"
+7 -14
View File
@@ -1,19 +1,12 @@
## Problem solved
---
title: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
---
Short description of the bug fixed or feature added
If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):
## Changes made
- [ ] Public API changes: list the public API changes made if any
- [ ] Internal API changes: explain the internal logic changes
## 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.
- [ ] Automated tests: link to unit test file
- [ ] Manual tests: step by step instructions on how to test
## Contributor NFT
Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.
```Address: ```
-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
+80 -39
View File
@@ -3,19 +3,8 @@ name: CI
on:
push:
branches: ["main"]
paths:
- "packages/**"
- "package.json"
pull_request:
types: [opened, synchronize]
paths:
- "packages/**"
- "package.json"
- ".github/**"
# trigger on merge group as well (merge queue)
merge_group:
types: [checks_requested]
branches: ["main"]
workflow_dispatch:
concurrency:
@@ -30,7 +19,21 @@ env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
optimize_ci:
runs-on: ubuntu-latest
outputs:
skip: ${{ steps.check_skip.outputs.skip }}
steps:
- name: Optimize CI
id: check_skip
uses: withgraphite/graphite-ci-action@main
with:
graphite_token: ${{ secrets.GRAPHITE_OMTIMIZE_TOKEN }}
build:
needs: optimize_ci
if: needs.optimize_ci.outputs.skip == 'false'
runs-on: ubuntu-latest
name: Build Packages
steps:
@@ -41,9 +44,11 @@ jobs:
uses: ./.github/composite-actions/install
- name: Build Packages
run: pnpm build:packages
run: pnpm build
lint:
needs: optimize_ci
if: needs.optimize_ci.outputs.skip == 'false'
timeout-minutes: 15
name: Lint Packages
runs-on: ubuntu-latest
@@ -62,6 +67,8 @@ jobs:
- run: pnpm lint
test:
needs: optimize_ci
if: needs.optimize_ci.outputs.skip == 'false'
timeout-minutes: 15
name: Unit Tests
runs-on: ubuntu-latest
@@ -76,20 +83,27 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1
with:
cache: false
version: nightly-c4a984fbf2c48b793c8cd53af84f56009dd1070c
- 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
verbose: true
e2e:
needs: optimize_ci
if: needs.optimize_ci.outputs.skip == 'false'
timeout-minutes: 15
name: E2E Tests
runs-on: ubuntu-latest
strategy:
matrix:
package_manager: [npm, yarn, pnpm, bun]
bundler: [vite, webpack, esbuild]
steps:
- name: Check out the code
uses: actions/checkout@v4
@@ -97,35 +111,62 @@ jobs:
- name: Setup & Install
uses: ./.github/composite-actions/install
# TODO actually run e2e tests
- name: Build Packages
run: pnpm build
benchmark:
# cannot run benchmarks on merge group
if: github.event_name != 'merge_group'
timeout-minutes: 15
name: "Benchmarks"
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Install Yarn (if needed)
if: matrix.package_manager == 'yarn'
run: npm install -g [email protected]
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Set up foundry
uses: foundry-rs/foundry-toolchain@v1
with:
cache: false
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: "pnpm bench"
- name: Create test project
run: |
mkdir test-project
cd test-project
npm init -y
${{ matrix.package_manager }} add react react-dom ../packages/thirdweb
- name: Create test file
run: |
cd test-project
echo "import { createThirdwebClient } from 'thirdweb'; console.log(createThirdwebClient({clientId: "foo_bar_baz"}));" > index.js
- name: Bundle with vite
if: matrix.bundler == 'vite'
run: |
cd test-project
${{matrix.package_manager}} add vite
echo 'import { defineConfig } from "vite"; import {resolve} from "path"; export default defineConfig({ build: { lib: { entry: resolve(__dirname, "index.js"), name: "e2e_test" }, outDir: "dist" }});' > vite.config.js
npx vite build
- name: Bundle with webpack
if: matrix.bundler == 'webpack'
run: |
cd test-project
${{matrix.package_manager}} add webpack webpack-cli
echo 'const path = require("path"); module.exports = { mode: "production", entry: "./index.js", output: { path: path.resolve(__dirname, "dist"), filename: "bundle.js" }};' > webpack.config.js
npx webpack
- name: Bundle with esbuild
if: matrix.bundler == 'esbuild'
run: |
cd test-project
${{matrix.package_manager}} add esbuild
npx esbuild index.js --bundle --outdir=dist
- name: Verify bundle
run: |
cd test-project/dist
file_count=$(find . -type f | wc -l)
if [ "$file_count" -gt 0 ]; then
echo "Bundling successful"
else
echo "Bundling failed"
exit 1
fi
size:
needs: optimize_ci
# only run on pull requests
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && needs.optimize_ci.outputs.skip == 'false'
timeout-minutes: 15
name: "Size"
runs-on: ubuntu-latest
@@ -141,4 +182,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
package_manager: pnpm
directory: packages/thirdweb
directory: packages/thirdweb
-98
View File
@@ -1,98 +0,0 @@
name: CI (Legacy Packages)
on:
push:
branches: ["main"]
paths:
- "legacy_packages/**"
- "legacy_e2e/**"
- "package.json"
pull_request:
types: [opened, synchronize]
paths:
- "legacy_packages/**"
- "legacy_e2e/**"
- "package.json"
# trigger on merge group as well (merge queue)
merge_group:
types: [checks_requested]
branches: ["main"]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# To use Remote Caching, uncomment the next lines and follow the steps below.
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TW_SECRET_KEY: ${{ secrets.TW_SECRET_KEY }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest-16
name: Build Packages
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Build Packages
run: pnpm build:legacy_packages
lint:
timeout-minutes: 15
name: Lint Packages
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- run: pnpm lint:legacy
test:
timeout-minutes: 15
name: Unit Tests
runs-on: ubuntu-latest-16
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- run: pnpm test:legacy
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
directory: legacy_packages/
flags: legacy_packages
verbose: true
e2e:
timeout-minutes: 15
name: E2E Tests
runs-on: ubuntu-latest-16
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Setup & Install
uses: ./.github/composite-actions/install
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run e2e tests
run: pnpm e2e:legacy
env:
NODE_OPTIONS: "--max_old_space_size=4096"
CLI_E2E_API_KEY: ${{ secrets.CLI_E2E_API_KEY }}
+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]}`);
+22
View File
@@ -0,0 +1,22 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler
name: Labeler
on: [pull_request_target]
jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
-75
View File
@@ -1,75 +0,0 @@
# On the Version Packages branch
# Generate and Commit the Typedoc JSON files and the Snippets JSON files
name: Commit Release Artifacts
on:
push:
branches:
- changeset-release/main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
# cancel any previous runs if they were started before this one
cancel-in-progress: true
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TW_SECRET_KEY: ${{ secrets.TW_SECRET_KEY }}
jobs:
release-artifacts:
timeout-minutes: 60
runs-on: ubuntu-latest-16
steps:
- name: Checkout branch
uses: actions/checkout@v4
# bun setup is required, because pnpm typdoc will run pnpm build and some packages uses bun for build
- 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: Typedoc
run: pnpm typedoc
- name: Generate Docs
run: |
cd legacy_packages/sdk
pnpm generate-docs
cd ../react-core
pnpm generate-docs
cd ../react
pnpm generate-docs
cd ../..
- name: Generate Snippets
run: pnpm generate-snippets
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git status
git add legacy_packages/react/typedoc/documentation.json.gz
git add legacy_packages/react-core/typedoc/documentation.json.gz
git add legacy_packages/react-native/typedoc/documentation.json.gz
git add legacy_packages/sdk/typedoc/documentation.json.gz
git add legacy_packages/storage/typedoc/documentation.json.gz
git add legacy_packages/wallets/typedoc/documentation.json.gz
git add packages/thirdweb/typedoc/documentation.json.gz
git add snippets/feature_snippets_react.json
git add snippets/feature_snippets_sdk.json
git add snippets/snippets.json
git commit -m "Commit Release Artifacts [skip ci]"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+42
View File
@@ -0,0 +1,42 @@
# Using CUSTOM_GITHUB_TOKEN instead of GITHUB_TOKEN is required to trigger workflows in "Version Packages" PR created by changesets/action
# CUSTOM_GITHUB_TOKEN should be a PAT with write access to the repo and has to be created and set as a secret in the repo manually
name: Release Nightly
on:
schedule:
# every night at 00:00 UTC
- cron: '0 0 * * *'
workflow_dispatch:
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release Nightly
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
with:
fetch-depth: 0
# Do not use the GITHUB_TOKEN by default
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
- name: Install
uses: ./.github/composite-actions/install
- name: Create @nightly release
run: |
pnpm version-packages:nightly
pnpm release:nightly
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
-94
View File
@@ -1,94 +0,0 @@
# pulled from: https://github.com/changesets/changesets/pull/909
name: release-pr
on:
issue_comment:
types: [created]
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
jobs:
deploy-check:
# this just checks if ur allowed to do the action so does not need to run on a fast machine
runs-on: ubuntu-latest
steps:
- name: acknowledge deployment request to commenter
id: check
uses: khan/pull-request-comment-trigger@master
with:
trigger: "/release-pr"
reaction: rocket
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: validate user
id: validate_user
if: ${{ steps.check.outputs.triggered == 'true' }}
run: |
if [[ "${AUTHOR_ASSOCIATION}" != 'MEMBER' && "${AUTHOR_ASSOCIATION}" != 'OWNER' && "${AUTHOR_ASSOCIATION}" != 'CONTRIBUTOR' ]]
then
echo "User authorization failed"
exit 1
else
echo "User authorization successful"
fi
env:
AUTHOR_ASSOCIATION: ${{ github.event.comment.author_association }}
- name: check outputs
run: echo ${{ steps.check.outputs.triggered }}
outputs:
triggered: ${{ steps.check.outputs.triggered }}
comment_body: ${{ github.event.comment.body }}
deploy:
runs-on: ubuntu-latest-16
timeout-minutes: 30
needs: deploy-check
if: needs.deploy-check.outputs.triggered == 'true'
steps:
- name: get pull request ref
id: get_pull_request_ref
uses: octokit/[email protected]
with:
route: GET /repos/{owner}/{repository}/pulls/{issue_id}
owner: ${{ github.repository_owner }}
repository: ${{ github.event.repository.name }}
issue_id: ${{ github.event.issue.number }}
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: pull the repo.
uses: actions/checkout@v4
with:
persist-credentials: true
repository: ${{ fromJson(steps.get_pull_request_ref.outputs.data).head.repo.full_name }}
ref: ${{ fromJson(steps.get_pull_request_ref.outputs.data).head.ref }}
- 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: Configure npm
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Deploy pre-release
id: changesets
run: |
pnpm changeset version --snapshot dev
node ./scripts/pre-release.mjs
pnpm changeset publish --tag dev --no-git-tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+2 -21
View File
@@ -1,14 +1,13 @@
# Using CUSTOM_GITHUB_TOKEN instead of GITHUB_TOKEN is required to trigger workflows in "Version Packages" PR created by changesets/action
# CUSTOM_GITHUB_TOKEN should be a PAT with write access to the repo and has to be created and set as a secret in the repo manually
name: Release Nightly & Stable
name: Release Stable
on:
push:
paths:
- ".changeset/**"
- "packages/**"
- "legacy_packages/**"
branches:
- main
@@ -23,7 +22,7 @@ jobs:
release:
name: Release
timeout-minutes: 30
runs-on: ubuntu-latest-16
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
@@ -32,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
@@ -53,13 +44,3 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
- name: Create @nightly release
if: steps.changesets.outputs.published != 'true'
run: |
git checkout main
pnpm version-packages:nightly
pnpm release:nightly
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
+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
-57
View File
@@ -1,57 +0,0 @@
name: Sync chains every hour
on:
schedule:
- cron: "0 * * * *" # Runs every hour
workflow_dispatch: # Allows you to manually run the workflow from the Actions tab
jobs:
sync-chains:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.35
- name: Run chains sync
run: bun run db:sync
working-directory: ./legacy_packages/chains
- name: Check for Changes
id: git-check
run: |
if git diff --quiet; then
echo "CHANGES_FOUND=false" >> $GITHUB_ENV
else
echo "CHANGES_FOUND=true" >> $GITHUB_ENV
fi
- name: Create or Update sync-chains.md
if: env.CHANGES_FOUND == 'true'
run: |
echo '---' > .changeset/sync-chains.md
echo '"@thirdweb-dev/chains": patch' >> .changeset/sync-chains.md
echo '---' >> .changeset/sync-chains.md
echo '' >> .changeset/sync-chains.md
echo 'Synced Chains Package' >> .changeset/sync-chains.md
- name: Commit Changes
if: env.CHANGES_FOUND == 'true'
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add -A
git commit -m "chore(chains): sync from db"
- name: Create or Update Pull Request
if: env.CHANGES_FOUND == 'true'
uses: peter-evans/create-pull-request@v6
with:
title: "chore(chains): update chains"
branch: "sync-chains"
body: "This PR was automatically created by a GitHub Action. It updates the chains package with the latest changes from the database."
commit-message: "chore(chains): sync from db"
+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`);
+14 -6
View File
@@ -10,16 +10,24 @@ dist-ssr
.cache
server/dist
public/dist
./legacy_packages/contracts-js/abis
.idea/
.yalc/
yalc.lock
build/
./build/
playwright-report/
.env/
# Artifacts
legacy_packages/cli/artifacts/
# codecov binary
codecov
codecov
# Remove sitemap files (generated at build time)
sitemap*.xml
# typedoc
packages/*/typedoc/*
*storybook.log
storybook-static
.aider*
tsconfig.tsbuildinfo
+1 -1
View File
@@ -1 +1 @@
20
22
-4
View File
@@ -1,4 +0,0 @@
node_modules
dist
contracts-js
*.d.ts
-4
View File
@@ -1,4 +0,0 @@
{
"singleQuote": false,
"trailingComma": "all"
}
+2 -5
View File
@@ -1,7 +1,4 @@
{
"recommendations": ["biomejs.biome"],
"unwantedRecommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
"recommendations": ["biomejs.biome"],
"unwantedRecommendations": ["esbenp.prettier-vscode"]
}
+22 -6
View File
@@ -1,19 +1,35 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
"source.fixAll.eslint": "explicit",
"source.organizeImports.biome": "explicit",
"quickfix.biome": "explicit"
},
"editor.defaultFormatter": "biomejs.biome",
"typescript.preferences.autoImportFileExcludePatterns": [
"./packages/thirdweb/src/exports"
],
"typescript.tsdk": "node_modules/typescript/lib",
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"typescript.preferences.autoImportFileExcludePatterns": ["/exports"],
"typescript.preferences.importModuleSpecifier": "relative"
"[css]": {
"editor.defaultFormatter": "biomejs.biome"
},
"eslint.workingDirectories": [
{ "pattern": "./packages/*/" },
{ "pattern": "./apps/*/" }
]
}
+19 -19
View File
@@ -22,7 +22,7 @@
- Support for React & React-Native
- First party support for [Embedded Wallets](https://portal.thirdweb.com/connect/embedded-wallet/overview) (social/email login)
- First party support for [Account Abstraction](https://portal.thirdweb.com/connect/account-abstraction)
- First party support for [Account Abstraction](https://portal.thirdweb.com/connect/account-abstraction/overview)
- Instant connection to any chain with RPC Edge integration
- Integrated IPFS upload/download
- UI Components for connection, transactions, nft rendering
@@ -31,24 +31,24 @@
## Library Comparison
| | thirdweb | Wagmi | Viem | Ethers@6 |
| ----------------------------------------- | -------- | ------------------ | ------------------ | -------- |
| Type safe contract API | ✅ | ✅ | ✅ | ✅ |
| Type safe wallet API | ✅ | ✅ | ✅ | ✅ |
| EVM utils | ✅ | ❌ | ✅ | ✅ |
| RPC for any EVM | ✅  | ⚠️ public RPC only | ⚠️ public RPC only | ❌ |
| Automatic ABI Resolution | ✅ | ❌ | ❌ | ❌ |
| IPFS Upload/Download | ✅ | ❌ | ❌ | ❌ |
| Embedded wallet (email/ social login) | ✅ | ⚠️ via 3rd party | ❌ | ❌ |
| Account abstraction (ERC4337) support | ✅ | ⚠️ via 3rd party | ⚠️ via 3rd party | ❌ |
| Web3 wallet connectors | ✅ | ✅ | ❌ | ❌ |
| Local wallet creation | ✅ | ❌ | ✅ | ✅ |
| Auth (SIWE) | ✅ | ⚠️ via 3rd party | ❌ | ❌ |
| Extensions functions for common standards | ✅ | ❌ | ❌ | ❌ |
| React Hooks | ✅ | ✅ | ❌ | ❌ |
| React UI components | ✅ | ❌ | ❌ | ❌ |
| React Native Hooks | ✅ | ❌ | ❌ | ❌ |
| React Native UI Components | ✅ | ❌ | ❌ | ❌ |
| | thirdweb | Wagmi + Viem | Ethers@6 |
| ----------------------------------------- | -------- | ------------------ | -------- |
| Type safe contract API | ✅ | ✅ | ✅ |
| Type safe wallet API | ✅ | ✅ | ✅ |
| EVM utils | ✅ | ✅ | ✅ |
| RPC for any EVM | ✅  | ⚠️ public RPC only | ❌ |
| Automatic ABI Resolution | ✅ | ❌ | ❌ |
| IPFS Upload/Download | ✅ | ❌ | ❌ |
| Embedded wallet (email/ social login) | ✅ | ⚠️ via 3rd party | ❌ |
| Account abstraction (ERC4337) support | ✅ | ⚠️ via 3rd party | ❌ |
| Web3 wallet connectors | ✅ | ✅ | ❌ |
| Local wallet creation | ✅ | ✅ | ✅ |
| Auth (SIWE) | ✅ | ✅ | ❌ |
| Extensions functions for common standards | ✅ | ✅ | ❌ |
| React Hooks | ✅ | ✅ | ❌ |
| React UI components | ✅ | ❌ | ❌ |
| React Native Hooks | ✅ | ✅ | ❌ |
| React Native UI Components | ✅ | ❌ | ❌ |
## Contributing
+100
View File
@@ -0,0 +1,100 @@
#
# Public (client)
#
# API authorized domain
# not required to build, defaults to prod
NEXT_PUBLIC_THIRDWEB_DOMAIN="localhost:3000"
# API host. For local development, please use "https://api.thirdweb-preview.com"
# otherwise: "https://api.thirdweb.com"
NEXT_PUBLIC_THIRDWEB_API_HOST="https://api.thirdweb-dev.com"
# Paper API host
NEXT_PUBLIC_THIRDWEB_EWS_API_HOST="https://ews.thirdweb-dev.com"
# thirdweb local api host
# NEXT_PUBLIC_THIRDWEB_API_HOST="http://127.0.0.1:3005"
# Client ID
# Get the client id from https://thirdweb.com/create-api-key and set it here,
# make sure to allow localhost:3000 in the allowed origins
NEXT_PUBLIC_DASHBOARD_CLIENT_ID="<replace_me_with_your_client_id>"
# IPFS gateway url
NEXT_PUBLIC_IPFS_GATEWAY_URL="https://{clientId}.thirdwebstorage-dev.com/ipfs/{cid}/{path}"
# Upload server url
NEXT_PUBLIC_DASHBOARD_UPLOAD_SERVER="https://storage.thirdweb-dev.com"
# typesense.com API key (used for contract search)
# - not required to build (unless testing contract search)
NEXT_PUBLIC_TYPESENSE_CONTRACT_API_KEY=
# posthog API key
# - not required for prod/staging
NEXT_PUBLIC_POSTHOG_API_KEY="ignored"
# Stripe Customer portal
NEXT_PUBLIC_STRIPE_KEY=
NEXT_PUBLIC_STRIPE_PAYMENT_METHOD_CFG_ID=
# Needed for contract analytics / blockchain data information
CHAINSAW_API_KEY=
#
# Private (server)
#
# Get the secret key from https://thirdweb.com/create-api-key and set it here, Make sure to allow localhost:3000 in the allowed origins
DASHBOARD_SECRET_KEY="<replace_me_with_your_secret_key>"
# Client id for api routes
API_ROUTES_CLIENT_ID=
# <moralis.io API key (used for api routes for token balances and wallet NFTs)
# - not required to build (unless using wallet NFTs and token balances)>
MORALIS_API_KEY=
# alchemy.com API key (used for wallet NFTS)
# - cannot be restricted to IP/domain because vercel has no stable IPs and it happens during build & runtime api route call
# - not required to build (unless testing wallet NFTs)>
SSR_ALCHEMY_KEY=
# beehiiv.com API key (used for newsletter signups)
# - not required to build (unless testing newsletter signups)>
BEEHIIV_API_KEY=
# Hubspot Access Token (used for contact us form)
# - not required to build (unless testing contact us form)>
HUBSPOT_ACCESS_TOKEN=
# Github API Token (used for /open-source)
GITHUB_API_TOKEN="ghp_..."
# Upload server url
NEXT_PUBLIC_DASHBOARD_UPLOAD_SERVER="https://storage.thirdweb-preview.com"
# Unthread variables - only required for submitting the support form in /support
UNTHREAD_API_KEY=""
UNTHREAD_TRIAGE_CHANNEL_ID=""
UNTHREAD_EMAIL_INBOX_ID=""
UNTHREAD_FREE_TIER_ID=""
UNTHREAD_GROWTH_TIER_ID=""
UNTHREAD_PRO_TIER_ID=""
# Demo Engine
NEXT_PUBLIC_DEMO_ENGINE_URL=""
# API server secret (required for thirdweb.com SIWE login). Copy from Vercel.
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=""
+13
View File
@@ -0,0 +1,13 @@
# folders
artifacts/
build/
cache/
coverage/
dist/
node_modules/
typechain/
graphql/
# files
.solcover.js
coverage.json
+190
View File
@@ -0,0 +1,190 @@
module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@next/next/recommended",
"plugin:storybook/recommended",
],
rules: {
"react-compiler/react-compiler": "error",
"no-restricted-syntax": [
"error",
{
selector: "CallExpression[callee.name='useEffect']",
message:
'Are you *sure* you need to use "useEffect" here? If you loading any async function prefer using "useQuery".',
},
{
selector: "CallExpression[callee.name='createContext']",
message:
'Are you *sure* you need to use a "Context"? In almost all cases you should prefer passing props directly.',
},
{
selector: "CallExpression[callee.name='defineChain']",
message:
"Use useV5DashboardChain instead if you are using it inside a component",
},
{
selector: "CallExpression[callee.name='defineDashboardChain']",
message:
"Use useV5DashboardChain instead if you are using it inside a component",
},
{
selector: "CallExpression[callee.name='mapV4ChainToV5Chain']",
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",
{
paths: [
{
name: "@chakra-ui/react",
// these are provided by tw-components, so we don't want to import them from chakra directly
importNames: [
"Card",
"Button",
"Checkbox",
"Badge",
"Drawer",
"Heading",
"Text",
"FormLabel",
"FormHelperText",
"FormErrorMessage",
"MenuGroup",
"VStack",
"HStack",
"AspectRatio",
"useToast",
"useClipboard",
"Badge",
"Stack",
// also the types
"ButtonProps",
"BadgeProps",
"DrawerProps",
"HeadingProps",
"TextProps",
"FormLabelProps",
"HelpTextProps",
"MenuGroupProps",
"MenuItemProps",
"AspectRatioProps",
"BadgeProps",
"StackProps",
],
message:
'Use the equivalent component from "tw-components" instead.',
},
{
name: "@chakra-ui/layout",
message:
"Import from `@chakra-ui/react` instead of `@chakra-ui/layout`.",
},
{
name: "@chakra-ui/button",
message:
"Import from `@chakra-ui/react` instead of `@chakra-ui/button`.",
},
{
name: "@chakra-ui/menu",
message:
"Import from `@chakra-ui/react` instead of `@chakra-ui/menu`.",
},
{
name: "next/navigation",
importNames: ["useRouter"],
message:
'Use `import { useDashboardRouter } from "@/lib/DashboardRouter";` instead',
},
{
name: "lucide-react",
importNames: ["Link", "Table", "Sidebar"],
message:
'This is likely a mistake. If you really want to import this - postfix the imported name with Icon. Example - "LinkIcon"',
},
],
},
],
},
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "react-compiler"],
parserOptions: {
ecmaVersion: 2019,
ecmaFeatures: {
impliedStrict: true,
jsx: true,
},
warnOnUnsupportedTypeScriptVersion: true,
},
settings: {
react: {
createClass: "createReactClass",
pragma: "React",
version: "detect",
},
},
overrides: [
// disable restricted imports in tw-components
{
files: "src/tw-components/**/*",
rules: {
"no-restricted-imports": ["off"],
},
},
// enable rule specifically for TypeScript files
{
files: ["*.ts", "*.tsx"],
rules: {
"@typescript-eslint/explicit-module-boundary-types": ["off"],
},
},
// in test files, allow null assertions and anys and eslint is sometimes weird about the react-scope thing
{
files: ["*test.ts?(x)"],
rules: {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
"react/display-name": "off",
},
},
// allow requires in non-transpiled JS files and logical key ordering in config files
{
files: [
"babel-node.js",
"*babel.config.js",
"env.config.js",
"next.config.js",
"webpack.config.js",
"packages/mobile-web/package-builder/**",
],
rules: {},
},
// setupTests can have separated imports for logical grouping
{
files: ["setupTests.ts"],
rules: {
"import/newline-after-import": "off",
},
},
// THIS NEEDS TO GO LAST!
{
files: ["*.ts", "*.js", "*.tsx", "*.jsx"],
extends: ["biome"],
},
],
env: {
browser: true,
node: true,
},
};
+31
View File
@@ -0,0 +1,31 @@
import { dirname, join } from "node:path";
import type { StorybookConfig } from "@storybook/nextjs";
/**
* This function is used to resolve the absolute path of a package.
* It is needed in projects that use Yarn PnP or are set up within a monorepo.
*/
function getAbsolutePath(value: string): string {
return dirname(require.resolve(join(value, "package.json")));
}
const config: StorybookConfig = {
stories: ["../src/**/*.stories.tsx"],
addons: [
getAbsolutePath("@storybook/addon-onboarding"),
getAbsolutePath("@storybook/addon-links"),
getAbsolutePath("@storybook/addon-essentials"),
getAbsolutePath("@chromatic-com/storybook"),
getAbsolutePath("@storybook/addon-interactions"),
],
framework: {
name: getAbsolutePath("@storybook/nextjs"),
options: {},
},
refs: {
"@chakra-ui/react": {
disable: true,
},
},
staticDirs: ["../public"],
};
export default config;
+85
View File
@@ -0,0 +1,85 @@
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 from "react";
import { useEffect } from "react";
import { Button } from "../src/@/components/ui/button";
const queryClient = new QueryClient();
const fontSans = interFont({
subsets: ["latin"],
variable: "--font-sans",
});
const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
},
decorators: [
(Story) => {
return (
<ThemeProvider
attribute="class"
disableTransitionOnChange
enableSystem={false}
defaultTheme="dark"
>
<StoryLayout>
<Story />
</StoryLayout>
</ThemeProvider>
);
},
],
};
export default preview;
function StoryLayout(props: {
children: React.ReactNode;
}) {
const { setTheme, theme } = useTheme();
useEffect(() => {
document.body.className = `font-sans antialiased ${fontSans.variable}`;
}, []);
return (
<QueryClientProvider client={queryClient}>
<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" : "outline"}
className="h-auto w-auto rounded-full p-2"
>
<MoonIcon className="size-4" />
</Button>
<Button
onClick={() => setTheme("light")}
size="sm"
variant={theme === "light" ? "default" : "outline"}
className="h-auto w-auto rounded-full p-2"
>
<SunIcon className="size-4" />
</Button>
</div>
<div className="flex min-w-0 grow flex-col">{props.children}</div>
</div>
</QueryClientProvider>
);
}
+39
View File
@@ -0,0 +1,39 @@
# thirdweb.com
This repo contains the full source for all of thirdweb.com and the thirdweb dashboard.
## Starting a local dev server
Run from the root folder (thirdweb-dev/js):
```sh
cd <path/to/thirdweb-dev/js>
pnpm dashboard
```
### Building for production
```sh
pnpm build
```
### Environment Variables
Some env vars can be overridden that are required for some external services to work. You can find them in the `.env.example` file at the root level of the project including some descriptions of what they are used for.
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.**
## 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.
+16
View File
@@ -0,0 +1,16 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
"extends": ["../../biome.json"],
"overrides": [
{
"include": ["src/css/swagger-ui.css"],
"linter": {
"rules": {
"suspicious": {
"noImportantInKeyframe": "off"
}
}
}
}
]
}
+30
View File
@@ -0,0 +1,30 @@
import { defineConfig } from "checkly";
import { Frequency } from "checkly/constructs";
export default defineConfig({
projectName: "thirdweb.com",
logicalId: "thirdweb-www",
repoUrl: "https://github.com/thirdweb-dev/dashboard",
checks: {
activated: true,
muted: false,
runtimeId: "2023.09",
frequency: Frequency.EVERY_24H,
locations: ["us-east-1", "eu-west-1"],
tags: ["website"],
checkMatch: "./**/*.check.ts",
ignoreDirectoriesMatch: [],
playwrightConfig: {
use: {
baseURL: process.env.ENVIRONMENT_URL || "https://thirdweb.com",
},
},
browserChecks: {
frequency: Frequency.EVERY_24H,
testMatch: "./tests/**/*.spec.ts",
},
},
cli: {
runLocation: "eu-west-1",
},
});
+17
View File
@@ -0,0 +1,17 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/global.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
}
}
+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",
];
+13
View File
@@ -0,0 +1,13 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"next": true,
"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"]
}
+5
View File
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
+138
View File
@@ -0,0 +1,138 @@
// @ts-check
/**
*
*/
async function fetchChainsFromApi() {
const res = await fetch("https://api.thirdweb.com/v1/chains", {
headers: {
"Content-Type": "application/json",
},
});
const json = await res.json();
if (json.error) {
throw new Error(json.message);
}
return json.data;
}
/**
*
* @param {number|string} chainIdOrSlug
*/
async function getSingleChain(chainIdOrSlug) {
const res = await fetch(
`https://api.thirdweb.com/v1/chains/${chainIdOrSlug}`,
{
headers: {
"Content-Type": "application/json",
},
},
);
const json = await res.json();
if (json.error) {
throw new Error(json.message);
}
return json.data;
}
/** @type {import('next-sitemap').IConfig} */
module.exports = {
siteUrl: process.env.SITE_URL || "https://thirdweb.com",
generateRobotsTxt: true,
robotsTxtOptions: {
policies: [
{
userAgent: "*",
// 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) => {
let path = _path;
// ignore og image paths
if (path.includes("_og")) {
return null;
}
// rewrite paths that include deployer to use thirdweb.eth directly
if (path.includes("deployer.thirdweb.eth")) {
path = path.replace("deployer.thirdweb.eth", "thirdweb.eth");
}
return {
// => this will be exported as http(s)://<config.siteUrl>/<path>
loc: path,
changefreq: config.changefreq,
priority: config.priority,
lastmod: config.autoLastmod ? new Date().toISOString() : undefined,
alternateRefs: config.alternateRefs ?? [],
};
},
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}`,
changefreq: config.changefreq,
priority: config.priority,
lastmod: config.autoLastmod ? new Date().toISOString() : undefined,
};
}),
...(await createSearchRecordSitemaps(config)),
];
},
};
/**
* @param {{ changefreq?: any; priority?: any; autoLastmod?: any; }} config
*/
async function createSearchRecordSitemaps(config) {
if (!process.env.TYPESENSE_CONTRACT_EXPORT_API_KEY) {
return [];
}
const response = await fetch(
"https://search.thirdweb.com/collections/contracts/documents/export?filter_by=testnet:false",
{
headers: {
"x-typesense-api-key": process.env.TYPESENSE_CONTRACT_EXPORT_API_KEY,
},
},
);
const data = await response.text();
const parsedLines = data.split("\n").map((l) => JSON.parse(l));
const chainsForLines = await Promise.all(
parsedLines.map((parsedLine) => {
return getSingleChain(parsedLine.chain_id)
.then((parsedLineChain) => ({
loc: `/${parsedLineChain.slug}/${parsedLine.contract_address}`,
changefreq: config.changefreq,
priority: config.priority,
lastmod: config.autoLastmod ? new Date().toISOString() : undefined,
}))
.catch(() => null);
}),
);
// filter out any failed requests
return chainsForLines.filter(Boolean);
}
+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();
+144
View File
@@ -0,0 +1,144 @@
{
"name": "thirdweb-dashboard",
"version": "3.0.0",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"dev": "next dev --turbo",
"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",
"fix": "biome check ./src --fix && eslint ./src --fix",
"typecheck": "tsc --noEmit",
"gen:theme-typings": "chakra-cli tokens src/theme/index.ts",
"postinstall": "pnpm run gen:theme-typings",
"postbuild": "next-sitemap",
"build:analyze": "ANALYZE=true pnpm run build",
"knip": "knip",
"playwright": "playwright test",
"update-checkly": "npx checkly deploy",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"dependencies": {
"@chakra-ui/react": "^2.8.2",
"@chakra-ui/styled-system": "^2.9.2",
"@chakra-ui/theme-tools": "^2.1.2",
"@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-accordion": "^1.2.2",
"@radix-ui/react-alert-dialog": "^1.1.4",
"@radix-ui/react-avatar": "^1.1.2",
"@radix-ui/react-checkbox": "^1.1.3",
"@radix-ui/react-dialog": "1.1.4",
"@radix-ui/react-dropdown-menu": "^2.1.3",
"@radix-ui/react-hover-card": "^1.1.3",
"@radix-ui/react-label": "^2.1.1",
"@radix-ui/react-popover": "^1.1.3",
"@radix-ui/react-progress": "^1.1.1",
"@radix-ui/react-radio-group": "^1.2.2",
"@radix-ui/react-select": "^2.1.3",
"@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.5",
"@sentry/nextjs": "8.45.1",
"@shazow/whatsabi": "^0.18.0",
"@tanstack/react-query": "5.62.16",
"@tanstack/react-table": "^8.20.6",
"@thirdweb-dev/service-utils": "workspace:*",
"@vercel/functions": "^1.5.2",
"@vercel/og": "^0.6.4",
"abitype": "1.0.7",
"chakra-react-select": "^4.7.6",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"color": "^4.2.3",
"compare-versions": "^6.1.0",
"date-fns": "4.1.0",
"fetch-event-stream": "0.1.5",
"flat": "^6.0.1",
"framer-motion": "11.15.0",
"fuse.js": "7.0.0",
"input-otp": "^1.4.1",
"ioredis": "^5.4.1",
"ipaddr.js": "^2.2.0",
"lucide-react": "0.468.0",
"next": "15.1.3",
"next-plausible": "^3.12.4",
"next-themes": "^0.4.4",
"nextjs-toploader": "^1.6.12",
"openapi-types": "^12.1.3",
"p-limit": "^6.2.0",
"papaparse": "^5.4.1",
"pluralize": "^8.0.0",
"posthog-js": "1.67.1",
"qrcode": "^1.5.3",
"react": "19.0.0",
"react-children-utilities": "^2.10.0",
"react-day-picker": "^8.10.1",
"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-table": "^7.8.0",
"recharts": "2.14.1",
"remark-gfm": "^4.0.0",
"server-only": "^0.0.1",
"shiki": "1.27.0",
"sonner": "^1.7.1",
"spdx-correct": "^3.2.0",
"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.4",
"zod": "3.24.1"
},
"devDependencies": {
"@chakra-ui/cli": "^2.4.1",
"@chromatic-com/storybook": "3.2.2",
"@next/bundle-analyzer": "15.1.0",
"@next/eslint-plugin-next": "15.1.3",
"@playwright/test": "1.49.1",
"@storybook/addon-essentials": "8.4.7",
"@storybook/addon-interactions": "8.4.7",
"@storybook/addon-links": "8.4.7",
"@storybook/addon-onboarding": "8.4.7",
"@storybook/addon-viewport": "8.4.7",
"@storybook/blocks": "8.4.7",
"@storybook/nextjs": "8.4.7",
"@storybook/react": "8.5.0",
"@storybook/test": "8.4.7",
"@types/color": "4.2.0",
"@types/node": "22.10.2",
"@types/papaparse": "^5.3.15",
"@types/pluralize": "^0.0.33",
"@types/qrcode": "^1.5.5",
"@types/react": "19.0.2",
"@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",
"@typescript-eslint/eslint-plugin": "7.14.1",
"@typescript-eslint/parser": "7.14.1",
"autoprefixer": "^10.4.19",
"checkly": "^4.18.0",
"eslint": "8.57.0",
"eslint-config-biome": "1.9.4",
"eslint-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
"eslint-plugin-storybook": "^0.11.1",
"knip": "5.41.0",
"next-sitemap": "^4.2.3",
"postcss": "8.4.49",
"storybook": "8.4.7",
"tailwindcss": "3.4.17",
"typescript": "5.7.2"
}
}
+79
View File
@@ -0,0 +1,79 @@
import { defineConfig, devices } from "@playwright/test";
/**
* Read environment variables from file.
* https://github.com/motdotla/dotenv
*/
// require('dotenv').config();
/**
* See https://playwright.dev/docs/test-configuration.
*/
export default defineConfig({
testDir: "./tests",
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: "html",
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: process.env.ENVIRONMENT_URL || "http://127.0.0.1:3000",
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: "on-first-retry",
},
/* Configure projects for major browsers */
projects: [
{
name: "chromium",
use: { ...devices["Desktop Chrome"] },
},
{
name: "firefox",
use: { ...devices["Desktop Firefox"] },
},
{
name: "webkit",
use: { ...devices["Desktop Safari"] },
},
/* Test against mobile viewports. */
// {
// name: 'Mobile Chrome',
// use: { ...devices['Pixel 5'] },
// },
// {
// name: 'Mobile Safari',
// use: { ...devices['iPhone 12'] },
// },
/* Test against branded browsers. */
// {
// name: 'Microsoft Edge',
// use: { ...devices['Desktop Edge'], channel: 'msedge' },
// },
// {
// name: 'Google Chrome',
// use: { ...devices['Desktop Chrome'], channel: 'chrome' },
// },
],
/* Run your local dev server before starting the tests */
webServer: process.env.CI
? undefined
: {
command: "pnpm run start",
url: "http://127.0.0.1:3000",
reuseExistingServer: !process.env.CI,
},
});
+6
View File
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
@@ -0,0 +1,30 @@
{
"applinks": {
"apps": ["XYHGSFAMHX.com.thirdweb.demo"],
"details": [
{
"appIDs": ["XYHGSFAMHX.com.thirdweb.demo"],
"components": [
{
"#": "no_universal_links",
"exclude": true,
"comment": "Matches any URL with a fragment that equals no_universal_links and instructs the system not to open it as a universal link."
},
{
"/": "/mobile-wallet-protocol",
"comment": "Matches any URL with a path that starts with /mobile-wallet-protocol for coinbase wallet mobile redirects."
},
{
"/": "/dashboard/*",
"exclude": true,
"comment": "no universal link for dashboard"
}
]
}
]
},
"webcredentials": {
"apps": ["XYHGSFAMHX.com.thirdweb.demo"]
},
"appclips": {}
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,15 @@
[
{
"relation": [
"delegate_permission/common.handle_all_urls",
"delegate_permission/common.get_login_creds"
],
"target": {
"namespace": "android_app",
"package_name": "com.thirdweb.demo",
"sha256_cert_fingerprints": [
"40:EB:0D:96:57:F3:D8:1F:BA:87:B8:E4:26:E0:3A:DB:C8:35:96:A8:A2:B2:55:F0:B1:64:F1:39:F8:6F:7E:EB"
]
}
}
]
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

@@ -0,0 +1,33 @@
<svg width="131" height="77" viewBox="0 0 131 77" fill="none" xmlns="http://www.w3.org/2000/svg">
<g style="mix-blend-mode:soft-light">
<path d="M71.7698 3.17877L71.7698 3.17879L71.7713 3.18246C73.8689 8.21143 75.9722 13.2376 78.0812 18.2611L85.1081 35.0345C85.3126 35.5237 85.5169 36.0127 85.7211 36.5015C86.7423 38.9464 87.7618 41.3872 88.7993 43.8279L88.8007 43.8308C89.0539 44.402 89.1843 45.0158 89.1843 45.6357C89.1843 46.2556 89.0539 46.8693 88.8007 47.4405L88.8006 47.4405L88.7989 47.4445C85.2379 55.9472 81.6739 64.4554 78.1071 72.9691L78.1068 72.969L78.1034 72.9784C77.827 73.7379 77.3342 74.4098 76.6791 74.918C76.024 75.4262 75.2329 75.7502 74.3944 75.8525L74.3943 75.8522L74.3829 75.8542C73.3465 76.0392 72.2755 75.8769 71.3505 75.3954C70.4257 74.914 69.7044 74.1436 69.3057 73.2157C67.8151 69.7111 66.3484 66.1975 64.8804 62.6808C64.374 61.4677 63.8675 60.2543 63.3598 59.0407L63.3596 59.0404C59.9946 51.0286 56.6381 43.0113 53.2903 34.9885L53.2902 34.9883C50.2996 27.8476 47.3119 20.7124 44.327 13.5828L44.3269 13.5825C44.0098 12.8277 43.6957 12.0703 43.3814 11.3121C42.7121 9.69784 42.0412 8.07963 41.3349 6.47442L41.3344 6.47335C41.0621 5.86376 40.9333 5.20476 40.9568 4.54287C40.9802 3.88099 41.1554 3.23173 41.4704 2.64099C41.7854 2.05021 42.2326 1.53211 42.7811 1.12381C43.3247 0.71913 43.9544 0.432248 44.6265 0.283547C44.6974 0.279275 44.7576 0.258773 44.7996 0.242894C44.8223 0.234325 44.8389 0.227626 44.8526 0.222089C44.8644 0.21732 44.8741 0.213412 44.8837 0.209912H68.0718C68.8381 0.36661 69.5603 0.677295 70.1907 1.12096C70.9043 1.65717 71.45 2.36903 71.7698 3.17877Z" fill="url(#paint0_linear_449_364)" stroke="url(#paint1_linear_449_364)" stroke-width="0.419823"/>
<path d="M31.0257 3.17877L31.0257 3.17879L31.0272 3.18246C33.1247 8.21143 35.228 13.2376 37.3371 18.2611L44.364 35.0345C44.5685 35.5237 44.7727 36.0127 44.9769 36.5015C45.9982 38.9464 47.0177 41.3872 48.0552 43.8279L48.0565 43.8308C48.3098 44.402 48.4402 45.0158 48.4402 45.6357C48.4402 46.2556 48.3098 46.8693 48.0565 47.4405L48.0565 47.4405L48.0548 47.4445C44.4937 55.9472 40.9298 64.4554 37.3629 72.9691L37.3627 72.969L37.3593 72.9784C37.0828 73.7379 36.59 74.4098 35.935 74.918C35.2799 75.4262 34.4887 75.7502 33.6502 75.8525L33.6502 75.8522L33.6388 75.8542C32.6024 76.0392 31.5314 75.8769 30.6063 75.3954C29.6815 74.914 28.9602 74.1436 28.5616 73.2157C27.0709 69.7111 25.6043 66.1975 24.1363 62.6808C23.6299 61.4677 23.1234 60.2543 22.6156 59.0407L22.6155 59.0404C19.2504 51.0286 15.894 43.0113 12.5462 34.9885L12.546 34.9883C9.55544 27.8476 6.56771 20.7124 3.58287 13.5828L3.58276 13.5825C3.26561 12.8277 2.9516 12.0703 2.63722 11.3121C1.96796 9.69784 1.29706 8.07963 0.590767 6.47442L0.590287 6.47335C0.317976 5.86376 0.189164 5.20476 0.212627 4.54287C0.236091 3.88099 0.411285 3.23173 0.72625 2.64099C1.04124 2.05021 1.48848 1.53211 2.03695 1.12381C2.58055 0.71913 3.21026 0.432248 3.88238 0.283547C3.95322 0.279275 4.01344 0.258773 4.05548 0.242894C4.07817 0.234325 4.09475 0.227626 4.10846 0.222089C4.12026 0.21732 4.12993 0.213412 4.13954 0.209912H27.3276C28.0939 0.36661 28.8162 0.677295 29.4466 1.12096C30.1602 1.65717 30.7059 2.36903 31.0257 3.17877Z" fill="url(#paint2_linear_449_364)" stroke="url(#paint3_linear_449_364)" stroke-width="0.419823"/>
<path d="M127.696 52.2893L127.695 52.2916C125.35 57.9102 122.99 63.5315 120.616 69.1556L120.615 69.1578C120.353 69.8004 120.088 70.4219 119.824 71.0406L119.798 71.1028C119.525 71.7413 119.255 72.3775 118.99 73.0285C118.631 73.8975 117.997 74.6399 117.176 75.1521C116.354 75.6645 115.386 75.9206 114.404 75.8842L114.402 75.8841C113.465 75.8598 112.558 75.5691 111.796 75.0501C111.034 74.5311 110.452 73.8077 110.123 72.9732L110.121 72.9693C106.699 64.7753 103.27 56.5813 99.8356 48.3874L99.8355 48.3872C96.8738 41.3403 93.9005 34.2768 90.9156 27.1968C90.9156 27.1967 90.9155 27.1966 90.9155 27.1965L86.5942 16.8007L82.2725 6.40395L82.2725 6.40393L82.2707 6.39985C82.0043 5.79543 81.8802 5.14275 81.9068 4.48792C81.9334 3.83309 82.1102 3.19147 82.4251 2.60845C82.74 2.0254 83.1854 1.51495 83.7305 1.11372C84.2755 0.71248 84.9067 0.430427 85.5795 0.288074L85.587 0.286472L85.5945 0.284316L85.8511 0.209912H109.015L109.201 0.266882L109.211 0.269913L109.221 0.271955C110.006 0.42991 110.735 0.776253 111.339 1.27754C111.944 1.77878 112.405 2.41827 112.679 3.13524L112.679 3.13528L112.681 3.14125C114.03 6.36713 115.384 9.59577 116.744 12.8272L122.059 25.5311L127.375 38.2354C127.375 38.2355 127.375 38.2355 127.375 38.2355C127.635 38.8566 127.901 39.4724 128.167 40.0865C128.858 41.6814 129.544 43.2652 130.09 44.9034L130.073 46.3518C129.566 48.0167 128.87 49.6041 128.159 51.2273C128.005 51.5792 127.85 51.9328 127.696 52.2893Z" fill="url(#paint4_linear_449_364)" stroke="url(#paint5_linear_449_364)" stroke-width="0.419823"/>
</g>
<defs>
<linearGradient id="paint0_linear_449_364" x1="69.1242" y1="-37.0436" x2="69.1263" y2="401.73" gradientUnits="userSpaceOnUse">
<stop stop-color="white"/>
<stop offset="0.378333" stop-color="white" stop-opacity="0"/>
</linearGradient>
<linearGradient id="paint1_linear_449_364" x1="65.0692" y1="0" x2="65.0692" y2="76.1386" gradientUnits="userSpaceOnUse">
<stop stop-color="white"/>
<stop offset="1" stop-color="white" stop-opacity="0"/>
</linearGradient>
<linearGradient id="paint2_linear_449_364" x1="28.3801" y1="-37.0436" x2="28.3821" y2="401.73" gradientUnits="userSpaceOnUse">
<stop stop-color="white"/>
<stop offset="0.378333" stop-color="white" stop-opacity="0"/>
</linearGradient>
<linearGradient id="paint3_linear_449_364" x1="24.325" y1="0" x2="24.325" y2="76.1386" gradientUnits="userSpaceOnUse">
<stop stop-color="white"/>
<stop offset="1" stop-color="white" stop-opacity="0"/>
</linearGradient>
<linearGradient id="paint4_linear_449_364" x1="110.048" y1="-37.0237" x2="110.05" y2="401.513" gradientUnits="userSpaceOnUse">
<stop stop-color="white"/>
<stop offset="0.378333" stop-color="white" stop-opacity="0"/>
</linearGradient>
<linearGradient id="paint5_linear_449_364" x1="105.997" y1="0" x2="105.997" y2="76.0975" gradientUnits="userSpaceOnUse">
<stop stop-color="white"/>
<stop offset="1" stop-color="white" stop-opacity="0"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><g clip-path="url(#clip0_1108_14413)"><path fill="#3385FF" d="M14.7504 8.70619L8.70668 14.7499C8.61427 14.8433 8.50427 14.9174 8.38305 14.968C8.26182 15.0185 8.13178 15.0446 8.00042 15.0446C7.86907 15.0446 7.73903 15.0185 7.6178 14.968C7.49658 14.9174 7.38658 14.8433 7.29417 14.7499L1.25042 8.70619C1.06492 8.51792 0.960937 8.26423 0.960938 7.99994C0.960938 7.73564 1.06492 7.48195 1.25042 7.29369L7.29417 1.24994C7.48244 1.06443 7.73613 0.960449 8.00042 0.960449C8.26472 0.960449 8.51841 1.06443 8.70668 1.24994L14.7504 7.29369C14.9359 7.48195 15.0399 7.73564 15.0399 7.99994C15.0399 8.26423 14.9359 8.51792 14.7504 8.70619Z"/><g clip-path="url(#clip1_1108_14413)"><path fill="#fff" d="M6.80353 9.36054L10.3312 6.14966C10.4408 6.04989 10.5803 6 10.7497 6C10.9191 6 11.0586 6.04989 11.1683 6.14966C11.2779 6.24943 11.3327 6.37642 11.3327 6.53061C11.3327 6.68481 11.2779 6.81179 11.1683 6.91156L7.22207 10.5034C7.10249 10.6122 6.96298 10.6667 6.80353 10.6667C6.64409 10.6667 6.50458 10.6122 6.385 10.5034L4.83044 9.08844C4.72082 8.98866 4.66602 8.86168 4.66602 8.70748C4.66602 8.55329 4.72082 8.4263 4.83044 8.32653C4.94006 8.22676 5.07957 8.17687 5.24898 8.17687C5.41838 8.17687 5.55789 8.22676 5.66751 8.32653L6.80353 9.36054Z"/></g></g><defs><clipPath id="clip0_1108_14413"><rect width="16" height="16" fill="#fff"/></clipPath><clipPath id="clip1_1108_14413"><rect width="8.17" height="8.17" fill="#fff" transform="translate(4.08594 4.76611)"/></clipPath></defs></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

@@ -0,0 +1,3 @@
address,quantity
0x0000000000000000000000000000000000000000,3
0x000000000000000000000000000000000000dEaD,1
1 address quantity
2 0x0000000000000000000000000000000000000000 3
3 0x000000000000000000000000000000000000dEaD 1
@@ -0,0 +1,2 @@
name,description,image,animation_url,external_url,background_color,youtube_url,additional,properties,can be,added
Token 0 Name,Token 0 Description,ipfs://ipfsHash/0,ipfs://ipfsHash/0,https://thirdweb.com,#0098EE,,every,row,is a ,property
1 name description image animation_url external_url background_color youtube_url additional properties can be added
2 Token 0 Name Token 0 Description ipfs://ipfsHash/0 ipfs://ipfsHash/0 https://thirdweb.com #0098EE every row is a property
@@ -0,0 +1,4 @@
name,description,image,animation_url,external_url,background_color,youtube_url,additional,properties,can be,added
Token 0 Name,Token 0 Description,0.png,0.mp4,https://thirdweb.com,#0098EE,,every,row,is a ,property
Token 1 Name,Token 1 Description,0.png,0.mp4,https://thirdweb.com,#0098EE,,every,row,is a ,property
Token 2 Name,Token 2 Description,0.png,0.mp4,https://thirdweb.com,#0098EE,,every,row,is a ,property
1 name description image animation_url external_url background_color youtube_url additional properties can be added
2 Token 0 Name Token 0 Description 0.png 0.mp4 https://thirdweb.com #0098EE every row is a property
3 Token 1 Name Token 1 Description 0.png 0.mp4 https://thirdweb.com #0098EE every row is a property
4 Token 2 Name Token 2 Description 0.png 0.mp4 https://thirdweb.com #0098EE every row is a property
@@ -0,0 +1,2 @@
name,description,external_url,background_color,youtube_url,additional,properties,can be,added
Token 0 Name,Token 0 Description,https://thirdweb.com,#0098EE,,every,row,is a ,property
1 name description external_url background_color youtube_url additional properties can be added
2 Token 0 Name Token 0 Description https://thirdweb.com #0098EE every row is a property
@@ -0,0 +1,72 @@
[
{
"name": "Your Collection #1",
"description": "Remember to replace this description",
"image": "ipfs://NewUriToReplace/1.png",
"attributes": [
{
"trait_type": "Background",
"value": "Black"
},
{
"trait_type": "Eyeball",
"value": "White"
},
{
"trait_type": "Eye color",
"value": "Yellow"
},
{
"trait_type": "Iris",
"value": "Medium"
},
{
"trait_type": "Shine",
"value": "Shapes"
},
{
"trait_type": "Bottom lid",
"value": "Middle"
},
{
"trait_type": "Top lid",
"value": "High"
}
]
},
{
"name": "Your Collection #2",
"description": "Remember to replace this description",
"image": "ipfs://NewUriToReplace/2.png",
"attributes": [
{
"trait_type": "Background",
"value": "Black"
},
{
"trait_type": "Eyeball",
"value": "White"
},
{
"trait_type": "Eye color",
"value": "Red"
},
{
"trait_type": "Iris",
"value": "Small"
},
{
"trait_type": "Shine",
"value": "Shapes"
},
{
"trait_type": "Bottom lid",
"value": "Low"
},
{
"trait_type": "Top lid",
"value": "Middle"
}
]
}
]
@@ -0,0 +1,3 @@
address,maxClaimable
0x0000000000000000000000000000000000000000,2
0x000000000000000000000000000000000000dEaD,5
1 address maxClaimable
2 0x0000000000000000000000000000000000000000 2
3 0x000000000000000000000000000000000000dEaD 5
@@ -0,0 +1,3 @@
address,maxClaimable,price,currencyAddress
0x0000000000000000000000000000000000000000,2,0.1,0x0000000000000000000000000000000000000000
0x000000000000000000000000000000000000dEaD,5,2.5,0x0000000000000000000000000000000000000000
1 address maxClaimable price currencyAddress
2 0x0000000000000000000000000000000000000000 2 0.1 0x0000000000000000000000000000000000000000
3 0x000000000000000000000000000000000000dEaD 5 2.5 0x0000000000000000000000000000000000000000
@@ -0,0 +1,3 @@
address
0x0000000000000000000000000000000000000000
0x000000000000000000000000000000000000dEaD
1 address
2 0x0000000000000000000000000000000000000000
3 0x000000000000000000000000000000000000dEaD
Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

@@ -0,0 +1,6 @@
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="Check Circle Icon">
<path id="Vector" d="M8.5 16.5C12.9184 16.5 16.5 12.9184 16.5 8.5C16.5 4.0816 12.9184 0.5 8.5 0.5C4.0816 0.5 0.5 4.0816 0.5 8.5C0.5 12.9184 4.0816 16.5 8.5 16.5Z" fill="white"/>
<path id="Check" d="M4.87939 9.01716L6.9482 11.086L12.1202 5.91394" stroke="#000001" stroke-width="1.23077" stroke-linecap="round" stroke-linejoin="round"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

Some files were not shown because too many files have changed in this diff Show More