AlchemySignerParamsSchema

1const AlchemySignerParamsSchema: ZodObject<
2 object & object,
3 "strip",
4 ZodTypeAny,
5 {
6 client:
7 | AlchemySignerWebClient
8 | {
9 connection:
10 | {
11 apiKey: string;
12 jwt?: undefined;
13 rpcUrl?: undefined;
14 }
15 | {
16 apiKey?: undefined;
17 jwt: string;
18 rpcUrl?: undefined;
19 }
20 | {
21 apiKey?: undefined;
22 jwt?: undefined;
23 rpcUrl: string;
24 }
25 | ({
26 apiKey?: undefined;
27 jwt: string;
28 rpcUrl: string;
29 } & object);
30 enablePopupOauth: boolean;
31 iframeConfig: {
32 iframeContainerId: string;
33 iframeElementId: string;
34 };
35 oauthCallbackUrl: string;
36 rootOrgId: string;
37 rpId?: string;
38 };
39 sessionConfig?: {
40 expirationTimeMs: number;
41 sessionKey: string;
42 storage: "localStorage" | "sessionStorage" | Storage;
43 };
44 },
45 {
46 client:
47 | AlchemySignerWebClient
48 | {
49 connection:
50 | {
51 apiKey: string;
52 jwt?: undefined;
53 rpcUrl?: undefined;
54 }
55 | {
56 apiKey?: undefined;
57 jwt: string;
58 rpcUrl?: undefined;
59 }
60 | {
61 apiKey?: undefined;
62 jwt?: undefined;
63 rpcUrl: string;
64 }
65 | ({
66 apiKey?: undefined;
67 jwt: string;
68 rpcUrl: string;
69 } & object);
70 enablePopupOauth?: boolean;
71 iframeConfig: {
72 iframeContainerId: string;
73 iframeElementId?: string;
74 };
75 oauthCallbackUrl?: string;
76 rootOrgId?: string;
77 rpId?: string;
78 };
79 sessionConfig?: {
80 expirationTimeMs?: number;
81 sessionKey?: string;
82 storage?: "localStorage" | "sessionStorage" | Storage;
83 };
84 }
85>;

Defined in: account-kit/signer/src/signer.ts:105