remove logs

This commit is contained in:
PhilReact 2024-11-12 21:08:01 +02:00
parent d2f1a0f9c9
commit a625a2ce67
4 changed files with 0 additions and 9 deletions

View File

@ -1272,7 +1272,6 @@ async function getDataPublishes(groupId, type) {
} }
async function sendChatForBuyOrder({ qortAddress, recipientPublicKey, message }) { async function sendChatForBuyOrder({ qortAddress, recipientPublicKey, message }) {
console.log('test3', qortAddress, recipientPublicKey, message)
let _reference = new Uint8Array(64); let _reference = new Uint8Array(64);
self.crypto.getRandomValues(_reference); self.crypto.getRandomValues(_reference);
@ -2013,7 +2012,6 @@ async function createBuyOrderTx({ crosschainAtInfo, useLocal }) {
export async function createBuyOrderTxQortalRequest({ crosschainAtInfo, isGateway, foreignBlockchain }) { export async function createBuyOrderTxQortalRequest({ crosschainAtInfo, isGateway, foreignBlockchain }) {
try { try {
console.log('test2', crosschainAtInfo, isGateway, foreignBlockchain)
if (!isGateway) { if (!isGateway) {
const wallet = await getSaveWallet(); const wallet = await getSaveWallet();
@ -3074,7 +3072,6 @@ async function getChatHeadsDirect() {
chrome?.runtime?.onMessage.addListener((request, sender, sendResponse) => { chrome?.runtime?.onMessage.addListener((request, sender, sendResponse) => {
if (request) { if (request) {
console.log('REQUEST MESSAGE', request)
switch (request.action) { switch (request.action) {
case "version": case "version":

View File

@ -370,7 +370,6 @@ isDOMContentLoaded: false
const sendMessageToRuntime = (message, eventPort) => { const sendMessageToRuntime = (message, eventPort) => {
chrome?.runtime?.sendMessage(message, (response) => { chrome?.runtime?.sendMessage(message, (response) => {
console.log('runtimeres', response)
if (response.error) { if (response.error) {
eventPort.postMessage({ eventPort.postMessage({
result: null, result: null,

View File

@ -49,7 +49,6 @@ function getLocalStorage(key) {
// Save the updated object back to storage // Save the updated object back to storage
await setLocalStorage({ qortalRequestPermissions }); await setLocalStorage({ qortalRequestPermissions });
console.log('Permission set for', key);
} catch (error) { } catch (error) {
console.error('Error setting permission:', error); console.error('Error setting permission:', error);
} }
@ -471,7 +470,6 @@ chrome?.runtime?.onMessage.addListener((request, sender, sendResponse) => {
} }
case "IS_USING_GATEWAY": { case "IS_USING_GATEWAY": {
isRunningGateway().then((res) => { isRunningGateway().then((res) => {
console.log('isusing', res)
sendResponse({isGateway: res}); sendResponse({isGateway: res});
}) })
.catch((error) => { .catch((error) => {

View File

@ -1446,7 +1446,6 @@ export const getWalletBalance = async (data, bypassPermission?: boolean, isFromE
} }
const value = (await getPermission(`qAPPAutoWalletBalance-${data.coin}`)) || false; const value = (await getPermission(`qAPPAutoWalletBalance-${data.coin}`)) || false;
console.log('value', value)
let skip = false; let skip = false;
if (value) { if (value) {
skip = true; skip = true;
@ -2489,7 +2488,6 @@ export const sendCoin = async (data, isFromExtension) => {
export const createBuyOrder = async (data, isFromExtension) => { export const createBuyOrder = async (data, isFromExtension) => {
console.log('data', data)
const requiredFields = [ const requiredFields = [
"crosschainAtInfo", "crosschainAtInfo",
"foreignBlockchain" "foreignBlockchain"
@ -2509,7 +2507,6 @@ export const createBuyOrder = async (data, isFromExtension) => {
const foreignBlockchain = data.foreignBlockchain const foreignBlockchain = data.foreignBlockchain
const crosschainAtInfo = data.crosschainAtInfo; const crosschainAtInfo = data.crosschainAtInfo;
const atAddresses = data.crosschainAtInfo?.map((order)=> order.qortalAtAddress); const atAddresses = data.crosschainAtInfo?.map((order)=> order.qortalAtAddress);
console.log('test', isGateway, foreignBlockchain , crosschainAtInfo, atAddresses)
try { try {
const resPermission = await getUserPermission({ const resPermission = await getUserPermission({
text1: "Do you give this application permission to perform a buy order?", text1: "Do you give this application permission to perform a buy order?",