uniapp-request-sdk 1.3.6 → 1.3.7
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/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ interface IParams {
|
|
|
22
22
|
/** 传入的token前缀,默认Bearer ,注意Bearer有个空字符串*/
|
|
23
23
|
tokenPrefix?: string;
|
|
24
24
|
/** 自定义得到token的函数,默认使用从客户端获取token的方式 */
|
|
25
|
-
getTokenFun
|
|
25
|
+
getTokenFun?: () => Promise<string>;
|
|
26
26
|
}
|
|
27
27
|
declare class UniRequest {
|
|
28
28
|
/** 基准路径 */
|