Skip to content

v1.0.0

Compare
Choose a tag to compare
@ernest-okot ernest-okot released this 14 Feb 11:48
· 63 commits to master since this release
c9f44c5

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"});