Skip to content

Conversation

@arcoraven
Copy link
Contributor

@arcoraven arcoraven commented Nov 21, 2024

PR-Codex overview

This PR introduces an optional includeUsage parameter to the configuration of API calls in the service-utils package, defaulting to true. This change allows for more flexible API requests regarding usage data.

Detailed summary

  • Added optional includeUsage parameter to CoreServiceConfig.
  • Updated fetchKeyMetadataFromApi to use includeUsage in the API URL.
  • Updated fetchAccountFromApi to use includeUsage in the API URL for both wallet and account requests.

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

@changeset-bot
Copy link

changeset-bot bot commented Nov 21, 2024

🦋 Changeset detected

Latest commit: 6bd9683

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

This PR includes changesets to release 1 package
Name Type
@thirdweb-dev/service-utils 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 21, 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 21, 2024 5:23am
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 5:23am
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 5:23am
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 5:23am

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 21, 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.

@codecov
Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.88%. Comparing base (17488b8) to head (6bd9683).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5477   +/-   ##
=======================================
  Coverage   43.88%   43.88%           
=======================================
  Files        1075     1075           
  Lines       55944    55944           
  Branches     3909     3909           
=======================================
  Hits        24550    24550           
  Misses      30711    30711           
  Partials      683      683           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 17488b8
packages 38.61% <ø> (ø)

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

---- 🚨 Try these New Features:

@github-actions
Copy link
Contributor

github-actions bot commented Nov 21, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 44.97 KB (0%) 900 ms (0%) 439 ms (-22.82% 🔽) 1.4 s
thirdweb (cjs) 105.01 KB (0%) 2.2 s (0%) 857 ms (+25.52% 🔺) 3 s
thirdweb (minimal + tree-shaking) 5.6 KB (0%) 113 ms (0%) 163 ms (+329.65% 🔺) 275 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 23 ms (+71.28% 🔺) 33 ms
thirdweb/react (minimal + tree-shaking) 18.38 KB (0%) 368 ms (0%) 148 ms (+97.02% 🔺) 516 ms

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 21, 2024

Merge activity

<!-- start pr-codex -->

## PR-Codex overview
This PR introduces an optional `includeUsage` parameter to the `CoreServiceConfig` type and updates API URL construction to utilize this parameter, defaulting to `true`. This allows for more flexible API calls regarding usage data.

### Detailed summary
- Added optional `includeUsage` parameter to `CoreServiceConfig`.
- Updated `fetchKeyMetadataFromApi` to use `includeUsage` in the API URL.
- Updated `fetchAccountFromApi` to use `includeUsage` in the API URL for both wallet and account endpoints.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants