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.4.0 to 2.5.0

4

lib/nats-streaming.d.ts

@@ -11,5 +11,5 @@ import { StanOptions, Stan, Subscription, StartPosition } from "node-nats-streaming";

connect(): Promise<Stan>;
publish(payload: {
publish<T extends {}>(payload: {
subject: string;
data: any;
data: T;
}): Promise<void>;

@@ -16,0 +16,0 @@ /**

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

@@ -20,3 +20,3 @@ "type": "git",

"dependencies": {
"debug": "^4.3.1",
"debug": "^4.3.2",
"node-nats-streaming": "^0.3.2",

@@ -26,13 +26,13 @@ "uuid": "^8.3.2"

"devDependencies": {
"@types/debug": "^4.1.5",
"@types/express": "^4.17.11",
"@types/node": "^14.14.31",
"@types/uuid": "^8.3.0",
"ts-node": "^9.1.1",
"typeorm": "^0.2.31",
"@types/debug": "^4.1.7",
"@types/express": "^4.17.13",
"@types/node": "^14.14.35",
"@types/uuid": "^8.3.1",
"ts-node": "^10.1.0",
"typeorm": "^0.2.34",
"typescript": "^4.2.2"
},
"peerDependencies": {
"@adhityan/gc-logger": "^2.0.0"
"@adhityan/gc-logger": "^2.1.0"
}
}

@@ -82,3 +82,3 @@ /**

public async publish(payload: { subject: string; data: any }) {
public async publish<T extends {}>(payload: { subject: string; data: T }) {
await this.connect();

@@ -85,0 +85,0 @@ debug('publish data', arguments);

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