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.8 to 0.0.1-alpha.9

12

messages.d.ts

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

export declare type SenderResponseMessage = t.TypeOf<typeof SenderResponseMessage>;
export declare const RequesterResponseMessage: t.IntersectionC<[t.TypeC<{
kind: t.LiteralC<"requesterResponse">;
status: t.NumberC;
}>, t.PartialC<{
errorMessage: t.StringC;
}>]>;
export declare type RequesterResponseMessage = t.TypeOf<typeof SenderResponseMessage>;
/**

@@ -1109,2 +1116,7 @@ * Common content of a business message.

errorMessage: t.StringC;
}>]>, t.IntersectionC<[t.TypeC<{
kind: t.LiteralC<"requesterResponse">;
status: t.NumberC;
}>, t.PartialC<{
errorMessage: t.StringC;
}>]>]>;

@@ -1111,0 +1123,0 @@ export declare type Message = t.TypeOf<typeof Message>;

16

messages.js

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

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

@@ -113,3 +113,3 @@ const errors_1 = require("./errors");

t.type({
kind: t.literal('senderResponse'),
kind: t.literal('senderResponse')
}),

@@ -120,2 +120,11 @@ t.partial({

]);
exports.RequesterResponseMessage = t.intersection([
t.type({
kind: t.literal('requesterResponse'),
status: t.number
}),
t.partial({
errorMessage: t.string
})
]);
/**

@@ -179,3 +188,4 @@ * A delete message.

exports.SenderMessage,
exports.SenderResponseMessage
exports.SenderResponseMessage,
exports.RequesterResponseMessage
]);

@@ -182,0 +192,0 @@ // Type for a meta message (without identification)

2

package.json
{
"name": "quirons-broker",
"version": "0.0.1-alpha.8",
"version": "0.0.1-alpha.9",
"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