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

nsq-publisher

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nsq-publisher - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

4

index.js

@@ -6,7 +6,7 @@ const Promise = require('bluebird');

class Publisher {
constructor({ dataUrl, dataHttpPort, dataTcpPort, topic }) {
constructor({ dataUrl, dataHttpPort, dataTcpPort, topic, protocol }) {
this.dataUrl = dataUrl;
this.dataTcpPort = dataTcpPort;
this.topic = topic;
this.topicUrl = `${dataUrl}:${dataHttpPort}/topic/create?topic=${topic}`
this.topicUrl = `${protocol || 'http'}://${dataUrl}:${dataHttpPort}/topic/create?topic=${topic}`;
}

@@ -13,0 +13,0 @@

{
"name": "nsq-publisher",
"version": "0.0.7",
"version": "0.0.8",
"description": "Simple way to create topics and publish messages in NSQ",

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

# nsq-publisher
Simple way to create topics and publish messages

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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