We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eecec44 commit 3198018Copy full SHA for 3198018
packages/providers/src/validation.ts
@@ -1,6 +1,5 @@
1
import {
2
FieldSchema,
3
- FieldsAndPassphraseSchema,
4
JsonSchema,
5
NetworkId,
6
NullifierSchema,
packages/utils/src/validation.ts
@@ -80,13 +80,6 @@ export const ZkAppCommandPayload = z
80
command: ZkAppCommandBodySchema,
81
})
82
.strict();
83
-
84
-export const FieldsAndPassphraseSchema = z
85
- .object({
86
- fields: z.array(FieldSchema),
87
- passphrase: z.string(),
88
- })
89
- .strict();
90
export const TransactionOrZkAppCommandSchema = z.union([
91
TransactionPayloadSchema,
92
ZkAppCommandPayload,
0 commit comments