flutterwave-node-v3
Advanced tools
Comparing version 1.1.8 to 1.1.9
# Changelog | ||
## 1.1.9 | 2024-03-18 | ||
Validation hotfix on subaccounts | ||
### Version Changes. | ||
- [FIXED] Update validation (minLength & maxLength) for 'account_bank" parameter in the subaccountSchema. | ||
## 1.1.8 | 2024-02-19 | ||
@@ -4,0 +10,0 @@ Updated BVN verification flow and hotfixes on subaccount, bills and transaction fees: |
{ | ||
"name": "flutterwave-node-v3", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "The official Node.JS library for Flutterwave v3 payment APIs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -416,3 +416,3 @@ const joi = require('joi'); | ||
const subaccountSchema = joi.object({ | ||
account_bank: joi.string().length(3).required(), | ||
account_bank: joi.string().min(3).max(6).required(), | ||
account_number: joi.string().trim().max(20).required(), | ||
@@ -641,3 +641,3 @@ business_name: joi.string().trim().max(100).required(), | ||
const ussdChargeSchema = joi.object({ | ||
account_bank: joi.string().length(3).required(), | ||
account_bank: joi.string().min(3).max(6).required(), | ||
amount: joi.number().positive().required(), | ||
@@ -644,0 +644,0 @@ email: joi.string().max(100).email().required(), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
462267