New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@adhityan/gc-nats

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adhityan/gc-nats - npm Package Compare versions

Comparing version 2.3.3 to 2.3.4

4

lib/worker.js

@@ -32,6 +32,8 @@ "use strict";

if (!clientID) {
debug('No clientId provided; auto creating client ID (Explicit client ID > Durable name > Channel name)');
if (durability === null || durability === void 0 ? void 0 : durability.enabled)
clientID = channel;
clientID = durability.durableName || channel;
else
clientID = uuid_1.v4();
debug(`auto set clientId to ${clientID}`);
}

@@ -38,0 +40,0 @@ debug('client id being used', clientID);

{
"name": "@adhityan/gc-nats",
"description": "Typescript Node.js client for NATS streaming server",
"version": "2.3.3",
"version": "2.3.4",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -21,4 +21,6 @@ import Debug from 'debug';

if(!clientID) {
if(durability?.enabled) clientID = channel;
debug('No clientId provided; auto creating client ID (Explicit client ID > Durable name > Channel name)');
if(durability?.enabled) clientID = durability.durableName || channel;
else clientID = uuidv4();
debug(`auto set clientId to ${clientID}`);
}

@@ -25,0 +27,0 @@

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