Socket
Socket
Sign inDemoInstall

flutterwave-events

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.2.0

6

index.js

@@ -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);

9

package.json
{
"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": {}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc