korext 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/korext.js +4 -3
- package/package.json +1 -1
package/bin/korext.js
CHANGED
|
@@ -234,7 +234,7 @@ program
|
|
|
234
234
|
console.log(chalk.dim('======================================='));
|
|
235
235
|
if (data.packs && data.packs.length > 0) {
|
|
236
236
|
data.packs.forEach((p) => {
|
|
237
|
-
console.log(`${chalk.bold(p.
|
|
237
|
+
console.log(`${chalk.bold(p.packId)} - ${p.packName || p.packId} ${p.isEnterprise ? chalk.bgRed.white(' ENTERPRISE ') : ''}`);
|
|
238
238
|
console.log(chalk.dim(` ${p.description || 'No description provided'}\n`));
|
|
239
239
|
});
|
|
240
240
|
} else {
|
|
@@ -369,7 +369,8 @@ program
|
|
|
369
369
|
language,
|
|
370
370
|
fileName: file,
|
|
371
371
|
packId: pack,
|
|
372
|
-
requestSignature: false
|
|
372
|
+
requestSignature: false,
|
|
373
|
+
asyncExplanations: false
|
|
373
374
|
})
|
|
374
375
|
});
|
|
375
376
|
|
|
@@ -1249,7 +1250,7 @@ program
|
|
|
1249
1250
|
'Content-Type': 'application/json',
|
|
1250
1251
|
...(token && { 'Authorization': `Bearer ${token}` })
|
|
1251
1252
|
},
|
|
1252
|
-
body: JSON.stringify({ fileContent, language, fileName: filePath, packId: pack, requestSignature: false })
|
|
1253
|
+
body: JSON.stringify({ fileContent, language, fileName: filePath, packId: pack, requestSignature: false, asyncExplanations: false })
|
|
1253
1254
|
});
|
|
1254
1255
|
if (res.ok) {
|
|
1255
1256
|
const result = await res.json();
|