From a6913967a9a9475a71f85cffb4bc56c203c0eb88 Mon Sep 17 00:00:00 2001 From: James Pacheco Date: Wed, 27 Sep 2023 14:55:04 -0600 Subject: [PATCH 1/2] Remove universal from prompts --- core/create-app.tsx | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/core/create-app.tsx b/core/create-app.tsx index dcedfa6..b227564 100644 --- a/core/create-app.tsx +++ b/core/create-app.tsx @@ -97,7 +97,7 @@ export async function createApp(config: CreateMagicAppConfig) { message: 'Select a configuration to start with:', choices: [ { name: 'quickstart', message: 'Quickstart (Nextjs, Polygon Testnet, Email OTP)' }, - { name: 'custom', message: 'Custom Setup (Choose product, network, etc.)' }, + { name: 'custom', message: 'Custom Setup (Choose network, login methods, etc.)' }, ], }).run(); @@ -166,22 +166,9 @@ export async function createApp(config: CreateMagicAppConfig) { } if (!product) { - product = await new Select({ - name: 'product', - message: 'Choose your wallet type', - choices: [ - { name: 'dedicated', message: 'Dedicated' }, - { name: 'universal', message: 'Universal' }, - ], - }).run(); + product = 'dedicated'; - if (product === 'universal') { - if (chain === 'flow') { - config.template = 'nextjs-flow-universal-wallet'; - } else { - config.template = 'nextjs-universal-wallet'; - } - } else if (chain === 'flow') { + if (chain === 'flow') { config.template = 'nextjs-flow-dedicated-wallet'; } else { config.template = 'nextjs-dedicated-wallet'; From fe1ac2e1eaa49bb04587878e9d0f788d7ee9e94d Mon Sep 17 00:00:00 2001 From: James Pacheco Date: Wed, 27 Sep 2023 14:56:30 -0600 Subject: [PATCH 2/2] v4.4.1 --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c446ecc..94944ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v4.4.1 (Wed Sep 27 2023) + +#### 🚀 Enhancement + +- Remove Universal option from prompts (it remains available in flags) + # v4.4.0 (Wed Sep 27 2023) #### 🚀 Enhancement diff --git a/package.json b/package.json index 12eb975..d393122 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "make-magic", - "version": "4.4.0", + "version": "4.4.1", "description": "A tool for quickly scaffolding an app with Magic authentication baked-in!", "repository": "magiclabs/create-magic-app", "license": "MIT",