@thirdweb-dev/[email protected]
6158
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
98d0afe7f6 | [Chore] Add Vercel configuration for auto job cancelation in dashboard and playground-web apps (#3409) | ||
|
|
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 -->
|
||
|
|
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 -->
|
||
|
|
65c8853b2b | Dashboard: Fix AA configuration form not updated on APIKey change (#3400) | ||
|
|
316b99e39e |
chore(chains): update chains (#3401)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
||
|
|
988e10e755 |
fix: typos (#3399)
Signed-off-by: omahs <[email protected]> |
||
|
|
ba46653bef | [Chore] Add labeler workflow configuration (#3402) | ||
|
|
3318e58dc3 |
chore(chains): update chains (#3389)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
||
|
|
00f3fb506f | testing deployment (#3398) | ||
|
|
5c6f7387e0 | [Chore] Update auto import file exclude patterns for TypeScript in .vscode settings (#3390) | ||
|
|
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 -->
|
||
|
|
b20a6080db |
Merge pull request #3391 from thirdweb-dev/merge-dashboard
[massive] - dashboard |
||
|
|
46b2482511 | Merge branch 'main' into merge-dashboard | ||
|
|
3586394d34 | update react version | ||
|
|
1b927e7d93 | move dashboard into js monorepo | ||
|
|
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 -->
|
||
|
|
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 -->
|
||
|
|
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 -->
|
||
|
|
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 -->
|
||
|
|
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 -->
|
||
|
|
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 -->
|
||
|
|
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 -->
|
||
|
|
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 -->
|
||
|
|
991cb72bdb |
chore(chains): update chains (#3382)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
||
|
|
8d7f8db39a |
fix(react): return type on useConnectModal.connect (#3385)
Co-authored-by: Manan Tank <[email protected]> |
||
|
|
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 -->
|
||
|
|
e314363ec4 | [Chore] Remove pnpm-lock.yaml file from playground-web app (#3383) | ||
|
|
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 -->
|
||
|
|
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 -->
|
||
|
|
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 -->
|
||
|
|
4cfb492bfc | Add purchaseData parameter for pay quote APIs (#3326) | ||
|
|
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 -->
|
||
|
|
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 -->
|
||
|
|
7fdb946430 | [Feature] Add nightly release GitHub workflow (#3380) | ||
|
|
e441adf4f3 |
chore(chains): update chains (#3365)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
||
|
|
966ca658fa | [Chore] Remove deprecated release-pr GitHub workflow (#3378) | ||
|
|
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 --> |
||
|
|
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. |
||
|
|
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> & <code>factoryData</code> parameters to <code>call</code> & <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 /> [](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 --> |
||
|
|
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. |
||
|
|
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 -->
|
||
|
|
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 -->
|
||
|
|
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 "⌨️ 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: 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 "⌨️ 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 /> [](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 --> |
||
|
|
8d243b03f9 |
feat: Contract subscriptions filters (#2653)
* feat: add event filters to contract subscriptions * undo early access warning |
||
|
|
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 -->
|
||
|
|
fa4db2233c |
Version Packages (#3367)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <[email protected]>@thirdweb-dev/[email protected] @thirdweb-dev/[email protected] @thirdweb-dev/[email protected] @thirdweb-dev/[email protected] @thirdweb-dev/[email protected] @thirdweb-dev/[email protected] @thirdweb-dev/[email protected] [email protected] |
||
|
|
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 /> [](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 --> |
||
|
|
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<C> = 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<C> = 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 || >=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 /> [](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 --> |
||
|
|
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 -->
|
||
|
|
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. --- |