Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bodidata/events

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bodidata/events - npm Package Compare versions

Comparing version 1.4.0-3 to 1.10.0

build/scanner.js

46

build/index.js

@@ -6,7 +6,6 @@ 'use strict';

});
exports.Employee = undefined;
var _BodiDataEvent2 = require('./BodiDataEvent');
var _BodiDataEvent = require('./BodiDataEvent');
Object.keys(_BodiDataEvent2).forEach(function (key) {
Object.keys(_BodiDataEvent).forEach(function (key) {
if (key === "default" || key === "__esModule") return;

@@ -16,3 +15,3 @@ Object.defineProperty(exports, key, {

get: function () {
return _BodiDataEvent2[key];
return _BodiDataEvent[key];
}

@@ -22,25 +21,24 @@ });

var _Employee = require('./Employee');
var _scanner = require('./scanner');
Object.defineProperty(exports, 'Employee', {
enumerable: true,
get: function () {
return _Employee.Employee;
}
Object.keys(_scanner).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _scanner[key];
}
});
});
exports.assert = assert;
var _flowRuntime = require('flow-runtime');
var _uniform = require('./uniform');
var _flowRuntime2 = _interopRequireDefault(_flowRuntime);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/* flow-runtime */
const BodiDataEvent = _flowRuntime2.default.tdz(() => _BodiDataEvent2.BodiDataEvent);
function assert(event) {
return event;
}
_flowRuntime2.default.annotate(assert, _flowRuntime2.default.function(_flowRuntime2.default.param('event', _flowRuntime2.default.ref(BodiDataEvent)), _flowRuntime2.default.return(_flowRuntime2.default.ref(BodiDataEvent))));
Object.keys(_uniform).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _uniform[key];
}
});
});
{
"name": "@bodidata/events",
"version": "1.4.0-3",
"version": "1.10.0",
"description": "strongly typed events dictionary",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -17,20 +17,28 @@ /* @flow */

|};
export type Events$EmployeeUpdated = EventTemplate<'EMPLOYEE_UPDATED', {|
employee: Employee,
company_id: number,
|}, DefaultMeta>;
export type Events$EmployeeUpdated = EventTemplate<
'EMPLOYEE_UPDATED',
{|
employee: Employee,
company_id: number,
|},
DefaultMeta
>;
export type Events$SizingRecommendationComputed = EventTemplate<'SIZING_RECOMMENDATION_COMPUTED', {|
employee_id: string,
company: number,
products: Array<string>,
resp: {
data: {
[productID: string]: {
status: 'no_fit' | 'good_fit' | 'not_found' | 'not_applicable',
size: string | null,
export type Events$SizingRecommendationComputed = EventTemplate<
'SIZING_RECOMMENDATION_COMPUTED',
{|
employee_id: string,
company: number,
products: Array<string>,
resp: {
data: {
[productID: string]: {
status: 'no_fit' | 'good_fit' | 'not_found' | 'not_applicable',
size: string | null,
},
},
},
},
|}, DefaultMeta>;
|},
DefaultMeta
>;

@@ -37,0 +45,0 @@ export type BodiDataEvent =

/* @flow */
/* flow-runtime */
import type { BodiDataEvent } from './BodiDataEvent';
export * from './BodiDataEvent';
export * from './scanner';
export * from './uniform';
export type { Employee } from './Employee';
export function assert(event: BodiDataEvent): BodiDataEvent {
return event;
}

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