added wallets embed

This commit is contained in:
2025-03-08 20:10:18 +02:00
committed by Nicola Benaglia
parent d8d6650edc
commit d62415e697
17 changed files with 299 additions and 88 deletions

View File

@@ -371,7 +371,7 @@ async function getUserPermission(payload, isFromExtension) {
});
}
export const getUserAccount = async ({ isFromExtension, appInfo }) => {
export const getUserAccount = async ({ isFromExtension, appInfo, skipAuth }) => {
try {
const value =
(await getPermission(`qAPPAutoAuth-${appInfo?.name}`)) || false;
@@ -379,6 +379,9 @@ export const getUserAccount = async ({ isFromExtension, appInfo }) => {
if (value) {
skip = true;
}
if(skipAuth){
skip = true
}
let resPermission;
if (!skip) {
resPermission = await getUserPermission(