complex-request
Advanced tools
+3
-0
| ### ToDo | ||
| - 刷新Token实现 | ||
| ### 0.5.8 | ||
| - complex-plugin版本升级 | ||
| ### 0.5.6/7 | ||
@@ -5,0 +8,0 @@ - failNotice => fail |
+2
-2
| { | ||
| "name": "complex-request", | ||
| "version": "0.5.7", | ||
| "version": "0.5.8", | ||
| "description": "a complex request", | ||
@@ -11,3 +11,3 @@ "main": "index.ts", | ||
| "dependencies": { | ||
| "complex-plugin": "4.6.1 - 4.6.99" | ||
| "complex-plugin": "4.6.3 - 4.6.99" | ||
| }, | ||
@@ -14,0 +14,0 @@ "devDependencies": { |
+1
-1
@@ -132,3 +132,3 @@ import { isExist, storage, appendProp } from 'complex-utils' | ||
| if (location === 'body') { | ||
| appendProp(requestConfig.data, tokenName, value, requestConfig.currentType) | ||
| appendProp(requestConfig.data as Record<PropertyKey, unknown>, tokenName, value, requestConfig.currentType as 'json') | ||
| } else if (location === 'header') { | ||
@@ -135,0 +135,0 @@ requestConfig.headers[tokenName] = value as string |
38345
0.21%