fapshi 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -9,7 +9,7 @@ module.exports =class FAPSHI {
9
9
  * @param {string} key : api key access
10
10
  */
11
11
  constructor(user, key) {
12
- if(!user||key) throw new Error("Mention your user name and api key ");
12
+ if(!user||!key) throw new Error("Mention your user name and api key ");
13
13
 
14
14
  this.apiuser = user;
15
15
  this.key = key;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fapshi",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "\"Fapshi payment module\"",
5
5
  "main": "index.js",
6
6
  "scripts": {