Skip to content

Conversation

@gregfromstl
Copy link
Contributor

@gregfromstl gregfromstl commented Dec 5, 2024

PR-Codex overview

This PR focuses on updating type definitions, enhancing ESLint rules, and modifying package dependencies to improve code quality and maintainability.

Detailed summary

  • Changed onDisplayUri parameter from uri to _uri in types.ts.
  • Updated type definitions in wallet-types.ts.
  • Enhanced ESLint rules in .eslintrc.cjs to provide better guidance on usage.
  • Modified test listener parameter to _event.
  • Added new tags to tsdoc.json.
  • Updated package dependencies and versions in package.json and pnpm-lock.yaml.

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

@linear
Copy link

linear bot commented Dec 5, 2024

@changeset-bot
Copy link

changeset-bot bot commented Dec 5, 2024

⚠️ No Changeset found

Latest commit: 8234dba

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 Dec 5, 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 Dec 7, 2024 4:33pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 7, 2024 4:33pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 7, 2024 4:33pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 7, 2024 4:33pm

@graphite-app
Copy link
Contributor

graphite-app bot commented Dec 5, 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 Dec 5, 2024
@socket-security
Copy link

socket-security bot commented Dec 5, 2024

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher

View full report↗︎

@codecov
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.63%. Comparing base (43fbcac) to head (8234dba).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5622      +/-   ##
==========================================
+ Coverage   50.62%   50.63%   +0.01%     
==========================================
  Files        1091     1091              
  Lines       57100    57100              
  Branches     4590     4589       -1     
==========================================
+ Hits        28908    28914       +6     
+ Misses      27478    27470       -8     
- Partials      714      716       +2     
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 43fbcac
packages 47.09% <ø> (+0.01%) ⬆️

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

see 6 files with indirect coverage changes

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 41.13 KB (0%) 823 ms (0%) 257 ms (+56.37% 🔺) 1.1 s
thirdweb (cjs) 104.48 KB (0%) 2.1 s (0%) 675 ms (+84.24% 🔺) 2.8 s
thirdweb (minimal + tree-shaking) 4.37 KB (0%) 88 ms (0%) 64 ms (+163.3% 🔺) 152 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 11 ms (+22.89% 🔺) 21 ms
thirdweb/react (minimal + tree-shaking) 16.99 KB (0%) 340 ms (0%) 91 ms (+50.22% 🔺) 431 ms

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

gregfromstl commented Dec 7, 2024

Merge activity

  • Dec 6, 7:26 PM EST: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Dec 6, 7:56 PM EST: Graphite disabled "merge when ready" on this PR due to: a merge conflict with the target branch; resolve the conflict and try again..
  • Dec 6, 7:56 PM EST: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Dec 6, 8:32 PM EST: Graphite disabled "merge when ready" on this PR due to: a merge conflict with the target branch; resolve the conflict and try again..
  • Dec 6, 8:32 PM EST: The merge label 'hotfix' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Dec 7, 11:24 AM EST: A user added this pull request to the Graphite merge queue.
  • Dec 7, 11:33 AM EST: A user merged this pull request with the Graphite merge queue.

<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on improving TypeScript typings, updating ESLint configurations, and refining package dependencies across various files in the `thirdweb` package.

### Detailed summary
- Changed parameter name from `uri` to `_uri` in `onDisplayUri` callback.
- Updated `WalletCreationOptions` type definition.
- Modified listener type to use `_event`.
- Added ESLint rules for better coding practices.
- Removed outdated TSDoc tags and added `@example` tag.
- Updated package dependencies in `pnpm-lock.yaml`.

> ✨ 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

hotfix This pull request should be prioritized in the merge queue. 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