Skip to content

@swapped/connect-sdk / core / SwappedRemoteConfigSnapshot

Type Alias: SwappedRemoteConfigSnapshot

SwappedRemoteConfigSnapshot = object

Defined in: src/config/remote-config.types.ts:276

Inspectable snapshot of remote config for one URL.

Call preloadRemoteConfig before creating a client to start the fetch early and speed up first load.

Properties

config

config: SwappedRemoteConfig

Defined in: src/config/remote-config.types.ts:277


error

error: string | null

Defined in: src/config/remote-config.types.ts:281


source

source: SwappedRemoteConfigSource

Defined in: src/config/remote-config.types.ts:279


status

status: SwappedRemoteConfigStatus

Defined in: src/config/remote-config.types.ts:278


url

url: string

Defined in: src/config/remote-config.types.ts:280