From b7ee14312e106c99add18fb7288e42b2529bf180 Mon Sep 17 00:00:00 2001 From: Oleh Komendant Date: Mon, 4 Nov 2024 16:43:23 +0200 Subject: [PATCH] Fix compile cache --- package-lock.json | 4 ++-- package.json | 2 +- src/cache/schemas/compile-schemas.ts | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7b8786e..2a0d0ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@solarity/hardhat-zkit", - "version": "0.4.12", + "version": "0.4.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@solarity/hardhat-zkit", - "version": "0.4.12", + "version": "0.4.13", "license": "MIT", "workspaces": [ "test/fixture-projects/*" diff --git a/package.json b/package.json index e76b03e..e78a9cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@solarity/hardhat-zkit", - "version": "0.4.12", + "version": "0.4.13", "description": "The ultimate TypeScript environment for Circom development", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", diff --git a/src/cache/schemas/compile-schemas.ts b/src/cache/schemas/compile-schemas.ts index 43e2dcc..a14e4cf 100644 --- a/src/cache/schemas/compile-schemas.ts +++ b/src/cache/schemas/compile-schemas.ts @@ -20,14 +20,14 @@ export const PragmaComponentSchema = z.object({ }); export const InputDataSchema = z.object({ - dimension: z.string().array(), + dimension: z.number().array(), type: z.string(), }); export const TemplateSchema = z.object({ - inputs: z.record(z.string(), InputDataSchema), parameters: z.string().array(), isCustom: z.boolean(), + parallel: z.boolean(), }); export const TemplatesSchema = z.record(z.string(), TemplateSchema); @@ -47,7 +47,7 @@ export const ParsedCircomFileDataSchema = z.object({ export const SignalInfoSchema = z.object({ name: z.string(), - dimension: z.string().array(), + dimension: z.number().array(), type: SignalTypeSchema, visibility: VisibilityTypeSchema, });