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

socializr - npm Package Compare versions

Comparing version 0.0.26 to 0.0.27

1

lib/auth/pubsub.js

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

PubSubConnection.prototype.isSignatureValid = function(data, signature){
console.log(this.appSecret);
var hmac = crypto.createHmac('sha1', this.appSecret);

@@ -19,0 +20,0 @@ hmac.update(

8

lib/providers/instagram.js

@@ -99,5 +99,2 @@ var stream = require('stream')

return function(req, res){
console.log('subscription verify:', req.query);
if( _this.isVerifyToken( req.query['hub.verify_token'])){

@@ -123,7 +120,6 @@ res.send( req.query['hub.challenge']);

console.log(req.get('X-Hub-Signature'));
console.log(conn.isSignatureValid( req.text, req.get('X-Hub-Signature')));
console.log(req.get('X-Hub-Signature'), this.clientSecret);
console.log(conn.isSignatureValid( req.text, signature));
console.log(req.body);
if( conn.isSignatureValid( req.text, signature)){

@@ -130,0 +126,0 @@ _this.write(req.body);

{
"name": "socializr",
"version": "0.0.26",
"version": "0.0.27",
"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