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.102 to 0.0.1-alpha.103

14

esocial/messages.d.ts

@@ -11,3 +11,4 @@ import * as t from 'io-ts';

export declare type Response = t.TypeOf<typeof Response>;
export declare const ESocialRequest: t.TypeC<{
export declare const ESocialVersion: t.UnionC<[t.LiteralC<"1.0.0">, t.LiteralC<"1.1.0">]>;
export declare const ESocialRequest: t.IntersectionC<[t.TypeC<{
action: t.UnionC<[t.LiteralC<"build">, t.LiteralC<"validate">]>;

@@ -375,4 +376,7 @@ message: t.UnionC<[t.TypeC<{

}>]>;
}>;
}>, t.PartialC<{
version: t.UnionC<[t.LiteralC<"1.0.0">, t.LiteralC<"1.1.0">]>;
}>]>;
export declare type ESocialRequest = t.TypeOf<typeof ESocialRequest>;
export declare type ESocialVersion = t.TypeOf<typeof ESocialVersion>;
export declare const Message: t.UnionC<[t.TypeC<{

@@ -391,3 +395,3 @@ kind: t.LiteralC<"eSocialResponse">;

}>;
content: t.TypeC<{
content: t.IntersectionC<[t.TypeC<{
action: t.UnionC<[t.LiteralC<"build">, t.LiteralC<"validate">]>;

@@ -755,4 +759,6 @@ message: t.UnionC<[t.TypeC<{

}>]>;
}>;
}>, t.PartialC<{
version: t.UnionC<[t.LiteralC<"1.0.0">, t.LiteralC<"1.1.0">]>;
}>]>;
}>]>;
export declare type Message = t.TypeOf<typeof Message>;

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

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

@@ -39,15 +39,24 @@ const evtCAT_1 = require("./schemas/evtCAT");

]));
exports.ESocialRequest = t.type({
action: t.union([
t.literal('build'),
t.literal('validate')
]),
message: t.union([
constructors_1.dataMessage('evtCAT', evtCAT_1.eSocial),
constructors_1.dataMessage('evtMonit', evtMonit_1.eSocial),
constructors_1.dataMessage('evtExclusao', evtExclusao_1.eSocial),
constructors_1.dataMessage('evtExpRisco', evtExpRisco_1.eSocial),
constructors_1.dataMessage('evtInfoEmpregador', evtInfoEmpregador_1.eSocial)
])
});
exports.ESocialVersion = t.union([
t.literal('1.0.0'),
t.literal('1.1.0'),
]);
exports.ESocialRequest = t.intersection([
t.type({
action: t.union([
t.literal('build'),
t.literal('validate')
]),
message: t.union([
constructors_1.dataMessage('evtCAT', evtCAT_1.eSocial),
constructors_1.dataMessage('evtMonit', evtMonit_1.eSocial),
constructors_1.dataMessage('evtExclusao', evtExclusao_1.eSocial),
constructors_1.dataMessage('evtExpRisco', evtExpRisco_1.eSocial),
constructors_1.dataMessage('evtInfoEmpregador', evtInfoEmpregador_1.eSocial)
])
}),
t.partial({
version: exports.ESocialVersion
})
]);
exports.Message = t.union([

@@ -54,0 +63,0 @@ exports.Response,

{
"name": "quirons-broker",
"version": "0.0.1-alpha.102",
"version": "0.0.1-alpha.103",
"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