Skip to content

Conversation

@joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented Sep 24, 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/[email protected]

Patch Changes

[email protected]

Patch Changes

  • #8106 1f7cda6 Thanks @MananTank! - Add BridgeWidget component.

    Generate a browser script in dist/scripts/bridge-widget.js that can be used to render the BridgeWidget component in a browser with a script

  • #8126 9069351 Thanks @joaquim-verges! - Accept chain objects for x402 APIs

@thirdweb-dev/[email protected]


PR-Codex overview

This PR primarily updates version numbers across multiple packages and introduces new changelog entries for recent updates, particularly focusing on the thirdweb and nebula packages.

Detailed summary

  • Deleted .changeset/metal-bats-speak.md and .changeset/polite-banks-peel.md.
  • Updated version in packages/thirdweb/package.json from 5.108.1 to 5.108.2.
  • Updated version in packages/nebula/package.json from 0.2.54 to 0.2.55.
  • Updated version in packages/wagmi-adapter/package.json from 0.2.151 to 0.2.152.
  • Added changelog entries for:
    • packages/nebula/CHANGELOG.md: New version 0.2.55 with updated dependencies.
    • packages/thirdweb/CHANGELOG.md: New version 5.108.2 with features like BridgeWidget component and browser script generation.

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

Summary by CodeRabbit

  • Revert
    • Removed the BridgeWidget component and its browser rendering script.
  • Chores
    • Updated Nebula to 0.2.55 with dependency bump to thirdweb 5.108.2.
    • Updated thirdweb package to 5.108.2.
    • Updated wagmi-adapter to 0.2.152.
    • Cleaned up pending changeset entries.
  • Documentation
    • Refreshed changelogs for Nebula, thirdweb, and wagmi-adapter.

@joaquim-verges joaquim-verges requested review from a team as code owners September 24, 2025 17:42
@vercel
Copy link

vercel bot commented Sep 24, 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 Sep 25, 2025 9:11am
nebula Ready Ready Preview Comment Sep 25, 2025 9:11am
thirdweb_playground Ready Ready Preview Comment Sep 25, 2025 9:11am
thirdweb-www Ready Ready Preview Comment Sep 25, 2025 9:11am
wallet-ui Ready Ready Preview Comment Sep 25, 2025 9:11am

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 24, 2025

Walkthrough

Bumps package versions for thirdweb (5.108.2), nebula (0.2.55), and wagmi-adapter (0.2.152); updates corresponding CHANGELOG.md files; deletes two changeset entries that referenced adding BridgeWidget. No source code or public API changes included.

Changes

Cohort / File(s) Summary
Changeset cleanup
.changeset/metal-bats-speak.md, .changeset/polite-banks-peel.md
Deletes two changeset entries (one referencing adding BridgeWidget and a generated browser script; the other a patch note for accepting chain objects).
Nebula release bump
packages/nebula/CHANGELOG.md, packages/nebula/package.json
Adds changelog entry for 0.2.55 (notes dependency update to [email protected]); bumps version 0.2.540.2.55.
Thirdweb release bump
packages/thirdweb/CHANGELOG.md, packages/thirdweb/package.json
Adds changelog entry for 5.108.2 (mentions BridgeWidget and a browser script); bumps version 5.108.15.108.2.
Wagmi adapter release bump
packages/wagmi-adapter/CHANGELOG.md, packages/wagmi-adapter/package.json
Adds changelog entry for 0.2.152; bumps version 0.2.1510.2.152.

Sequence Diagram(s)

Not applicable.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Pre-merge checks and finishing touches

❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Description Check ⚠️ Warning The PR description currently only includes auto-generated release notes and does not include the required sections from the repository template such as an issue tag, “Notes for the reviewer,” and “How to test.” It does not provide context or guidance needed for reviewers. As a result it does not adhere to the template’s structure and leaves critical information unspecified. Please update the description to include the relevant issue tag if applicable, add a “## Notes for the reviewer” section outlining any important context or considerations, and provide a “## How to test” section with instructions for verifying the changes, ensuring it aligns with the repository’s PR description template.
Title Check ❓ Inconclusive The title “Version Packages” is vague and does not specify which packages are being updated or the nature of the version bumps, nor does it follow the repository’s recommended prefix format for clearer context. It fails to clearly summarize the primary change for reviewers or future readers scanning the project history. Because it lacks specificity, it does not convey meaningful information about the change set. Please rename the PR title to follow the repository convention by including context and a concise summary of the version bumps, for example “[SDK] Release: Bump [email protected], [email protected], [email protected]” to clearly communicate the scope and intent of this update.
✅ Passed checks (1 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch changeset-release/main

📜 Recent 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 686583d and 83637d5.

📒 Files selected for processing (8)
  • .changeset/metal-bats-speak.md (0 hunks)
  • .changeset/polite-banks-peel.md (0 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 (2)
  • .changeset/metal-bats-speak.md
  • .changeset/polite-banks-peel.md
✅ Files skipped from review due to trivial changes (2)
  • packages/wagmi-adapter/CHANGELOG.md
  • packages/thirdweb/package.json
🚧 Files skipped from review as they are similar to previous changes (3)
  • packages/nebula/package.json
  • packages/thirdweb/CHANGELOG.md
  • packages/wagmi-adapter/package.json
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: CR
PR: thirdweb-dev/js#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
📚 Learning: 2025-08-29T15:37:38.513Z
Learnt from: CR
PR: thirdweb-dev/js#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:

  • 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). (5)
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: Size
  • GitHub Check: Lint Packages
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (1)
packages/nebula/CHANGELOG.md (1)

3-9: Changelog entry looks correct.

Version bump and dependency reference align with the release notes and commit history. No further action needed.


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

@graphite-app
Copy link
Contributor

graphite-app bot commented Sep 24, 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.

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: 0

🧹 Nitpick comments (4)
packages/nebula/package.json (1)

60-60: Consider adding a size-limit budget in package.json.

Per repo guidelines, track bundle budgets via package.json#size-limit for publishable packages.

Example config you can add (tune paths/limits as needed):

{
  "size-limit": [
    {
      "name": "nebula ESM",
      "path": "dist/esm/exports/thirdweb.js",
      "limit": "40 KB"
    },
    {
      "name": "nebula CJS",
      "path": "dist/cjs/exports/thirdweb.js",
      "limit": "40 KB"
    }
  ]
}
packages/wagmi-adapter/CHANGELOG.md (1)

3-4: Changelog entry OK.

Empty heading for 0.2.152 is fine for a version-only bump. Optionally add “Version bump only” for clarity.

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

58-58: Add size-limit budget to packages/wagmi-adapter/package.json
This package ships runtime code; include a "size-limit" field in its package.json to enforce bundle size limits and catch accidental bloat.

packages/thirdweb/CHANGELOG.md (1)

7-10: Clarify browser script usage and global name; add concise example.

-  Generate a browser script in `dist/scripts/bridge-widget.js` that can be used to render the `BridgeWidget` component in a browser with a script
+  Generates a browser script at `dist/scripts/bridge-widget.js`. When included on a page, it exposes a global `BridgeWidget` you can render via `BridgeWidget.render(...)`.
+  See packages/thirdweb/src/script-exports/readme.md for usage details.
📜 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 1f7cda6 and 3b2590d.

📒 Files selected for processing (7)
  • .changeset/metal-bats-speak.md (0 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/metal-bats-speak.md
🧰 Additional context used
📓 Path-based instructions (2)
**/package.json

📄 CodeRabbit inference engine (AGENTS.md)

Track bundle budgets via package.json#size-limit

Files:

  • packages/thirdweb/package.json
  • packages/wagmi-adapter/package.json
  • packages/nebula/package.json
packages/wagmi-adapter/**

📄 CodeRabbit inference engine (CLAUDE.md)

Wagmi ecosystem integration is in packages/wagmi-adapter/

Files:

  • packages/wagmi-adapter/package.json
  • packages/wagmi-adapter/CHANGELOG.md
🧠 Learnings (2)
📚 Learning: 2025-07-18T19:19:55.613Z
Learnt from: CR
PR: thirdweb-dev/js#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/package.json
  • packages/wagmi-adapter/CHANGELOG.md
📚 Learning: 2025-09-24T11:09:45.142Z
Learnt from: MananTank
PR: thirdweb-dev/js#8106
File: packages/thirdweb/src/script-exports/readme.md:6-7
Timestamp: 2025-09-24T11:09:45.142Z
Learning: For thirdweb Bridge Widget script exports, the module is exported with globalName: "BridgeWidget" in tsup config, making the global API `BridgeWidget.render()` rather than `window.thirdweb.BridgeWidget.render()`.

Applied to files:

  • packages/thirdweb/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). (8)
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: Lint Packages
  • GitHub Check: Size
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: Unit Tests
  • GitHub Check: Build Packages
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (4)
packages/nebula/package.json (1)

60-60: Version bump looks good.

Patch release aligns with the dependency update to [email protected].

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

58-58: Version bump LGTM; peer range still compatible.

thirdweb@^5.85.0 peer range covers 5.108.2.

packages/nebula/CHANGELOG.md (1)

3-9: Changelog entry consistent with version bump.

Notes correctly reference [email protected] and the commit link.

packages/thirdweb/package.json (1)

433-433: Version bump approved and widget script packaging confirmed.
Files whitelist includes dist/* so dist/scripts/bridge-widget.js will be published; globalName “BridgeWidget” exposes the API as BridgeWidget.render(), no export surface changes needed.

@codecov
Copy link

codecov bot commented Sep 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.28%. Comparing base (7bc513c) to head (83637d5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8114      +/-   ##
==========================================
+ Coverage   56.26%   56.28%   +0.01%     
==========================================
  Files         906      906              
  Lines       59193    59193              
  Branches     4173     4173              
==========================================
+ Hits        33305    33316      +11     
+ Misses      25783    25772      -11     
  Partials      105      105              
Flag Coverage Δ
packages 56.28% <ø> (+0.01%) ⬆️
see 4 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.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 24, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 64.09 KB (0%) 1.3 s (0%) 199 ms (+230.94% 🔺) 1.5 s
thirdweb (cjs) 361.63 KB (0%) 7.3 s (0%) 617 ms (+29.69% 🔺) 7.9 s
thirdweb (minimal + tree-shaking) 5.73 KB (0%) 115 ms (0%) 88 ms (+3413.91% 🔺) 203 ms
thirdweb/chains (tree-shaking) 526 B (0%) 11 ms (0%) 66 ms (+4796.52% 🔺) 76 ms
thirdweb/react (minimal + tree-shaking) 19.14 KB (0%) 383 ms (0%) 93 ms (+3646.78% 🔺) 476 ms

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: 0

🧹 Nitpick comments (1)
packages/thirdweb/CHANGELOG.md (1)

3-10: Clarify usage and global name for BridgeWidget script export

The entry is good, but please document how to use the generated script and call out the correct global namespace (BridgeWidget.render), not window.thirdweb.BridgeWidget.render.

Apply this diff to improve clarity and add a usage snippet:

 ## 5.108.2

 ### Patch Changes

-- [#8106](https://github.com/thirdweb-dev/js/pull/8106) [`1f7cda6`](https://github.com/thirdweb-dev/js/commit/1f7cda66988e88628ca9b8fe608af071aa0026a1) Thanks [@MananTank](https://github.com/MananTank)! - Add `BridgeWidget` component.
-
-  Generate a browser script in `dist/scripts/bridge-widget.js` that can be used to render the `BridgeWidget` component in a browser with a script
+- [#8106](https://github.com/thirdweb-dev/js/pull/8106) [`1f7cda6`](https://github.com/thirdweb-dev/js/commit/1f7cda66988e88628ca9b8fe608af071aa0026a1) Thanks [@MananTank](https://github.com/MananTank)! - Add `BridgeWidget` component.
+
+  Generates a browser script at `dist/scripts/bridge-widget.js` to render the `BridgeWidget` in a plain browser environment.
+
+  Usage:
+  ```html
+  <script src="/dist/scripts/bridge-widget.js"></script>
+  <div id="bridge-container"></div>
+  <script>
+    BridgeWidget.render({
+      selector: "#bridge-container",
+      // ...props
+    });
+  </script>
+  ```
📜 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 3b2590d and 7767876.

📒 Files selected for processing (7)
  • .changeset/metal-bats-speak.md (0 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/metal-bats-speak.md
✅ Files skipped from review due to trivial changes (1)
  • packages/wagmi-adapter/CHANGELOG.md
🚧 Files skipped from review as they are similar to previous changes (4)
  • packages/nebula/package.json
  • packages/nebula/CHANGELOG.md
  • packages/thirdweb/package.json
  • packages/wagmi-adapter/package.json
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-09-24T11:09:45.142Z
Learnt from: MananTank
PR: thirdweb-dev/js#8106
File: packages/thirdweb/src/script-exports/readme.md:6-7
Timestamp: 2025-09-24T11:09:45.142Z
Learning: For thirdweb Bridge Widget script exports, the module is exported with globalName: "BridgeWidget" in tsup config, making the global API `BridgeWidget.render()` rather than `window.thirdweb.BridgeWidget.render()`.

Applied to files:

  • packages/thirdweb/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). (8)
  • GitHub Check: Size
  • GitHub Check: Build Packages
  • GitHub Check: Unit Tests
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: Lint Packages
  • GitHub Check: Analyze (javascript)

@joaquim-verges joaquim-verges force-pushed the changeset-release/main branch 2 times, most recently from 61ee262 to cfb0341 Compare September 24, 2025 22:50
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.

3 participants