@@ -60,10 +60,11 @@ export const SignFieldsRequestParamsSchema = RequestWithContext.extend({
60
60
method : z . literal ( "mina_signFields" ) ,
61
61
params : z . array ( z . array ( FieldSchema ) ) ,
62
62
} ) . strict ( ) ;
63
- export const signFieldsWithPassphraseParamsSchema = RequestWithContext . extend ( {
64
- method : z . literal ( "mina_signFieldsWithPassphrase" ) ,
65
- params : z . array ( FieldsAndPassphraseSchema ) ,
66
- } ) ;
63
+ export const signFieldsWithPassphraseRequestParamsSchema =
64
+ RequestWithContext . extend ( {
65
+ method : z . literal ( "mina_signFieldsWithPassphrase" ) ,
66
+ params : z . array ( FieldsAndPassphraseSchema ) ,
67
+ } ) ;
67
68
export const SignTransactionRequestParamsSchema = RequestWithContext . extend ( {
68
69
method : z . literal ( "mina_signTransaction" ) ,
69
70
params : z . array ( z . union ( [ TransactionPayloadSchema , ZkAppCommandPayload ] ) ) ,
@@ -241,7 +242,7 @@ export const ProviderRequestParamsUnion = z.discriminatedUnion("method", [
241
242
GetStateRequestParamsSchema ,
242
243
StorePrivateCredentialRequestParamsSchema ,
243
244
PresentationRequestParamsSchema ,
244
- signFieldsWithPassphraseParamsSchema ,
245
+ signFieldsWithPassphraseRequestParamsSchema ,
245
246
] ) ;
246
247
export type RpcReturnTypesUnionType = z . infer < typeof RpcReturnTypesUnion > ;
247
248
export type ResultType < M extends string > = {
0 commit comments