Releases: SuperFeda/aioheleket
Releases · SuperFeda/aioheleket
v1.3.0
- Reworked HTTP request handling and added
RequestConfigto configure it. HeleketClientcan now be used withasync with.- All data classes have been rewritten to use
pydantic.BaseModel. - Added the
PaymentService.resend_webhook()method. - Docstrings now include links to the original Heleket API documentation.
v1.2.0
- Added docstrings.
- Changed error messages.
- Added methods:
PayoutService.payout_history()for retrieving payout history andPaymentService.payment_history()for payment history. - The
test_webhook()method for creating a test webhook was added to theStaticWalletServiceandPayoutServiceservices. - Renamed methods:
HeleketClient.payment()=>HeleketClient.payment_service()HeleketClient.payout()=>HeleketClient.payout_service()HeleketClient.static_wallet()=>HeleketClient.static_wallet_service()HeleketClient.finance()=>HeleketClient.finance_service()PaymentService.info()=>PaymentService.payment_info()PaymentService.refund()=>PaymentService.refund_payment()PayoutService.get_info()=>PayoutService.payout_info()StaticWalletService.block()=>StaticWalletService.block_wallet()StaticWalletService.create()=>StaticWalletService.create_wallet()
- Renamed the
CurrencyEnum toCryptoCurrency. - The
FinanceService.balance()method was changed; it now returns a singleBalanceobject containinguserandmerchantbalance data. - Added a base parent class for all services -
_BaseService. - Added the alias
Currency(aioheleket.Currency) to indicate that an argument can accept values for both fiat currency and cryptocurrency. - Refactoring.
- The README was slightly modified and a Russian translation was added.