You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

socializr

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.28 to 0.0.29

8

lib/auth/pubsub.js

@@ -17,3 +17,8 @@ var util = require('util')

PubSubConnection.prototype.isSignatureValid = function(data, signature){
console.log(this.appSecret);
if( !data) {
throw new Error('Required parameter `data` cannot be `undefined`.');
}
if( !signature) {
throw new Error('Required parameter `signature` cannot be `undefined`.');
}
var hmac = crypto.createHmac('sha1', this.appSecret);

@@ -27,3 +32,2 @@ hmac.update(

module.exports = PubSubConnection;
{
"name": "socializr",
"version": "0.0.28",
"version": "0.0.29",
"description": "Read data streams from several social networks.",

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc