Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gosquared

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gosquared - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

8

lib/gosquared.js

@@ -56,3 +56,3 @@ var http = require('http'),

if(!this.opts.siteToken){
if(!this.opts.site_token){
return this._debug(6);

@@ -182,3 +182,3 @@ }

qsParams.name = name;
qsParams.site_token = this.opts.siteToken;
qsParams.site_token = this.opts.site_token;
this._exec(this.config.endpoints.data, '/event?' + queryString.stringify(qsParams), params, this._responseCompleted.bind(this, done));

@@ -212,4 +212,4 @@ };

var endpoint = this.config.endpoints.api;
opts.site_token = this.opts.siteToken;
opts.api_key = this.opts.apiKey;
opts.site_token = this.opts.site_token;
opts.api_key = this.opts.api_key;
this._exec(endpoint, '/'+this.opts.version+'/'+func, opts, this._responseCompleted.bind(this, cb));

@@ -216,0 +216,0 @@ };

{
"name": "gosquared",
"version": "0.1.4",
"version": "0.1.5",
"description": "GoSquared for your Node.JS application",

@@ -5,0 +5,0 @@ "main": "lib/gosquared.js",

@@ -7,4 +7,4 @@ var GoSquared = require('../lib/gosquared'),

var GS,
SITE_TOKEN = process.env.siteToken,
API_KEY = process.env.apiKey;
SITE_TOKEN = process.env.site_token,
API_KEY = process.env.api_key;

@@ -15,4 +15,4 @@ before(function(){

GS = new GoSquared({
siteToken: SITE_TOKEN,
apiKey: API_KEY,
site_token: SITE_TOKEN,
api_key: API_KEY,
debugLevel: process.env.verbosity

@@ -19,0 +19,0 @@ });

@@ -6,4 +6,4 @@ var GoSquared = require('../lib/gosquared'),

var GS,
SITE_TOKEN = process.env.siteToken,
API_KEY = process.env.apiKey;
SITE_TOKEN = process.env.site_token,
API_KEY = process.env.api_key;

@@ -14,4 +14,4 @@ before(function(){

GS = new GoSquared({
siteToken: SITE_TOKEN,
apiKey: API_KEY,
site_token: SITE_TOKEN,
api_key: API_KEY,
debugLevel: process.env.verbosity

@@ -18,0 +18,0 @@ });

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc