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 15f5367 commit cae66c8Copy full SHA for cae66c8
src/types.ts
@@ -8,23 +8,8 @@ declare module "iron-session" {
8
}
9
10
11
-const siweMessageSchema = z.object({
12
- domain: z.string(),
13
- address: z.string(),
14
- statement: z.string().optional(),
15
- uri: z.string(),
16
- version: z.string(),
17
- chainId: z.number(),
18
- nonce: z.string(),
19
- issuedAt: z.string().optional(),
20
- expirationTime: z.string().optional(),
21
- notBefore: z.string().optional(),
22
- requestId: z.string().optional(),
23
- resources: z.array(z.string()),
24
-});
25
-
26
export const signInRequestSchema = z.object({
27
- message: siweMessageSchema,
+ message: z.string(),
28
signature: z.string(),
29
});
30
0 commit comments