From 85dfe4deffe7c8f6308aad706749660649e81e21 Mon Sep 17 00:00:00 2001 From: glennfaison Date: Sat, 9 May 2020 22:12:20 +0100 Subject: [PATCH] Update package name --- README.md | 8 ++++---- package-lock.json | 2 +- package.json | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d560de3..16aaef5 100644 --- a/README.md +++ b/README.md @@ -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'; @@ -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'; @@ -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'; diff --git a/package-lock.json b/package-lock.json index a9fe2cc..066f74d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "mtn_momo", + "name": "mtn-momo", "version": "1.0.0", "lockfileVersion": 1, "requires": true, diff --git a/package.json b/package.json index 53ad10e..c83675b 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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", @@ -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",