@farcaster/miniapp-core 0.0.0-canary-20250701152931 → 0.3.0

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.
Files changed (51) hide show
  1. package/dist/actions/index.d.ts +1 -1
  2. package/dist/actions/index.js +2 -2
  3. package/dist/index.d.ts +3 -3
  4. package/dist/index.js +4 -4
  5. package/dist/schemas/embeds.d.ts +40 -324
  6. package/dist/schemas/embeds.js +11 -11
  7. package/dist/schemas/events.d.ts +24 -156
  8. package/dist/schemas/events.js +14 -14
  9. package/dist/schemas/index.d.ts +1 -1
  10. package/dist/schemas/index.js +1 -1
  11. package/dist/schemas/manifest.d.ts +220 -750
  12. package/dist/schemas/manifest.js +16 -22
  13. package/dist/schemas/notifications.d.ts +10 -48
  14. package/dist/schemas/notifications.js +14 -14
  15. package/dist/schemas/shared.d.ts +7 -23
  16. package/dist/schemas/shared.js +19 -19
  17. package/dist/solanaWire.js +1 -1
  18. package/dist/types.d.ts +1 -1
  19. package/dist/types.js +2 -2
  20. package/esm/actions/index.d.ts +1 -1
  21. package/esm/actions/index.js +1 -1
  22. package/esm/index.d.ts +3 -3
  23. package/esm/index.js +3 -3
  24. package/esm/schemas/embeds.d.ts +40 -324
  25. package/esm/schemas/embeds.js +1 -1
  26. package/esm/schemas/events.d.ts +24 -156
  27. package/esm/schemas/events.js +1 -1
  28. package/esm/schemas/index.d.ts +1 -1
  29. package/esm/schemas/index.js +1 -1
  30. package/esm/schemas/manifest.d.ts +220 -750
  31. package/esm/schemas/manifest.js +1 -7
  32. package/esm/schemas/notifications.d.ts +10 -48
  33. package/esm/schemas/notifications.js +1 -1
  34. package/esm/schemas/shared.d.ts +7 -23
  35. package/esm/schemas/shared.js +2 -2
  36. package/esm/solanaWire.js +1 -1
  37. package/esm/tsconfig.tsbuildinfo +1 -1
  38. package/esm/types.d.ts +1 -1
  39. package/esm/types.js +1 -1
  40. package/package.json +1 -1
  41. package/src/actions/index.ts +1 -1
  42. package/src/index.ts +3 -3
  43. package/src/schemas/embeds.ts +1 -1
  44. package/src/schemas/events.ts +1 -1
  45. package/src/schemas/index.ts +1 -1
  46. package/src/schemas/manifest.ts +1 -7
  47. package/src/schemas/notifications.ts +1 -1
  48. package/src/schemas/shared.ts +3 -6
  49. package/src/solana.ts +3 -1
  50. package/src/solanaWire.ts +1 -1
  51. package/src/types.ts +1 -1
