Skip to content

ResolvedSdkConfig

ResolvedSdkConfig = { attribution?: AttributionDefaults; components?: ResolvedPlacement["components"]; css?: string; currency?: Currency; hidden?: boolean; homepageLink?: string; lang?: Language; logoUrl?: string; name?: string; placements?: Record<string, ResolvedPlacement>; translations?: Record<string, string>; }

Defined in: types/resolvedConfig.ts:74

Resolved SDK config from backend /resolve endpoint Language resolution and translation merging already applied

optional attribution?: AttributionDefaults

Defined in: types/resolvedConfig.ts:92

Default attribution params applied when building outbound sharing URLs. Per-call overrides win over these backend defaults; utm_content is intentionally excluded (per-content/per-product, never a merchant default).


optional components?: ResolvedPlacement["components"]

Defined in: types/resolvedConfig.ts:86

Global component defaults (used when no placement override exists)


optional css?: string

Defined in: types/resolvedConfig.ts:82


optional currency?: Currency

Defined in: types/resolvedConfig.ts:78


optional hidden?: boolean

Defined in: types/resolvedConfig.ts:81

When true, all SDK components should be hidden


optional homepageLink?: string

Defined in: types/resolvedConfig.ts:77


optional lang?: Language

Defined in: types/resolvedConfig.ts:79


optional logoUrl?: string

Defined in: types/resolvedConfig.ts:76


optional name?: string

Defined in: types/resolvedConfig.ts:75


optional placements?: Record<string, ResolvedPlacement>

Defined in: types/resolvedConfig.ts:84


optional translations?: Record<string, string>

Defined in: types/resolvedConfig.ts:83