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.18 to 1.0.19

3

dist/nats-client.js

@@ -228,6 +228,5 @@ "use strict";

}, error: (params) => {
const { data, code = 500, errors } = params;
const { code = 500, errors } = params;
return {
code,
data,
errors,

@@ -234,0 +233,0 @@ };

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

declare type NatsValidationInjection<TService extends NatsService<string, unknown, unknown>, TInjection extends Record<string, unknown> = Record<string, unknown>> = NatsInjection<TService, TInjection> & {
ok: (params: {
data: NatsRequest<TService['request']>;
}) => NatsValidationResult;
ok: () => NatsValidationResult;
error: (params: {
data: NatsRequest<TService['request']>;
code?: number;

@@ -87,7 +84,4 @@ errors: unknown;

declare type NatsAuthorizationInjection<TService extends NatsService<string, unknown, unknown>, TInjection extends Record<string, unknown> = Record<string, unknown>> = NatsInjection<TService, TInjection> & {
ok: (params: {
data: NatsRequest<TService['request']>;
}) => NatsAuthorizationResult;
ok: () => NatsAuthorizationResult;
error: (params: {
data: NatsRequest<TService['request']>;
code?: number;

@@ -100,3 +94,2 @@ errors: unknown;

error: (params: {
data: NatsRequest<TService['request']>;
code?: number;

@@ -103,0 +96,0 @@ errors: unknown;

{
"name": "@silenteer/natsu",
"version": "1.0.18",
"version": "1.0.19",
"license": "MIT",

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

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