@@ -1,766 +1,236 @@
1
- import { z } from 'zod';
2
- export declare const domainMiniAppConfigSchema: 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 domainMiniAppConfigSchema: 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/fc:miniapp 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 miniapp 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
- }>;
136
- export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
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>;
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
- miniapp: 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
+ miniapp: 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/fc:miniapp 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 miniapp 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
- frame: z.ZodOptional<z.ZodEffects<z.ZodObject<{
285
- version: z.ZodUnion<[z.ZodLiteral<"0.0.0">, z.ZodLiteral<"0.0.1">, z.ZodLiteral<"1">, z.ZodLiteral<"next">]>;
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
+ frame: z.ZodOptional<z.ZodObject<{
161
+ version: z.ZodUnion<readonly [z.ZodLiteral<"0.0.0">, z.ZodLiteral<"0.0.1">, z.ZodLiteral<"1">, z.ZodLiteral<"next">]>;
286
162
  name: z.ZodString;
287
- iconUrl: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
288
- homeUrl: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
289
- /** deprecated, set ogImageUrl instead */
290
- imageUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
291
- /** deprecated, will rely on fc:frame/fc:miniapp meta tag */
163
+ iconUrl: z.ZodString;
164
+ homeUrl: z.ZodString;
165
+ imageUrl: z.ZodOptional<z.ZodString>;
292
166
  buttonTitle: z.ZodOptional<z.ZodString>;
293
- splashImageUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
167
+ splashImageUrl: z.ZodOptional<z.ZodString>;
294
168
  splashBackgroundColor: z.ZodOptional<z.ZodString>;
295
- webhookUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
296
- /** see: https://github.com/farcasterxyz/miniapps/discussions/191 */
297
- subtitle: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
298
- description: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
299
- screenshotUrls: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
300
- primaryCategory: z.ZodOptional<z.ZodEnum<["games", "social", "finance", "utility", "productivity", "health-fitness", "news-media", "music", "shopping", "education", "developer-tools", "entertainment", "art-creativity"]>>;
301
- tags: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, "many">>;
302
- heroImageUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
303
- tagline: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
304
- ogTitle: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
305
- ogDescription: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
306
- ogImageUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
307
- /** see: https://github.com/farcasterxyz/miniapps/discussions/204 */
169
+ webhookUrl: z.ZodOptional<z.ZodString>;
170
+ subtitle: z.ZodOptional<z.ZodString>;
171
+ description: z.ZodOptional<z.ZodString>;
172
+ screenshotUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
173
+ primaryCategory: z.ZodOptional<z.ZodEnum<{
174
+ games: "games";
175
+ social: "social";
176
+ finance: "finance";
177
+ utility: "utility";
178
+ productivity: "productivity";
179
+ "health-fitness": "health-fitness";
180
+ "news-media": "news-media";
181
+ music: "music";
182
+ shopping: "shopping";
183
+ education: "education";
184
+ "developer-tools": "developer-tools";
185
+ entertainment: "entertainment";
186
+ "art-creativity": "art-creativity";
187
+ }>>;
188
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
189
+ heroImageUrl: z.ZodOptional<z.ZodString>;
190
+ tagline: z.ZodOptional<z.ZodString>;
191
+ ogTitle: z.ZodOptional<z.ZodString>;
192
+ ogDescription: z.ZodOptional<z.ZodString>;
193
+ ogImageUrl: z.ZodOptional<z.ZodString>;
308
194
  noindex: z.ZodOptional<z.ZodBoolean>;
309
- /** see https://github.com/farcasterxyz/miniapps/discussions/256 */
310
- 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")[]>>;
311
- 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")[]>>;
312
- /** see https://github.com/farcasterxyz/miniapps/discussions/158 */
313
- /** Documentation will be added once this feature is finalized. */
314
- castShareUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
315
- /** Canonical domain for the miniapp application */
316
- canonicalDomain: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>>;
317
- }, "strip", z.ZodTypeAny, {
318
- name: string;
319
- version: "1" | "next" | "0.0.0" | "0.0.1";
320
- iconUrl: string;
321
- homeUrl: string;
322
- splashImageUrl?: string | undefined;
323
- splashBackgroundColor?: string | undefined;
324
- imageUrl?: string | undefined;
325
- buttonTitle?: string | undefined;
326
- webhookUrl?: string | undefined;
327
- subtitle?: string | undefined;
328
- description?: string | undefined;
329
- screenshotUrls?: string[] | undefined;
330
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
331
- tags?: string[] | undefined;
332
- heroImageUrl?: string | undefined;
333
- tagline?: string | undefined;
334
- ogTitle?: string | undefined;
335
- ogDescription?: string | undefined;
336
- ogImageUrl?: string | undefined;
337
- noindex?: boolean | undefined;
338
- 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;
339
- 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;
340
- castShareUrl?: string | undefined;
341
- canonicalDomain?: string | undefined;
342
- }, {
343
- name: string;
344
- version: "1" | "next" | "0.0.0" | "0.0.1";
345
- iconUrl: string;
346
- homeUrl: string;
347
- splashImageUrl?: string | undefined;
348
- splashBackgroundColor?: string | undefined;
349
- imageUrl?: string | undefined;
350
- buttonTitle?: string | undefined;
351
- webhookUrl?: string | undefined;
352
- subtitle?: string | undefined;
353
- description?: string | undefined;
354
- screenshotUrls?: string[] | undefined;
355
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
356
- tags?: string[] | undefined;
357
- heroImageUrl?: string | undefined;
358
- tagline?: string | undefined;
359
- ogTitle?: string | undefined;
360
- ogDescription?: string | undefined;
361
- ogImageUrl?: string | undefined;
362
- noindex?: boolean | undefined;
363
- 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;
364
- 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;
365
- castShareUrl?: string | undefined;
366
- canonicalDomain?: string | undefined;
367
- }>, {
368
- name: string;
369
- version: "1" | "next" | "0.0.0" | "0.0.1";
370
- iconUrl: string;
371
- homeUrl: string;
372
- splashImageUrl?: string | undefined;
373
- splashBackgroundColor?: string | undefined;
374
- imageUrl?: string | undefined;
375
- buttonTitle?: string | undefined;
376
- webhookUrl?: string | undefined;
377
- subtitle?: string | undefined;
378
- description?: string | undefined;
379
- screenshotUrls?: string[] | undefined;
380
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
381
- tags?: string[] | undefined;
382
- heroImageUrl?: string | undefined;
383
- tagline?: string | undefined;
384
- ogTitle?: string | undefined;
385
- ogDescription?: string | undefined;
386
- ogImageUrl?: string | undefined;
387
- noindex?: boolean | undefined;
388
- 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;
389
- 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;
390
- castShareUrl?: string | undefined;
391
- canonicalDomain?: string | undefined;
392
- }, {
393
- name: string;
394
- version: "1" | "next" | "0.0.0" | "0.0.1";
395
- iconUrl: string;
396
- homeUrl: string;
397
- splashImageUrl?: string | undefined;
398
- splashBackgroundColor?: string | undefined;
399
- imageUrl?: string | undefined;
400
- buttonTitle?: string | undefined;
401
- webhookUrl?: string | undefined;
402
- subtitle?: string | undefined;
403
- description?: string | undefined;
404
- screenshotUrls?: string[] | undefined;
405
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
406
- tags?: string[] | undefined;
407
- heroImageUrl?: string | undefined;
408
- tagline?: string | undefined;
409
- ogTitle?: string | undefined;
410
- ogDescription?: string | undefined;
411
- ogImageUrl?: string | undefined;
412
- noindex?: boolean | undefined;
413
- 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;
414
- 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;
415
- castShareUrl?: string | undefined;
416
- canonicalDomain?: string | undefined;
417
- }>>;
418
- }, "strip", z.ZodTypeAny, {
419
- accountAssociation: {
420
- header: string;
421
- payload: string;
422
- signature: string;
423
- };
424
- miniapp?: {
425
- name: string;
426
- version: "1" | "next" | "0.0.0" | "0.0.1";
427
- iconUrl: string;
428
- homeUrl: string;
429
- splashImageUrl?: string | undefined;
430
- splashBackgroundColor?: string | undefined;
431
- imageUrl?: string | undefined;
432
- buttonTitle?: string | undefined;
433
- webhookUrl?: string | undefined;
434
- subtitle?: string | undefined;
435
- description?: string | undefined;
436
- screenshotUrls?: string[] | undefined;
437
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
438
- tags?: string[] | undefined;
439
- heroImageUrl?: string | undefined;
440
- tagline?: string | undefined;
441
- ogTitle?: string | undefined;
442
- ogDescription?: string | undefined;
443
- ogImageUrl?: string | undefined;
444
- noindex?: boolean | undefined;
445
- 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;
446
- 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;
447
- castShareUrl?: string | undefined;
448
- canonicalDomain?: string | undefined;
449
- } | undefined;
450
- frame?: {
451
- name: string;
452
- version: "1" | "next" | "0.0.0" | "0.0.1";
453
- iconUrl: string;
454
- homeUrl: string;
455
- splashImageUrl?: string | undefined;
456
- splashBackgroundColor?: string | undefined;
457
- imageUrl?: string | undefined;
458
- buttonTitle?: string | undefined;
459
- webhookUrl?: string | undefined;
460
- subtitle?: string | undefined;
461
- description?: string | undefined;
462
- screenshotUrls?: string[] | undefined;
463
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
464
- tags?: string[] | undefined;
465
- heroImageUrl?: string | undefined;
466
- tagline?: string | undefined;
467
- ogTitle?: string | undefined;
468
- ogDescription?: string | undefined;
469
- ogImageUrl?: string | undefined;
470
- noindex?: boolean | undefined;
471
- 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;
472
- 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;
473
- castShareUrl?: string | undefined;
474
- canonicalDomain?: string | undefined;
475
- } | undefined;
476
- }, {
477
- accountAssociation: {
478
- header: string;
479
- payload: string;
480
- signature: string;
481
- };
482
- miniapp?: {
483
- name: string;
484
- version: "1" | "next" | "0.0.0" | "0.0.1";
485
- iconUrl: string;
486
- homeUrl: string;
487
- splashImageUrl?: string | undefined;
488
- splashBackgroundColor?: string | undefined;
489
- imageUrl?: string | undefined;
490
- buttonTitle?: string | undefined;
491
- webhookUrl?: string | undefined;
492
- subtitle?: string | undefined;
493
- description?: string | undefined;
494
- screenshotUrls?: string[] | undefined;
495
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
496
- tags?: string[] | undefined;
497
- heroImageUrl?: string | undefined;
498
- tagline?: string | undefined;
499
- ogTitle?: string | undefined;
500
- ogDescription?: string | undefined;
501
- ogImageUrl?: string | undefined;
502
- noindex?: boolean | undefined;
503
- 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;
504
- 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;
505
- castShareUrl?: string | undefined;
506
- canonicalDomain?: string | undefined;
507
- } | undefined;
508
- frame?: {
509
- name: string;
510
- version: "1" | "next" | "0.0.0" | "0.0.1";
511
- iconUrl: string;
512
- homeUrl: string;
513
- splashImageUrl?: string | undefined;
514
- splashBackgroundColor?: string | undefined;
515
- imageUrl?: string | undefined;
516
- buttonTitle?: string | undefined;
517
- webhookUrl?: string | undefined;
518
- subtitle?: string | undefined;
519
- description?: string | undefined;
520
- screenshotUrls?: string[] | undefined;
521
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
522
- tags?: string[] | undefined;
523
- heroImageUrl?: string | undefined;
524
- tagline?: string | undefined;
525
- ogTitle?: string | undefined;
526
- ogDescription?: string | undefined;
527
- ogImageUrl?: string | undefined;
528
- noindex?: boolean | undefined;
529
- 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;
530
- 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;
531
- castShareUrl?: string | undefined;
532
- canonicalDomain?: string | undefined;
533
- } | undefined;
534
- }>, {
535
- accountAssociation: {
536
- header: string;
537
- payload: string;
538
- signature: string;
539
- };
540
- miniapp?: {
541
- name: string;
542
- version: "1" | "next" | "0.0.0" | "0.0.1";
543
- iconUrl: string;
544
- homeUrl: string;
545
- splashImageUrl?: string | undefined;
546
- splashBackgroundColor?: string | undefined;
547
- imageUrl?: string | undefined;
548
- buttonTitle?: string | undefined;
549
- webhookUrl?: string | undefined;
550
- subtitle?: string | undefined;
551
- description?: string | undefined;
552
- screenshotUrls?: string[] | undefined;
553
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
554
- tags?: string[] | undefined;
555
- heroImageUrl?: string | undefined;
556
- tagline?: string | undefined;
557
- ogTitle?: string | undefined;
558
- ogDescription?: string | undefined;
559
- ogImageUrl?: string | undefined;
560
- noindex?: boolean | undefined;
561
- 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;
562
- 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;
563
- castShareUrl?: string | undefined;
564
- canonicalDomain?: string | undefined;
565
- } | undefined;
566
- frame?: {
567
- name: string;
568
- version: "1" | "next" | "0.0.0" | "0.0.1";
569
- iconUrl: string;
570
- homeUrl: string;
571
- splashImageUrl?: string | undefined;
572
- splashBackgroundColor?: string | undefined;
573
- imageUrl?: string | undefined;
574
- buttonTitle?: string | undefined;
575
- webhookUrl?: string | undefined;
576
- subtitle?: string | undefined;
577
- description?: string | undefined;
578
- screenshotUrls?: string[] | undefined;
579
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
580
- tags?: string[] | undefined;
581
- heroImageUrl?: string | undefined;
582
- tagline?: string | undefined;
583
- ogTitle?: string | undefined;
584
- ogDescription?: string | undefined;
585
- ogImageUrl?: string | undefined;
586
- noindex?: boolean | undefined;
587
- 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;
588
- 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;
589
- castShareUrl?: string | undefined;
590
- canonicalDomain?: string | undefined;
591
- } | undefined;
592
- }, {
593
- accountAssociation: {
594
- header: string;
595
- payload: string;
596
- signature: string;
597
- };
598
- miniapp?: {
599
- name: string;
600
- version: "1" | "next" | "0.0.0" | "0.0.1";
601
- iconUrl: string;
602
- homeUrl: string;
603
- splashImageUrl?: string | undefined;
604
- splashBackgroundColor?: string | undefined;
605
- imageUrl?: string | undefined;
606
- buttonTitle?: string | undefined;
607
- webhookUrl?: string | undefined;
608
- subtitle?: string | undefined;
609
- description?: string | undefined;
610
- screenshotUrls?: string[] | undefined;
611
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
612
- tags?: string[] | undefined;
613
- heroImageUrl?: string | undefined;
614
- tagline?: string | undefined;
615
- ogTitle?: string | undefined;
616
- ogDescription?: string | undefined;
617
- ogImageUrl?: string | undefined;
618
- noindex?: boolean | undefined;
619
- 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;
620
- 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;
621
- castShareUrl?: string | undefined;
622
- canonicalDomain?: string | undefined;
623
- } | undefined;
624
- frame?: {
625
- name: string;
626
- version: "1" | "next" | "0.0.0" | "0.0.1";
627
- iconUrl: string;
628
- homeUrl: string;
629
- splashImageUrl?: string | undefined;
630
- splashBackgroundColor?: string | undefined;
631
- imageUrl?: string | undefined;
632
- buttonTitle?: string | undefined;
633
- webhookUrl?: string | undefined;
634
- subtitle?: string | undefined;
635
- description?: string | undefined;
636
- screenshotUrls?: string[] | undefined;
637
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
638
- tags?: string[] | undefined;
639
- heroImageUrl?: string | undefined;
640
- tagline?: string | undefined;
641
- ogTitle?: string | undefined;
642
- ogDescription?: string | undefined;
643
- ogImageUrl?: string | undefined;
644
- noindex?: boolean | undefined;
645
- 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;
646
- 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;
647
- castShareUrl?: string | undefined;
648
- canonicalDomain?: string | undefined;
649
- } | undefined;
650
- }>, {
651
- frame: {
652
- name: string;
653
- version: "1" | "next" | "0.0.0" | "0.0.1";
654
- iconUrl: string;
655
- homeUrl: string;
656
- splashImageUrl?: string | undefined;
657
- splashBackgroundColor?: string | undefined;
658
- imageUrl?: string | undefined;
659
- buttonTitle?: string | undefined;
660
- webhookUrl?: string | undefined;
661
- subtitle?: string | undefined;
662
- description?: string | undefined;
663
- screenshotUrls?: string[] | undefined;
664
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
665
- tags?: string[] | undefined;
666
- heroImageUrl?: string | undefined;
667
- tagline?: string | undefined;
668
- ogTitle?: string | undefined;
669
- ogDescription?: string | undefined;
670
- ogImageUrl?: string | undefined;
671
- noindex?: boolean | undefined;
672
- 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;
673
- 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;
674
- castShareUrl?: string | undefined;
675
- canonicalDomain?: string | undefined;
676
- } | undefined;
677
- accountAssociation: {
678
- header: string;
679
- payload: string;
680
- signature: string;
681
- };
682
- miniapp?: {
683
- name: string;
684
- version: "1" | "next" | "0.0.0" | "0.0.1";
685
- iconUrl: string;
686
- homeUrl: string;
687
- splashImageUrl?: string | undefined;
688
- splashBackgroundColor?: string | undefined;
689
- imageUrl?: string | undefined;
690
- buttonTitle?: string | undefined;
691
- webhookUrl?: string | undefined;
692
- subtitle?: string | undefined;
693
- description?: string | undefined;
694
- screenshotUrls?: string[] | undefined;
695
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
696
- tags?: string[] | undefined;
697
- heroImageUrl?: string | undefined;
698
- tagline?: string | undefined;
699
- ogTitle?: string | undefined;
700
- ogDescription?: string | undefined;
701
- ogImageUrl?: string | undefined;
702
- noindex?: boolean | undefined;
703
- 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;
704
- 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;
705
- castShareUrl?: string | undefined;
706
- canonicalDomain?: string | undefined;
707
- } | undefined;
708
- }, {
709
- accountAssociation: {
710
- header: string;
711
- payload: string;
712
- signature: string;
713
- };
714
- miniapp?: {
715
- name: string;
716
- version: "1" | "next" | "0.0.0" | "0.0.1";
717
- iconUrl: string;
718
- homeUrl: string;
719
- splashImageUrl?: string | undefined;
720
- splashBackgroundColor?: string | undefined;
721
- imageUrl?: string | undefined;
722
- buttonTitle?: string | undefined;
723
- webhookUrl?: string | undefined;
724
- subtitle?: string | undefined;
725
- description?: string | undefined;
726
- screenshotUrls?: string[] | undefined;
727
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
728
- tags?: string[] | undefined;
729
- heroImageUrl?: string | undefined;
730
- tagline?: string | undefined;
731
- ogTitle?: string | undefined;
732
- ogDescription?: string | undefined;
733
- ogImageUrl?: string | undefined;
734
- noindex?: boolean | undefined;
735
- 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;
736
- 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;
737
- castShareUrl?: string | undefined;
738
- canonicalDomain?: string | undefined;
739
- } | undefined;
740
- frame?: {
741
- name: string;
742
- version: "1" | "next" | "0.0.0" | "0.0.1";
743
- iconUrl: string;
744
- homeUrl: string;
745
- splashImageUrl?: string | undefined;
746
- splashBackgroundColor?: string | undefined;
747
- imageUrl?: string | undefined;
748
- buttonTitle?: string | undefined;
749
- webhookUrl?: string | undefined;
750
- subtitle?: string | undefined;
751
- description?: string | undefined;
752
- screenshotUrls?: string[] | undefined;
753
- primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
754
- tags?: string[] | undefined;
755
- heroImageUrl?: string | undefined;
756
- tagline?: string | undefined;
757
- ogTitle?: string | undefined;
758
- ogDescription?: string | undefined;
759
- ogImageUrl?: string | undefined;
760
- noindex?: boolean | undefined;
761
- 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;
762
- 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;
763
- castShareUrl?: string | undefined;
764
- canonicalDomain?: string | undefined;
765
- } | undefined;
766
- }>;
195
+ requiredChains: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodEnum<{
196
+ "eip155:1": "eip155:1";
197
+ "eip155:8453": "eip155:8453";
198
+ "eip155:42161": "eip155:42161";
199
+ "eip155:421614": "eip155:421614";
200
+ "eip155:84532": "eip155:84532";
201
+ "eip155:666666666": "eip155:666666666";
202
+ "eip155:100": "eip155:100";
203
+ "eip155:10": "eip155:10";
204
+ "eip155:11155420": "eip155:11155420";
205
+ "eip155:137": "eip155:137";
206
+ "eip155:11155111": "eip155:11155111";
207
+ "eip155:7777777": "eip155:7777777";
208
+ "eip155:130": "eip155:130";
209
+ "eip155:10143": "eip155:10143";
210
+ "eip155:42220": "eip155:42220";
211
+ "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp";
212
+ }>>, 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")[]>>>;
213
+ requiredCapabilities: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodEnum<{
214
+ "wallet.getEthereumProvider": "wallet.getEthereumProvider";
215
+ "wallet.getSolanaProvider": "wallet.getSolanaProvider";
216
+ "actions.ready": "actions.ready";
217
+ "actions.openUrl": "actions.openUrl";
218
+ "actions.close": "actions.close";
219
+ "actions.setPrimaryButton": "actions.setPrimaryButton";
220
+ "actions.addMiniApp": "actions.addMiniApp";
221
+ "actions.signIn": "actions.signIn";
222
+ "actions.viewCast": "actions.viewCast";
223
+ "actions.viewProfile": "actions.viewProfile";
224
+ "actions.composeCast": "actions.composeCast";
225
+ "actions.viewToken": "actions.viewToken";
226
+ "actions.sendToken": "actions.sendToken";
227
+ "actions.swapToken": "actions.swapToken";
228
+ "haptics.impactOccurred": "haptics.impactOccurred";
229
+ "haptics.notificationOccurred": "haptics.notificationOccurred";
230
+ "haptics.selectionChanged": "haptics.selectionChanged";
231
+ back: "back";
232
+ }>>, 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")[]>>>;
233
+ castShareUrl: z.ZodOptional<z.ZodString>;
234
+ canonicalDomain: z.ZodOptional<z.ZodString>;
235
+ }, z.core.$strip>>;
236
+ }, z.core.$strip>;