Update dependencies and fix compatibility issues
- [FIXED] Downgrade ESlint to v8 for better compatibility with dependencies.
- [FIXED] Bump @modelcontextprotocol/sdk from 1.25.3 to 1.26.0
- [FIXED] Bump node-forge from 1.3.0 to 1.3.2
- [FIXED] Bump axios from 1.8.4 to 1.12.0
- [FIXED] Bump brace-expansion from 1.1.11 to 1.1.12
- [FIXED] Bump sha.js from 2.4.11 to 2.4.12
- [FIXED] Bump form-data from 4.0.2 to 4.0.4
Remove SDK logger
- [REMOVED] logger tracking errors in the integration libraries.
Added validation for mobile money networks.
- [ADDED]
networkvalidations for mobilemoney collections in the momoSchema. - [ADDED] checkmarx security scan to the package build pipeline.
Replace Request package with Fetch for HTTP requests and update the charge schema.
- [ADDED]
sa_bank_codein the chargeSchema. - [ADDED] Fetch API to handle HTTP calls in the SDK.
- [FIXED] Bumped axios version to the latest.
- [REMOVED] The deprecated request package as a dependency.
Added transaction verification by reference and updated the settlement imports for the fetch_all() and fetch() settlement methods.
- [ADDED] Transaction verification by reference(
tx_ref). - [FIXED] Update the
fetch_all()andfetch()settlement methods to use the correct settlement imports, ensuring they send the correct requests to the Flutterwave API.
Updated the voucher parameter in the momo schema.
- [FIXED] Make the
voucherparameter optional in the create mobile money schema.
Updated the getBalanceByCurrency method to parse path parameters.
- [FIXED] Update the
balance_currencyfunction in the Misc object to exclude queries when parsing a path parameter.
Update the list schema.
- [FIXED] Remove the required validation on the 'account_bank' parameter.
Update account_bank validation in create schema.
- [FIXED] Update minLength & maxLength validation for account_bank parameter.
Updated the variable name "package" which happens to be a reserved word in JavaScript, and it is causing compatibility issues with certain bundlers.
- [FIXED] changed the variable name 'package' to 'packageJson' in the logger.js file.
Validation hotfix on subaccounts
- [FIXED] Update validation (minLength & maxLength) for 'account_bank" parameter in the subaccountSchema.
Updated BVN verification flow and hotfixes on subaccount, bills and transaction fees:
- [ADDED] New BVN verification flow (via NIBBS).
- [ADDED] Unit tests for more coverage on the BVN verification, fees, and split payments.
- [ADDED] Subaccounts parameter (optional) to card charge and PWBT requests.
- [FIXED] Resolved "URL Not Found" Error returned from Validate Bill Service method.
- [FIXED] Resolved "Invalid currency provided" Error returned from the Transaction fees method.
Scheduled updates and bugfixes:
- [ADDED] Tanzania mobile money payment method.
- [ADDED] Fawry Pay payment method.
- [ADDED] Supplementary parameters in the createBulkTransferSchema.
- [ADDED] Expires parameter (optional) to PWBT (Pay with Bank Transfer) requests.
- [ADDED] Schema for USSD charge (ussdChargeSchema).
- [ADDED] Status parameter to the updatePlanSchema requests.
- [ADDED] Unit tests for more coverage on Fawry Pay, Google Pay, Apple Pay, and eNaira
- [ADDED] Unit tests for more coverage on payment plans, Charge NG Bank Account (Mono), Charge with Bank Transfer (PWBT), and Change UK & EU Bank Account.
- [FIXED] Optional parameters in beneficiarySchema.
- [FIXED] Updated transaction tests to stub response.
- [FIXED] Modified "id" in the fetchSchema to accept only integer values.
- [FIXED] Support string values for zip code in the cardChargeSchema.
- [FIXED] Support string values for "billing_zip" in the chargeSchema.
- [FIXED] Extended the length of "account_bank" values in the transferSchema.
- [FIXED] Updated the UK & USSD bank charge.
- [FIXED] Revised the NG bank charge (Mono).
- [REMOVED] Eliminated the "amount" parameter in the updatePlanSchema.
Hotfix on Transfer fees and Bank lists.
- [FIXED] Transfer fees returning 0 for all amounts.
- [FIXED] Null data response for Bank lists.
Hotfix to hide header information in the library response.
- [FIXED] Removed headers in the response.
This release fixes the empty subscription fetch query with user email.
- [FIXED] Empty data in response object for subscription fetch with email query parameter
Scheduled updates and bug fixes. This release fixes all the bugs in the new SDK (v1.1.0)
- [FIXED] Updated validation for empty meta objects in charge and transfer methods.
- [FIXED] Added conditional validation for
Country,NetworkandVoucherparameters in Mobile Money schema. - [FIXED] #111 Verify transaction error.
- [FIXED] Title validation in Card issuing schema.
- [FIXED] Import errors in Virtual account methods.
- [ADDED] Support for query parameters in listing methods.
- [REMOVED] Replaced
first_nameandlast_namein the Card tokenization schema with a singlefull_namefield.
This release fixes all morx errors thrown in custom request class.
- [FIXED] Morx error returned in custom service class in v1.1.0
This release fixes all npm warnings and dependabot error messages.
- [FIXED] #103 Multiple Vulnerabilities Introduced by dependencies
- [FIXED] #87 Amount is required for payment plan creation
- [FIXED] #84 Cannot filter bills by category
- [FIXED] #79 Urgent: Transactions GET endpoint or any endpoints with qs doesn't work
- [ADDED] Support for ApplePay, GooglePay and eNaira payments.