shernova_core library

Classes

Shernova
ShernovaClient
ShernovaConfig
ShernovaMaintenance
Maintenance announcement from the token response's maintenance field. Absent or inactive → the SDK behaves exactly as before this field existed.
ShernovaPollConfig
Runtime contract broadcast by the server in the token response's poll_config field. Older servers do not send this field; the SDK falls back to ShernovaPollConfig.defaults which preserves the pre-existing hardcoded values, so behaviour is identical when the field is absent.
ShernovaSession
ShernovaUiStrings
ShernovaUiTheme
Branding sizes and logo URL from Shernova API (ui_theme on /v1/sdk/token).
VerificationReceipt

Functions

mapShernovaStatus(String status) → ShernovaSessionStatus
normalizeShernovaLocale(String? languageCode) → String
Normalizes app / device locale codes to Shernova SDK locales (en or ar).

Exceptions / Errors

ShernovaError