@jetlinks-web/core 2.2.3 → 2.2.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/axios.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetlinks-web/core",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "main": "index.ts",
5
5
  "module": "index.ts",
6
6
  "keywords": [
package/src/axios.ts CHANGED
@@ -18,7 +18,7 @@ interface Options {
18
18
  code?: number
19
19
  codeKey?: string
20
20
  timeout?: number
21
- handleRequest?: () => void
21
+ handleRequest?: (config: InternalAxiosRequestConfig) => InternalAxiosRequestConfig
22
22
  /**
23
23
  * 用以获取localstorage中的lang
24
24
  */