v2026.0.2
Added
timeoutparameter onFragmentClient(default30.0s) — passed through to every HTTP requestget_fragment_hashnow accepts and forwardstimeoutinstead of hardcoding the defaultmypy pyfragmentadded to CI lint job;mypyandpytest-mockadded to[dev]deps- Mock test coverage for all 3 purchase methods (
006_test_methods_mock.py)
Changed
- All constants moved to
pyfragment.types.constants examples/updated toasync with FragmentClient, f-strings, aligned error messages
Fixed
- mypy: missing return path in
process_transactionafter retry loop - mypy:
cookiesunion-attr error inFragmentClient.__init__ - mypy:
WALLET_CLASSEStyped asdict[str, Any]sofrom_mnemonicresolves correctly
Full Changelog: v2026.0.1...v2026.0.2