Skip to content

Conversation

@joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented Nov 6, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@thirdweb-dev/nebula@0.2.83

Patch Changes

  • Updated dependencies [7da16cf]:
    • thirdweb@5.111.5

thirdweb@5.111.5

Patch Changes

  • #8369 7da16cf Thanks @joaquim-verges! - Make maxAmount optional in wrapFetchWithPayment and loosen schema validation for payment payloads

@thirdweb-dev/wagmi-adapter@0.2.180

wagmi-inapp@0.0.25

Patch Changes

  • Updated dependencies [7da16cf]:
    • thirdweb@5.111.5
    • @thirdweb-dev/wagmi-adapter@0.2.180

PR-Codex overview

This PR focuses on updating version numbers and changelogs across several packages, including thirdweb, wagmi-adapter, and wagmi-demo, as well as making dependency updates.

Detailed summary

  • Updated version in packages/thirdweb/package.json from 5.111.4 to 5.111.5
  • Updated version in apps/wagmi-demo/package.json from 0.0.24 to 0.0.25
  • Updated version in packages/nebula/package.json from 0.2.82 to 0.2.83
  • Updated version in packages/wagmi-adapter/package.json from 0.2.179 to 0.2.180
  • Added changelog entries for thirdweb (5.111.5), wagmi-demo (0.0.25), and nebula (0.2.83) with updated dependencies

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

Summary by CodeRabbit

  • Chores

    • Version updates: wagmi-demo to 0.0.25, Nebula to 0.2.83, thirdweb to 5.111.5, and wagmi-adapter to 0.2.180
    • Updated changelogs documenting dependency updates
  • Bug Fixes

    • Improved payment system flexibility by making amount parameter optional and relaxing schema validation for payment payloads

@joaquim-verges joaquim-verges requested review from a team as code owners November 6, 2025 21:55
@vercel
Copy link

vercel bot commented Nov 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs-v2 Ready Ready Preview Comment Nov 6, 2025 10:10pm
nebula Ready Ready Preview Comment Nov 6, 2025 10:10pm
thirdweb_playground Ready Ready Preview Comment Nov 6, 2025 10:10pm
thirdweb-www Ready Ready Preview Comment Nov 6, 2025 10:10pm
wallet-ui Ready Ready Preview Comment Nov 6, 2025 10:10pm

@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels Nov 6, 2025
@graphite-app
Copy link
Contributor

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

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 6, 2025

Walkthrough

The PR processes a changeset by deleting the changeset entry file and updating version numbers and changelogs across four packages (thirdweb, nebula, wagmi-adapter, and wagmi-demo) to reflect their latest releases with updated dependencies.

Changes

Cohort / File(s) Summary
Thirdweb Package Release
packages/thirdweb/package.json, packages/thirdweb/CHANGELOG.md
Version bumped from 5.111.4 to 5.111.5; changelog entry added documenting patch changes: made maxAmount optional in wrapFetchWithPayment and loosened schema validation for payment payloads.
Nebula Package Release
packages/nebula/package.json, packages/nebula/CHANGELOG.md
Version bumped from 0.2.82 to 0.2.83; changelog entry added documenting dependency update to thirdweb@5.111.5.
Wagmi-Adapter Package Release
packages/wagmi-adapter/package.json, packages/wagmi-adapter/CHANGELOG.md
Version bumped from 0.2.179 to 0.2.180; new version entry added to changelog.
Wagmi-Demo App Release
apps/wagmi-demo/package.json, apps/wagmi-demo/CHANGELOG.md
Version bumped from 0.0.24 to 0.0.25; changelog entry added documenting dependency updates to thirdweb@5.111.5 and @thirdweb-dev/wagmi-adapter@0.2.180.
Changeset Cleanup
.changeset/famous-owls-lick.md
Changeset entry file deleted (processed changeset).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

  • All changes are automated version bumps and documentation updates with no code logic modifications
  • Verify that the thirdweb@5.111.5 changelog entry accurately reflects implemented changes in the codebase

Pre-merge checks and finishing touches

❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Description check ❓ Inconclusive The description is complete and clearly explains the automated release process, package versions, patch changes, and dependencies. However, it does not follow the repository's required PR template format. Consider using the repository's PR template format (e.g., '[SDK/Dashboard/Portal] Feature/Fix:' title and structured sections) for consistency, though this is an automated release PR.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Version Packages' directly and accurately reflects the main purpose of this automated release PR—updating package versions and publishing releases.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch changeset-release/main

Comment @coderabbitai help to get the list of available commands and usage tips.

@joaquim-verges joaquim-verges merged commit 915d955 into main Nov 6, 2025
15 of 20 checks passed
@joaquim-verges joaquim-verges deleted the changeset-release/main branch November 6, 2025 21:58
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (3)
packages/wagmi-adapter/CHANGELOG.md (1)

3-4: Consider adding a brief note for 0.2.180.

A one-liner like “Patch: updated deps” helps consumers scanning the changelog.

packages/wagmi-adapter/package.json (1)

59-59: Version bump to 0.2.180 approved. Add bundle size-limit configuration.

This package lacks bundle budget tracking. Per repo guidelines, add "size-limit" to packages/wagmi-adapter/package.json or create a .size-limit.json config file.

packages/thirdweb/CHANGELOG.md (1)

7-7: Changelog polish: code formatting for identifiers.

Wrap wrapFetchWithPayment, maxAmount, and “payment payloads” schema key(s) in backticks for consistency with other entries.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 7da16cf and 4e94237.

📒 Files selected for processing (9)
  • .changeset/famous-owls-lick.md (0 hunks)
  • apps/wagmi-demo/CHANGELOG.md (1 hunks)
  • apps/wagmi-demo/package.json (1 hunks)
  • packages/nebula/CHANGELOG.md (1 hunks)
  • packages/nebula/package.json (1 hunks)
  • packages/thirdweb/CHANGELOG.md (1 hunks)
  • packages/thirdweb/package.json (1 hunks)
  • packages/wagmi-adapter/CHANGELOG.md (1 hunks)
  • packages/wagmi-adapter/package.json (1 hunks)
💤 Files with no reviewable changes (1)
  • .changeset/famous-owls-lick.md
🧰 Additional context used
📓 Path-based instructions (2)
packages/wagmi-adapter/**

📄 CodeRabbit inference engine (CLAUDE.md)

Wagmi ecosystem integration is in packages/wagmi-adapter/

Files:

  • packages/wagmi-adapter/CHANGELOG.md
  • packages/wagmi-adapter/package.json
**/package.json

📄 CodeRabbit inference engine (AGENTS.md)

Track bundle budgets via package.json#size-limit

Files:

  • packages/nebula/package.json
  • packages/thirdweb/package.json
  • apps/wagmi-demo/package.json
  • packages/wagmi-adapter/package.json
