Skip to content

WebbiSDK

The main entry point for the WebbiOS SDK. Provides unified access to all API modules.

new WebbiSDK(options?): WebbiSDK

Initializes a new WebbiSDK instance.

WebbiSDKOptions

Configuration options for the SDK.

WebbiSDK

auth: AuthModule

Authentication module


client: ApiClient

The core API client instance


dashboard: DashboardModule

Dashboard module


products: ProductsModule

Products module

onAuthError(callback): void

Sets a callback to be triggered when an authentication error occurs.

() => void

The function to call on auth error.

void


setToken(token): void

Updates the authentication token across the entire SDK.

string

The new JWT access token.

void