Skip to content

Conversation

@gregfromstl
Copy link
Contributor

@gregfromstl gregfromstl commented Nov 19, 2024

CNCT-2230


PR-Codex overview

This PR introduces the ability to override transaction values in the createNewPack function within the thirdweb package.

Detailed summary

  • Added WithOverrides type to the options parameter in createNewPack.
  • Updated getCreatePackParams function to accept WithOverrides<BaseTransactionOptions<CreateNewPackParams>>.
  • Included overrides in the parameters returned by getCreatePackParams.

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

@gregfromstl gregfromstl added the Bug Something isn't working as intended in a provided reproduction. label Nov 19, 2024
@gregfromstl gregfromstl self-assigned this Nov 19, 2024
@linear
Copy link

linear bot commented Nov 19, 2024

@changeset-bot
Copy link

changeset-bot bot commented Nov 19, 2024

🦋 Changeset detected

Latest commit: b5227c9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
thirdweb Patch

Not sure what this means? Click here to learn what changesets are.

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

@vercel
Copy link

vercel bot commented Nov 19, 2024

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

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 19, 2024 11:14pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 19, 2024 11:14pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 19, 2024 11:14pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 19, 2024 11:14pm

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 19, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

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

@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels Nov 19, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Nov 19, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 44.9 KB (0%) 899 ms (0%) 438 ms (+48.37% 🔺) 1.4 s
thirdweb (cjs) 105.02 KB (0%) 2.2 s (0%) 898 ms (-8.95% 🔽) 3 s
thirdweb (minimal + tree-shaking) 5.61 KB (0%) 113 ms (0%) 104 ms (+246.93% 🔺) 217 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 77 ms (+1178.48% 🔺) 87 ms
thirdweb/react (minimal + tree-shaking) 18.41 KB (0%) 369 ms (0%) 84 ms (-27.36% 🔽) 452 ms

@codecov
Copy link

codecov bot commented Nov 19, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 45.52%. Comparing base (0998fc7) to head (b5227c9).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ages/thirdweb/src/extensions/pack/createNewPack.ts 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5464      +/-   ##
==========================================
- Coverage   45.82%   45.52%   -0.30%     
==========================================
  Files        1069     1070       +1     
  Lines       55357    55718     +361     
  Branches     4032     4029       -3     
==========================================
+ Hits        25366    25367       +1     
- Misses      29304    29664     +360     
  Partials      687      687              
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 0998fc7
packages 40.63% <0.00%> (-0.33%) ⬇️

*This pull request uses carry forward flags. Click here to find out more.

Files with missing lines Coverage Δ
...ages/thirdweb/src/extensions/pack/createNewPack.ts 2.13% <0.00%> (-0.02%) ⬇️

... and 1 file with indirect coverage changes

---- 🚨 Try these New Features:

@gregfromstl gregfromstl added the merge-queue Adds the pull request to Graphite's merge queue. label Nov 19, 2024
Copy link
Contributor Author

gregfromstl commented Nov 19, 2024

Merge activity

  • Nov 19, 5:58 PM EST: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Nov 19, 6:01 PM EST: A user added this pull request to the Graphite merge queue.
  • Nov 19, 6:14 PM EST: A user merged this pull request with the Graphite merge queue.

CNCT-2230

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the ability to override transaction values in the `createNewPack` function within the `thirdweb` package.

### Detailed summary
- Added `WithOverrides` type to the `options` parameter in `createNewPack` and `getCreatePackParams` functions.
- Updated the function signatures to accept overrides for transaction options.
- Included `overrides` in the parameters for creating pack details.

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

<!-- end pr-codex -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working as intended in a provided reproduction. merge-queue Adds the pull request to Graphite's merge queue. packages SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants