UNPKG

@iexec/iapp

Version:

A CLI to guide you through the process of building an iExec iApp

15 lines (13 loc) 399 B
import type { Spinner } from './spinner.js'; import { askForAcknowledgment } from './askForAcknowledgment.js'; export async function warnBeforeTxFees({ spinner, }: { spinner: Spinner; }): Promise<void> { await askForAcknowledgment({ spinner, message: 'This method requires sending blockchain transactions, transaction fees will be applied. Would you like to continue?', }); }