NIP-46: fix parsing request message for sign_event

This commit is contained in:
Alex Gleason 2023-11-22 13:21:02 -06:00
parent f216bde13e
commit c138e2ee09
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ const signedEventSchema = eventSchema.refine(verifySignature);
/** NIP-46 signer options. */
const signEventOptsSchema = z.object({
pow: z.number().int().nonnegative(),
});
}).partial();
/** NIP-46 signer request. */
const connectRequestSchema = z.object({