@farcaster/miniapp-core 0.3.5 → 0.3.7
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/actions/RequestCameraAndMicrophoneAccess.d.ts +19 -0
- package/dist/actions/RequestCameraAndMicrophoneAccess.js +2 -0
- package/dist/actions/index.d.ts +1 -0
- package/dist/actions/index.js +2 -1
- package/dist/context.d.ts +1 -0
- package/dist/schemas/manifest.d.ts +43 -27
- package/dist/schemas/manifest.js +38 -29
- package/dist/types.d.ts +4 -2
- package/dist/types.js +1 -0
- package/esm/actions/RequestCameraAndMicrophoneAccess.d.ts +19 -0
- package/esm/actions/RequestCameraAndMicrophoneAccess.js +1 -0
- package/esm/actions/index.d.ts +1 -0
- package/esm/actions/index.js +1 -0
- package/esm/context.d.ts +1 -0
- package/esm/schemas/manifest.d.ts +43 -27
- package/esm/schemas/manifest.js +36 -27
- package/esm/tsconfig.tsbuildinfo +1 -1
- package/esm/types.d.ts +4 -2
- package/esm/types.js +1 -0
- package/package.json +1 -1
- package/src/actions/RequestCameraAndMicrophoneAccess.ts +19 -0
- package/src/actions/index.ts +1 -0
- package/src/context.ts +1 -0
- package/src/schemas/manifest.ts +52 -27
- package/src/types.ts +4 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests permission to access the camera and microphone.
|
|
3
|
+
* This method will trigger a permission dialog in the host app.
|
|
4
|
+
*
|
|
5
|
+
* The promise will resolve if the user grants permission, and reject if denied.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* try {
|
|
10
|
+
* await sdk.actions.requestCameraAndMicrophoneAccess()
|
|
11
|
+
* console.log('Camera and microphone access granted')
|
|
12
|
+
* } catch (error) {
|
|
13
|
+
* console.log('Camera and microphone access denied')
|
|
14
|
+
* }
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* @see {@link https://miniapps.farcaster.xyz/docs/sdk/actions/request-camera-and-microphone-access | Request Camera and Microphone Access Documentation}
|
|
18
|
+
*/
|
|
19
|
+
export type RequestCameraAndMicrophoneAccess = () => Promise<void>;
|
package/dist/actions/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * as ComposeCast from './ComposeCast.ts';
|
|
|
3
3
|
export * as Haptics from './Haptics.ts';
|
|
4
4
|
export * as OpenMiniApp from './OpenMiniApp.ts';
|
|
5
5
|
export * as Ready from './Ready.ts';
|
|
6
|
+
export * as RequestCameraAndMicrophoneAccess from './RequestCameraAndMicrophoneAccess.ts';
|
|
6
7
|
export * as SendToken from './SendToken.ts';
|
|
7
8
|
export * as SignIn from './SignIn.ts';
|
|
8
9
|
export * as SwapToken from './SwapToken.ts';
|
package/dist/actions/index.js
CHANGED
|
@@ -33,12 +33,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.ViewToken = exports.ViewProfile = exports.ViewCast = exports.SwapToken = exports.SignIn = exports.SendToken = exports.Ready = exports.OpenMiniApp = exports.Haptics = exports.ComposeCast = exports.AddMiniApp = void 0;
|
|
36
|
+
exports.ViewToken = exports.ViewProfile = exports.ViewCast = exports.SwapToken = exports.SignIn = exports.SendToken = exports.RequestCameraAndMicrophoneAccess = exports.Ready = exports.OpenMiniApp = exports.Haptics = exports.ComposeCast = exports.AddMiniApp = void 0;
|
|
37
37
|
exports.AddMiniApp = __importStar(require("./AddMiniApp.js"));
|
|
38
38
|
exports.ComposeCast = __importStar(require("./ComposeCast.js"));
|
|
39
39
|
exports.Haptics = __importStar(require("./Haptics.js"));
|
|
40
40
|
exports.OpenMiniApp = __importStar(require("./OpenMiniApp.js"));
|
|
41
41
|
exports.Ready = __importStar(require("./Ready.js"));
|
|
42
|
+
exports.RequestCameraAndMicrophoneAccess = __importStar(require("./RequestCameraAndMicrophoneAccess.js"));
|
|
42
43
|
exports.SendToken = __importStar(require("./SendToken.js"));
|
|
43
44
|
exports.SignIn = __importStar(require("./SignIn.js"));
|
|
44
45
|
exports.SwapToken = __importStar(require("./SwapToken.js"));
|
package/dist/context.d.ts
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const primaryCategories: readonly ["games", "social", "finance", "utility", "productivity", "health-fitness", "news-media", "music", "shopping", "education", "developer-tools", "entertainment", "art-creativity"];
|
|
3
|
+
export type PrimaryCategory = (typeof primaryCategories)[number];
|
|
4
|
+
export declare const primaryCategorySchema: z.ZodEnum<["games", "social", "finance", "utility", "productivity", "health-fitness", "news-media", "music", "shopping", "education", "developer-tools", "entertainment", "art-creativity"]>;
|
|
5
|
+
export declare const versionSchema: z.ZodUnion<[z.ZodLiteral<"0.0.0">, z.ZodLiteral<"0.0.1">, z.ZodLiteral<"1">, z.ZodLiteral<"next">]>;
|
|
6
|
+
export declare const subtitleSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
7
|
+
export declare const descriptionSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
8
|
+
export declare const screenshotUrlsSchema: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
9
|
+
export declare const tagsSchema: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, "many">;
|
|
10
|
+
export declare const taglineSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
11
|
+
export declare const ogTitleSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
12
|
+
export declare const ogDescriptionSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
13
|
+
export declare const noindexSchema: z.ZodBoolean;
|
|
14
|
+
export declare const chains: readonly ["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"];
|
|
15
|
+
export type Chains = (typeof chains)[number];
|
|
16
|
+
export declare const requiredChainsSchema: 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")[]>;
|
|
17
|
+
export declare const requiredCapabilitiesSchema: 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", "actions.openMiniApp", "actions.requestCameraAndMicrophoneAccess", "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" | "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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[]>;
|
|
2
18
|
export declare const domainMiniAppConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
3
19
|
version: z.ZodUnion<[z.ZodLiteral<"0.0.0">, z.ZodLiteral<"0.0.1">, z.ZodLiteral<"1">, z.ZodLiteral<"next">]>;
|
|
4
20
|
name: z.ZodString;
|
|
@@ -26,7 +42,7 @@ export declare const domainMiniAppConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
26
42
|
noindex: z.ZodOptional<z.ZodBoolean>;
|
|
27
43
|
/** see https://github.com/farcasterxyz/miniapps/discussions/256 */
|
|
28
44
|
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", "actions.openMiniApp", "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" | "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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[]>>;
|
|
45
|
+
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", "actions.openMiniApp", "actions.requestCameraAndMicrophoneAccess", "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" | "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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[]>>;
|
|
30
46
|
/** see https://github.com/farcasterxyz/miniapps/discussions/158 */
|
|
31
47
|
/** Documentation will be added once this feature is finalized. */
|
|
32
48
|
castShareUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
@@ -54,7 +70,7 @@ export declare const domainMiniAppConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
54
70
|
ogImageUrl?: string | undefined;
|
|
55
71
|
noindex?: boolean | undefined;
|
|
56
72
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
73
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
58
74
|
castShareUrl?: string | undefined;
|
|
59
75
|
canonicalDomain?: string | undefined;
|
|
60
76
|
}, {
|
|
@@ -79,7 +95,7 @@ export declare const domainMiniAppConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
79
95
|
ogImageUrl?: string | undefined;
|
|
80
96
|
noindex?: boolean | undefined;
|
|
81
97
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
98
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
83
99
|
castShareUrl?: string | undefined;
|
|
84
100
|
canonicalDomain?: string | undefined;
|
|
85
101
|
}>, {
|
|
@@ -104,7 +120,7 @@ export declare const domainMiniAppConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
104
120
|
ogImageUrl?: string | undefined;
|
|
105
121
|
noindex?: boolean | undefined;
|
|
106
122
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
123
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
108
124
|
castShareUrl?: string | undefined;
|
|
109
125
|
canonicalDomain?: string | undefined;
|
|
110
126
|
}, {
|
|
@@ -129,7 +145,7 @@ export declare const domainMiniAppConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
129
145
|
ogImageUrl?: string | undefined;
|
|
130
146
|
noindex?: boolean | undefined;
|
|
131
147
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
148
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
133
149
|
castShareUrl?: string | undefined;
|
|
134
150
|
canonicalDomain?: string | undefined;
|
|
135
151
|
}>;
|
|
@@ -174,7 +190,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
174
190
|
noindex: z.ZodOptional<z.ZodBoolean>;
|
|
175
191
|
/** see https://github.com/farcasterxyz/miniapps/discussions/256 */
|
|
176
192
|
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", "actions.openMiniApp", "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" | "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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[]>>;
|
|
193
|
+
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", "actions.openMiniApp", "actions.requestCameraAndMicrophoneAccess", "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" | "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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[]>>;
|
|
178
194
|
/** see https://github.com/farcasterxyz/miniapps/discussions/158 */
|
|
179
195
|
/** Documentation will be added once this feature is finalized. */
|
|
180
196
|
castShareUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
@@ -202,7 +218,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
202
218
|
ogImageUrl?: string | undefined;
|
|
203
219
|
noindex?: boolean | undefined;
|
|
204
220
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
221
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
206
222
|
castShareUrl?: string | undefined;
|
|
207
223
|
canonicalDomain?: string | undefined;
|
|
208
224
|
}, {
|
|
@@ -227,7 +243,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
227
243
|
ogImageUrl?: string | undefined;
|
|
228
244
|
noindex?: boolean | undefined;
|
|
229
245
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
246
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
231
247
|
castShareUrl?: string | undefined;
|
|
232
248
|
canonicalDomain?: string | undefined;
|
|
233
249
|
}>, {
|
|
@@ -252,7 +268,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
252
268
|
ogImageUrl?: string | undefined;
|
|
253
269
|
noindex?: boolean | undefined;
|
|
254
270
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
271
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
256
272
|
castShareUrl?: string | undefined;
|
|
257
273
|
canonicalDomain?: string | undefined;
|
|
258
274
|
}, {
|
|
@@ -277,7 +293,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
277
293
|
ogImageUrl?: string | undefined;
|
|
278
294
|
noindex?: boolean | undefined;
|
|
279
295
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
296
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
281
297
|
castShareUrl?: string | undefined;
|
|
282
298
|
canonicalDomain?: string | undefined;
|
|
283
299
|
}>>;
|
|
@@ -308,7 +324,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
308
324
|
noindex: z.ZodOptional<z.ZodBoolean>;
|
|
309
325
|
/** see https://github.com/farcasterxyz/miniapps/discussions/256 */
|
|
310
326
|
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", "actions.openMiniApp", "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" | "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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[]>>;
|
|
327
|
+
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", "actions.openMiniApp", "actions.requestCameraAndMicrophoneAccess", "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" | "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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[]>>;
|
|
312
328
|
/** see https://github.com/farcasterxyz/miniapps/discussions/158 */
|
|
313
329
|
/** Documentation will be added once this feature is finalized. */
|
|
314
330
|
castShareUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
@@ -336,7 +352,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
336
352
|
ogImageUrl?: string | undefined;
|
|
337
353
|
noindex?: boolean | undefined;
|
|
338
354
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
355
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
340
356
|
castShareUrl?: string | undefined;
|
|
341
357
|
canonicalDomain?: string | undefined;
|
|
342
358
|
}, {
|
|
@@ -361,7 +377,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
361
377
|
ogImageUrl?: string | undefined;
|
|
362
378
|
noindex?: boolean | undefined;
|
|
363
379
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
380
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
365
381
|
castShareUrl?: string | undefined;
|
|
366
382
|
canonicalDomain?: string | undefined;
|
|
367
383
|
}>, {
|
|
@@ -386,7 +402,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
386
402
|
ogImageUrl?: string | undefined;
|
|
387
403
|
noindex?: boolean | undefined;
|
|
388
404
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
405
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
390
406
|
castShareUrl?: string | undefined;
|
|
391
407
|
canonicalDomain?: string | undefined;
|
|
392
408
|
}, {
|
|
@@ -411,7 +427,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
411
427
|
ogImageUrl?: string | undefined;
|
|
412
428
|
noindex?: boolean | undefined;
|
|
413
429
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
430
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
415
431
|
castShareUrl?: string | undefined;
|
|
416
432
|
canonicalDomain?: string | undefined;
|
|
417
433
|
}>>;
|
|
@@ -443,7 +459,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
443
459
|
ogImageUrl?: string | undefined;
|
|
444
460
|
noindex?: boolean | undefined;
|
|
445
461
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
462
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
447
463
|
castShareUrl?: string | undefined;
|
|
448
464
|
canonicalDomain?: string | undefined;
|
|
449
465
|
} | undefined;
|
|
@@ -469,7 +485,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
469
485
|
ogImageUrl?: string | undefined;
|
|
470
486
|
noindex?: boolean | undefined;
|
|
471
487
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
488
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
473
489
|
castShareUrl?: string | undefined;
|
|
474
490
|
canonicalDomain?: string | undefined;
|
|
475
491
|
} | undefined;
|
|
@@ -501,7 +517,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
501
517
|
ogImageUrl?: string | undefined;
|
|
502
518
|
noindex?: boolean | undefined;
|
|
503
519
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
520
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
505
521
|
castShareUrl?: string | undefined;
|
|
506
522
|
canonicalDomain?: string | undefined;
|
|
507
523
|
} | undefined;
|
|
@@ -527,7 +543,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
527
543
|
ogImageUrl?: string | undefined;
|
|
528
544
|
noindex?: boolean | undefined;
|
|
529
545
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
546
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
531
547
|
castShareUrl?: string | undefined;
|
|
532
548
|
canonicalDomain?: string | undefined;
|
|
533
549
|
} | undefined;
|
|
@@ -559,7 +575,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
559
575
|
ogImageUrl?: string | undefined;
|
|
560
576
|
noindex?: boolean | undefined;
|
|
561
577
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
578
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
563
579
|
castShareUrl?: string | undefined;
|
|
564
580
|
canonicalDomain?: string | undefined;
|
|
565
581
|
} | undefined;
|
|
@@ -585,7 +601,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
585
601
|
ogImageUrl?: string | undefined;
|
|
586
602
|
noindex?: boolean | undefined;
|
|
587
603
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
604
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
589
605
|
castShareUrl?: string | undefined;
|
|
590
606
|
canonicalDomain?: string | undefined;
|
|
591
607
|
} | undefined;
|
|
@@ -617,7 +633,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
617
633
|
ogImageUrl?: string | undefined;
|
|
618
634
|
noindex?: boolean | undefined;
|
|
619
635
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
636
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
621
637
|
castShareUrl?: string | undefined;
|
|
622
638
|
canonicalDomain?: string | undefined;
|
|
623
639
|
} | undefined;
|
|
@@ -643,7 +659,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
643
659
|
ogImageUrl?: string | undefined;
|
|
644
660
|
noindex?: boolean | undefined;
|
|
645
661
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
662
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
647
663
|
castShareUrl?: string | undefined;
|
|
648
664
|
canonicalDomain?: string | undefined;
|
|
649
665
|
} | undefined;
|
|
@@ -670,7 +686,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
670
686
|
ogImageUrl?: string | undefined;
|
|
671
687
|
noindex?: boolean | undefined;
|
|
672
688
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
689
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
674
690
|
castShareUrl?: string | undefined;
|
|
675
691
|
canonicalDomain?: string | undefined;
|
|
676
692
|
} | undefined;
|
|
@@ -701,7 +717,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
701
717
|
ogImageUrl?: string | undefined;
|
|
702
718
|
noindex?: boolean | undefined;
|
|
703
719
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
720
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
705
721
|
castShareUrl?: string | undefined;
|
|
706
722
|
canonicalDomain?: string | undefined;
|
|
707
723
|
} | undefined;
|
|
@@ -733,7 +749,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
733
749
|
ogImageUrl?: string | undefined;
|
|
734
750
|
noindex?: boolean | undefined;
|
|
735
751
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
752
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
737
753
|
castShareUrl?: string | undefined;
|
|
738
754
|
canonicalDomain?: string | undefined;
|
|
739
755
|
} | undefined;
|
|
@@ -759,7 +775,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
759
775
|
ogImageUrl?: string | undefined;
|
|
760
776
|
noindex?: boolean | undefined;
|
|
761
777
|
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" | "actions.openMiniApp" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
778
|
+
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" | "haptics.impactOccurred" | "haptics.notificationOccurred" | "haptics.selectionChanged" | "back")[] | undefined;
|
|
763
779
|
castShareUrl?: string | undefined;
|
|
764
780
|
canonicalDomain?: string | undefined;
|
|
765
781
|
} | undefined;
|
package/dist/schemas/manifest.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.domainManifestSchema = exports.domainMiniAppConfigSchema = void 0;
|
|
3
|
+
exports.domainManifestSchema = exports.domainMiniAppConfigSchema = exports.requiredCapabilitiesSchema = exports.requiredChainsSchema = exports.chains = exports.noindexSchema = exports.ogDescriptionSchema = exports.ogTitleSchema = exports.taglineSchema = exports.tagsSchema = exports.screenshotUrlsSchema = exports.descriptionSchema = exports.subtitleSchema = exports.versionSchema = exports.primaryCategorySchema = exports.primaryCategories = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const types_ts_1 = require("../types.js");
|
|
6
6
|
const shared_ts_1 = require("./shared.js");
|
|
7
|
-
|
|
7
|
+
exports.primaryCategories = [
|
|
8
8
|
'games',
|
|
9
9
|
'social',
|
|
10
10
|
'finance',
|
|
@@ -18,8 +18,25 @@ const primaryCategorySchema = zod_1.z.enum([
|
|
|
18
18
|
'developer-tools',
|
|
19
19
|
'entertainment',
|
|
20
20
|
'art-creativity',
|
|
21
|
+
];
|
|
22
|
+
exports.primaryCategorySchema = zod_1.z.enum(exports.primaryCategories);
|
|
23
|
+
exports.versionSchema = zod_1.z.union([
|
|
24
|
+
zod_1.z.literal('0.0.0'),
|
|
25
|
+
zod_1.z.literal('0.0.1'),
|
|
26
|
+
zod_1.z.literal('1'),
|
|
27
|
+
zod_1.z.literal('next'),
|
|
21
28
|
]);
|
|
22
|
-
|
|
29
|
+
exports.subtitleSchema = (0, shared_ts_1.createSimpleStringSchema)({ max: 30 });
|
|
30
|
+
exports.descriptionSchema = (0, shared_ts_1.createSimpleStringSchema)({ max: 170 });
|
|
31
|
+
exports.screenshotUrlsSchema = zod_1.z.array(shared_ts_1.secureUrlSchema).max(3);
|
|
32
|
+
exports.tagsSchema = zod_1.z
|
|
33
|
+
.array((0, shared_ts_1.createSimpleStringSchema)({ max: 20, noSpaces: true }))
|
|
34
|
+
.max(5);
|
|
35
|
+
exports.taglineSchema = (0, shared_ts_1.createSimpleStringSchema)({ max: 30 });
|
|
36
|
+
exports.ogTitleSchema = (0, shared_ts_1.createSimpleStringSchema)({ max: 30 });
|
|
37
|
+
exports.ogDescriptionSchema = (0, shared_ts_1.createSimpleStringSchema)({ max: 100 });
|
|
38
|
+
exports.noindexSchema = zod_1.z.boolean();
|
|
39
|
+
exports.chains = [
|
|
23
40
|
'eip155:1', // Ethereum mainnet
|
|
24
41
|
'eip155:8453', // Base mainnet
|
|
25
42
|
'eip155:42161', // Arbitrum One
|
|
@@ -41,17 +58,18 @@ function removeArrayDuplicates(arr) {
|
|
|
41
58
|
const set = new Set(arr);
|
|
42
59
|
return Array.from(set);
|
|
43
60
|
}
|
|
61
|
+
exports.requiredChainsSchema = zod_1.z
|
|
62
|
+
.array(zod_1.z.enum(exports.chains))
|
|
63
|
+
.transform(removeArrayDuplicates);
|
|
64
|
+
exports.requiredCapabilitiesSchema = zod_1.z
|
|
65
|
+
.array(zod_1.z.enum(types_ts_1.miniAppHostCapabilityList))
|
|
66
|
+
.transform(removeArrayDuplicates);
|
|
44
67
|
exports.domainMiniAppConfigSchema = zod_1.z
|
|
45
68
|
.object({
|
|
46
69
|
// 0.0.0 and 0.0.1 are not technically part of the spec but kept for
|
|
47
70
|
// backwards compatibility. next should always resolve to the most recent
|
|
48
71
|
// schema version.
|
|
49
|
-
version:
|
|
50
|
-
zod_1.z.literal('0.0.0'),
|
|
51
|
-
zod_1.z.literal('0.0.1'),
|
|
52
|
-
zod_1.z.literal('1'),
|
|
53
|
-
zod_1.z.literal('next'),
|
|
54
|
-
]),
|
|
72
|
+
version: exports.versionSchema,
|
|
55
73
|
name: shared_ts_1.miniAppNameSchema,
|
|
56
74
|
iconUrl: shared_ts_1.secureUrlSchema,
|
|
57
75
|
homeUrl: shared_ts_1.secureUrlSchema,
|
|
@@ -63,30 +81,21 @@ exports.domainMiniAppConfigSchema = zod_1.z
|
|
|
63
81
|
splashBackgroundColor: shared_ts_1.hexColorSchema.optional(),
|
|
64
82
|
webhookUrl: shared_ts_1.secureUrlSchema.optional(),
|
|
65
83
|
/** see: https://github.com/farcasterxyz/miniapps/discussions/191 */
|
|
66
|
-
subtitle:
|
|
67
|
-
description:
|
|
68
|
-
screenshotUrls:
|
|
69
|
-
primaryCategory: primaryCategorySchema.optional(),
|
|
70
|
-
tags:
|
|
71
|
-
.array((0, shared_ts_1.createSimpleStringSchema)({ max: 20, noSpaces: true }))
|
|
72
|
-
.max(5)
|
|
73
|
-
.optional(),
|
|
84
|
+
subtitle: exports.subtitleSchema.optional(),
|
|
85
|
+
description: exports.descriptionSchema.optional(),
|
|
86
|
+
screenshotUrls: exports.screenshotUrlsSchema.optional(),
|
|
87
|
+
primaryCategory: exports.primaryCategorySchema.optional(),
|
|
88
|
+
tags: exports.tagsSchema.optional(),
|
|
74
89
|
heroImageUrl: shared_ts_1.secureUrlSchema.optional(),
|
|
75
|
-
tagline:
|
|
76
|
-
ogTitle:
|
|
77
|
-
ogDescription:
|
|
90
|
+
tagline: exports.taglineSchema.optional(),
|
|
91
|
+
ogTitle: exports.ogTitleSchema.optional(),
|
|
92
|
+
ogDescription: exports.ogDescriptionSchema.optional(),
|
|
78
93
|
ogImageUrl: shared_ts_1.secureUrlSchema.optional(),
|
|
79
94
|
/** see: https://github.com/farcasterxyz/miniapps/discussions/204 */
|
|
80
|
-
noindex:
|
|
95
|
+
noindex: exports.noindexSchema.optional(),
|
|
81
96
|
/** see https://github.com/farcasterxyz/miniapps/discussions/256 */
|
|
82
|
-
requiredChains:
|
|
83
|
-
|
|
84
|
-
.transform(removeArrayDuplicates)
|
|
85
|
-
.optional(),
|
|
86
|
-
requiredCapabilities: zod_1.z
|
|
87
|
-
.array(zod_1.z.enum(types_ts_1.miniAppHostCapabilityList))
|
|
88
|
-
.transform(removeArrayDuplicates)
|
|
89
|
-
.optional(),
|
|
97
|
+
requiredChains: exports.requiredChainsSchema.optional(),
|
|
98
|
+
requiredCapabilities: exports.requiredCapabilitiesSchema.optional(),
|
|
90
99
|
/** see https://github.com/farcasterxyz/miniapps/discussions/158 */
|
|
91
100
|
/** Documentation will be added once this feature is finalized. */
|
|
92
101
|
castShareUrl: shared_ts_1.secureUrlSchema.optional(),
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ImpactOccurred, NotificationOccurred, SelectionChanged } from './actions/Haptics.ts';
|
|
2
|
-
import type { AddMiniApp, ComposeCast, OpenMiniApp, Ready, SendToken, SignIn, SwapToken, ViewCast, ViewProfile, ViewToken } from './actions/index.ts';
|
|
2
|
+
import type { AddMiniApp, ComposeCast, OpenMiniApp, Ready, RequestCameraAndMicrophoneAccess, SendToken, SignIn, SwapToken, ViewCast, ViewProfile, ViewToken } from './actions/index.ts';
|
|
3
3
|
import type { UpdateBackState } from './back.ts';
|
|
4
4
|
import type { MiniAppContext } from './context.ts';
|
|
5
5
|
import type { EventFrameAdded, EventFrameRemoved, EventMiniAppAdded, EventMiniAppRemoved, EventNotificationsDisabled, EventNotificationsEnabled } from './schemas/index.ts';
|
|
@@ -16,7 +16,7 @@ export * from './wallet/ethereum.ts';
|
|
|
16
16
|
export type SignInOptions = SignIn.SignInOptions;
|
|
17
17
|
export type SetPrimaryButton = (options: SetPrimaryButtonOptions) => void;
|
|
18
18
|
export type { ImpactOccurred, NotificationOccurred, SelectionChanged };
|
|
19
|
-
export declare const miniAppHostCapabilityList: readonly ["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", "haptics.impactOccurred", "haptics.notificationOccurred", "haptics.selectionChanged", "back"];
|
|
19
|
+
export declare const miniAppHostCapabilityList: readonly ["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", "haptics.impactOccurred", "haptics.notificationOccurred", "haptics.selectionChanged", "back"];
|
|
20
20
|
export type MiniAppHostCapability = (typeof miniAppHostCapabilityList)[number];
|
|
21
21
|
export type GetCapabilities = () => Promise<MiniAppHostCapability[]>;
|
|
22
22
|
export type GetChains = () => Promise<string[]>;
|
|
@@ -40,6 +40,7 @@ export type WireMiniAppHost = {
|
|
|
40
40
|
swapToken: SwapToken.SwapToken;
|
|
41
41
|
openMiniApp: OpenMiniApp.OpenMiniApp;
|
|
42
42
|
composeCast: <close extends boolean | undefined = undefined>(options: ComposeCast.Options<close>) => Promise<ComposeCast.Result<close>>;
|
|
43
|
+
requestCameraAndMicrophoneAccess: RequestCameraAndMicrophoneAccess.RequestCameraAndMicrophoneAccess;
|
|
43
44
|
impactOccurred: ImpactOccurred;
|
|
44
45
|
notificationOccurred: NotificationOccurred;
|
|
45
46
|
selectionChanged: SelectionChanged;
|
|
@@ -71,6 +72,7 @@ export type MiniAppHost = {
|
|
|
71
72
|
swapToken: SwapToken.SwapToken;
|
|
72
73
|
openMiniApp: OpenMiniApp.OpenMiniApp;
|
|
73
74
|
composeCast: <close extends boolean | undefined = undefined>(options: ComposeCast.Options<close>) => Promise<ComposeCast.Result<close>>;
|
|
75
|
+
requestCameraAndMicrophoneAccess: RequestCameraAndMicrophoneAccess.RequestCameraAndMicrophoneAccess;
|
|
74
76
|
impactOccurred: ImpactOccurred;
|
|
75
77
|
notificationOccurred: NotificationOccurred;
|
|
76
78
|
selectionChanged: SelectionChanged;
|
package/dist/types.js
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Requests permission to access the camera and microphone.
|
|
3
|
+
* This method will trigger a permission dialog in the host app.
|
|
4
|
+
*
|
|
5
|
+
* The promise will resolve if the user grants permission, and reject if denied.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* try {
|
|
10
|
+
* await sdk.actions.requestCameraAndMicrophoneAccess()
|
|
11
|
+
* console.log('Camera and microphone access granted')
|
|
12
|
+
* } catch (error) {
|
|
13
|
+
* console.log('Camera and microphone access denied')
|
|
14
|
+
* }
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* @see {@link https://miniapps.farcaster.xyz/docs/sdk/actions/request-camera-and-microphone-access | Request Camera and Microphone Access Documentation}
|
|
18
|
+
*/
|
|
19
|
+
export type RequestCameraAndMicrophoneAccess = () => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|