Comparing version 1.0.0-pre-30 to 1.0.0-pre-31
@@ -8,3 +8,3 @@ export type DryvValidateFunctionResult = DryvFieldValidationResult | string | null | undefined | Promise<DryvFieldValidationResult | string | null | undefined>; | ||
}; | ||
related?: (keyof TModel)[]; | ||
related?: (string | symbol)[]; | ||
group?: string; | ||
@@ -11,0 +11,0 @@ validate: ($m: TModel, session: DryvValidationSession<TModel>) => DryvValidateFunctionResult; |
@@ -55,3 +55,3 @@ import { defaultDryvOptions } from '../core'; | ||
const isTransaction = isDryvTransaction(value); | ||
const isObject = typeof value === 'object'; | ||
const isObject = !!value && typeof value === 'object'; | ||
if (isObject && !isTransaction && !Array.isArray(value)) { | ||
@@ -58,0 +58,0 @@ value = new Proxy(value, new DryvTransactionProxyHandler(value, this.options, this.handlers)); |
{ | ||
"name": "dryvjs", | ||
"version": "1.0.0-pre-30", | ||
"version": "1.0.0-pre-31", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
82584