@farcaster/miniapp-sdk 0.0.0-canary-20250701152931 → 0.0.0-canary-20250705122814

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farcaster/miniapp-sdk",
3
- "version": "0.0.0-canary-20250701152931",
3
+ "version": "0.0.0-canary-20250705122814",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,7 +23,7 @@
23
23
  "comlink": "^4.4.2",
24
24
  "eventemitter3": "^5.0.1",
25
25
  "ox": "^0.4.4",
26
- "@farcaster/miniapp-core": "0.0.0-canary-20250701152931"
26
+ "@farcaster/miniapp-core": "0.0.0-canary-20250705122814"
27
27
  },
28
28
  "scripts": {
29
29
  "clean": "rm -rf dist",
package/src/sdk.ts CHANGED
@@ -55,7 +55,9 @@ async function isInMiniApp(timeoutMs = 50): Promise<boolean> {
55
55
  }
56
56
 
57
57
  const addMiniApp = async () => {
58
- const response = await miniAppHost.addMiniApp()
58
+ // Use the existing message overcomlink for backwards compat until
59
+ // hosts are all upgraded.
60
+ const response = await miniAppHost.addFrame()
59
61
  if (response.result) {
60
62
  return response.result
61
63
  }