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/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'; 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",