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

volos-analytics-apigee

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

volos-analytics-apigee - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

18

lib/apigeeanalytics.js

@@ -58,13 +58,13 @@ /****************************************************************************

superagent.agent().
post(this.uri + '/v2/analytics/accept').
set('x-DNA-Api-Key', this.key).
set('Content-Type', 'application/json').
send(JSON.stringify(recordsToBeUploaded)).
end(function(err, resp) {
if(err) {
superagent.agent()
.post(this.uri + '/v2/analytics/accept')
.set('x-DNA-Api-Key', this.key)
.set('Content-Type', 'application/json')
.send(JSON.stringify(recordsToBeUploaded))
.end(function(err, resp) {
if (err) {
cb(err);
} else {
if(resp.statusCode != 200) {
cb(resp.body);
if (resp.statusCode != 200) {
cb(null);
} else {

@@ -71,0 +71,0 @@ cb(undefined, resp.body);

{
"name": "volos-analytics-apigee",
"version": "0.1.0",
"version": "0.2.0",
"main": "lib/apigeeanalytics.js",

@@ -15,3 +15,4 @@ "license": "MIT",

"debug": "1.0.x",
"superagent": "0.x.x"
"superagent": "0.x.x",
"volos-analytics-common": "^0.2.0"
},

@@ -18,0 +19,0 @@ "devDependencies": {},

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