All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning. except the ISO date format (I find myself trying too hard to guess the months)
0.2.4 - 12-Dec-2024
jsr:@std/fmt
package from dependencies causing installation issue.
0.2.3 - 12-Dec-2024
- postinstall script not working. replace with a custom preinstall script
0.2.2 - 12-Dec-2024
- preinstall script for npm not working, replaced with postinstall script.
0.2.1 - 12-Dec-2024
- Installation fails for bun and node because of jsr dependencies, added guide to fix this issue and a preinstall script for npm
0.2.0 - 12-Dec-2024
- Typed response data. Prior versions limited declaring the response data (i.e.
PaystackResponse.data
) asRecord<string,any>
. This version takes response data typing even further by modeling all of paystack's api response into models, now the client methods returnPaystackResponse<T>
whereT
is the type ofPaystackResponse.data
- Dev mode package message
- Converted
PaystackResponse
to a genericPaystackResponse<T>
whereT
is the type ofPaystackResponse.data
.
0.1.5 - 09-Nov-2024
- Rename incorrect
authCode
parameter toauthorizationCode
parameter forChargePayload
0.1.4 - 28-Sep-2024
- Test all clients
- Add more docs to GitHub pages
perPage
option param not working as a result of case transformationPaystackClient.paymentPage.addProducts
sends wrong payloadPaystackClient.paymentRequest.getPaymentRequests
fails as a result of using wrong HTTP verb.- Export missing types for transaction
- Make
name
anddescription
params optional inUpdatePaymentPagePayload
- Rename
ChargePayload
for transactions toTransactionChargePayload
as a result of conflicting name with charge payload TransactionChargePayload
authCode
param toauthorizationCode
0.1.3 - 22-Sep-2024
- Export
PaystackClientError
thrown by all client methods - CLI install scripts
ValidatePayload.identificationType
toValidatePayload.type
SubmitAddressPayload.zipcode
toSubmitAddressPayload.zipCode
PaystackClient.customers.deactivate
paramauthCode
toauthorizationCode
PaystackClient.charge.submitOtp
hitting the wrong endpoint
0.1.2 - 18-Sep-2024
- Documentation for package types
- Update package dependencies
0.1.1 - 06-Sep-2024
- Documentation for enum types
- Documentation for
PaystackClient
- Error in
PaystackClient.miscellaneous.getBanks
- Broken links in readme
0.1.0 - 06-Sep-2024
PaystackClient
- All other sub-clients that are bound to the
PaystackClient
- Test files for all sub-clients
FUNDING.yml
- Github pages doc
- Documentation for all the sub-client classes