🧠 Learnings (6)
📓 Common learnings
Learnt from: CR
Repo: thirdweb-dev/js PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-08-29T15:37:38.513Z
Learning: Surface breaking changes prominently in PR descriptions
Learnt from: CR
Repo: thirdweb-dev/js PR: 0
File: CLAUDE.md:0-0
Timestamp: 2025-07-18T19:19:55.613Z
Learning: Surface breaking changes prominently in PR descriptions
Learnt from: CR
Repo: thirdweb-dev/js PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-08-29T15:37:38.513Z
Learning: Applies to .changeset/*.md : Each change in `packages/*` must include a changeset for the appropriate package
📚 Learning: 2025-07-18T19:19:55.613Z
Learnt from: CR
Repo: thirdweb-dev/js PR: 0
File: CLAUDE.md:0-0
Timestamp: 2025-07-18T19:19:55.613Z
Learning: Applies to packages/wagmi-adapter/** : Wagmi ecosystem integration is in `packages/wagmi-adapter/`

Applied to files:

  • packages/wagmi-adapter/CHANGELOG.md
  • apps/wagmi-demo/CHANGELOG.md
  • packages/wagmi-adapter/package.json
📚 Learning: 2025-08-29T15:37:38.513Z
Learnt from: CR
Repo: thirdweb-dev/js PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-08-29T15:37:38.513Z
Learning: Applies to packages/thirdweb/exports/** : Export all public API via `packages/thirdweb/exports/`, grouped by feature

Applied to files:

  • packages/nebula/package.json
  • packages/thirdweb/package.json
  • packages/wagmi-adapter/package.json
📚 Learning: 2025-07-18T19:19:55.613Z
Learnt from: CR
Repo: thirdweb-dev/js PR: 0
File: CLAUDE.md:0-0
Timestamp: 2025-07-18T19:19:55.613Z
Learning: Applies to packages/thirdweb/src/exports/** : Export everything via `exports/` directory, grouped by feature in the SDK public API

Applied to files:

  • packages/nebula/package.json
  • packages/thirdweb/package.json
  • packages/wagmi-adapter/package.json
📚 Learning: 2025-08-29T15:37:38.513Z
Learnt from: CR
Repo: thirdweb-dev/js PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-08-29T15:37:38.513Z
Learning: Applies to .changeset/*.md : Version bump rules: patch for non‑API changes; minor for new/modified public API

Applied to files:

  • apps/wagmi-demo/CHANGELOG.md
  • packages/thirdweb/CHANGELOG.md
  • packages/nebula/CHANGELOG.md
📚 Learning: 2025-08-29T15:37:38.513Z
Learnt from: CR
Repo: thirdweb-dev/js PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-08-29T15:37:38.513Z
Learning: Applies to .changeset/*.md : Each change in `packages/*` must include a changeset for the appropriate package

Applied to files:

  • packages/nebula/CHANGELOG.md
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: Size
  • GitHub Check: Unit Tests
  • GitHub Check: Lint Packages
  • GitHub Check: Socket Security: Pull Request Alerts
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (5)
packages/nebula/package.json (1)

60-60: LGTM: version bump aligns with CHANGELOG 0.2.83.

apps/wagmi-demo/package.json (1)

4-4: LGTM: demo app version bump only.

packages/nebula/CHANGELOG.md (1)

3-9: LGTM: clear dependency bump entry for 0.2.83 with commit ref.

apps/wagmi-demo/CHANGELOG.md (1)

3-10: LGTM: 0.0.25 correctly notes thirdweb and wagmi-adapter updates.

packages/thirdweb/package.json (1)

433-433: Verified: wrapFetchWithPayment already has optional parameter correctly typed.

The function signature at packages/thirdweb/src/x402/fetchWithPayment.ts:51 shows maxValue?: bigint, is already marked optional. The parameter name is maxValue (not maxAmount as mentioned), and it is properly guarded in the code with if (maxValue && ...) checks. The types correctly reflect the optional payment limit requirement.

Comment on lines +3 to +8
## 5.111.5

### Patch Changes

- [#8369](https://github.com/thirdweb-dev/js/pull/8369) [`7da16cf`](https://github.com/thirdweb-dev/js/commit/7da16cff2ff3aaa80c7fe5614639d950d88b5bf2) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Make maxAmount optional in wrapFetchWithPayment and loosen schema validation for payment payloads

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Semver: verify patch vs minor for API shape change.

Making maxAmount optional in wrapFetchWithPayment likely modifies a public API surface. If exported, this should be a minor bump per our versioning rule (minor for new/modified public API). Please confirm or adjust. Based on learnings.

Run to confirm export surface and API change:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Locate wrapFetchWithPayment definitions/usages"
rg -nP -C2 --type=ts --type=tsx '\bwrapFetchWithPayment\b'

echo "Check if it's exported from any module index"
rg -nP -C2 --type=ts --type=tsx 'export\s+(\{[^}]*\bwrapFetchWithPayment\b[^}]*\}|.+\bwrapFetchWithPayment\b)'

echo "Check option type where maxAmount lives"
rg -nP -C3 --type=ts --type=tsx '(interface|type)\s+\w*WrapFetchWithPayment\w*\s*=?.*' |
  sed -n '1,200p'

echo "Check parameter optionality changes around maxAmount"
rg -nP -C3 --type=ts --type=tsx '\bmaxAmount\??\s*[:=]'

Length of output: 74


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Locate wrapFetchWithPayment definitions/usages ==="
rg -nP -C2 'wrapFetchWithPayment' --type=ts

echo ""
echo "=== Check if it's exported from any module index ==="
rg -nP -C2 'export.*wrapFetchWithPayment' --type=ts

echo ""
echo "=== Find type/interface definitions near maxAmount ==="
rg -nP -C5 'maxAmount' --type=ts | head -100

echo ""
echo "=== Check thirdweb package exports ==="
find packages/thirdweb -name 'index.ts' -o -name 'index.js' | head -5 | xargs -I {} sh -c 'echo "=== {} ==="; grep -n "wrapFetchWithPayment" {} 2>/dev/null || echo "not found"'

Length of output: 11144


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Extract full wrapFetchWithPayment function signature ==="
rg -nP -A20 'export function wrapFetchWithPayment' packages/thirdweb/src/x402/fetchWithPayment.ts

echo ""
echo "=== Look for maxAmount in parameter types/options ==="
rg -nP -B5 -A5 'maxAmount' packages/thirdweb/src/x402/fetchWithPayment.ts

Length of output: 1127


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Find RequestedPaymentRequirementsSchema definition ==="
rg -nP -B2 -A15 'RequestedPaymentRequirementsSchema' packages/thirdweb/src/x402/fetchWithPayment.ts | head -50

echo ""
echo "=== Search for any maxAmount definition in x402 module ==="
rg -nP 'maxAmount' packages/thirdweb/src/x402/

echo ""
echo "=== Check git diff for PR #8369 or recent changes ==="
git log --oneline --all --grep="8369" | head -5

Length of output: 1878


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Find schemas definition with maxAmount ==="
find packages/thirdweb/src/x402 -name 'schemas.*' -exec cat {} \;

echo ""
echo "=== Show git commit 7da16cf details ==="
git show --stat 7da16cff 2>/dev/null | head -50

Length of output: 6218


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Show git diff for commit 7da16cf (schemas.ts) ==="
git show 7da16cff -- packages/thirdweb/src/x402/schemas.ts

echo ""
echo "=== Show git diff for commit 7da16cf (fetchWithPayment.ts) ==="
git show 7da16cff -- packages/thirdweb/src/x402/fetchWithPayment.ts

echo ""
echo "=== Show changeset file ==="
git show 7da16cff -- .changeset/famous-owls-lick.md

Length of output: 2600


Changeset should be minor, not patch—making a public function parameter optional is a public API change.

The PR makes maxValue parameter optional in the publicly exported wrapFetchWithPayment function (changing from required-with-default to optional). Per versioning rules, modified public API requires a minor bump. Update .changeset/famous-owls-lick.md from patch to minor.

🤖 Prompt for AI Agents
In packages/thirdweb/CHANGELOG.md around lines 3 to 8, the release entry is
marked as a patch but the PR makes a public API change (making the
maxValue/maxAmount parameter optional) so the changeset should be a minor bump;
update the corresponding .changeset/famous-owls-lick.md file to change the
version level from "patch" to "minor" (and ensure the changelog /
package.json/versioning reflects that minor change) so the release correctly
increments the minor version.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2025

size-limit report 📦

Path Size
@thirdweb-dev/nexus (esm) 104.88 KB (0%)
@thirdweb-dev/nexus (cjs) 316.6 KB (0%)

@codecov
Copy link

codecov bot commented Nov 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.63%. Comparing base (f0edc0f) to head (4e94237).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8370      +/-   ##
==========================================
- Coverage   54.64%   54.63%   -0.01%     
==========================================
  Files         919      919              
  Lines       60693    60693              
  Branches     4111     4109       -2     
==========================================
- Hits        33167    33162       -5     
- Misses      27424    27430       +6     
+ Partials      102      101       -1     
Flag Coverage Δ
packages 54.63% <ø> (-0.01%) ⬇️
see 3 files with indirect coverage changes
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants