@sp-api-sdk/common
Advanced tools
Comparing version 1.9.9 to 1.9.10
@@ -42,9 +42,2 @@ "use strict"; | ||
} | ||
// Replace + encoded spaces to %20 | ||
instance.interceptors.request.use(async (config) => { | ||
const url = new URL(config.url); | ||
url.search = url.search.replace(/\+/g, ' '); | ||
config.url = url.toString(); | ||
return config; | ||
}); | ||
// Set x-amz-access-token to each request | ||
@@ -51,0 +44,0 @@ instance.interceptors.request.use(async (config) => { |
@@ -38,9 +38,2 @@ import { aws4Interceptor } from 'aws4-axios'; | ||
} | ||
// Replace + encoded spaces to %20 | ||
instance.interceptors.request.use(async (config) => { | ||
const url = new URL(config.url); | ||
url.search = url.search.replace(/\+/g, ' '); | ||
config.url = url.toString(); | ||
return config; | ||
}); | ||
// Set x-amz-access-token to each request | ||
@@ -47,0 +40,0 @@ instance.interceptors.request.use(async (config) => { |
@@ -5,3 +5,3 @@ { | ||
"description": "Selling Parner API common library", | ||
"version": "1.9.9", | ||
"version": "1.9.10", | ||
"main": "dist/cjs/index.js", | ||
@@ -63,3 +63,3 @@ "module": "dist/es/index.js", | ||
}, | ||
"gitHead": "6e5341c171eec45c0956f2333c20a568a3f878b2" | ||
"gitHead": "c2cc8d123f88635927e62886091c2bd100029673" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18214
386