Closing and legacy methods
sdk.ready() // your first screen is painted: remove the host's loading overlay
sdk.close() // close the mini app (same as the user tapping ✕)
Older mini apps may still use these. You do not need them:
| Method | What it does today |
|---|---|
setHeader(params) | Nothing. The native header is hidden; draw your own. |
postMessage(action, params) | Sends a raw bridge message. Prefer the typed methods. |