@thirdweb-dev/[email protected]
8433
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
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. --- |
||
|
|
9dd1b5a5eb |
fix: signing raw messages in ethers adapter (#3366)
<!-- start pr-codex -->
## PR-Codex overview
This PR focuses on fixing the signing of raw messages through ethers 5/6 adapters.
### Detailed summary
- Updated message signing to accept raw message format in ethers 5/6 adapters
- Added tests for signing raw messages in ethers 5/6 adapters
- Added randomBytesBuffer import for test files
- Updated signing tests in viem adapter
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
|
||
|
|
b9b622a1f7 |
chore(chains): update chains (#3355)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
||
|
|
449ae19f94 |
Version Packages (#3352)
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] @thirdweb-dev/[email protected] [email protected] |
||
|
|
7304c5b0c7 | refactor: respect Coinbase wallet optons when preloading (#3364) | ||
|
|
49cfdb3fd9 |
build(deps): bump @eth-optimism/sdk from 3.3.0 to 3.3.2 (#3357)
Bumps [@eth-optimism/sdk](https://github.com/ethereum-optimism/ecosystem) from 3.3.0 to 3.3.2. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/ethereum-optimism/ecosystem/commits/@eth-optimism/[email protected]">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the `@eth-optimism/sdk` package to version 3.3.2 and makes corresponding changes in the `pnpm-lock.yaml` file. ### Detailed summary - Updated `@eth-optimism/sdk` to version 3.3.2 in `package.json` - Updated version and specifier in `pnpm-lock.yaml` for `@eth-optimism/sdk` to 3.3.2 > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> |
||
|
|
2d7ebe2111 | fix: ConnectButton custom theme + customized component in playground (#3356) | ||
|
|
e95bf7f62e |
Allow uploading to IPFS without a folder (when upload a single file) (#2667)
<img width="819" alt="image" src="https://github.com/thirdweb-dev/dashboard/assets/26052673/205d590e-893e-4f1b-a4f0-c5aaab9bdf01"> <!-- start pr-codex --> --- ## PR-Codex overview The focus of this PR is to add a feature that allows users to choose whether to upload a file to a folder or without a folder in the IPFS uploader component. ### Detailed summary - Added a `Checkbox` component for users to choose upload options - Introduced state for tracking upload preferences - Updated UI elements based on user's upload selection > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> |
||
|
|
a9ce10f39a |
Add ERC721 extension: updateMetadata & updateBatchBaseURI (#3347)
<!-- start pr-codex -->
## PR-Codex overview
This PR adds an ERC721 extension `updateMetadata` for updating NFT metadata in batches.
### Detailed summary
- Added `updateMetadata` function to update NFT metadata
- Implemented `getUpdateMetadataParams` to prepare transaction
- Added tests for `updateMetadata` function
- Introduced `freezeBatchBaseURI` function and related utilities
> The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/erc721/__generated__/DropERC721/write/freezeBatchBaseURI.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/DropERC721/write/setMaxTotalSupply.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/DropERC721/write/updateBatchBaseURI.ts`
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
|
||
|
|
a82df76806 |
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.13.0 to 7.13.1 (#2679)
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.13.0 to 7.13.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p> <blockquote> <h2>v7.13.1</h2> <h2>7.13.1 (2024-06-17)</h2> <h3>🩹 Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [prefer-readonly] refine report locations (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/8894">#8894</a>)</li> <li><strong>eslint-plugin:</strong> [return-await] support explicit resource management (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9044">#9044</a>)</li> <li><strong>eslint-plugin:</strong> [no-unsafe-member-access] differentiate a types-error any from a true any (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/9291">#9291</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Kirk Waiblinger</li> <li>Yukihiro Hasegawa <a href="https://github.com/y-hsgw"><code>@y-hsgw</code></a></li> </ul> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p> <blockquote> <h2>7.13.1 (2024-06-17)</h2> <h3>🩹 Fixes</h3> <ul> <li> <p><strong>eslint-plugin:</strong> [prefer-readonly] refine report locations</p> </li> <li> <p><strong>eslint-plugin:</strong> [return-await] support explicit resource management</p> </li> <li> <p><strong>eslint-plugin:</strong> [no-unsafe-member-access] differentiate a types-error any from a true any</p> </li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Kirk Waiblinger</li> <li>Yukihiro Hasegawa</li> </ul> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/1212a8f30c5daa6a9b232a1d95e328d675430749"><code>1212a8f</code></a> chore(release): publish 7.13.1</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/af34737faf8bb38c2636f45c970356caab855de3"><code>af34737</code></a> docs: improve return-await description about motivation (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/9201">#9201</a>)</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/bf48dc5e8e62e9d292e938ef95e7510dbc04b309"><code>bf48dc5</code></a> fix(eslint-plugin): [no-unsafe-member-access] differentiate a types-error any...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/33acc5004bf15b733acf9fb736e0e806b965c25d"><code>33acc50</code></a> fix(eslint-plugin): [return-await] support explicit resource management (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/9044">#9044</a>)</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/50ed60438c750a06c73d6cfb9c1249c349b9445e"><code>50ed604</code></a> fix(eslint-plugin): [prefer-readonly] refine report locations (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/8894">#8894</a>)</li> <li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v7.13.1/packages/eslint-plugin">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates `@typescript-eslint/eslint-plugin` to version `7.13.1` and `semver` to `7.6.2` across various dependencies. ### Detailed summary - Updated `@typescript-eslint/eslint-plugin` to `7.13.1` - Updated `semver` to `7.6.2` in multiple packages - Updated `@typescript-eslint/scope-manager` and related dependencies to `7.13.1` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> |
||
|
|
09560bf65b |
build(deps): bump @thirdweb-dev/chains from 0.1.118 to 0.1.119 (#2678)
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [@thirdweb-dev/chains](https://github.com/thirdweb-dev/js) from 0.1.118 to 0.1.119. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/thirdweb-dev/js/releases"><code>@thirdweb-dev/chains</code>'s releases</a>.</em></p> <blockquote> <h2><code>@thirdweb-dev/chains</code><a href="https://github.com/0"><code>@0</code></a>.1.119</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/thirdweb-dev/js/pull/3311">#3311</a> <a href="https://github.com/thirdweb-dev/js/commit/8b74602e3b7fbe011bf886b9d5ee0e2ea62f7447"><code>8b74602</code></a> Thanks <a href="https://github.com/apps/github-actions"><code>@github-actions</code></a>! - Synced Chains Package</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/thirdweb-dev/js/commit/4dce62de1c7118ab7be279c9716a25fbc803a11f"><code>4dce62d</code></a> Version Packages (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3319">#3319</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/1c533efcd5fbc8a72fd03c98510fa601ee5f34b5"><code>1c533ef</code></a> fix: respect transaction button theme prop (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3341">#3341</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/eca6217f7748036d7c61fa946f73c86c1be9364d"><code>eca6217</code></a> refactor: separate onConnectRequested impl between web and native (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3344">#3344</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/df84f9c4ce4d3e402c82037230515513380e73d1"><code>df84f9c</code></a> refactor: improve Coinbase connection handling (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3340">#3340</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/17c0e6f282d646ff76f556c9ba5e37d905eca24e"><code>17c0e6f</code></a> [ConnectWallet] Include wallet name in injectedWalletLocale query key (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3333">#3333</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/d51c1883afc0513f1c50c041b97709c928d5285f"><code>d51c188</code></a> [Refactor] Migrate usePreloadWalletProviders to useQueries for wallet preload...</li> <li><a href="https://github.com/thirdweb-dev/js/commit/9cf3a1d6636fcd56559e889ab2bfe3249d51162a"><code>9cf3a1d</code></a> feat: preloading wallet providers for improved performance (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3330">#3330</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/c94bcd574aa4eaf2bd76ab8b6379302de4731ed4"><code>c94bcd5</code></a> refactor: change Coinbase SDK import to dynamic in coinbaseSDKWallet.ts (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3329">#3329</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/41c6d04c2fdac5b1779b54afcbf2d67d0f17ffb8"><code>41c6d04</code></a> [dependencies] Bump turbo package to 2.0.4 (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3323">#3323</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/3a78041de7961b31ee9a854d43b7d52daebb02aa"><code>3a78041</code></a> [Multi] Update dependencies and version packages (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3327">#3327</a>)</li> <li>Additional commits viewable in <a href="https://github.com/thirdweb-dev/js/compare/@thirdweb-dev/[email protected]...@thirdweb-dev/[email protected]">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates dependencies to their latest versions, including `@thirdweb-dev/chains` to `0.1.119`. ### Detailed summary - Updated `@thirdweb-dev/chains` dependency to version `0.1.119` - Updated various dependencies to their latest versions - Removed `bundledDependencies` from `/[email protected]` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> |
||
|
|
4abfcf1f45 |
build(deps): bump thirdweb from 5.29.2 to 5.29.4 (#2676)
Bumps [thirdweb](https://github.com/thirdweb-dev/js) from 5.29.2 to 5.29.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/thirdweb-dev/js/releases">thirdweb's releases</a>.</em></p> <blockquote> <h2>[email protected].4</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/thirdweb-dev/js/pull/3345">#3345</a> <a href="https://github.com/thirdweb-dev/js/commit/79e6a047d6ae6cb341fdad22137bd83ad6e611d4"><code>79e6a04</code></a> Thanks <a href="https://github.com/joaquim-verges"><code>@joaquim-verges</code></a>! - Fix react native inAppWallet creation</li> </ul> <h2>[email protected].3</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/thirdweb-dev/js/pull/3329">#3329</a> <a href="https://github.com/thirdweb-dev/js/commit/c94bcd574aa4eaf2bd76ab8b6379302de4731ed4"><code>c94bcd5</code></a> Thanks <a href="https://github.com/joaquim-verges"><code>@joaquim-verges</code></a>! - Dynamically import coinbase sdk to avoid cloudflare bundler issues</p> </li> <li> <p><a href="https://redirect.github.com/thirdweb-dev/js/pull/3341">#3341</a> <a href="https://github.com/thirdweb-dev/js/commit/1c533efcd5fbc8a72fd03c98510fa601ee5f34b5"><code>1c533ef</code></a> Thanks <a href="https://github.com/joaquim-verges"><code>@joaquim-verges</code></a>! - Fix transaction button not respecting theme prop</p> </li> <li> <p><a href="https://redirect.github.com/thirdweb-dev/js/pull/3298">#3298</a> <a href="https://github.com/thirdweb-dev/js/commit/ffaff744f72d2cb22896e7501677b48f76ea857a"><code>ffaff74</code></a> Thanks <a href="https://github.com/joaquim-verges"><code>@joaquim-verges</code></a>! - refactor exports to handle native vs non-native dependencies</p> </li> <li> <p><a href="https://redirect.github.com/thirdweb-dev/js/pull/3330">#3330</a> <a href="https://github.com/thirdweb-dev/js/commit/9cf3a1d6636fcd56559e889ab2bfe3249d51162a"><code>9cf3a1d</code></a> Thanks <a href="https://github.com/joaquim-verges"><code>@joaquim-verges</code></a>! - Fix coinbase wallet popup sometimes not opening on safari + improve inAppWallet web performance</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/thirdweb-dev/js/commit/507d0e5bf46b2976f62857fd58a338d443efa684"><code>507d0e5</code></a> Version Packages (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3346">#3346</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/79e6a047d6ae6cb341fdad22137bd83ad6e611d4"><code>79e6a04</code></a> fix: inApp native wallet creation (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3345">#3345</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/4dce62de1c7118ab7be279c9716a25fbc803a11f"><code>4dce62d</code></a> Version Packages (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3319">#3319</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/1c533efcd5fbc8a72fd03c98510fa601ee5f34b5"><code>1c533ef</code></a> fix: respect transaction button theme prop (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3341">#3341</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/eca6217f7748036d7c61fa946f73c86c1be9364d"><code>eca6217</code></a> refactor: separate onConnectRequested impl between web and native (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3344">#3344</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/df84f9c4ce4d3e402c82037230515513380e73d1"><code>df84f9c</code></a> refactor: improve Coinbase connection handling (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3340">#3340</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/17c0e6f282d646ff76f556c9ba5e37d905eca24e"><code>17c0e6f</code></a> [ConnectWallet] Include wallet name in injectedWalletLocale query key (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3333">#3333</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/d51c1883afc0513f1c50c041b97709c928d5285f"><code>d51c188</code></a> [Refactor] Migrate usePreloadWalletProviders to useQueries for wallet preload...</li> <li><a href="https://github.com/thirdweb-dev/js/commit/9cf3a1d6636fcd56559e889ab2bfe3249d51162a"><code>9cf3a1d</code></a> feat: preloading wallet providers for improved performance (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3330">#3330</a>)</li> <li><a href="https://github.com/thirdweb-dev/js/commit/c94bcd574aa4eaf2bd76ab8b6379302de4731ed4"><code>c94bcd5</code></a> refactor: change Coinbase SDK import to dynamic in coinbaseSDKWallet.ts (<a href="https://redirect.github.com/thirdweb-dev/js/issues/3329">#3329</a>)</li> <li>Additional commits viewable in <a href="https://github.com/thirdweb-dev/js/compare/[email protected]@5.29.4">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates dependencies in `package.json` and `pnpm-lock.yaml` files. It specifically upgrades `thirdweb` to version `5.29.4` and `picocolors` to `1.0.1`. ### Detailed summary - Updated `thirdweb` dependency to version `5.29.4` - Updated `picocolors` dependency to version `1.0.1` - Minor version upgrades for various dependencies in `[email protected].4` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> |
||
|
|
321cf26342 |
chore(chains): update chains (#3348)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
||
|
|
d2ad36d76d |
[Fix] Ensure proper awaiting of the format function in generate script (#3349)
### TL;DR This PR modifies the `generateFromAbi` function to ensure that the `format` function from Prettier is properly awaited. This solves issues with file writing inconsistencies. ### What changed? - Added `await` to the `format` function calls within `generateFromAbi`. ### How to test? 1. Run the `generateFromAbi` script. 2. Ensure that generated files are consistently formatted. ### Why make this change? This change ensures that the Prettier formatting is correctly applied before the files are written, resolving any inconsistencies and potential bugs caused by non-awaited formatting. --- |
||
|
|
507d0e5bf4 |
Version Packages (#3346)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>@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] |
||
|
|
79e6a047d6 | fix: inApp native wallet creation (#3345) | ||
|
|
4dce62de1c |
Version Packages (#3319)
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] @thirdweb-dev/[email protected] [email protected] |
||
|
|
1c533efcd5 |
fix: respect transaction button theme prop (#3341)
<!-- start pr-codex -->
## PR-Codex overview
This PR fixes the issue where the transaction button did not respect the theme prop in the `SponsoredTxPreview` component.
### Detailed summary
- Fixed transaction button theme prop issue in `SponsoredTxPreview`
- Added `isValidTheme` and `parseTheme` functions in `buttons.tsx`
- Updated `parseTheme` to validate theme and return default if invalid
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
|
||
|
|
eca6217f77 | refactor: separate onConnectRequested impl between web and native (#3344) | ||
|
|
df84f9c4ce |
refactor: improve Coinbase connection handling (#3340)
### TL;DR
To prevent popups from Coinbase wallet being blocked in Safari, pre-connection actions have been added. Specifically, popups will be displayed immediately upon connection request and before transaction preprocessing.
### What changed?
1. Removed the `COINBASE` constant and its related connection flow.
2. Integrated `onConnectRequested` optional function for wallets.
3. Updated Coinbase wallet's `onConnectRequested` to show the popup immediately.
4. Added `onTransactionRequested` to show popup before transaction processing.
### How to test?
1. Initiate connection with Coinbase wallet and observe that the popup appears immediately.
2. Perform a transaction with Coinbase wallet and ensure the popup is not blocked.
3. Test across different browsers, focusing on Safari.
### Why make this change?
Safari has stricter rules regarding popups, and the previous delay in showing the popup led to it being blocked. This change ensures a smoother user experience for Coinbase wallet users on Safari by addressing the popup blocking issue.
---
<!-- start pr-codex -->
---
## PR-Codex overview
The focus of this PR is to enhance wallet connectivity and transaction handling in the application.
### Detailed summary
- Added `onConnectRequested` and `onTransactionRequested` functions to wallet interfaces
- Updated wallet connection and transaction handling logic
- Preloaded wallet providers for smoother user experience
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
|
||
|
|
17c0e6f282 |
[ConnectWallet] Include wallet name in injectedWalletLocale query key (#3333)
### TL;DR Updated the queryKey used in the useQuery hook to also include the walletInfo.data?.name parameter, ensuring that injectedWalletLocale queries are correctly keyed and updated when the wallet name changes. ### What changed? The queryKey array in the useQuery hook was updated from `["injectedWalletLocale", localeId]` to `["injectedWalletLocale", localeId, walletInfo.data?.name]`. ### How to test? 1. Ensure the application runs without errors. 2. Verify that locale-specific wallet names are correctly handled when displayed in the UI. ### Why make this change? The change ensures that the locale-based queries are properly identified and updated when the wallet name changes, preventing potential stale data from being used in the UI. --- |
||
|
|
d51c1883af |
[Refactor] Migrate usePreloadWalletProviders to useQueries for wallet preloading (#3331)
Refactor `usePreloadWalletProviders` to utilize `useQueries` from `@tanstack/react-query`. This change optimizes wallet provider preloading, ensuring a non-blocking, and parallel fetching of necessary providers. Removes the `useEffect` based logic. --- |
||
|
|
9cf3a1d663 |
feat: preloading wallet providers for improved performance (#3330)
<!-- start pr-codex -->
## PR-Codex overview
This PR fixes an issue with the Coinbase wallet popup not opening on Safari and improves inAppWallet web performance.
### Detailed summary
- Fixed Coinbase wallet popup not opening on Safari
- Improved inAppWallet web performance
- Added `usePreloadWalletProviders` hook
- Preloaded wallet providers for Coinbase and inApp wallet
- Updated `ConnectButton`, `ConnectEmbed`, `usePreloadWalletProviders`, and `ConnectModalContent` components
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
|
||
|
|
1e1824f0cb |
feat: add support for extension-based code snippets in ContractFunction and CodeOverview components (#2675)
### What changed?
This PR introduces several key enhancements to the `ContractFunction` and `CodeOverview` components:
1. **Environment Selection**: A new `extensionNamespace` state is added based on the enabled extensions in the contract ABI (`ERC20`, `ERC721`, `ERC1155`). This state determines the namespace used for different contract extensions.
2. **Code Snippets Generation**: Functions `buildJavascriptSnippet` and `buildReactSnippet` are added to dynamically generate code snippets based on the extension namespace and contract function type (read, write, event).
3. **Snippet Formatting**: The `formatSnippet` function is modified to include the newly generated code snippets, replacing placeholders with actual values.
### How to test?
1. **Setup**: Ensure you have a contract with varying enabled extensions (`ERC20`, `ERC721`, `ERC1155`).
2. **Test Snippet Generation**: For each contract, navigate to the code overview and ensure the generated snippets correspond to the contract's extensions and function types.
3. **Verify Placeholder Replacement**: Confirm that placeholders in the code (`{{contract_address}}`, `{{wallet_address}}`, etc.) are correctly replaced with real values.
### Why make this change?
This update enhances the flexibility and readability of the code snippets provided to developers, making it easier to interact with contract functions by displaying relevant code based on the contract's supported extensions and environment.
---
<!-- start pr-codex -->
---
## PR-Codex overview
The focus of this PR is to enhance code snippets generation for different contract extensions based on enabled extensions.
### Detailed summary
- Added logic to determine extension namespace based on enabled extensions
- Implemented functions to build JavaScript and React code snippets
- Created mapping for extension namespaces and functions
- Updated snippet formatting to include extension-specific code generation based on function and extension namespace
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
|
||
|
|
559c44f09d |
refactor: clean up imports and unused code in CodeOverview component (#2674)
<!-- start pr-codex -->
## PR-Codex overview
The focus of this PR is to optimize imports, remove unused code, and refactor UI components in the `CodeOverview` component.
### Detailed summary
- Removed unused imports and variables
- Refactored UI structure for better organization
- Updated code snippet rendering logic
- Improved tab functionality for functions and events
> The following files were skipped due to too many changes: `src/contract-ui/tabs/code/components/code-overview.tsx`
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
|
||
|
|
c94bcd574a |
refactor: change Coinbase SDK import to dynamic in coinbaseSDKWallet.ts (#3329)
<!-- start pr-codex -->
## PR-Codex overview
The focus of this PR is to dynamically import the `CoinbaseWalletSDK` to resolve cloudflare bundler issues.
### Detailed summary
- Dynamically import `CoinbaseWalletSDK` to avoid bundler issues
- Updated import statement for `ProviderInterface`
- Removed unnecessary imports
- Refactored `getCoinbaseWebProvider` function to dynamically import `CoinbaseWalletSDK`
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
|