Skip to content

V2 rename#150

Merged
jolestar merged 4 commits intomainfrom
v2_rename
Dec 25, 2025
Merged

V2 rename#150
jolestar merged 4 commits intomainfrom
v2_rename

Conversation

@jolestar
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings December 25, 2025 05:17
@vercel
Copy link

vercel bot commented Dec 25, 2025

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

Project Deployment Review Updated (UTC)
x402x-web Error Error Dec 25, 2025 6:01am

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 25, 2025

Deploying x402-exec with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8a34183
Status: ✅  Deploy successful!
Preview URL: https://2f01e9e6.x402-exec.pages.dev
Branch Preview URL: https://v2-rename.x402-exec.pages.dev

View logs

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR performs a comprehensive rename of two core packages to improve clarity and naming consistency:

  • @x402x/core_v2@x402x/extensions
  • @x402x/facilitator_v2@x402x/facilitator-sdk

Key Changes:

  • Package name updates in package.json files with improved descriptions
  • Consistent import statement updates across all TypeScript files (62+ files)
  • Docker configuration and build script updates
  • Comprehensive documentation updates reflecting the new naming

Reviewed changes

Copilot reviewed 56 out of 92 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
typescript/packages/extensions/package.json Renamed from @x402x/core_v2 to @x402x/extensions with updated description
typescript/packages/facilitator-sdk/package.json Renamed from @x402x/facilitator_v2 to @x402x/facilitator-sdk with updated description
typescript/packages/facilitator-sdk/src/*.ts Updated all imports from @x402x/core_v2 to @x402x/extensions
typescript/packages/extensions/src/*.ts Updated internal references and comments
typescript/packages/client/src/*.ts Updated all imports to use new package names
facilitator/src/*.ts Updated imports and module references throughout
examples/showcase/**/*.ts Updated all imports in server and client code
facilitator/Dockerfile Updated COPY paths to match new package directory names
scripts/test-docker-facilitator.sh Updated package validation checks for new names
Documentation files Updated all references to use new package names

Review Summary: The rename is thorough and consistent across the entire codebase. All imports, references, documentation, and infrastructure code have been properly updated. No issues found.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)

typescript/packages/facilitator-sdk/src/facilitator.ts:19

  • Unused import parseSettlementExtra.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


import type { Address } from "viem";
import { TransferHook } from "@x402x/core_v2";
import { TransferHook } from "@x402x/extensions";
Copy link

Copilot AI Dec 25, 2025

Choose a reason for hiding this comment

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

Unused import TransferHook.

Suggested change
import { TransferHook } from "@x402x/extensions";

Copilot uses AI. Check for mistakes.
@jolestar jolestar merged commit 77b90d8 into main Dec 25, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant