Socket
Socket
Sign inDemoInstall

bitabase-gateway

Package Overview
Dependencies
84
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.4 to 1.5.5

2

index.js

@@ -21,2 +21,3 @@ if (process.env.NODE_ENV === 'development') {

start Start the bitabase gateway stack
--advertise-host Hostname to advertise to others (default: --bind-host)
--bind-host Hostname to bind server to (default: 0.0.0.0)

@@ -42,2 +43,3 @@ --bind-port Port to bind server to (default: 8001)

...args,
advertiseHost: args['advertise-host'],
bindHost: args['bind-host'],

@@ -44,0 +46,0 @@ bindPort: args['bind-port'],

6

modules/setupServerSyncer.js

@@ -16,7 +16,7 @@ const { promisify } = require('util');

const hostAddress = `http://${config.bindHost}:${config.bindPort}`;
const hostAddress = `http://${config.advertiseHost}:${config.bindPort}`;
const dbConnection = await rqlite.connect(config.rqliteAddr, {
retries: 3,
retryDelay: 250,
retries: 10,
retryDelay: 3000,
onRetry: () => console.log('Could not connect to: ' + config.dataServer + '. Trying again...')

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

{
"name": "bitabase-gateway",
"version": "1.5.4",
"version": "1.5.5",
"description": "",

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

@@ -15,2 +15,3 @@ if (process.env.NODE_ENV === 'development') {

config.bindHost = config.bindHost || '0.0.0.0';
config.advertiseHost = config.advertiseHost || config.bindHost;
config.bindPort = config.bindPort || 8002;

@@ -17,0 +18,0 @@ config.accountMapper = config.accountMapper || '(.*).bitabase.test';

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc