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

buddy-tunnel

Package Overview
Dependencies
Maintainers
2
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buddy-tunnel - npm Package Compare versions

Comparing version 1.0.7-dev to 1.0.8-dev

2

package.json
{
"name": "buddy-tunnel",
"preferGlobal": false,
"version": "1.0.7-dev",
"version": "1.0.8-dev",
"type": "module",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -22,2 +22,3 @@ import { Command } from 'commander';

import waitUntilServiceRunning from '../../service/wait.js';
import Cfg from '../../cfg.js';

@@ -35,9 +36,9 @@ const commandServiceEnable = new Command('enable');

}
let token;
let token = options.token;
let id;
const port = Input.port(options.port);
if (options.id && options.token) {
if (options.id && token) {
id = options.id;
token = options.token;
} else {
if (token) Cfg.setToken(token);
const agent = await ApiAgent.register(true);

@@ -44,0 +45,0 @@ id = agent.id;

@@ -145,3 +145,3 @@ const ERR_SERVICE_NOT_REGISTERED = 'Service not registered. Exiting...';

const OPTION_SERVICE_START = 'start service right away';
const OPTION_SERVICE_TOKEN = 'token to authorize existing agent service';
const OPTION_SERVICE_TOKEN = 'token to authorize existing agent service or token to add a new agent';
const OPTION_SERVICE_PORT = 'service api port';

@@ -148,0 +148,0 @@

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