@contentstack/mcp 0.5.1 → 0.5.2
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/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import dotenv from "dotenv";
|
|
|
13
13
|
// package.json
|
|
14
14
|
var package_default = {
|
|
15
15
|
name: "@contentstack/mcp",
|
|
16
|
-
version: "0.5.
|
|
16
|
+
version: "0.5.2",
|
|
17
17
|
main: "./dist/index.js",
|
|
18
18
|
type: "module",
|
|
19
19
|
publishConfig: {
|
|
@@ -262,7 +262,7 @@ var ContentstackOAuthHandler = class _ContentstackOAuthHandler {
|
|
|
262
262
|
while (!exitProgram) {
|
|
263
263
|
const { action } = await inquirer.prompt([
|
|
264
264
|
{
|
|
265
|
-
type: "
|
|
265
|
+
type: "select",
|
|
266
266
|
name: "action",
|
|
267
267
|
message: "Select an action:",
|
|
268
268
|
choices: [
|
|
@@ -289,7 +289,7 @@ var ContentstackOAuthHandler = class _ContentstackOAuthHandler {
|
|
|
289
289
|
async showAuthMenu() {
|
|
290
290
|
const { authAction } = await inquirer.prompt([
|
|
291
291
|
{
|
|
292
|
-
type: "
|
|
292
|
+
type: "select",
|
|
293
293
|
name: "authAction",
|
|
294
294
|
message: "Authorization actions:",
|
|
295
295
|
choices: [
|
|
@@ -455,7 +455,7 @@ var ContentstackOAuthHandler = class _ContentstackOAuthHandler {
|
|
|
455
455
|
}));
|
|
456
456
|
const { selectedRegion } = await inquirer.prompt([
|
|
457
457
|
{
|
|
458
|
-
type: "
|
|
458
|
+
type: "select",
|
|
459
459
|
name: "selectedRegion",
|
|
460
460
|
message: "Select your Contentstack region:",
|
|
461
461
|
choices
|