@commercelayer/cli-plugin-resources
Advanced tools
Comparing version 6.0.7 to 6.0.8
@@ -188,3 +188,3 @@ "use strict"; | ||
barIncompleteChar: '\u2591', | ||
hideCursor: true, | ||
hideCursor: true | ||
}); | ||
@@ -194,7 +194,8 @@ const delay = cli_core_1.clApi.requestRateLimitDelay({ | ||
resourceType: resource.api, | ||
totalRequests: pages | ||
}); | ||
do { | ||
page++; | ||
if ((page > 1) && (pages > 50)) | ||
await base_1.cliux.wait(delay); | ||
if (page > 1) | ||
await cli_core_1.clUtil.sleep(delay); | ||
jwtData = await this.checkAccessToken(jwtData, flags, cl); | ||
@@ -201,0 +202,0 @@ params.pageNumber = page; |
{ | ||
"name": "@commercelayer/cli-plugin-resources", | ||
"description": "Commerce Layer CLI Resources plugin", | ||
"version": "6.0.7", | ||
"version": "6.0.8", | ||
"author": "Pierluigi Viti <pierluigi@commercelayer.io>", | ||
@@ -70,3 +70,3 @@ "homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-resources", | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^20.12.12", | ||
"@types/node": "^20.12.13", | ||
"@types/node-notifier": "^8.0.5", | ||
@@ -77,10 +77,10 @@ "chai": "^4.4.1", | ||
"nyc": "^15.1.0", | ||
"oclif": "^4.10.15", | ||
"oclif": "^4.11.3", | ||
"semantic-release": "^23.1.1", | ||
"tsx": "^4.10.5", | ||
"tsx": "^4.11.0", | ||
"typescript": "^5.4.5" | ||
}, | ||
"dependencies": { | ||
"@commercelayer/cli-core": "^5.0.2", | ||
"@commercelayer/sdk": "^6.2.0", | ||
"@commercelayer/cli-core": "^5.0.3", | ||
"@commercelayer/sdk": "^6.3.0", | ||
"@oclif/core": "^3.26.6", | ||
@@ -87,0 +87,0 @@ "inquirer": "^8.2.6", |
Sorry, the diff of this file is too big to display
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
290003
6712
Updated@commercelayer/sdk@^6.3.0