Releases: sparkplug/momoapi-node
Releases · sparkplug/momoapi-node
v2.0.0
2.0.0 (2021-03-31)
Bug Fixes
- 🐛 convert partyIdType to lowercase to avoid 404 from momo (5bd3dd2)
- disbursements: return type of isPayerActive to match actual momo api response (1cbb611)
Code Refactoring
- 💡 unwrap api response result for easier access (29bd1d1)
Features
- disbursements: allow referenceId to be optionally supplied as part of transfer payload (9f5108c)
BREAKING CHANGES
- 🧨 disbursements isPayerActive now returns simple boolean
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
1.0.0 (2019-02-14)
new features
- updated documentation
- validations
- custom errors classes
- support for disbursements
BREAKING CHANGES
- now have to call
create
to configure the module
Migration
- change your code to configure the library using the
create
function from the library.
For example, if your code was;
const momo = require("mtn-momo");
const { Collections } = momo({callbackHost: "example.com"});
You can change it to;
const momo = require("mtn-momo");
const { Collections } = momo.create({callbackHost: "example.com"});
0.1.1
v0.1.1