Skip to content

Commit b812212

Browse files
Merge pull request #141 from Dekunledev/dev
Node v3 library updates
2 parents e1e2fa3 + 7a474af commit b812212

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 1.1.7 | 2023-10-18
3+
## 1.1.7 | 2024-01-25
44
This release includes the addition of Fawrypay and Tanzania mobilemoney, updates to NG (mono), UK & EU bank charge, googlepay, applepay, enaira and Hotfix to add and update parameters for the update payment plan method, bulk transfers, and single transfers.
55
### Version changes.
66
- [ADDED] Support for Tanzania mobilemoney and tests for TZS mobilemoney.
@@ -14,6 +14,8 @@ This release includes the addition of Fawrypay and Tanzania mobilemoney, updates
1414
- [ADDED] "status" as a body parameter in the updatePlanSchema.
1515
- [FIXED] updated the transaction tests to stub response.
1616
- [FIXED] "id" in the fetchSchema to accept only integer values.
17+
- [FIXED] "authorization.zipcode" in the cardChargeSchema to accept string values.
18+
- [FIXED] "billing_zip" in the chargeSchema to accept string values.
1719
- [FIXED] updated the length of "account_bank" values in the transferSchema.
1820
- [FIXED] updated the UK & USSD bank charge.
1921
- [FIXED] updated the README.md file and documentation wikis.

services/schema/create.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ const cardChargeSchema = joi.object({
245245
city: joi.string(),
246246
state: joi.string(),
247247
country: joi.string().uppercase().length(2).default('NG'),
248-
zipcode: joi.number().positive(),
248+
zipcode: joi.string(),
249249
}),
250250
payment_plan: joi.string(),
251251
meta: joi.object().pattern(/^[a-zA-Z0-9_]*$/, joi.any()),
@@ -279,7 +279,7 @@ const chargeSchema = joi.object({
279279
billing_city: joi.string(),
280280
billing_state: joi.string(),
281281
billing_country: joi.string().uppercase().length(2).default('NG'),
282-
billing_zip: joi.number().positive(),
282+
billing_zip: joi.string(),
283283
meta: joi.object().pattern(/^[a-zA-Z0-9_]*$/, joi.any()),
284284
expires: joi.number().positive().max(31536000),
285285
});

0 commit comments

Comments
 (0)