forked from coinbase/x402
-
Notifications
You must be signed in to change notification settings - Fork 4
Sync upstream main #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* feat: initial e2e draft * feat: implemented axios, express and hono * feat: implemented fetch and next. Fixed a next bug * feat: added httpx client * feat: added requests clients * feat: added fastapi * feat: added flask * feat: added gin * fix: reinstated full tests * fix: format * feat: added README * chore: log cleanup * feat: improved logging * feat: fixed express e2e protected-2 tests
* Button to gitbook * auth-based-pricing example * Replace submodule with normal directory for auth_based_pricing * removed duplicate button * x402 ecosystem page * x402 ecosystem page * lint: * Add browser-wallet-example to x402 repo (previously separate repo at https://github.com/murrlincoln/x402-browser-wallet-demo.git) * fix: update pnpm lockfile to include browser-wallet-example dependencies
* Add Fund button to default paywall * Format * set up onramp secure init * Add docs on onramp setup, add route to site Clean up, generate new session token every time * Clean up readme Format clean up x402-next readme * Small refactor for onramp session token * Update lockfile for examples * Fix wagmi version mismatch btw onchainkit and next-advance example * Upgrade cdp-sdk version to latest * Update lockfile * Make Onramp session token endpoint dynamic * Make sure the paywall only renders clientside in SSR environments * Update x402-next readme * Format * Update readme
…walls (coinbase#276) * Add hono and express support & docs for Onramp in paywall * Add Onramp to mainnet example * Add unit tests for hono and express session token generation * Add unit tests for x402-next session token generation"
* depps: in python updated x402's pydantic depp to >=2.10.3 * fix: lockfiles
* feat: improved e2e filters for easier rapid use * feat: improved devx * fix: pr feedback * fix: improve logging
* WIP python paywall * Add paywall config * Fix type errors, add flask to project deps * Pydantic v2.10 doesn't support serialize_by_alias as a config option * clean up middlewares * That was unnecessarily complicated * per pydantic: use instead of on Python < 3.12 * Update paywall to full html file, update path * Allow users to pass in custom HTML as a string for their paywall * Validate supported networks * Don't use type in middleware, but do verify * Minify paywall html during build process * Add example that uses new python paywall * Update env to be mainnet in mainnet example * Add flask and fastapi fullstack examples * Correct types * Update paywall html * Hide balance on paywall * Format * ADd proper logging to fastapi middleware * Escape strings and guard against prototype pollution * Automatically copy the paywall file over to the python directory * Update example lockfiles * Update python tests * Update paywall template build steps so python matches TS * Format and lint
… ternary (coinbase#271) * fix: multichain bug * fix: Use proper eip712 domain name for USDC on Avalanche C-Chain mainnet * fix: Throw an error if USDC deployment not found for a chain
* Build template after core pkg update * format * Update CONTRIBUTING.md
* Python pricing example WIP * Update readme * Update types, format * Simplify, don't use http exception shape * Fix bug where python pkg would set empty fields to nil instead of omitting entirely * Update readmes, appease linter * Fix bug where we always try to settle w/ the first payment requirement in the list * Fix network filtering bug-- settle was always using the first one in the list * Fix same payment requirements list bug in python example * Add notes about the client network filter * Add custom payment selector to the other python client as well * use json5 for md formatting * Din't need to recreate util * Create find_matching_payment_requirements util in python * Update middlewares, tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Tests
Checklist