@tbox.cn/app-contracts 0.13.4 → 0.13.5
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.
- package/dist/providers.d.ts +5 -0
- package/package.json +1 -1
package/dist/providers.d.ts
CHANGED
|
@@ -63,6 +63,11 @@ export interface AuthenticatedTransport {
|
|
|
63
63
|
body?: unknown;
|
|
64
64
|
timeoutMs?: number;
|
|
65
65
|
extraHeaders?: Record<string, string>;
|
|
66
|
+
/** 请求级 baseUrl 覆盖(任务12 通用扩展——固定地址供给厂商):缺席时沿用 transport
|
|
67
|
+
* 工厂闭包 baseUrl(instance.config.baseUrl——既有行为零变化);在场时本请求用此值
|
|
68
|
+
* 构造 URL(HTTPS 强制/超时/熔断/响应上限等公共链路约束不变)。属最小通用能力,
|
|
69
|
+
* 平台层不承载任何厂商常量——值由调用方(厂商 provider 代码)提供。 */
|
|
70
|
+
baseUrl?: string;
|
|
66
71
|
}): Promise<unknown>;
|
|
67
72
|
}
|
|
68
73
|
/** resolve 产物:传输层 + 只读实例(模块 connector 构造输入) */
|