@farcaster/frame-core 0.0.0-canary-20250630153244 → 0.0.0-canary-20250630194123

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,348 +1,160 @@
1
- import { z } from 'zod';
2
- export declare const domainFrameConfigSchema: z.ZodEffects<z.ZodObject<{
3
- version: z.ZodUnion<[z.ZodLiteral<"0.0.0">, z.ZodLiteral<"0.0.1">, z.ZodLiteral<"1">, z.ZodLiteral<"next">]>;
1
+ import { z } from 'zod/v4';
2
+ export declare const domainFrameConfigSchema: z.ZodObject<{
3
+ version: z.ZodUnion<readonly [z.ZodLiteral<"0.0.0">, z.ZodLiteral<"0.0.1">, z.ZodLiteral<"1">, z.ZodLiteral<"next">]>;
4
4
  name: z.ZodString;
5
- iconUrl: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
6
- homeUrl: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
7
- /** deprecated, set ogImageUrl instead */
8
- imageUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
9
- /** deprecated, will rely on fc:frame meta tag */
5
+ iconUrl: z.ZodString;
6
+ homeUrl: z.ZodString;
7
+ imageUrl: z.ZodOptional<z.ZodString>;
10
8
  buttonTitle: z.ZodOptional<z.ZodString>;
11
- splashImageUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
9
+ splashImageUrl: z.ZodOptional<z.ZodString>;
12
10
  splashBackgroundColor: z.ZodOptional<z.ZodString>;
13
- webhookUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
14
- /** see: https://github.com/farcasterxyz/miniapps/discussions/191 */
15
- subtitle: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
16
- description: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
17
- screenshotUrls: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
18
- primaryCategory: z.ZodOptional<z.ZodEnum<["games", "social", "finance", "utility", "productivity", "health-fitness", "news-media", "music", "shopping", "education", "developer-tools", "entertainment", "art-creativity"]>>;
19
- tags: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, "many">>;
20
- heroImageUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
21
- tagline: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
22
- ogTitle: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
23
- ogDescription: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
24
- ogImageUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
25
- /** see: https://github.com/farcasterxyz/miniapps/discussions/204 */
11
+ webhookUrl: z.ZodOptional<z.ZodString>;
12
+ subtitle: z.ZodOptional<z.ZodString>;
13
+ description: z.ZodOptional<z.ZodString>;
14
+ screenshotUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
+ primaryCategory: z.ZodOptional<z.ZodEnum<{
16
+ games: "games";
17
+ social: "social";
18
+ finance: "finance";
19
+ utility: "utility";
20
+ productivity: "productivity";
21
+ "health-fitness": "health-fitness";
22
+ "news-media": "news-media";
23
+ music: "music";
24
+ shopping: "shopping";
25
+ education: "education";
26
+ "developer-tools": "developer-tools";
27
+ entertainment: "entertainment";
28
+ "art-creativity": "art-creativity";
29
+ }>>;
30
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
31
+ heroImageUrl: z.ZodOptional<z.ZodString>;
32
+ tagline: z.ZodOptional<z.ZodString>;
33
+ ogTitle: z.ZodOptional<z.ZodString>;
34
+ ogDescription: z.ZodOptional<z.ZodString>;
35
+ ogImageUrl: z.ZodOptional<z.ZodString>;
26
36
  noindex: z.ZodOptional<z.ZodBoolean>;
27
- /** see https://github.com/farcasterxyz/miniapps/discussions/256 */
28
- requiredChains: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["eip155:1", "eip155:8453", "eip155:42161", "eip155:421614", "eip155:84532", "eip155:666666666", "eip155:100", "eip155:10", "eip155:11155420", "eip155:137", "eip155:11155111", "eip155:7777777", "eip155:130", "eip155:10143", "eip155:42220", "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"]>, "many">, ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[], ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[]>>;
29
- requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["wallet.getEthereumProvider", "wallet.getSolanaProvider", "actions.ready", "actions.openUrl", "actions.close", "actions.setPrimaryButton", "actions.addMiniApp", "actions.signIn", "actions.viewCast", "actions.viewProfile", "actions.composeCast", "actions.viewToken", "actions.sendToken", "actions.swapToken", "haptics.impactOccurred", "haptics.notificationOccurred", "haptics.selectionChanged", "back"]>, "many">, ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[], ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[]>>;
30
- /** see https://github.com/farcasterxyz/miniapps/discussions/158 */
31
- /** Documentation will be added once this feature is finalized. */
32
- castShareUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
33
- /** Canonical domain for the frame application */
34
- canonicalDomain: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>>;
35
- }, "strip", z.ZodTypeAny, {
36
- name: string;
37
- version: "1" | "next" | "0.0.0" | "0.0.1";
38
- iconUrl: string;
39
- homeUrl: string;
40
- splashImageUrl?: string | undefined;
41
- splashBackgroundColor?: string | undefined;
42
- imageUrl?: string | undefined;
43
- buttonTitle?: string | undefined;
44
- webhookUrl?: string | undefined;
45
- subtitle?: string | undefined;
46
- description?: string | undefined;
47
- screenshotUrls?: string[] | undefined;
48
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
49
- tags?: string[] | undefined;
50
- heroImageUrl?: string | undefined;
51
- tagline?: string | undefined;
52
- ogTitle?: string | undefined;
53
- ogDescription?: string | undefined;
54
- ogImageUrl?: string | undefined;
55
- noindex?: boolean | undefined;
56
- requiredChains?: ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[] | undefined;
57
- requiredCapabilities?: ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
58
- castShareUrl?: string | undefined;
59
- canonicalDomain?: string | undefined;
60
- }, {
61
- name: string;
62
- version: "1" | "next" | "0.0.0" | "0.0.1";
63
- iconUrl: string;
64
- homeUrl: string;
65
- splashImageUrl?: string | undefined;
66
- splashBackgroundColor?: string | undefined;
67
- imageUrl?: string | undefined;
68
- buttonTitle?: string | undefined;
69
- webhookUrl?: string | undefined;
70
- subtitle?: string | undefined;
71
- description?: string | undefined;
72
- screenshotUrls?: string[] | undefined;
73
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
74
- tags?: string[] | undefined;
75
- heroImageUrl?: string | undefined;
76
- tagline?: string | undefined;
77
- ogTitle?: string | undefined;
78
- ogDescription?: string | undefined;
79
- ogImageUrl?: string | undefined;
80
- noindex?: boolean | undefined;
81
- requiredChains?: ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[] | undefined;
82
- requiredCapabilities?: ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
83
- castShareUrl?: string | undefined;
84
- canonicalDomain?: string | undefined;
85
- }>, {
86
- name: string;
87
- version: "1" | "next" | "0.0.0" | "0.0.1";
88
- iconUrl: string;
89
- homeUrl: string;
90
- splashImageUrl?: string | undefined;
91
- splashBackgroundColor?: string | undefined;
92
- imageUrl?: string | undefined;
93
- buttonTitle?: string | undefined;
94
- webhookUrl?: string | undefined;
95
- subtitle?: string | undefined;
96
- description?: string | undefined;
97
- screenshotUrls?: string[] | undefined;
98
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
99
- tags?: string[] | undefined;
100
- heroImageUrl?: string | undefined;
101
- tagline?: string | undefined;
102
- ogTitle?: string | undefined;
103
- ogDescription?: string | undefined;
104
- ogImageUrl?: string | undefined;
105
- noindex?: boolean | undefined;
106
- requiredChains?: ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[] | undefined;
107
- requiredCapabilities?: ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
108
- castShareUrl?: string | undefined;
109
- canonicalDomain?: string | undefined;
110
- }, {
111
- name: string;
112
- version: "1" | "next" | "0.0.0" | "0.0.1";
113
- iconUrl: string;
114
- homeUrl: string;
115
- splashImageUrl?: string | undefined;
116
- splashBackgroundColor?: string | undefined;
117
- imageUrl?: string | undefined;
118
- buttonTitle?: string | undefined;
119
- webhookUrl?: string | undefined;
120
- subtitle?: string | undefined;
121
- description?: string | undefined;
122
- screenshotUrls?: string[] | undefined;
123
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
124
- tags?: string[] | undefined;
125
- heroImageUrl?: string | undefined;
126
- tagline?: string | undefined;
127
- ogTitle?: string | undefined;
128
- ogDescription?: string | undefined;
129
- ogImageUrl?: string | undefined;
130
- noindex?: boolean | undefined;
131
- requiredChains?: ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[] | undefined;
132
- requiredCapabilities?: ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
133
- castShareUrl?: string | undefined;
134
- canonicalDomain?: string | undefined;
135
- }>;
37
+ requiredChains: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodEnum<{
38
+ "eip155:1": "eip155:1";
39
+ "eip155:8453": "eip155:8453";
40
+ "eip155:42161": "eip155:42161";
41
+ "eip155:421614": "eip155:421614";
42
+ "eip155:84532": "eip155:84532";
43
+ "eip155:666666666": "eip155:666666666";
44
+ "eip155:100": "eip155:100";
45
+ "eip155:10": "eip155:10";
46
+ "eip155:11155420": "eip155:11155420";
47
+ "eip155:137": "eip155:137";
48
+ "eip155:11155111": "eip155:11155111";
49
+ "eip155:7777777": "eip155:7777777";
50
+ "eip155:130": "eip155:130";
51
+ "eip155:10143": "eip155:10143";
52
+ "eip155:42220": "eip155:42220";
53
+ "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp";
54
+ }>>, z.ZodTransform<("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[], ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[]>>>;
55
+ requiredCapabilities: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodEnum<{
56
+ "wallet.getEthereumProvider": "wallet.getEthereumProvider";
57
+ "wallet.getSolanaProvider": "wallet.getSolanaProvider";
58
+ "actions.ready": "actions.ready";
59
+ "actions.openUrl": "actions.openUrl";
60
+ "actions.close": "actions.close";
61
+ "actions.setPrimaryButton": "actions.setPrimaryButton";
62
+ "actions.addMiniApp": "actions.addMiniApp";
63
+ "actions.signIn": "actions.signIn";
64
+ "actions.viewCast": "actions.viewCast";
65
+ "actions.viewProfile": "actions.viewProfile";
66
+ "actions.composeCast": "actions.composeCast";
67
+ "actions.viewToken": "actions.viewToken";
68
+ "actions.sendToken": "actions.sendToken";
69
+ "actions.swapToken": "actions.swapToken";
70
+ "haptics.impactOccurred": "haptics.impactOccurred";
71
+ "haptics.notificationOccurred": "haptics.notificationOccurred";
72
+ "haptics.selectionChanged": "haptics.selectionChanged";
73
+ back: "back";
74
+ }>>, z.ZodTransform<("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[], ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[]>>>;
75
+ castShareUrl: z.ZodOptional<z.ZodString>;
76
+ canonicalDomain: z.ZodOptional<z.ZodString>;
77
+ }, z.core.$strip>;
136
78
  export declare const domainManifestSchema: z.ZodObject<{
137
79
  accountAssociation: z.ZodObject<{
138
80
  header: z.ZodString;
139
81
  payload: z.ZodString;
140
82
  signature: z.ZodString;
141
- }, "strip", z.ZodTypeAny, {
142
- header: string;
143
- payload: string;
144
- signature: string;
145
- }, {
146
- header: string;
147
- payload: string;
148
- signature: string;
149
- }>;
150
- frame: z.ZodOptional<z.ZodEffects<z.ZodObject<{
151
- version: z.ZodUnion<[z.ZodLiteral<"0.0.0">, z.ZodLiteral<"0.0.1">, z.ZodLiteral<"1">, z.ZodLiteral<"next">]>;
83
+ }, z.core.$strip>;
84
+ frame: z.ZodOptional<z.ZodObject<{
85
+ version: z.ZodUnion<readonly [z.ZodLiteral<"0.0.0">, z.ZodLiteral<"0.0.1">, z.ZodLiteral<"1">, z.ZodLiteral<"next">]>;
152
86
  name: z.ZodString;
153
- iconUrl: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
154
- homeUrl: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
155
- /** deprecated, set ogImageUrl instead */
156
- imageUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
157
- /** deprecated, will rely on fc:frame meta tag */
87
+ iconUrl: z.ZodString;
88
+ homeUrl: z.ZodString;
89
+ imageUrl: z.ZodOptional<z.ZodString>;
158
90
  buttonTitle: z.ZodOptional<z.ZodString>;
159
- splashImageUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
91
+ splashImageUrl: z.ZodOptional<z.ZodString>;
160
92
  splashBackgroundColor: z.ZodOptional<z.ZodString>;
161
- webhookUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
162
- /** see: https://github.com/farcasterxyz/miniapps/discussions/191 */
163
- subtitle: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
164
- description: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
165
- screenshotUrls: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
166
- primaryCategory: z.ZodOptional<z.ZodEnum<["games", "social", "finance", "utility", "productivity", "health-fitness", "news-media", "music", "shopping", "education", "developer-tools", "entertainment", "art-creativity"]>>;
167
- tags: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, "many">>;
168
- heroImageUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
169
- tagline: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
170
- ogTitle: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
171
- ogDescription: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
172
- ogImageUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
173
- /** see: https://github.com/farcasterxyz/miniapps/discussions/204 */
93
+ webhookUrl: z.ZodOptional<z.ZodString>;
94
+ subtitle: z.ZodOptional<z.ZodString>;
95
+ description: z.ZodOptional<z.ZodString>;
96
+ screenshotUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
97
+ primaryCategory: z.ZodOptional<z.ZodEnum<{
98
+ games: "games";
99
+ social: "social";
100
+ finance: "finance";
101
+ utility: "utility";
102
+ productivity: "productivity";
103
+ "health-fitness": "health-fitness";
104
+ "news-media": "news-media";
105
+ music: "music";
106
+ shopping: "shopping";
107
+ education: "education";
108
+ "developer-tools": "developer-tools";
109
+ entertainment: "entertainment";
110
+ "art-creativity": "art-creativity";
111
+ }>>;
112
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
113
+ heroImageUrl: z.ZodOptional<z.ZodString>;
114
+ tagline: z.ZodOptional<z.ZodString>;
115
+ ogTitle: z.ZodOptional<z.ZodString>;
116
+ ogDescription: z.ZodOptional<z.ZodString>;
117
+ ogImageUrl: z.ZodOptional<z.ZodString>;
174
118
  noindex: z.ZodOptional<z.ZodBoolean>;
175
- /** see https://github.com/farcasterxyz/miniapps/discussions/256 */
176
- requiredChains: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["eip155:1", "eip155:8453", "eip155:42161", "eip155:421614", "eip155:84532", "eip155:666666666", "eip155:100", "eip155:10", "eip155:11155420", "eip155:137", "eip155:11155111", "eip155:7777777", "eip155:130", "eip155:10143", "eip155:42220", "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"]>, "many">, ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[], ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[]>>;
177
- requiredCapabilities: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["wallet.getEthereumProvider", "wallet.getSolanaProvider", "actions.ready", "actions.openUrl", "actions.close", "actions.setPrimaryButton", "actions.addMiniApp", "actions.signIn", "actions.viewCast", "actions.viewProfile", "actions.composeCast", "actions.viewToken", "actions.sendToken", "actions.swapToken", "haptics.impactOccurred", "haptics.notificationOccurred", "haptics.selectionChanged", "back"]>, "many">, ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[], ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[]>>;
178
- /** see https://github.com/farcasterxyz/miniapps/discussions/158 */
179
- /** Documentation will be added once this feature is finalized. */
180
- castShareUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
181
- /** Canonical domain for the frame application */
182
- canonicalDomain: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>>;
183
- }, "strip", z.ZodTypeAny, {
184
- name: string;
185
- version: "1" | "next" | "0.0.0" | "0.0.1";
186
- iconUrl: string;
187
- homeUrl: string;
188
- splashImageUrl?: string | undefined;
189
- splashBackgroundColor?: string | undefined;
190
- imageUrl?: string | undefined;
191
- buttonTitle?: string | undefined;
192
- webhookUrl?: string | undefined;
193
- subtitle?: string | undefined;
194
- description?: string | undefined;
195
- screenshotUrls?: string[] | undefined;
196
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
197
- tags?: string[] | undefined;
198
- heroImageUrl?: string | undefined;
199
- tagline?: string | undefined;
200
- ogTitle?: string | undefined;
201
- ogDescription?: string | undefined;
202
- ogImageUrl?: string | undefined;
203
- noindex?: boolean | undefined;
204
- requiredChains?: ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[] | undefined;
205
- requiredCapabilities?: ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
206
- castShareUrl?: string | undefined;
207
- canonicalDomain?: string | undefined;
208
- }, {
209
- name: string;
210
- version: "1" | "next" | "0.0.0" | "0.0.1";
211
- iconUrl: string;
212
- homeUrl: string;
213
- splashImageUrl?: string | undefined;
214
- splashBackgroundColor?: string | undefined;
215
- imageUrl?: string | undefined;
216
- buttonTitle?: string | undefined;
217
- webhookUrl?: string | undefined;
218
- subtitle?: string | undefined;
219
- description?: string | undefined;
220
- screenshotUrls?: string[] | undefined;
221
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
222
- tags?: string[] | undefined;
223
- heroImageUrl?: string | undefined;
224
- tagline?: string | undefined;
225
- ogTitle?: string | undefined;
226
- ogDescription?: string | undefined;
227
- ogImageUrl?: string | undefined;
228
- noindex?: boolean | undefined;
229
- requiredChains?: ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[] | undefined;
230
- requiredCapabilities?: ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
231
- castShareUrl?: string | undefined;
232
- canonicalDomain?: string | undefined;
233
- }>, {
234
- name: string;
235
- version: "1" | "next" | "0.0.0" | "0.0.1";
236
- iconUrl: string;
237
- homeUrl: string;
238
- splashImageUrl?: string | undefined;
239
- splashBackgroundColor?: string | undefined;
240
- imageUrl?: string | undefined;
241
- buttonTitle?: string | undefined;
242
- webhookUrl?: string | undefined;
243
- subtitle?: string | undefined;
244
- description?: string | undefined;
245
- screenshotUrls?: string[] | undefined;
246
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
247
- tags?: string[] | undefined;
248
- heroImageUrl?: string | undefined;
249
- tagline?: string | undefined;
250
- ogTitle?: string | undefined;
251
- ogDescription?: string | undefined;
252
- ogImageUrl?: string | undefined;
253
- noindex?: boolean | undefined;
254
- requiredChains?: ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[] | undefined;
255
- requiredCapabilities?: ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
256
- castShareUrl?: string | undefined;
257
- canonicalDomain?: string | undefined;
258
- }, {
259
- name: string;
260
- version: "1" | "next" | "0.0.0" | "0.0.1";
261
- iconUrl: string;
262
- homeUrl: string;
263
- splashImageUrl?: string | undefined;
264
- splashBackgroundColor?: string | undefined;
265
- imageUrl?: string | undefined;
266
- buttonTitle?: string | undefined;
267
- webhookUrl?: string | undefined;
268
- subtitle?: string | undefined;
269
- description?: string | undefined;
270
- screenshotUrls?: string[] | undefined;
271
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
272
- tags?: string[] | undefined;
273
- heroImageUrl?: string | undefined;
274
- tagline?: string | undefined;
275
- ogTitle?: string | undefined;
276
- ogDescription?: string | undefined;
277
- ogImageUrl?: string | undefined;
278
- noindex?: boolean | undefined;
279
- requiredChains?: ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[] | undefined;
280
- requiredCapabilities?: ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
281
- castShareUrl?: string | undefined;
282
- canonicalDomain?: string | undefined;
283
- }>>;
284
- }, "strip", z.ZodTypeAny, {
285
- accountAssociation: {
286
- header: string;
287
- payload: string;
288
- signature: string;
289
- };
290
- frame?: {
291
- name: string;
292
- version: "1" | "next" | "0.0.0" | "0.0.1";
293
- iconUrl: string;
294
- homeUrl: string;
295
- splashImageUrl?: string | undefined;
296
- splashBackgroundColor?: string | undefined;
297
- imageUrl?: string | undefined;
298
- buttonTitle?: string | undefined;
299
- webhookUrl?: string | undefined;
300
- subtitle?: string | undefined;
301
- description?: string | undefined;
302
- screenshotUrls?: string[] | undefined;
303
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
304
- tags?: string[] | undefined;
305
- heroImageUrl?: string | undefined;
306
- tagline?: string | undefined;
307
- ogTitle?: string | undefined;
308
- ogDescription?: string | undefined;
309
- ogImageUrl?: string | undefined;
310
- noindex?: boolean | undefined;
311
- requiredChains?: ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[] | undefined;
312
- requiredCapabilities?: ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
313
- castShareUrl?: string | undefined;
314
- canonicalDomain?: string | undefined;
315
- } | undefined;
316
- }, {
317
- accountAssociation: {
318
- header: string;
319
- payload: string;
320
- signature: string;
321
- };
322
- frame?: {
323
- name: string;
324
- version: "1" | "next" | "0.0.0" | "0.0.1";
325
- iconUrl: string;
326
- homeUrl: string;
327
- splashImageUrl?: string | undefined;
328
- splashBackgroundColor?: string | undefined;
329
- imageUrl?: string | undefined;
330
- buttonTitle?: string | undefined;
331
- webhookUrl?: string | undefined;
332
- subtitle?: string | undefined;
333
- description?: string | undefined;
334
- screenshotUrls?: string[] | undefined;
335
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
336
- tags?: string[] | undefined;
337
- heroImageUrl?: string | undefined;
338
- tagline?: string | undefined;
339
- ogTitle?: string | undefined;
340
- ogDescription?: string | undefined;
341
- ogImageUrl?: string | undefined;
342
- noindex?: boolean | undefined;
343
- requiredChains?: ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[] | undefined;
344
- requiredCapabilities?: ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
345
- castShareUrl?: string | undefined;
346
- canonicalDomain?: string | undefined;
347
- } | undefined;
348
- }>;
119
+ requiredChains: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodEnum<{
120
+ "eip155:1": "eip155:1";
121
+ "eip155:8453": "eip155:8453";
122
+ "eip155:42161": "eip155:42161";
123
+ "eip155:421614": "eip155:421614";
124
+ "eip155:84532": "eip155:84532";
125
+ "eip155:666666666": "eip155:666666666";
126
+ "eip155:100": "eip155:100";
127
+ "eip155:10": "eip155:10";
128
+ "eip155:11155420": "eip155:11155420";
129
+ "eip155:137": "eip155:137";
130
+ "eip155:11155111": "eip155:11155111";
131
+ "eip155:7777777": "eip155:7777777";
132
+ "eip155:130": "eip155:130";
133
+ "eip155:10143": "eip155:10143";
134
+ "eip155:42220": "eip155:42220";
135
+ "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp";
136
+ }>>, z.ZodTransform<("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[], ("eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:421614" | "eip155:84532" | "eip155:666666666" | "eip155:100" | "eip155:10" | "eip155:11155420" | "eip155:137" | "eip155:11155111" | "eip155:7777777" | "eip155:130" | "eip155:10143" | "eip155:42220" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp")[]>>>;
137
+ requiredCapabilities: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodEnum<{
138
+ "wallet.getEthereumProvider": "wallet.getEthereumProvider";
139
+ "wallet.getSolanaProvider": "wallet.getSolanaProvider";
140
+ "actions.ready": "actions.ready";
141
+ "actions.openUrl": "actions.openUrl";
142
+ "actions.close": "actions.close";
143
+ "actions.setPrimaryButton": "actions.setPrimaryButton";
144
+ "actions.addMiniApp": "actions.addMiniApp";
145
+ "actions.signIn": "actions.signIn";
146
+ "actions.viewCast": "actions.viewCast";
147
+ "actions.viewProfile": "actions.viewProfile";
148
+ "actions.composeCast": "actions.composeCast";
149
+ "actions.viewToken": "actions.viewToken";
150
+ "actions.sendToken": "actions.sendToken";
151
+ "actions.swapToken": "actions.swapToken";
152
+ "haptics.impactOccurred": "haptics.impactOccurred";
153
+ "haptics.notificationOccurred": "haptics.notificationOccurred";
154
+ "haptics.selectionChanged": "haptics.selectionChanged";
155
+ back: "back";
156
+ }>>, z.ZodTransform<("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[], ("wallet.getEthereumProvider" | "wallet.getSolanaProvider" | "actions.ready" | "actions.openUrl" | "actions.close" | "actions.setPrimaryButton" | "actions.addMiniApp" | "actions.signIn" | "actions.viewCast" | "actions.viewProfile" | "actions.composeCast" | "actions.viewToken" | "actions.sendToken" | "actions.swapToken" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[]>>>;
157
+ castShareUrl: z.ZodOptional<z.ZodString>;
158
+ canonicalDomain: z.ZodOptional<z.ZodString>;
159
+ }, z.core.$strip>>;
160
+ }, z.core.$strip>;
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v4';
2
2
  import { miniAppHostCapabilityList } from "../types.js";
3
3
  import { buttonTitleSchema, createSimpleStringSchema, domainSchema, encodedJsonFarcasterSignatureSchema, frameNameSchema, hexColorSchema, secureUrlSchema, } from "./shared.js";
4
4
  const primaryCategorySchema = z.enum([
@@ -1,60 +1,22 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v4';
2
2
  export declare const notificationDetailsSchema: z.ZodObject<{
3
3
  url: z.ZodString;
4
4
  token: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- url: string;
7
- token: string;
8
- }, {
9
- url: string;
10
- token: string;
11
- }>;
5
+ }, z.core.$strip>;
12
6
  export type FrameNotificationDetails = z.infer<typeof notificationDetailsSchema>;
13
7
  export declare const sendNotificationRequestSchema: z.ZodObject<{
14
8
  notificationId: z.ZodString;
15
9
  title: z.ZodString;
16
10
  body: z.ZodString;
17
- targetUrl: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
18
- tokens: z.ZodArray<z.ZodString, "many">;
19
- }, "strip", z.ZodTypeAny, {
20
- title: string;
21
- notificationId: string;
22
- body: string;
23
- targetUrl: string;
24
- tokens: string[];
25
- }, {
26
- title: string;
27
- notificationId: string;
28
- body: string;
29
- targetUrl: string;
30
- tokens: string[];
31
- }>;
11
+ targetUrl: z.ZodString;
12
+ tokens: z.ZodArray<z.ZodString>;
13
+ }, z.core.$strip>;
32
14
  export type SendNotificationRequest = z.infer<typeof sendNotificationRequestSchema>;
33
15
  export declare const sendNotificationResponseSchema: z.ZodObject<{
34
16
  result: z.ZodObject<{
35
- successfulTokens: z.ZodArray<z.ZodString, "many">;
36
- invalidTokens: z.ZodArray<z.ZodString, "many">;
37
- rateLimitedTokens: z.ZodArray<z.ZodString, "many">;
38
- }, "strip", z.ZodTypeAny, {
39
- successfulTokens: string[];
40
- invalidTokens: string[];
41
- rateLimitedTokens: string[];
42
- }, {
43
- successfulTokens: string[];
44
- invalidTokens: string[];
45
- rateLimitedTokens: string[];
46
- }>;
47
- }, "strip", z.ZodTypeAny, {
48
- result: {
49
- successfulTokens: string[];
50
- invalidTokens: string[];
51
- rateLimitedTokens: string[];
52
- };
53
- }, {
54
- result: {
55
- successfulTokens: string[];
56
- invalidTokens: string[];
57
- rateLimitedTokens: string[];
58
- };
59
- }>;
17
+ successfulTokens: z.ZodArray<z.ZodString>;
18
+ invalidTokens: z.ZodArray<z.ZodString>;
19
+ rateLimitedTokens: z.ZodArray<z.ZodString>;
20
+ }, z.core.$strip>;
21
+ }, z.core.$strip>;
60
22
  export type SendNotificationResponse = z.infer<typeof sendNotificationResponseSchema>;
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v4';
2
2
  import { secureUrlSchema } from "./shared.js";
3
3
  export const notificationDetailsSchema = z.object({
4
4
  url: z.string(),