Skip to content

Latest commit

 

History

History
143 lines (92 loc) · 3.97 KB

CHANGELOG.md

File metadata and controls

143 lines (92 loc) · 3.97 KB

Changelog

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

Removed

  • jsr:@std/fmt package from dependencies causing installation issue.

0.2.3 - 12-Dec-2024

Fixed

  • postinstall script not working. replace with a custom preinstall script

0.2.2 - 12-Dec-2024

Fixed

  • preinstall script for npm not working, replaced with postinstall script.

0.2.1 - 12-Dec-2024

Fixed

  • 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

Added

  • Typed response data. Prior versions limited declaring the response data (i.e. PaystackResponse.data) as Record<string,any>. This version takes response data typing even further by modeling all of paystack's api response into models, now the client methods return PaystackResponse<T> where T is the type of PaystackResponse.data
  • Dev mode package message

Changed

  • Converted PaystackResponse to a generic PaystackResponse<T> where T is the type of PaystackResponse.data.

0.1.5 - 09-Nov-2024

Fixed

  • Rename incorrect authCode parameter to authorizationCode parameter for ChargePayload

0.1.4 - 28-Sep-2024

Added

  • Test all clients
  • Add more docs to GitHub pages

Fixed

  • perPage option param not working as a result of case transformation
  • PaystackClient.paymentPage.addProducts sends wrong payload
  • PaystackClient.paymentRequest.getPaymentRequests fails as a result of using wrong HTTP verb.
  • Export missing types for transaction

Changed

  • Make name and description params optional in UpdatePaymentPagePayload
  • Rename ChargePayload for transactions to TransactionChargePayload as a result of conflicting name with charge payload
  • TransactionChargePayload authCode param to authorizationCode

0.1.3 - 22-Sep-2024

Added

  • Export PaystackClientError thrown by all client methods
  • CLI install scripts

Changed

  • ValidatePayload.identificationType to ValidatePayload.type
  • SubmitAddressPayload.zipcode to SubmitAddressPayload.zipCode
  • PaystackClient.customers.deactivate param authCode to authorizationCode

Fixed

  • PaystackClient.charge.submitOtp hitting the wrong endpoint

0.1.2 - 18-Sep-2024

Added

  • Documentation for package types

Changed

  • Update package dependencies

0.1.1 - 06-Sep-2024

Added

  • Documentation for enum types
  • Documentation for PaystackClient

Fixed

  • Error in PaystackClient.miscellaneous.getBanks
  • Broken links in readme

0.1.0 - 06-Sep-2024

Added

  • 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