From dec1ee000ef19da49dcd77f2b55df2456130ee24 Mon Sep 17 00:00:00 2001 From: Tomek Marciniak Date: Mon, 28 Oct 2024 12:37:32 +0100 Subject: [PATCH] feat(providers): add union tx signature type --- packages/utils/src/validation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/utils/src/validation.ts b/packages/utils/src/validation.ts index eb49025..2185d3a 100644 --- a/packages/utils/src/validation.ts +++ b/packages/utils/src/validation.ts @@ -112,7 +112,7 @@ export const SignedTransactionSchema = z .object({ signature: SignatureSchema, publicKey: PublicKeySchema, - data: TransactionBodySchema, + data: z.union([TransactionBodySchema, ZkAppCommandPayload]), }) .strict();