9024 Commits
Author SHA1 Message Date
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>
[email protected]
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>
[email protected]
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>
@thirdweb-dev/[email protected] [email protected]
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