Skip to content

Commit

Permalink
Fix compile cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrom131 committed Nov 4, 2024
1 parent 86f97e8 commit b7ee143
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions src/cache/schemas/compile-schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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,
});
Expand Down

0 comments on commit b7ee143

Please sign in to comment.