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

status-dev-cli

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

status-dev-cli - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

6

cli.js

@@ -86,5 +86,7 @@ #!/usr/bin/env node

function getPackageData(contact) {
var contactData = contact;
var contactData;
if (!contact) {
contactData = getCurrentPackageData();
contactData = JSON.stringify(getCurrentPackageData());
} else {
contactData = contact;
}

@@ -91,0 +93,0 @@ return contactData;

@@ -13,6 +13,2 @@ const request = require('request');

function encodeObject(obj) {
return fromAscii(JSON.stringify(obj));
}
var StatusDev = function(options) {

@@ -27,3 +23,3 @@ this.url = "http://" + options.ip + ":5561";

json: true,
body: { encoded: encodeObject(contactData) }
body: { encoded: fromAscii(contactData) }
}, function (error, response, body) {

@@ -40,3 +36,3 @@ if (cb === undefined) { return }

json: true,
body: { encoded: encodeObject(contactData) }
body: { encoded: fromAscii(contactData) }
}, function (error, response, body) {

@@ -53,3 +49,3 @@ if (cb === undefined) { return }

json: true,
body: { encoded: encodeObject(contactData) }
body: { encoded: fromAscii(contactData) }
}, function (error, response, body) {

@@ -66,3 +62,3 @@ if (cb === undefined) { return }

json: true,
body: {encoded: encodeObject({"url": rpcUrl})}
body: {encoded: fromAscii({"url": rpcUrl})}
}, function (error, response, body) {

@@ -69,0 +65,0 @@ if (cb === undefined) { return }

{
"name": "status-dev-cli",
"version": "3.0.0",
"version": "3.0.1",
"description": "CLI for Status",

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

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