refactor(x402): extract constants/enums to pry_x402 sub-package #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor/x402-split"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Step 1 of the incremental x402.py split. Extracts constants, enums, pricing, wallet/facilitator env lookups, EIP-7702 RPC endpoints, and asset decimals into a new
pry_x402/sub-package.Changes
pry_x402/constants.pyandpry_x402/__init__.pyx402.pynow imports frompry_x402.constantstests/test_x402_surface_snapshot.pyto guard the public API surfaceVerification
uv run pytest tests/ -q→ 625 passed, 1 skippeduv run ruff check .→ cleanuv run python -m mypy .→ success (no issues found in 232 source files)Pull request closed