// let res = await register_bootstrap(bootstrap_iframe_msgs);
let encoded = base64UrlEncode(JSON.stringify(bootstrap_iframe_msgs));
// if (res !== true) {
let register_bootstrap_url =
// throw new Error(
bootstrap_redirect +
// "We could not save your bootstrap information at nextgraph.net. This is needed for links and third-party webapps to work properly. so we are stopping here. Reason: " +
encoded +
// res
"&close=1&m=add&ab=" +
// );
encodeURIComponent(window.location.href);
// }
console.log(register_bootstrap_url);
// }
window.open(register_bootstrap_url, "_blank");
}
let client = await ng.wallet_import(
let client = await ng.wallet_import(
wallet,
wallet,
event.detail.wallet,
event.detail.wallet,
@ -328,14 +334,38 @@
on:click={start_login_from_import}
on:click={start_login_from_import}
on:keypress={start_login_from_import}
on:keypress={start_login_from_import}
>
>
{#if$wallet_from_import.V0.content.password}
<divclass="pt-5">
<ArrowRightEndOnRectangle
class="w-16 h-16"
style="display:inline;"
/>
<div>
{#ifmobile}Tap{:else}Click{/if} here to login with your wallet