@kentico/kontent-cli
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -18,2 +18,3 @@ "use strict"; | ||
const dotEnv = __importStar(require("dotenv")); | ||
const retryAbleCodes = [429, 503]; | ||
dotEnv.config(); | ||
@@ -54,3 +55,3 @@ exports.createManagementClient = (params) => { | ||
canRetryError: (error) => { | ||
return true; | ||
return retryAbleCodes.includes(error.response.status); | ||
} | ||
@@ -57,0 +58,0 @@ } |
{ | ||
"name": "@kentico/kontent-cli", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Command line interface tool that can be used for generating and running Kontent migration scripts", | ||
@@ -47,5 +47,5 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@kentico/kontent-management": "0.3.13", | ||
"chalk": "^2.4.2", | ||
"yargs": "^14.2.0" | ||
"yargs": "^14.2.0", | ||
"@kentico/kontent-management": "~0.3.17" | ||
}, | ||
@@ -52,0 +52,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
83659
931
+ Added@kentico/kontent-management@0.3.20(transitive)
- Removed@kentico/kontent-management@0.3.13(transitive)