SdkResolvedConfig
SdkResolvedConfig = {
allowedDomains?:string[];attribution?:AttributionDefaults;components?:ResolvedPlacement["components"];css?:string;currency?:Currency;domain?:string;hasRawSdkConfig?:boolean;hidden?:boolean;homepageLink?:string;isResolved:boolean;lang?:Language;logoUrl?:string;merchantId:string;name?:string;placements?:Record<string,ResolvedPlacement>;translations?:Record<string,string>; }
Defined in: types/resolvedConfig.ts:101
Internal SDK config store state Merged config: backend > SDK static > defaults Components subscribe to this reactively
Properties
Section titled “Properties”allowedDomains?
Section titled “allowedDomains?”
optionalallowedDomains?:string[]
Defined in: types/resolvedConfig.ts:112
Domains allowed for this merchant (used by iframe trust check)
attribution?
Section titled “attribution?”
optionalattribution?:AttributionDefaults
Defined in: types/resolvedConfig.ts:140
Merged attribution defaults: backend > SDK static config
components?
Section titled “components?”
optionalcomponents?:ResolvedPlacement["components"]
Defined in: types/resolvedConfig.ts:137
Global component defaults (fallback for placement-level overrides)
optionalcss?:string
Defined in: types/resolvedConfig.ts:128
Global CSS from backend config (passed to iframe)
currency?
Section titled “currency?”
optionalcurrency?:Currency
Defined in: types/resolvedConfig.ts:122
domain?
Section titled “domain?”
optionaldomain?:string
Defined in: types/resolvedConfig.ts:109
Domain returned by the resolve endpoint
hasRawSdkConfig?
Section titled “hasRawSdkConfig?”
optionalhasRawSdkConfig?:boolean
Defined in: types/resolvedConfig.ts:115
Whether the resolve returned a backend sdkConfig object
hidden?
Section titled “hidden?”
optionalhidden?:boolean
Defined in: types/resolvedConfig.ts:125
When true, all SDK components should be hidden
homepageLink?
Section titled “homepageLink?”
optionalhomepageLink?:string
Defined in: types/resolvedConfig.ts:120
isResolved
Section titled “isResolved”isResolved:
boolean
Defined in: types/resolvedConfig.ts:103
Whether the backend config has been resolved
optionallang?:Language
Defined in: types/resolvedConfig.ts:121
logoUrl?
Section titled “logoUrl?”
optionallogoUrl?:string
Defined in: types/resolvedConfig.ts:119
merchantId
Section titled “merchantId”merchantId:
string
Defined in: types/resolvedConfig.ts:106
Merchant ID from resolution
optionalname?:string
Defined in: types/resolvedConfig.ts:118
Merged metadata fields
placements?
Section titled “placements?”
optionalplacements?:Record<string,ResolvedPlacement>
Defined in: types/resolvedConfig.ts:134
Named placements (keyed by placement ID)
translations?
Section titled “translations?”
optionaltranslations?:Record<string,string>
Defined in: types/resolvedConfig.ts:131
Global translations (for reference / component fallback)