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
3
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.115 to 0.0.1-alpha.116

28

esocial/messages.d.ts

@@ -382,9 +382,20 @@ import * as t from 'io-ts';

}>;
export declare const ESocialSendResponse: t.TypeC<{
protocol: t.StringC;
}>;
export declare const ESocialQuery: t.TypeC<{
protocol: t.StringC;
}>;
export declare const ESocialQueryResponse: t.IntersectionC<[t.TypeC<{
protocol: t.StringC;
}>, t.PartialC<{
errors: t.ArrayC<t.StringC>;
receiptNumber: t.StringC;
}>]>;
export declare type ESocialRequest = t.TypeOf<typeof ESocialRequest>;
export declare type ESocialVersion = t.TypeOf<typeof ESocialVersion>;
export declare type ESocialSend = t.TypeOf<typeof ESocialSend>;
export declare type ESocialSendResponse = t.TypeOf<typeof ESocialSendResponse>;
export declare type ESocialQuery = t.TypeOf<typeof ESocialQuery>;
export declare type ESocialQueryResponse = t.TypeOf<typeof ESocialQueryResponse>;
export declare const Message: t.UnionC<[t.TypeC<{

@@ -788,3 +799,20 @@ kind: t.LiteralC<"eSocialResponse">;

}>;
}>, t.TypeC<{
kind: t.LiteralC<"responseGov">;
identification: t.TypeC<{
userId: t.StringC;
branchId: t.StringC;
}>;
content: t.UnionC<[t.TypeC<{
protocol: t.StringC;
}>, t.IntersectionC<[t.TypeC<{
protocol: t.StringC;
}>, t.PartialC<{
errors: t.ArrayC<t.StringC>;
receiptNumber: t.StringC;
}>]>]>;
}>, t.TypeC<{
kind: t.LiteralC<"responseTAF">;
errorMessage: t.StringC;
}>]>;
export declare type Message = t.TypeOf<typeof Message>;

25

esocial/messages.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.Message = exports.ESocialQuery = exports.ESocialSend = exports.ESocialRequest = exports.ESocialVersion = exports.Response = void 0;
exports.Message = exports.ESocialQueryResponse = exports.ESocialQuery = exports.ESocialSendResponse = exports.ESocialSend = exports.ESocialRequest = exports.ESocialVersion = exports.Response = void 0;
const t = __importStar(require("io-ts"));

@@ -65,5 +65,17 @@ const evtCAT_1 = require("./schemas/evtCAT");

});
exports.ESocialSendResponse = t.type({
protocol: t.string
});
exports.ESocialQuery = t.type({
protocol: t.string
});
exports.ESocialQueryResponse = t.intersection([
t.type({
protocol: t.string
}),
t.partial({
errors: t.array(t.string),
receiptNumber: t.string
})
]);
exports.Message = t.union([

@@ -73,3 +85,12 @@ exports.Response,

constructors_1.userMessage('sendGov', exports.ESocialSend),
constructors_1.userMessage('getGov', exports.ESocialQuery)
constructors_1.userMessage('getGov', exports.ESocialQuery),
constructors_1.userMessage('responseGov', t.union([
exports.ESocialSendResponse,
exports.ESocialQueryResponse
])),
t.type({
// This should match the tag above
kind: t.literal('responseTAF'),
errorMessage: t.string
})
]);

2

package.json
{
"name": "quirons-broker",
"version": "0.0.1-alpha.115",
"version": "0.0.1-alpha.116",
"description": "A small library to expose the broker types",

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

Sorry, the diff of this file is too big to display

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