Skip to content

xray-network/xray-mini-app-sdk

Repository files navigation

XRAY Mini App SDK Monorepo

Framework-agnostic tooling that lets XRAY Mini Apps talk to host shells, plus React hooks on top of the core messenger.

Packages

  • xray-mini-app-sdk – core messaging utilities, types, and constants for secure iframe communication.
  • xray-mini-app-sdk-react – React hooks that wrap the core messenger for idiomatic host and client patterns.

Key scripts

  • yarn install – install dependencies.
  • yarn build – runs tsc in every workspace.
  • yarn clean – removes dist folders for each package (if the package defines the script).
  • yarn publish:core / yarn publish:react – publishes the respective package to npm (--access public is pre-configured).

Publishing Checklist

  1. Update versions in the relevant package(s).
  2. Run yarn install if dependencies changed to refresh the lockfile.
  3. Run yarn build to verify the emitted bundles.
  4. Publish with yarn publish:core or yarn publish:react.

Both packages ship TypeScript declarations alongside ESM builds, so they work out of the box in modern bundlers.

About

XRAY Mini App SDK Monorepo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published