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

@silenteer/natsu

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@silenteer/natsu - npm Package Compare versions

Comparing version 1.0.29 to 1.0.30

10

dist/type.d.ts

@@ -8,4 +8,10 @@ import type { Msg, NatsConnection, PublishOptions, RequestOptions } from 'nats';

natsService: {
request: (subject: string, data?: NatsRequest, opts?: RequestOptions) => Promise<Msg>;
publish: (subject: string, data?: NatsResponse, opts?: PublishOptions) => Promise<void>;
request: <T extends NatsService<string, unknown, unknown>>(subject: T['subject'], data?: NatsRequest, opts?: RequestOptions) => Promise<Msg>;
publish: <T extends NatsService<string, unknown, unknown>>(subject: T['subject'], data?: NatsResponse | {
headers: {
[key: string]: unknown;
};
body?: T['response'];
code: 200;
}, opts?: PublishOptions) => Promise<void>;
subscribe: NatsConnection['subscribe'];

@@ -12,0 +18,0 @@ drain: NatsConnection['drain'];

2

package.json
{
"name": "@silenteer/natsu",
"version": "1.0.29",
"version": "1.0.30",
"license": "MIT",

@@ -5,0 +5,0 @@ "private": false,

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