Skip to content

Conversation

@kumaryash90
Copy link
Member

@kumaryash90 kumaryash90 commented Apr 11, 2025


PR-Codex overview

This PR focuses on enhancing the getClaimPhasesInLegacyFormat and getClaimConditions functions to support multi-phase claim conditions for ERC20 and ERC721 tokens, improving the handling of single-phase drops.

Detailed summary

  • Added isMultiPhase to the options parameter in getClaimPhasesInLegacyFormat.
  • Updated the return statement in getClaimPhasesInLegacyFormat for ERC1155 to include singlePhaseDrop.
  • Modified getClaimConditions to handle singlePhaseDrop logic.
  • Removed the use of Promise.allSettled for single-phase claims.
  • Added error handling for cases where claim conditions are not found.

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

@kumaryash90 kumaryash90 requested review from a team as code owners April 11, 2025 16:58
@changeset-bot
Copy link

changeset-bot bot commented Apr 11, 2025

⚠️ No Changeset found

Latest commit: be7199d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Apr 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2025 5:18pm
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Apr 11, 2025 5:18pm
login ⬜️ Skipped (Inspect) Apr 11, 2025 5:18pm
thirdweb_playground ⬜️ Skipped (Inspect) Apr 11, 2025 5:18pm
wallet-ui ⬜️ Skipped (Inspect) Apr 11, 2025 5:18pm

@graphite-app
Copy link
Contributor

graphite-app bot commented Apr 11, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 11, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 47.67 KB (0%) 954 ms (0%) 218 ms (+285.54% 🔺) 1.2 s
thirdweb (cjs) 130.06 KB (0%) 2.7 s (0%) 273 ms (+79.77% 🔺) 2.9 s
thirdweb (minimal + tree-shaking) 5.62 KB (0%) 113 ms (0%) 88 ms (+928.44% 🔺) 200 ms
thirdweb/chains (tree-shaking) 514 B (0%) 11 ms (0%) 57 ms (+903.89% 🔺) 67 ms
thirdweb/react (minimal + tree-shaking) 19.36 KB (0%) 388 ms (0%) 84 ms (+619.83% 🔺) 471 ms

@vercel vercel bot temporarily deployed to Preview – docs-v2 April 11, 2025 17:10 Inactive
@vercel vercel bot temporarily deployed to Preview – login April 11, 2025 17:10 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground April 11, 2025 17:10 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui April 11, 2025 17:10 Inactive
@jnsdls jnsdls merged commit c86cac4 into main Apr 11, 2025
27 of 28 checks passed
@jnsdls jnsdls deleted the yash/fix-getclaimconditions branch April 11, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dashboard Involves changes to the Dashboard. packages SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants