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.2.1 to 0.2.2

5

index.js

@@ -31,3 +31,6 @@ const { EventEmitter } = require('events');

if (flutterwaveHeader === self._hash) {
const eventKey = self._options.useEventKey ? req.body.event : self._options.defaultEventKey;
let eventKey = self._options.defaultEventKey;
if (self._options.useEventKey) {
eventKey = req.body.event || self._options.defaultEventKey
}
self.emit(eventKey, req.body);

@@ -34,0 +37,0 @@ if (self._options.emitWildCardEvents) {

2

package.json
{
"name": "flutterwave-events",
"version": "0.2.1",
"version": "0.2.2",
"description": "A tiny module to help you handle flutterwave api events automatically",

@@ -5,0 +5,0 @@ "main": "index.js",

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