diff --git a/packages/providers/src/types.ts b/packages/providers/src/types.ts index 7eb2b2d..19a5c4c 100644 --- a/packages/providers/src/types.ts +++ b/packages/providers/src/types.ts @@ -30,7 +30,7 @@ export type ProviderRpcEvent = | "disconnect" | "chainChanged" | "accountsChanged" - | "mina_message"; + | "minaMessage"; export type ProviderListener = z.infer; diff --git a/packages/providers/src/validation.ts b/packages/providers/src/validation.ts index f8279a6..9ab78dc 100644 --- a/packages/providers/src/validation.ts +++ b/packages/providers/src/validation.ts @@ -1,4 +1,3 @@ -import { ZkAppCommandPayload } from "@mina-js/utils"; import { JsonSchema } from "@mina-js/utils"; import { FieldSchema, @@ -9,6 +8,7 @@ import { SignedTransactionSchema, TransactionPayloadSchema, TransactionReceiptSchema, + ZkAppCommandPayload, } from "@mina-js/utils"; import { z } from "zod";