diff --git a/packages/docs/examples/AddAssets.tsx b/packages/docs/examples/AddAssets.tsx index a0ef04811..2a7e31589 100644 --- a/packages/docs/examples/AddAssets.tsx +++ b/packages/docs/examples/AddAssets.tsx @@ -35,7 +35,7 @@ export function AddAssets() { const [handleAddAsset, isSingingMessage, errorSigningMessage] = useLoading( async (assets: Asset[]) => { - console.debug('Add Assets', assets); + console.log('Add Assets', assets); /* example:start */ await fuel.addAssets(assets); /* example:end */ diff --git a/packages/docs/examples/Connect.tsx b/packages/docs/examples/Connect.tsx index d6699a223..3dfa2ffcb 100644 --- a/packages/docs/examples/Connect.tsx +++ b/packages/docs/examples/Connect.tsx @@ -11,20 +11,20 @@ export function Connect() { const [connected, setConnected] = useState(false); const [handleConnect, isConnecting, errorConnect] = useLoading(async () => { - console.debug('Request connection to Wallet!'); + console.log('Request connection to Wallet!'); /* example:start */ const isConnected = await fuel.connect(); - console.debug('Connection response', isConnected); + console.log('Connection response', isConnected); /* example:end */ setConnected(isConnected); }); const [handleDisconnect, isDisconnecting, errorDisconnect] = useLoading( async () => { - console.debug('Request disconnection to Wallet!'); + console.log('Request disconnection to Wallet!'); await fuel.disconnect(); setConnected(false); - console.debug('Disconnection response'); + console.log('Disconnection response'); } ); diff --git a/packages/docs/examples/CurrentAccount.tsx b/packages/docs/examples/CurrentAccount.tsx index 0c9911a95..35be500c6 100644 --- a/packages/docs/examples/CurrentAccount.tsx +++ b/packages/docs/examples/CurrentAccount.tsx @@ -14,10 +14,10 @@ export function CurrentAccount() { const [currentAccount, setCurrentAccount] = useState(''); const [handleCurrentAccount, isLoadingCurrentAccount, errorCurrentAccount] = useLoading(async () => { - console.debug('Request currentAccount to Wallet!'); + console.log('Request currentAccount to Wallet!'); /* example:start */ const currentAccount = await fuel.currentAccount(); - console.debug('Current Account ', currentAccount); + console.log('Current Account ', currentAccount); /* example:end */ setCurrentAccount(currentAccount); }); diff --git a/packages/docs/examples/ListAccounts.tsx b/packages/docs/examples/ListAccounts.tsx index 34b59f57b..838817b1a 100644 --- a/packages/docs/examples/ListAccounts.tsx +++ b/packages/docs/examples/ListAccounts.tsx @@ -14,10 +14,10 @@ export function ListAccounts() { const [accounts, setAccounts] = useState>([]); const [handleGetAccounts, isLoadingAccounts, errorGetAccounts] = useLoading( async () => { - console.debug('Request accounts to Wallet!'); + console.log('Request accounts to Wallet!'); /* example:start */ const accounts = await fuel.accounts(); - console.debug('Accounts ', accounts); + console.log('Accounts ', accounts); /* example:end */ setAccounts(accounts); } diff --git a/packages/docs/examples/ListAssets.tsx b/packages/docs/examples/ListAssets.tsx index d1fa4e1ac..d895db076 100644 --- a/packages/docs/examples/ListAssets.tsx +++ b/packages/docs/examples/ListAssets.tsx @@ -15,10 +15,10 @@ export function ListAssets() { const [assets, setAssets] = useState>([]); const [handleGetAssets, isLoadingAssets, errorGetAssets] = useLoading( async () => { - console.debug('Request assets to Wallet!'); + console.log('Request assets to Wallet!'); /* example:start */ const assets = await fuel.assets(); - console.debug('Assets ', assets); + console.log('Assets ', assets); /* example:end */ setAssets(assets); } diff --git a/packages/docs/examples/SignMessage.tsx b/packages/docs/examples/SignMessage.tsx index 19b95fe43..1c1b33270 100644 --- a/packages/docs/examples/SignMessage.tsx +++ b/packages/docs/examples/SignMessage.tsx @@ -16,13 +16,13 @@ export function SignMessage() { const [handleSignMessage, isSingingMessage, errorSigningMessage] = useLoading( async (message: string) => { - console.debug('Request signature of message!'); + console.log('Request signature of message!'); /* example:start */ const accounts = await fuel.accounts(); const account = accounts[0]; const wallet = await fuel.getWallet(account); const signedMessage = await wallet.signMessage(message); - console.debug('Message signature', signedMessage); + console.log('Message signature', signedMessage); /* example:end */ setSignedMessage(signedMessage); } diff --git a/packages/docs/examples/Transfer.tsx b/packages/docs/examples/Transfer.tsx index e073f7b69..b12859c83 100644 --- a/packages/docs/examples/Transfer.tsx +++ b/packages/docs/examples/Transfer.tsx @@ -33,14 +33,14 @@ export function Transfer() { const [sendTransaction, sendingTransaction, errorSendingTransaction] = useLoading(async (amount: BN, addr: string, assetId: string) => { - console.debug('Request signature transaction!'); + console.log('Request signature transaction!'); /* example:start */ const accounts = await fuel.accounts(); const account = accounts[0]; const wallet = await fuel.getWallet(account); const toAddress = Address.fromString(addr); const response = await wallet.transfer(toAddress, amount, assetId); - console.debug('Transaction created!', response.id); + console.log('Transaction created!', response.id); /* example:end */ setProviderUrl(wallet.provider.url); setTxId(response.id);