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

quirons-broker

Package Overview
Dependencies
Maintainers
2
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quirons-broker - npm Package Compare versions

Comparing version 0.0.1-alpha.3 to 0.0.1-alpha.4

14

messages.d.ts

@@ -329,2 +329,9 @@ import * as t from 'io-ts';

export declare type BusinessMessage = t.TypeOf<typeof BusinessMessage>;
export declare const Method: t.KeyofC<{
GET: null;
POST: null;
PUT: null;
DELETE: null;
}>;
export declare type Method = t.TypeOf<typeof Method>;
export declare const SenderMessage: t.UnionC<[t.TypeC<{

@@ -464,9 +471,2 @@ kind: t.LiteralC<"allowance">;

export declare type SenderMessage = t.TypeOf<typeof SenderMessage>;
declare const Method: t.KeyofC<{
GET: null;
POST: null;
PUT: null;
DELETE: null;
}>;
export declare type Method = t.TypeOf<typeof Method>;
/**

@@ -473,0 +473,0 @@ * Common content of a business message.

@@ -22,3 +22,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Message = exports.BusinessRequest = exports.Deleted = exports.Delete = exports.SenderMessage = exports.BusinessMessage = exports.TError = exports.Greeting = exports.Identification = void 0;
exports.Message = exports.BusinessRequest = exports.Deleted = exports.Delete = exports.SenderMessage = exports.Method = exports.BusinessMessage = exports.TError = exports.Greeting = exports.Identification = void 0;
const t = __importStar(require("io-ts"));

@@ -92,2 +92,9 @@ const errors_1 = require("./errors");

]);
// Recomendation for enums, io-ts
exports.Method = t.keyof({
GET: null,
POST: null,
PUT: null,
DELETE: null
});
exports.SenderMessage = t.union([

@@ -100,9 +107,2 @@ senderMessage('allowance', Allowance_1_000_1.AllowanceInfo),

]);
// Recomendation for enums, io-ts
const Method = t.keyof({
GET: null,
POST: null,
PUT: null,
DELETE: null
});
/**

@@ -186,5 +186,5 @@ * A delete message.

identification: exports.Identification,
method: Method,
method: exports.Method,
content
});
}
{
"name": "quirons-broker",
"version": "0.0.1-alpha.3",
"version": "0.0.1-alpha.4",
"description": "A small library to expose the broker ttalk types",

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

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