Skip to content

Commit

Permalink
Merge pull request #3 from glennfaison/dev
Browse files Browse the repository at this point in the history
Update package name
  • Loading branch information
glennfaison authored May 9, 2020
2 parents f2469a0 + 85dfe4d commit 6052c81
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# mtn_momo
# mtn-momo
Node.js wrapper for the MTN Mobile Money API

## Using the Collections API
```javascript

// Import the module
const { useUserProvisioning, useCollections } = require('mtn_momo');
const { useUserProvisioning, useCollections } = require('mtn-momo');

const subscriptionKey = 'COLLECTIONS_PRIMARY_KEY';

Expand Down Expand Up @@ -85,7 +85,7 @@ const { currency, availableBalance } = accountBalance;
```javascript

// Import the module
const { useUserProvisioning, useDisbursements } = require('mtn_momo');
const { useUserProvisioning, useDisbursements } = require('mtn-momo');

const subscriptionKey = 'DISBURSEMENTS_PRIMARY_KEY';

Expand Down Expand Up @@ -165,7 +165,7 @@ const { currency, availableBalance } = accountBalance;
```javascript

// Import the module
const { useUserProvisioning, useRemittances } = require('mtn_momo');
const { useUserProvisioning, useRemittances } = require('mtn-momo');

const subscriptionKey = 'REMITTANCES_PRIMARY_KEY';

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "mtn_momo",
"name": "mtn-momo",
"version": "1.1.0",
"description": "Node.js wrapper for the MTN Mobile Money API",
"main": "index.js",
Expand All @@ -8,7 +8,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/glennfaison/mtn_momo.git"
"url": "git+https://github.com/glennfaison/mtn-momo.git"
},
"keywords": [
"MTN",
Expand All @@ -25,9 +25,9 @@
"registry": "https://npm.pkg.github.com/@glennfaison"
},
"bugs": {
"url": "https://github.com/glennfaison/mtn_momo/issues"
"url": "https://github.com/glennfaison/mtn-momo/issues"
},
"homepage": "https://github.com/glennfaison/mtn_momo#readme",
"homepage": "https://github.com/glennfaison/mtn-momo#readme",
"devDependencies": {
"chai": "^4.2.0",
"dotenv": "^8.2.0",
Expand Down

0 comments on commit 6052c81

Please sign in to comment.