@lovrabet/sdk 1.2.6 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,11 @@ export declare class HttpClient {
|
|
|
4
4
|
private authManager;
|
|
5
5
|
private errorHandler;
|
|
6
6
|
constructor(config: ClientConfig, authManager: AuthManager);
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* 获取 API 基础地址
|
|
9
|
+
* 优先级:serverUrl > window.__GLOBAL__.deploymentConfig.RUNTIME_API_DOMAIN > getApiEndpoint(env)
|
|
10
|
+
*/
|
|
11
|
+
getBaseUrl(): string;
|
|
8
12
|
private getFullUrl;
|
|
9
13
|
/**
|
|
10
14
|
* 准备请求的通用逻辑:认证头、Cookie配置等
|