@musterbox/sdk-js,
@musterbox/sdk-ts) over the compiled core (@musterbox/sdk-wasm). The API
is camelCase and mirrors the native surface. Language baseline ES2020.
Install
Publication to the public npm registry is not live yet — vendor the tarball and pin 1.0.0.
Create a MusterBox instance
Lifecycle
API surface (camelCase)
Event listeners
Security
- The game key is public by design here: it must be origin-bound, and the browser is never the source of truth for outcomes or purchases.
- Token refresh happens inside the wrapper — your code never touches JWT.
- WebGL/HTML5 builds from Unity and Defold reuse the same core through their own bridges (available in the packaged templates).
Support matrix
Next: Secure purchases.

