Skip to main content

Interface: IRuntimeServices

Defined in: src/providers/react/types/runtime-services.ts:19

Assembled service implementations exposed by RuntimeProviders.

The consumer passes these to createRuntime — bridging the React provider tree to the runtime's service contracts.

Properties

auth

auth: IAuthService

Defined in: src/providers/react/types/runtime-services.ts:21

Authentication service built from the auth provider bridge


error?

optional error?: IErrorService

Defined in: src/providers/react/types/runtime-services.ts:42

Provider-agnostic error reporting service (optional)


monetization?

optional monetization?: IMonetizationModalContextValue

Defined in: src/providers/react/types/runtime-services.ts:40

Checkout modal controls (openCheckout / closeCheckout) sourced from the monetization provider bridge — the same surface useMonetizationModal exposes, lifted onto the assembled services so host code can trigger checkout through useRuntimeServices() without reaching into the monetization context directly.

Optional because the bare assembled snapshot reported to onServicesReady is built before the monetization context is in scope; the React context value always carries it (no-ops when monetization is disabled, since the context default is a no-op pair).


pulse

pulse: IPulseService

Defined in: src/providers/react/types/runtime-services.ts:23

Pulse analytics service built from the pulse provider bridge


stateProvider

stateProvider: IStorm<IRuntimeState>

Defined in: src/providers/react/types/runtime-services.ts:48

The single runtime storm. All bridges write into this; all consumers (host hooks, miniapp setters, service adapters) read from it. There is exactly one instance per runtime lifecycle.


ui

ui: IUIService

Defined in: src/providers/react/types/runtime-services.ts:27

UI service built from the design system provider bridge


user

user: IUserService

Defined in: src/providers/react/types/runtime-services.ts:25

User service built from the monetization provider bridge