@sp-api-sdk/common
Advanced tools
@@ -40,6 +40,6 @@ "use strict"; | ||
| exports.createAxiosInstance = createAxiosInstance; | ||
| const auth_1 = require("@sp-api-sdk/auth"); | ||
| const axios_1 = __importStar(require("axios")); | ||
| const axios_logger_1 = require("axios-logger"); | ||
| const axios_retry_1 = __importDefault(require("axios-retry")); | ||
| const auth_1 = require("@sp-api-sdk/auth"); | ||
| const errors_1 = require("./errors"); | ||
@@ -46,0 +46,0 @@ const regions_1 = require("./regions"); |
+1
-1
@@ -1,5 +0,5 @@ | ||
| import { SellingPartnerApiAuthError } from '@sp-api-sdk/auth'; | ||
| import axios, { isAxiosError } from 'axios'; | ||
| import { errorLogger, requestLogger, responseLogger } from 'axios-logger'; | ||
| import axiosRetry from 'axios-retry'; | ||
| import { SellingPartnerApiAuthError } from '@sp-api-sdk/auth'; | ||
| import { SellingPartnerApiError } from './errors'; | ||
@@ -6,0 +6,0 @@ import { sellingPartnerRegions } from './regions'; |
@@ -1,4 +0,4 @@ | ||
| import { type SellingPartnerApiAuth } from '@sp-api-sdk/auth'; | ||
| import axios, { type AxiosError, type Method } from 'axios'; | ||
| import { errorLogger, requestLogger, responseLogger } from 'axios-logger'; | ||
| import { type SellingPartnerApiAuth } from '@sp-api-sdk/auth'; | ||
| import { type SellingPartnerRegion } from './regions'; | ||
@@ -5,0 +5,0 @@ type RequestLogConfig = Exclude<Parameters<typeof requestLogger>[1], undefined>; |
+4
-4
@@ -5,3 +5,3 @@ { | ||
| "description": "Selling Parner API common library", | ||
| "version": "2.1.26", | ||
| "version": "2.1.27", | ||
| "main": "dist/cjs/index.js", | ||
@@ -23,4 +23,4 @@ "module": "dist/es/index.js", | ||
| "dependencies": { | ||
| "@sp-api-sdk/auth": "2.2.20", | ||
| "axios": "^1.13.2", | ||
| "@sp-api-sdk/auth": "2.2.21", | ||
| "axios": "^1.13.4", | ||
| "axios-logger": "^2.8.1", | ||
@@ -48,3 +48,3 @@ "axios-retry": "^4.5.0", | ||
| ], | ||
| "gitHead": "650fb0a15023db11b60d7de2c61a4592c2523d28" | ||
| "gitHead": "9719d5934bed9715406acc691a8334148345a588" | ||
| } |
+ Added
- Removed
Updated
Updated