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

View File

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

View File

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

View File

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