🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

complex-request

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

complex-request - npm Package Compare versions

Comparing version
0.5.7
to
0.5.8
+3
-0
history.md
### 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": {

@@ -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