fix(core): update

This commit is contained in:
Philipp Kunz 2024-05-30 17:53:33 +02:00
parent c9bd9dbe02
commit d79d93ad30
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartguard', name: '@push.rocks/smartguard',
version: '2.0.3', version: '2.0.4',
description: 'A TypeScript library for creating and managing validation guards, aiding in data validation and security checks.' description: 'A TypeScript library for creating and managing validation guards, aiding in data validation and security checks.'
} }

View File

@ -2,6 +2,7 @@ import * as plugins from './smartguard.plugins.js';
import { Guard } from './smartguard.classes.guard.js'; import { Guard } from './smartguard.classes.guard.js';
import { GuardSet } from './smartguard.classes.guardset.js'; import { GuardSet } from './smartguard.classes.guardset.js';
export * from './smartguard.classes.guard.js'; export * from './smartguard.classes.guard.js';
export * from './smartguard.classes.guardset.js';
export const passGuardsOrReject = async <T>(dataArg: T, guards: Array<Guard<T>>) => { export const passGuardsOrReject = async <T>(dataArg: T, guards: Array<Guard<T>>) => {
const guardSet = new GuardSet<T>(guards); const guardSet = new GuardSet<T>(guards);