@farcaster/frame-core 0.0.0-canary-20250630212526 → 0.0.0-canary-20250630230419

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.
package/dist/index.d.ts CHANGED
@@ -9,123 +9,289 @@ export type EventFrameRemoved = _EventFrameRemoved;
9
9
  export type EventFrameAddRejected = _EventFrameAddRejected;
10
10
  export type FrameNotificationDetails = _MiniAppNotificationDetails;
11
11
  export type FrameEmbedNext = _MiniAppEmbedNext;
12
- export declare const frameNameSchema: import("zod/v4").ZodString;
13
- export declare const eventFrameAddedSchema: import("zod/v4").ZodObject<{
14
- event: import("zod/v4").ZodLiteral<"frame_added">;
15
- notificationDetails: import("zod/v4").ZodOptional<import("zod/v4").ZodObject<{
16
- url: import("zod/v4").ZodString;
17
- token: import("zod/v4").ZodString;
18
- }, import("zod/v4/core").$strip>>;
19
- }, import("zod/v4/core").$strip>;
20
- export declare const eventFrameRemovedSchema: import("zod/v4").ZodObject<{
21
- event: import("zod/v4").ZodLiteral<"frame_removed">;
22
- }, import("zod/v4/core").$strip>;
23
- export declare const domainFrameConfigSchema: import("zod/v4").ZodObject<{
24
- version: import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodLiteral<"0.0.0">, import("zod/v4").ZodLiteral<"0.0.1">, import("zod/v4").ZodLiteral<"1">, import("zod/v4").ZodLiteral<"next">]>;
25
- name: import("zod/v4").ZodString;
26
- iconUrl: import("zod/v4").ZodString;
27
- homeUrl: import("zod/v4").ZodString;
28
- imageUrl: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
29
- buttonTitle: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
30
- splashImageUrl: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
31
- splashBackgroundColor: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
32
- webhookUrl: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
33
- subtitle: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
34
- description: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
35
- screenshotUrls: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodString>>;
36
- primaryCategory: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
37
- games: "games";
38
- social: "social";
39
- finance: "finance";
40
- utility: "utility";
41
- productivity: "productivity";
42
- "health-fitness": "health-fitness";
43
- "news-media": "news-media";
44
- music: "music";
45
- shopping: "shopping";
46
- education: "education";
47
- "developer-tools": "developer-tools";
48
- entertainment: "entertainment";
49
- "art-creativity": "art-creativity";
12
+ export declare const frameNameSchema: import("zod").ZodString;
13
+ export declare const eventFrameAddedSchema: import("zod").ZodObject<{
14
+ event: import("zod").ZodLiteral<"frame_added">;
15
+ notificationDetails: import("zod").ZodOptional<import("zod").ZodObject<{
16
+ url: import("zod").ZodString;
17
+ token: import("zod").ZodString;
18
+ }, "strip", import("zod").ZodTypeAny, {
19
+ url: string;
20
+ token: string;
21
+ }, {
22
+ url: string;
23
+ token: string;
50
24
  }>>;
51
- tags: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodString>>;
52
- heroImageUrl: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
53
- tagline: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
54
- ogTitle: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
55
- ogDescription: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
56
- ogImageUrl: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
57
- noindex: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
58
- requiredChains: import("zod/v4").ZodOptional<import("zod/v4").ZodPipe<import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
59
- "eip155:1": "eip155:1";
60
- "eip155:8453": "eip155:8453";
61
- "eip155:42161": "eip155:42161";
62
- "eip155:421614": "eip155:421614";
63
- "eip155:84532": "eip155:84532";
64
- "eip155:666666666": "eip155:666666666";
65
- "eip155:100": "eip155:100";
66
- "eip155:10": "eip155:10";
67
- "eip155:11155420": "eip155:11155420";
68
- "eip155:137": "eip155:137";
69
- "eip155:11155111": "eip155:11155111";
70
- "eip155:7777777": "eip155:7777777";
71
- "eip155:130": "eip155:130";
72
- "eip155:10143": "eip155:10143";
73
- "eip155:42220": "eip155:42220";
74
- "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp";
75
- }>>, import("zod/v4").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")[]>>>;
76
- requiredCapabilities: import("zod/v4").ZodOptional<import("zod/v4").ZodPipe<import("zod/v4").ZodArray<import("zod/v4").ZodEnum<{
77
- "wallet.getEthereumProvider": "wallet.getEthereumProvider";
78
- "wallet.getSolanaProvider": "wallet.getSolanaProvider";
79
- "actions.ready": "actions.ready";
80
- "actions.openUrl": "actions.openUrl";
81
- "actions.close": "actions.close";
82
- "actions.setPrimaryButton": "actions.setPrimaryButton";
83
- "actions.addMiniApp": "actions.addMiniApp";
84
- "actions.signIn": "actions.signIn";
85
- "actions.viewCast": "actions.viewCast";
86
- "actions.viewProfile": "actions.viewProfile";
87
- "actions.composeCast": "actions.composeCast";
88
- "actions.viewToken": "actions.viewToken";
89
- "actions.sendToken": "actions.sendToken";
90
- "actions.swapToken": "actions.swapToken";
91
- "haptics.impactOccurred": "haptics.impactOccurred";
92
- "haptics.notificationOccurred": "haptics.notificationOccurred";
93
- "haptics.selectionChanged": "haptics.selectionChanged";
94
- back: "back";
95
- }>>, import("zod/v4").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")[]>>>;
96
- castShareUrl: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
97
- canonicalDomain: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
98
- }, import("zod/v4/core").$strip>;
99
- export declare const frameEmbedNextSchema: import("zod/v4").ZodObject<{
100
- version: import("zod/v4").ZodLiteral<"next">;
101
- imageUrl: import("zod/v4").ZodString;
102
- aspectRatio: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodLiteral<"1:1">, import("zod/v4").ZodLiteral<"3:2">]>>;
103
- button: import("zod/v4").ZodObject<{
104
- title: import("zod/v4").ZodString;
105
- action: import("zod/v4").ZodDiscriminatedUnion<[import("zod/v4").ZodObject<{
106
- type: import("zod/v4").ZodLiteral<"launch_miniapp">;
107
- name: import("zod/v4").ZodString;
108
- url: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
109
- splashImageUrl: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
110
- splashBackgroundColor: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
111
- }, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
112
- type: import("zod/v4").ZodLiteral<"view_token">;
113
- token: import("zod/v4").ZodString;
114
- }, import("zod/v4/core").$strip>, import("zod/v4").ZodObject<{
115
- type: import("zod/v4").ZodLiteral<"launch_frame">;
116
- name: import("zod/v4").ZodString;
117
- url: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
118
- splashImageUrl: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
119
- splashBackgroundColor: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
120
- }, import("zod/v4/core").$strip>]>;
121
- }, import("zod/v4/core").$strip>;
122
- }, import("zod/v4/core").$strip>;
123
- export declare const safeParseFrameEmbed: (rawResponse: unknown) => import("zod/v4").ZodSafeParseResult<{
25
+ }, "strip", import("zod").ZodTypeAny, {
26
+ event: "frame_added";
27
+ notificationDetails?: {
28
+ url: string;
29
+ token: string;
30
+ } | undefined;
31
+ }, {
32
+ event: "frame_added";
33
+ notificationDetails?: {
34
+ url: string;
35
+ token: string;
36
+ } | undefined;
37
+ }>;
38
+ export declare const eventFrameRemovedSchema: import("zod").ZodObject<{
39
+ event: import("zod").ZodLiteral<"frame_removed">;
40
+ }, "strip", import("zod").ZodTypeAny, {
41
+ event: "frame_removed";
42
+ }, {
43
+ event: "frame_removed";
44
+ }>;
45
+ export declare const domainFrameConfigSchema: import("zod").ZodEffects<import("zod").ZodObject<{
46
+ version: import("zod").ZodUnion<[import("zod").ZodLiteral<"0.0.0">, import("zod").ZodLiteral<"0.0.1">, import("zod").ZodLiteral<"1">, import("zod").ZodLiteral<"next">]>;
47
+ name: import("zod").ZodString;
48
+ iconUrl: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
49
+ homeUrl: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
50
+ imageUrl: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
51
+ buttonTitle: import("zod").ZodOptional<import("zod").ZodString>;
52
+ splashImageUrl: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
53
+ splashBackgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
54
+ webhookUrl: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
55
+ subtitle: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>, string, string>>;
56
+ description: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>, string, string>>;
57
+ screenshotUrls: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>, "many">>;
58
+ primaryCategory: import("zod").ZodOptional<import("zod").ZodEnum<["games", "social", "finance", "utility", "productivity", "health-fitness", "news-media", "music", "shopping", "education", "developer-tools", "entertainment", "art-creativity"]>>;
59
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>, string, string>, "many">>;
60
+ heroImageUrl: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
61
+ tagline: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>, string, string>>;
62
+ ogTitle: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>, string, string>>;
63
+ ogDescription: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>, string, string>>;
64
+ ogImageUrl: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
65
+ noindex: import("zod").ZodOptional<import("zod").ZodBoolean>;
66
+ requiredChains: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").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")[]>>;
67
+ requiredCapabilities: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodArray<import("zod").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")[]>>;
68
+ castShareUrl: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
69
+ canonicalDomain: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>, string, string>, string, string>>;
70
+ }, "strip", import("zod").ZodTypeAny, {
71
+ name: string;
72
+ version: "1" | "next" | "0.0.0" | "0.0.1";
73
+ iconUrl: string;
74
+ homeUrl: string;
75
+ splashImageUrl?: string | undefined;
76
+ splashBackgroundColor?: string | undefined;
77
+ imageUrl?: string | undefined;
78
+ buttonTitle?: string | undefined;
79
+ webhookUrl?: string | undefined;
80
+ subtitle?: string | undefined;
81
+ description?: string | undefined;
82
+ screenshotUrls?: string[] | undefined;
83
+ primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
84
+ tags?: string[] | undefined;
85
+ heroImageUrl?: string | undefined;
86
+ tagline?: string | undefined;
87
+ ogTitle?: string | undefined;
88
+ ogDescription?: string | undefined;
89
+ ogImageUrl?: string | undefined;
90
+ noindex?: boolean | undefined;
91
+ 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;
92
+ 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;
93
+ castShareUrl?: string | undefined;
94
+ canonicalDomain?: string | undefined;
95
+ }, {
96
+ name: string;
97
+ version: "1" | "next" | "0.0.0" | "0.0.1";
98
+ iconUrl: string;
99
+ homeUrl: string;
100
+ splashImageUrl?: string | undefined;
101
+ splashBackgroundColor?: string | undefined;
102
+ imageUrl?: string | undefined;
103
+ buttonTitle?: string | undefined;
104
+ webhookUrl?: string | undefined;
105
+ subtitle?: string | undefined;
106
+ description?: string | undefined;
107
+ screenshotUrls?: string[] | undefined;
108
+ primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
109
+ tags?: string[] | undefined;
110
+ heroImageUrl?: string | undefined;
111
+ tagline?: string | undefined;
112
+ ogTitle?: string | undefined;
113
+ ogDescription?: string | undefined;
114
+ ogImageUrl?: string | undefined;
115
+ noindex?: boolean | undefined;
116
+ 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;
117
+ 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;
118
+ castShareUrl?: string | undefined;
119
+ canonicalDomain?: string | undefined;
120
+ }>, {
121
+ name: string;
122
+ version: "1" | "next" | "0.0.0" | "0.0.1";
123
+ iconUrl: string;
124
+ homeUrl: string;
125
+ splashImageUrl?: string | undefined;
126
+ splashBackgroundColor?: string | undefined;
127
+ imageUrl?: string | undefined;
128
+ buttonTitle?: string | undefined;
129
+ webhookUrl?: string | undefined;
130
+ subtitle?: string | undefined;
131
+ description?: string | undefined;
132
+ screenshotUrls?: string[] | undefined;
133
+ primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
134
+ tags?: string[] | undefined;
135
+ heroImageUrl?: string | undefined;
136
+ tagline?: string | undefined;
137
+ ogTitle?: string | undefined;
138
+ ogDescription?: string | undefined;
139
+ ogImageUrl?: string | undefined;
140
+ noindex?: boolean | undefined;
141
+ 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;
142
+ 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;
143
+ castShareUrl?: string | undefined;
144
+ canonicalDomain?: string | undefined;
145
+ }, {
146
+ name: string;
147
+ version: "1" | "next" | "0.0.0" | "0.0.1";
148
+ iconUrl: string;
149
+ homeUrl: string;
150
+ splashImageUrl?: string | undefined;
151
+ splashBackgroundColor?: string | undefined;
152
+ imageUrl?: string | undefined;
153
+ buttonTitle?: string | undefined;
154
+ webhookUrl?: string | undefined;
155
+ subtitle?: string | undefined;
156
+ description?: string | undefined;
157
+ screenshotUrls?: string[] | undefined;
158
+ primaryCategory?: "games" | "social" | "finance" | "utility" | "productivity" | "health-fitness" | "news-media" | "music" | "shopping" | "education" | "developer-tools" | "entertainment" | "art-creativity" | undefined;
159
+ tags?: string[] | undefined;
160
+ heroImageUrl?: string | undefined;
161
+ tagline?: string | undefined;
162
+ ogTitle?: string | undefined;
163
+ ogDescription?: string | undefined;
164
+ ogImageUrl?: string | undefined;
165
+ noindex?: boolean | undefined;
166
+ 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;
167
+ 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;
168
+ castShareUrl?: string | undefined;
169
+ canonicalDomain?: string | undefined;
170
+ }>;
171
+ export declare const frameEmbedNextSchema: import("zod").ZodObject<{
172
+ version: import("zod").ZodLiteral<"next">;
173
+ imageUrl: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
174
+ aspectRatio: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"1:1">, import("zod").ZodLiteral<"3:2">]>>;
175
+ button: import("zod").ZodObject<{
176
+ title: import("zod").ZodString;
177
+ action: import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
178
+ type: import("zod").ZodLiteral<"launch_miniapp">;
179
+ name: import("zod").ZodString;
180
+ url: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
181
+ splashImageUrl: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
182
+ splashBackgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
183
+ }, "strip", import("zod").ZodTypeAny, {
184
+ type: "launch_miniapp";
185
+ name: string;
186
+ url?: string | undefined;
187
+ splashImageUrl?: string | undefined;
188
+ splashBackgroundColor?: string | undefined;
189
+ }, {
190
+ type: "launch_miniapp";
191
+ name: string;
192
+ url?: string | undefined;
193
+ splashImageUrl?: string | undefined;
194
+ splashBackgroundColor?: string | undefined;
195
+ }>, import("zod").ZodObject<{
196
+ type: import("zod").ZodLiteral<"view_token">;
197
+ token: import("zod").ZodString;
198
+ }, "strip", import("zod").ZodTypeAny, {
199
+ type: "view_token";
200
+ token: string;
201
+ }, {
202
+ type: "view_token";
203
+ token: string;
204
+ }>, import("zod").ZodObject<{
205
+ type: import("zod").ZodLiteral<"launch_frame">;
206
+ name: import("zod").ZodString;
207
+ url: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
208
+ splashImageUrl: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
209
+ splashBackgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
210
+ }, "strip", import("zod").ZodTypeAny, {
211
+ type: "launch_frame";
212
+ name: string;
213
+ url?: string | undefined;
214
+ splashImageUrl?: string | undefined;
215
+ splashBackgroundColor?: string | undefined;
216
+ }, {
217
+ type: "launch_frame";
218
+ name: string;
219
+ url?: string | undefined;
220
+ splashImageUrl?: string | undefined;
221
+ splashBackgroundColor?: string | undefined;
222
+ }>]>;
223
+ }, "strip", import("zod").ZodTypeAny, {
224
+ title: string;
225
+ action: {
226
+ type: "launch_frame";
227
+ name: string;
228
+ url?: string | undefined;
229
+ splashImageUrl?: string | undefined;
230
+ splashBackgroundColor?: string | undefined;
231
+ } | {
232
+ type: "launch_miniapp";
233
+ name: string;
234
+ url?: string | undefined;
235
+ splashImageUrl?: string | undefined;
236
+ splashBackgroundColor?: string | undefined;
237
+ } | {
238
+ type: "view_token";
239
+ token: string;
240
+ };
241
+ }, {
242
+ title: string;
243
+ action: {
244
+ type: "launch_frame";
245
+ name: string;
246
+ url?: string | undefined;
247
+ splashImageUrl?: string | undefined;
248
+ splashBackgroundColor?: string | undefined;
249
+ } | {
250
+ type: "launch_miniapp";
251
+ name: string;
252
+ url?: string | undefined;
253
+ splashImageUrl?: string | undefined;
254
+ splashBackgroundColor?: string | undefined;
255
+ } | {
256
+ type: "view_token";
257
+ token: string;
258
+ };
259
+ }>;
260
+ }, "strip", import("zod").ZodTypeAny, {
124
261
  version: "next";
125
262
  imageUrl: string;
126
263
  button: {
127
264
  title: string;
128
265
  action: {
266
+ type: "launch_frame";
267
+ name: string;
268
+ url?: string | undefined;
269
+ splashImageUrl?: string | undefined;
270
+ splashBackgroundColor?: string | undefined;
271
+ } | {
272
+ type: "launch_miniapp";
273
+ name: string;
274
+ url?: string | undefined;
275
+ splashImageUrl?: string | undefined;
276
+ splashBackgroundColor?: string | undefined;
277
+ } | {
278
+ type: "view_token";
279
+ token: string;
280
+ };
281
+ };
282
+ aspectRatio?: "1:1" | "3:2" | undefined;
283
+ }, {
284
+ version: "next";
285
+ imageUrl: string;
286
+ button: {
287
+ title: string;
288
+ action: {
289
+ type: "launch_frame";
290
+ name: string;
291
+ url?: string | undefined;
292
+ splashImageUrl?: string | undefined;
293
+ splashBackgroundColor?: string | undefined;
294
+ } | {
129
295
  type: "launch_miniapp";
130
296
  name: string;
131
297
  url?: string | undefined;
@@ -134,20 +300,73 @@ export declare const safeParseFrameEmbed: (rawResponse: unknown) => import("zod/
134
300
  } | {
135
301
  type: "view_token";
136
302
  token: string;
303
+ };
304
+ };
305
+ aspectRatio?: "1:1" | "3:2" | undefined;
306
+ }>;
307
+ export declare const safeParseFrameEmbed: (rawResponse: unknown) => import("zod").SafeParseReturnType<{
308
+ version: "next";
309
+ imageUrl: string;
310
+ button: {
311
+ title: string;
312
+ action: {
313
+ type: "launch_frame";
314
+ name: string;
315
+ url?: string | undefined;
316
+ splashImageUrl?: string | undefined;
317
+ splashBackgroundColor?: string | undefined;
318
+ } | {
319
+ type: "launch_miniapp";
320
+ name: string;
321
+ url?: string | undefined;
322
+ splashImageUrl?: string | undefined;
323
+ splashBackgroundColor?: string | undefined;
137
324
  } | {
325
+ type: "view_token";
326
+ token: string;
327
+ };
328
+ };
329
+ aspectRatio?: "1:1" | "3:2" | undefined;
330
+ }, {
331
+ version: "next";
332
+ imageUrl: string;
333
+ button: {
334
+ title: string;
335
+ action: {
138
336
  type: "launch_frame";
139
337
  name: string;
140
338
  url?: string | undefined;
141
339
  splashImageUrl?: string | undefined;
142
340
  splashBackgroundColor?: string | undefined;
341
+ } | {
342
+ type: "launch_miniapp";
343
+ name: string;
344
+ url?: string | undefined;
345
+ splashImageUrl?: string | undefined;
346
+ splashBackgroundColor?: string | undefined;
347
+ } | {
348
+ type: "view_token";
349
+ token: string;
143
350
  };
144
351
  };
145
352
  aspectRatio?: "1:1" | "3:2" | undefined;
146
353
  }>;
147
- export declare const actionLaunchFrameSchema: import("zod/v4").ZodObject<{
148
- type: import("zod/v4").ZodLiteral<"launch_frame">;
149
- name: import("zod/v4").ZodString;
150
- url: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
151
- splashImageUrl: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
152
- splashBackgroundColor: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
153
- }, import("zod/v4/core").$strip>;
354
+ export declare const actionLaunchFrameSchema: import("zod").ZodObject<{
355
+ type: import("zod").ZodLiteral<"launch_frame">;
356
+ name: import("zod").ZodString;
357
+ url: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
358
+ splashImageUrl: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
359
+ splashBackgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
360
+ }, "strip", import("zod").ZodTypeAny, {
361
+ type: "launch_frame";
362
+ name: string;
363
+ url?: string | undefined;
364
+ splashImageUrl?: string | undefined;
365
+ splashBackgroundColor?: string | undefined;
366
+ }, {
367
+ type: "launch_frame";
368
+ name: string;
369
+ url?: string | undefined;
370
+ splashImageUrl?: string | undefined;
371
+ splashBackgroundColor?: string | undefined;
372
+ }>;