@farcaster/miniapp-core 0.0.0-canary-20250713234517 → 0.0.0-canary-20250726165352
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
package/src/context.ts
CHANGED
package/src/types.ts
CHANGED
|
@@ -8,6 +8,7 @@ import type {
|
|
|
8
8
|
ComposeCast,
|
|
9
9
|
OpenMiniApp,
|
|
10
10
|
Ready,
|
|
11
|
+
RequestCameraAndMicrophoneAccess,
|
|
11
12
|
SendToken,
|
|
12
13
|
SignIn,
|
|
13
14
|
SwapToken,
|
|
@@ -62,6 +63,7 @@ export const miniAppHostCapabilityList = [
|
|
|
62
63
|
'actions.sendToken',
|
|
63
64
|
'actions.swapToken',
|
|
64
65
|
'actions.openMiniApp',
|
|
66
|
+
'actions.requestCameraAndMicrophoneAccess',
|
|
65
67
|
'haptics.impactOccurred',
|
|
66
68
|
'haptics.notificationOccurred',
|
|
67
69
|
'haptics.selectionChanged',
|
|
@@ -97,6 +99,7 @@ export type WireMiniAppHost = {
|
|
|
97
99
|
composeCast: <close extends boolean | undefined = undefined>(
|
|
98
100
|
options: ComposeCast.Options<close>,
|
|
99
101
|
) => Promise<ComposeCast.Result<close>>
|
|
102
|
+
requestCameraAndMicrophoneAccess: RequestCameraAndMicrophoneAccess.RequestCameraAndMicrophoneAccess
|
|
100
103
|
impactOccurred: ImpactOccurred
|
|
101
104
|
notificationOccurred: NotificationOccurred
|
|
102
105
|
selectionChanged: SelectionChanged
|
|
@@ -131,6 +134,7 @@ export type MiniAppHost = {
|
|
|
131
134
|
composeCast: <close extends boolean | undefined = undefined>(
|
|
132
135
|
options: ComposeCast.Options<close>,
|
|
133
136
|
) => Promise<ComposeCast.Result<close>>
|
|
137
|
+
requestCameraAndMicrophoneAccess: RequestCameraAndMicrophoneAccess.RequestCameraAndMicrophoneAccess
|
|
134
138
|
impactOccurred: ImpactOccurred
|
|
135
139
|
notificationOccurred: NotificationOccurred
|
|
136
140
|
selectionChanged: SelectionChanged
|