create-solana-dapp
Advanced tools
Comparing version 2.2.0-beta.10 to 2.2.0-beta.11
@@ -45,3 +45,4 @@ "use strict"; | ||
if (options.anchor) { | ||
prompts_1.log.success(`Anchor template: ${options.anchor}`); | ||
const anchor = anchorTemplates.find((a) => a.value === options.anchor); | ||
prompts_1.log.success(`Anchor template: ${anchor.label}`); | ||
return Promise.resolve(options.anchor); | ||
@@ -57,2 +58,3 @@ } | ||
const anchorProgram = options.anchorProgram.length ? options.anchorProgram : (_a = results.name) !== null && _a !== void 0 ? _a : 'my-program'; | ||
prompts_1.log.success(`Anchor program name: ${anchorProgram}`); | ||
return Promise.resolve(anchorProgram); | ||
@@ -59,0 +61,0 @@ }, |
{ | ||
"name": "create-solana-dapp", | ||
"version": "2.2.0-beta.10", | ||
"version": "2.2.0-beta.11", | ||
"description": "Get up and running fast with Solana dApps", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
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
46432
623