@andbridge/glowpod 1.1.0 → 1.1.2

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.
@@ -14,6 +14,7 @@ import { InterceptorsOptions } from "../model/model";
14
14
  * @param options.responseStruct.codeName 状态码字段名,默认为"code"
15
15
  * @param options.responseStruct.messageName 消息字段名,默认为"message"
16
16
  * @param options.responseStruct.dataName 数据字段名,默认为"data"
17
+ * @param options.setHeaders 动态设置请求头
17
18
  * @returns void
18
19
  */
19
20
  export declare const setupInterceptors: ({ instance, authFailedCaller, networkSuccessCode, authFailedCode, networkFailedCaller, serverKillCaller, responseStruct, setHeaders, }: InterceptorsOptions & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andbridge/glowpod",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "A axios-based HTTP client library",
5
5
  "main": "build/glowpod.js",
6
6
  "module": "build/glowpod.esm.js",