x402_dio 0.3.0
x402_dio: ^0.3.0 copied to clipboard
Dio interceptor for automatic HTTP 402 Payment Required handling with the x402 protocol.
0.3.0 #
- Updated to
x402_core: ^0.3.0. - Updated
X402Interceptorto use the newPaymentRequiredResponse.fromHeaderandSignedPayment.encoded.
0.2.0 #
- Updated
X402Interceptorto support the newSignedPaymentreturn type from signers. - Included loop protection in
X402Interceptorto prevent infinite retry loops on recurring 402 responses. - Added comprehensive unit tests covering various 402 scenarios and error conditions.
0.1.0 #
- Initial release.
- Added
X402Interceptorfor automatic 402 payment handling with Dio.