fix(core): update
This commit is contained in:
parent
c9bd9dbe02
commit
d79d93ad30
@ -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.'
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user