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