flutterwave-events
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -11,11 +11,7 @@ const { EventEmitter } = require('events'); | ||
function FlutterwaveEvents(hash = DEFAULT_HASH, options = DEFAULT_OPTIONS) { | ||
if (!hash) throw new Error('You must supply your `Flutterwave` secret hash!'); | ||
this._hash = hash; | ||
this._options = options; | ||
this.init = () => { | ||
this.init = | ||
if (!_hash) throw new Error('You must supply your `Flutterwave` secret hash!'); | ||
} | ||
if (!(this instanceof FlutterwaveEvents)) { | ||
@@ -22,0 +18,0 @@ return new FlutterwaveEvents(key); |
{ | ||
"name": "flutterwave-events", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "A tiny module to help you handle flutterwave api events automatically", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "./node_modules/.bin/mocha --timeout 500 --exit" | ||
"test": "" | ||
}, | ||
@@ -36,8 +36,5 @@ "repository": { | ||
"express": "^4.17.1", | ||
"koa": "^2.13.1", | ||
"mocha": "^8.3.2", | ||
"nock": "^13.0.11", | ||
"flutterwave": "^2.0.1" | ||
"mocha": "^8.3.2" | ||
}, | ||
"dependencies": {} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8
10273
183
2