Skip to content

Releases: sparkplug/momoapi-node

v2.0.0

31 Mar 12:33
Compare
Choose a tag to compare

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

29 Mar 16:08
Compare
Choose a tag to compare

1.0.7 (2021-03-29)

Bug Fixes

  • pass original error message into UnspecifiedError fallback for better insight (ec47e01)

v1.0.6

16 Jan 11:45
Compare
Choose a tag to compare

1.0.6 (2020-01-16)

Bug Fixes

v1.0.5

14 Aug 12:13
Compare
Choose a tag to compare

1.0.5 (2019-08-14)

Bug Fixes

  • upgrade vulnerable dev dependencies (fb071ee)

v1.0.4

17 Mar 12:28
Compare
Choose a tag to compare

1.0.4 (2019-03-17)

Bug Fixes

  • remove moment dependency (0403ccb)

v1.0.3

10 Mar 13:52
Compare
Choose a tag to compare

1.0.3 (2019-03-10)

Bug Fixes

  • correct cli error handler (1de61f4)

v1.0.2

20 Feb 01:04
Compare
Choose a tag to compare

1.0.2 (2019-02-20)

Bug Fixes

  • attach transaction to error if available (91b86d7)

v1.0.1

16 Feb 14:28
Compare
Choose a tag to compare

1.0.1 (2019-02-16)

Bug Fixes

  • expose additional types (491149a)

v1.0.0

14 Feb 11:48
c9f44c5
Compare
Choose a tag to compare

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

30 Jan 17:26
Compare
Choose a tag to compare
v0.1.1