@farcaster/miniapp-core 0.3.6 → 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 +28 -28
- 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 +28 -28
- 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/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
|
@@ -14,7 +14,7 @@ export declare const noindexSchema: z.ZodBoolean;
|
|
|
14
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
15
|
export type Chains = (typeof chains)[number];
|
|
16
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", "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")[]>;
|
|
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")[]>;
|
|
18
18
|
export declare const domainMiniAppConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
19
19
|
version: z.ZodUnion<[z.ZodLiteral<"0.0.0">, z.ZodLiteral<"0.0.1">, z.ZodLiteral<"1">, z.ZodLiteral<"next">]>;
|
|
20
20
|
name: z.ZodString;
|
|
@@ -42,7 +42,7 @@ export declare const domainMiniAppConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
42
42
|
noindex: z.ZodOptional<z.ZodBoolean>;
|
|
43
43
|
/** see https://github.com/farcasterxyz/miniapps/discussions/256 */
|
|
44
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")[]>>;
|
|
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", "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")[]>>;
|
|
46
46
|
/** see https://github.com/farcasterxyz/miniapps/discussions/158 */
|
|
47
47
|
/** Documentation will be added once this feature is finalized. */
|
|
48
48
|
castShareUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
@@ -70,7 +70,7 @@ export declare const domainMiniAppConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
70
70
|
ogImageUrl?: string | undefined;
|
|
71
71
|
noindex?: boolean | undefined;
|
|
72
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;
|
|
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" | "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;
|
|
74
74
|
castShareUrl?: string | undefined;
|
|
75
75
|
canonicalDomain?: string | undefined;
|
|
76
76
|
}, {
|
|
@@ -95,7 +95,7 @@ export declare const domainMiniAppConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
95
95
|
ogImageUrl?: string | undefined;
|
|
96
96
|
noindex?: boolean | undefined;
|
|
97
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;
|
|
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" | "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;
|
|
99
99
|
castShareUrl?: string | undefined;
|
|
100
100
|
canonicalDomain?: string | undefined;
|
|
101
101
|
}>, {
|
|
@@ -120,7 +120,7 @@ export declare const domainMiniAppConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
120
120
|
ogImageUrl?: string | undefined;
|
|
121
121
|
noindex?: boolean | undefined;
|
|
122
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;
|
|
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" | "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;
|
|
124
124
|
castShareUrl?: string | undefined;
|
|
125
125
|
canonicalDomain?: string | undefined;
|
|
126
126
|
}, {
|
|
@@ -145,7 +145,7 @@ export declare const domainMiniAppConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
145
145
|
ogImageUrl?: string | undefined;
|
|
146
146
|
noindex?: boolean | undefined;
|
|
147
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;
|
|
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" | "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;
|
|
149
149
|
castShareUrl?: string | undefined;
|
|
150
150
|
canonicalDomain?: string | undefined;
|
|
151
151
|
}>;
|
|
@@ -190,7 +190,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
190
190
|
noindex: z.ZodOptional<z.ZodBoolean>;
|
|
191
191
|
/** see https://github.com/farcasterxyz/miniapps/discussions/256 */
|
|
192
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")[]>>;
|
|
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", "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")[]>>;
|
|
194
194
|
/** see https://github.com/farcasterxyz/miniapps/discussions/158 */
|
|
195
195
|
/** Documentation will be added once this feature is finalized. */
|
|
196
196
|
castShareUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
@@ -218,7 +218,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
218
218
|
ogImageUrl?: string | undefined;
|
|
219
219
|
noindex?: boolean | undefined;
|
|
220
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;
|
|
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" | "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;
|
|
222
222
|
castShareUrl?: string | undefined;
|
|
223
223
|
canonicalDomain?: string | undefined;
|
|
224
224
|
}, {
|
|
@@ -243,7 +243,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
243
243
|
ogImageUrl?: string | undefined;
|
|
244
244
|
noindex?: boolean | undefined;
|
|
245
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;
|
|
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" | "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;
|
|
247
247
|
castShareUrl?: string | undefined;
|
|
248
248
|
canonicalDomain?: string | undefined;
|
|
249
249
|
}>, {
|
|
@@ -268,7 +268,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
268
268
|
ogImageUrl?: string | undefined;
|
|
269
269
|
noindex?: boolean | undefined;
|
|
270
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;
|
|
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" | "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;
|
|
272
272
|
castShareUrl?: string | undefined;
|
|
273
273
|
canonicalDomain?: string | undefined;
|
|
274
274
|
}, {
|
|
@@ -293,7 +293,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
293
293
|
ogImageUrl?: string | undefined;
|
|
294
294
|
noindex?: boolean | undefined;
|
|
295
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;
|
|
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" | "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;
|
|
297
297
|
castShareUrl?: string | undefined;
|
|
298
298
|
canonicalDomain?: string | undefined;
|
|
299
299
|
}>>;
|
|
@@ -324,7 +324,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
324
324
|
noindex: z.ZodOptional<z.ZodBoolean>;
|
|
325
325
|
/** see https://github.com/farcasterxyz/miniapps/discussions/256 */
|
|
326
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")[]>>;
|
|
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", "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")[]>>;
|
|
328
328
|
/** see https://github.com/farcasterxyz/miniapps/discussions/158 */
|
|
329
329
|
/** Documentation will be added once this feature is finalized. */
|
|
330
330
|
castShareUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
@@ -352,7 +352,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
352
352
|
ogImageUrl?: string | undefined;
|
|
353
353
|
noindex?: boolean | undefined;
|
|
354
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;
|
|
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" | "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;
|
|
356
356
|
castShareUrl?: string | undefined;
|
|
357
357
|
canonicalDomain?: string | undefined;
|
|
358
358
|
}, {
|
|
@@ -377,7 +377,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
377
377
|
ogImageUrl?: string | undefined;
|
|
378
378
|
noindex?: boolean | undefined;
|
|
379
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;
|
|
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" | "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;
|
|
381
381
|
castShareUrl?: string | undefined;
|
|
382
382
|
canonicalDomain?: string | undefined;
|
|
383
383
|
}>, {
|
|
@@ -402,7 +402,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
402
402
|
ogImageUrl?: string | undefined;
|
|
403
403
|
noindex?: boolean | undefined;
|
|
404
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;
|
|
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" | "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;
|
|
406
406
|
castShareUrl?: string | undefined;
|
|
407
407
|
canonicalDomain?: string | undefined;
|
|
408
408
|
}, {
|
|
@@ -427,7 +427,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
427
427
|
ogImageUrl?: string | undefined;
|
|
428
428
|
noindex?: boolean | undefined;
|
|
429
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;
|
|
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" | "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;
|
|
431
431
|
castShareUrl?: string | undefined;
|
|
432
432
|
canonicalDomain?: string | undefined;
|
|
433
433
|
}>>;
|
|
@@ -459,7 +459,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
459
459
|
ogImageUrl?: string | undefined;
|
|
460
460
|
noindex?: boolean | undefined;
|
|
461
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;
|
|
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" | "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;
|
|
463
463
|
castShareUrl?: string | undefined;
|
|
464
464
|
canonicalDomain?: string | undefined;
|
|
465
465
|
} | undefined;
|
|
@@ -485,7 +485,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
485
485
|
ogImageUrl?: string | undefined;
|
|
486
486
|
noindex?: boolean | undefined;
|
|
487
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;
|
|
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" | "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;
|
|
489
489
|
castShareUrl?: string | undefined;
|
|
490
490
|
canonicalDomain?: string | undefined;
|
|
491
491
|
} | undefined;
|
|
@@ -517,7 +517,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
517
517
|
ogImageUrl?: string | undefined;
|
|
518
518
|
noindex?: boolean | undefined;
|
|
519
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;
|
|
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" | "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;
|
|
521
521
|
castShareUrl?: string | undefined;
|
|
522
522
|
canonicalDomain?: string | undefined;
|
|
523
523
|
} | undefined;
|
|
@@ -543,7 +543,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
543
543
|
ogImageUrl?: string | undefined;
|
|
544
544
|
noindex?: boolean | undefined;
|
|
545
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;
|
|
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" | "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;
|
|
547
547
|
castShareUrl?: string | undefined;
|
|
548
548
|
canonicalDomain?: string | undefined;
|
|
549
549
|
} | undefined;
|
|
@@ -575,7 +575,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
575
575
|
ogImageUrl?: string | undefined;
|
|
576
576
|
noindex?: boolean | undefined;
|
|
577
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;
|
|
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" | "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;
|
|
579
579
|
castShareUrl?: string | undefined;
|
|
580
580
|
canonicalDomain?: string | undefined;
|
|
581
581
|
} | undefined;
|
|
@@ -601,7 +601,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
601
601
|
ogImageUrl?: string | undefined;
|
|
602
602
|
noindex?: boolean | undefined;
|
|
603
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;
|
|
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" | "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;
|
|
605
605
|
castShareUrl?: string | undefined;
|
|
606
606
|
canonicalDomain?: string | undefined;
|
|
607
607
|
} | undefined;
|
|
@@ -633,7 +633,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
633
633
|
ogImageUrl?: string | undefined;
|
|
634
634
|
noindex?: boolean | undefined;
|
|
635
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;
|
|
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" | "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;
|
|
637
637
|
castShareUrl?: string | undefined;
|
|
638
638
|
canonicalDomain?: string | undefined;
|
|
639
639
|
} | undefined;
|
|
@@ -659,7 +659,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
659
659
|
ogImageUrl?: string | undefined;
|
|
660
660
|
noindex?: boolean | undefined;
|
|
661
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;
|
|
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" | "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;
|
|
663
663
|
castShareUrl?: string | undefined;
|
|
664
664
|
canonicalDomain?: string | undefined;
|
|
665
665
|
} | undefined;
|
|
@@ -686,7 +686,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
686
686
|
ogImageUrl?: string | undefined;
|
|
687
687
|
noindex?: boolean | undefined;
|
|
688
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;
|
|
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" | "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;
|
|
690
690
|
castShareUrl?: string | undefined;
|
|
691
691
|
canonicalDomain?: string | undefined;
|
|
692
692
|
} | undefined;
|
|
@@ -717,7 +717,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
717
717
|
ogImageUrl?: string | undefined;
|
|
718
718
|
noindex?: boolean | undefined;
|
|
719
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;
|
|
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" | "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;
|
|
721
721
|
castShareUrl?: string | undefined;
|
|
722
722
|
canonicalDomain?: string | undefined;
|
|
723
723
|
} | undefined;
|
|
@@ -749,7 +749,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
749
749
|
ogImageUrl?: string | undefined;
|
|
750
750
|
noindex?: boolean | undefined;
|
|
751
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;
|
|
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" | "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;
|
|
753
753
|
castShareUrl?: string | undefined;
|
|
754
754
|
canonicalDomain?: string | undefined;
|
|
755
755
|
} | undefined;
|
|
@@ -775,7 +775,7 @@ export declare const domainManifestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
775
775
|
ogImageUrl?: string | undefined;
|
|
776
776
|
noindex?: boolean | undefined;
|
|
777
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;
|
|
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" | "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;
|
|
779
779
|
castShareUrl?: string | undefined;
|
|
780
780
|
canonicalDomain?: string | undefined;
|
|
781
781
|
} | undefined;
|
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 {};
|
package/esm/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/esm/actions/index.js
CHANGED
|
@@ -3,6 +3,7 @@ export * as ComposeCast from "./ComposeCast.js";
|
|
|
3
3
|
export * as Haptics from "./Haptics.js";
|
|
4
4
|
export * as OpenMiniApp from "./OpenMiniApp.js";
|
|
5
5
|
export * as Ready from "./Ready.js";
|
|
6
|
+
export * as RequestCameraAndMicrophoneAccess from "./RequestCameraAndMicrophoneAccess.js";
|
|
6
7
|
export * as SendToken from "./SendToken.js";
|
|
7
8
|
export * as SignIn from "./SignIn.js";
|
|
8
9
|
export * as SwapToken from "./SwapToken.js";
|