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