-
#581
7b346f9Thanks @lyoshenka! - Upgrade to Zod v4 and ox v0.14.xzodupgraded from^3.xto^4.0.0across all packages.oxupgraded from^0.4.4to^0.14.0, removing itszod@^3peer dependency.- The
ethProviderparameter in@farcaster/miniapp-hostand@farcaster/miniapp-host-react-nativeis now typed asProvider.Provider<undefined, true>(requireson/removeListenerto be present, not optional). Runtime behavior is unchanged.
If your project imports
zoddirectly, upgrade it:npm install zod@^4.0.0 # or pnpm add zod@^4.0.0If you were composing schemas exported from these packages (e.g.
domainMiniAppConfigSchema,versionSchema) with your ownz.merge()orz.extend()calls, this is now required. Mixing a Zod v3 schema with a Zod v4 schema exported from this package will produce a runtime error like:TypeError: schema.merge is not a functionor a TypeScript error like:
Argument of type 'ZodObject<...>' is not assignable to parameter of type 'ZodObject<...>'Search pattern: grep your codebase for imports of schema objects from these packages combined with
.merge(,.extend(,.and(,.or(,.pipe(:grep -r "miniapp-core\|frame-core" --include="*.ts" --include="*.tsx" -l | xargs grep -l "\.merge\|\.extend\|\.and\|\.or\|\.pipe"
No code change is needed if you only call
.parse(),.safeParse(), or usez.infer<typeof schema>.Affected functions:
exposeToEndpoint,useExposeToEndpoint,exposeToIframe(in@farcaster/miniapp-host), anduseWebViewRpcAdapter,useExposeWebViewToEndpoint(in@farcaster/miniapp-host-react-native).If you pass a custom
ethProvider, you may see a TypeScript error like:Argument of type 'EthereumProvider' is not assignable to parameter of type 'Provider<undefined, true>'. Types of property 'on' are incompatible.The provider must now declare
onandremoveListeneras required (not optional) methods. If your provider wraps a standard EIP-1193 provider, assert the type:// Before exposeToEndpoint({ ..., ethProvider: myProvider }) // After — if myProvider has on/removeListener but TypeScript doesn't see them as required import type * as OxProvider from 'ox/Provider' exposeToEndpoint({ ..., ethProvider: myProvider as OxProvider.Provider<undefined, true> })
Or narrow at the call site:
if (typeof myProvider.on === 'function' && typeof myProvider.removeListener === 'function') { exposeToEndpoint({ ..., ethProvider: myProvider }) }
Search pattern:
grep -r "exposeToEndpoint\|useExposeToEndpoint\|exposeToIframe\|useWebViewRpcAdapter\|useExposeWebViewToEndpoint" --include="*.ts" --include="*.tsx" -l
@farcaster/miniapp-wagmi-connectornow throws at connect time if the provider is missingonorremoveListener:Error: MiniApp provider does not support event listeners.Previously this was a silent no-op. If you supply a custom provider to the wagmi connector, ensure it implements the full EIP-1193 event interface.
- Updated dependencies [
7b346f9]:- @farcaster/miniapp-core@0.6.0
-
#559
5e466f0Thanks @tybook! - Test deploy via new CI auth method -
Updated dependencies [
5e466f0]:- @farcaster/miniapp-core@0.5.1
- Updated dependencies [
e640bf5]:- @farcaster/miniapp-core@0.5.0
- Updated dependencies [
153d925]:- @farcaster/miniapp-core@0.4.1
- #493
9edfb78Thanks @horsefacts! - feat: default to auth address signIn
- Updated dependencies [
9edfb78]:- @farcaster/miniapp-core@0.4.0
-
#478
a631434Thanks @PirosB3! - Added experimental manifest signing tool -
Updated dependencies [
a631434]:- @farcaster/miniapp-core@0.3.9
-
#465
a0823d3Thanks @PirosB3! - Uopdates and removes event types -
Updated dependencies [
a0823d3]:- @farcaster/miniapp-core@0.3.8
-
#456
5bc0153Thanks @PirosB3! - added experimental camera permissions -
Updated dependencies [
5bc0153]:- @farcaster/miniapp-core@0.3.7
- Updated dependencies [
614ec77]:- @farcaster/miniapp-core@0.3.6
- Updated dependencies [
764c392]:- @farcaster/miniapp-core@0.3.5
- Updated dependencies [
1e46d5f]:- @farcaster/miniapp-core@0.3.4
-
#418
384866fThanks @deodad! - Made addMiniApp backwards compatible. -
Updated dependencies [
384866f]:- @farcaster/miniapp-core@0.3.3
- Updated dependencies [
960dc83]:- @farcaster/miniapp-core@0.3.2
- Updated dependencies [
92f1de9]:- @farcaster/miniapp-core@0.3.1
- #396
d23f93fThanks @CassOnMars! - introduce mini app rename
- Updated dependencies [
d23f93f]:- @farcaster/miniapp-core@0.3.0
- Updated dependencies [
6c593bf]:- @farcaster/frame-core@0.2.0
- Updated dependencies [
3417795]:- @farcaster/frame-core@0.1.10
- Updated dependencies [
a9e5271]:- @farcaster/frame-core@0.1.9
- Updated dependencies [
3e29677]:- @farcaster/frame-core@0.1.8
- Updated dependencies [
52db973]:- @farcaster/frame-core@0.1.7
- Updated dependencies [
2346ca2]:- @farcaster/frame-core@0.1.6
-
#329
1b38e2bThanks @deodad! - Added sdk.back to support back navigation. -
Updated dependencies [
1b38e2b,c3f8604]:- @farcaster/frame-core@0.1.5
-
Updated dependencies [
ec372de]:- @farcaster/frame-core@0.1.4
-
Updated dependencies [
c9c8580]:- @farcaster/frame-core@0.1.3
-
#324
fcb978fThanks @Ashoat! - Use fully-qualified import paths with file extensions -
Updated dependencies [
fcb978f]:- @farcaster/frame-core@0.1.2
-
#322
277bb50Thanks @PirosB3! - Added viewcast functionality. -
Updated dependencies [
277bb50]:- @farcaster/frame-core@0.1.1
- Updated dependencies [
6d75914]:- @farcaster/frame-core@0.1.0
- #291
d968e02Thanks @Ashoat! - Introduce @farcaster/mini-app-solana with Wallet Standard support for Solana
-
#283
600c53dThanks @deodad! - Bumped @farcaster/quick-auth version. -
Updated dependencies []:
- @farcaster/frame-core@0.0.40
-
#281
18af402Thanks @deodad! - Added experimentalquickAuthSDK action. -
Updated dependencies []:
- @farcaster/frame-core@0.0.40
- Updated dependencies [
978ab3b]:- @farcaster/frame-core@0.0.40
- Updated dependencies [
dc6e185]:- @farcaster/frame-core@0.0.39
-
#270
9ca5d35Thanks @Ashoat! - Add getChains and rename getEvmProvider to getEthereumProvider -
Updated dependencies [
9ca5d35]:- @farcaster/frame-core@0.0.38
-
#268
a585d6dThanks @Ashoat! - Rename getEvmProvider to getEthereumProvider -
Updated dependencies [
64c88ef,a585d6d]:- @farcaster/frame-core@0.0.37
- #257
dc12377Thanks @Ashoat! - Fix SDK crash on getEvmProvider/getSolanaProvider if host doesn't support getCapabilities
-
#252
a8e5305Thanks @Ashoat! - Add all SDK actions wallet providers to getCapabilities -
#250
1623538Thanks @Ashoat! - Update SDK method addFrame to addMiniApp -
#255
48c0237Thanks @Ashoat! - Wrap solanaProviderRequest for data structure serialization across comlink -
#251
e9536d4Thanks @Ashoat! - Ship experimental token actions -
#248
055e619Thanks @Ashoat! - Introduce getCapabilities, getEvmProvider, getSolanaProvider -
Updated dependencies [
a8e5305,1623538,48c0237,055e619]:- @farcaster/frame-core@0.0.36
-
#243
c051966Thanks @Ashoat! - Add experimental Solana support -
Updated dependencies [
a51e8a7,c051966]:- @farcaster/frame-core@0.0.35
-
#211
a06cbb3Thanks @Slokh! - feat: add experimental token actions -
Updated dependencies [
a06cbb3]:- @farcaster/frame-core@0.0.34
- Updated dependencies [
b1c125f]:- @farcaster/frame-core@0.0.33
- Updated dependencies [
2617d14]:- @farcaster/frame-core@0.0.32
- Updated dependencies [
c960c03]:- @farcaster/frame-core@0.0.31
-
Updated dependencies [
e0554b7]:- @farcaster/frame-core@0.0.30
-
Updated dependencies [
7b9d2e1]:- @farcaster/frame-core@0.0.29
-
#107
a437325Thanks @horsefacts! - add swap/token actions -
Updated dependencies [
a437325]:- @farcaster/frame-core@0.0.27
- Updated dependencies [
b20e3cf]:- @farcaster/frame-core@0.0.26
- Updated dependencies [
ce37061]:- @farcaster/frame-core@0.0.25
-
Updated dependencies [
41e13ce]:- @farcaster/frame-core@0.0.24
- Updated dependencies [
5b8367c]:- @farcaster/frame-core@0.0.23
- Updated dependencies [1c4c66a]
- @farcaster/frame-core@0.0.21
- Updated dependencies [6f9253d]
- Updated dependencies [2a68a88]
- @farcaster/frame-core@0.0.20
- f5457ab: Add real-time eventing from host to frame
- Updated dependencies [f5457ab]
- @farcaster/frame-core@0.0.19
- 27e8fca: add sign in action
- Updated dependencies [27e8fca]
- @farcaster/frame-core@0.0.18
- Updated dependencies [2a5ec00]
- @farcaster/frame-core@0.0.17
- Updated dependencies [fdcc36a]
- @farcaster/frame-core@0.0.16
- Updated dependencies [2e0e776]
- @farcaster/frame-core@0.0.15
- Updated dependencies [444a210]
- @farcaster/frame-core@0.0.14
- Updated dependencies [4e2a50f]
- @farcaster/frame-core@0.0.13
- Updated dependencies [a2e727d]
- @farcaster/frame-core@0.0.12
- 06ca566: optional ready options
- Updated dependencies [06ca566]
- Updated dependencies [7f35aa5]
- Updated dependencies [aaf9e0e]
- @farcaster/frame-core@0.0.11
- 840776c: add ready options with disableNativeGestures
- Updated dependencies [840776c]
- @farcaster/frame-core@0.0.10
- c4815e8: split out React Native host into its own package
- Updated dependencies [c4815e8]
- @farcaster/frame-core@0.0.9
- 5e70f39: support iframe channel in host and sdk
- Updated dependencies [5e70f39]
- @farcaster/frame-core@0.0.8
- e716b1c: Support Ethereum Provider events, preserve errors over the wire
- Updated dependencies [e716b1c]
- @farcaster/frame-core@0.0.7
- Updated dependencies [886a9bb]
- @farcaster/frame-core@0.0.6
- a258394: Add support for adding frames, notifications and events
- Updated dependencies [a258394]
- @farcaster/frame-core@0.0.5
- 5b5f68d: export sdk under named export
- a17c2f1: include umd bundle
- 0784a43: Fixed an
windowis not defined issue that happened when during SSRwindow(anddocument) have been attempted to be accessed.
- Updated dependencies [59ab89c]
- @farcaster/frame-core@0.0.4