mirror of
https://github.com/Discreetly/frontend.git
synced 2026-01-08 04:23:56 -05:00
starting jubmoji integration + package v bump for interfaces
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -9,3 +9,4 @@ node_modules
|
||||
vite.config.js.timestamp-*
|
||||
vite.config.ts.timestamp-*
|
||||
.vscode/settings.json
|
||||
*.example.proof.txt
|
||||
|
||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -20,7 +20,7 @@
|
||||
"@web3modal/wagmi": "^3.1.0",
|
||||
"autolinker": "^4.0.0",
|
||||
"date-fns": "^2.30.0",
|
||||
"discreetly-interfaces": "^0.1.39",
|
||||
"discreetly-interfaces": "^0.1.40",
|
||||
"dompurify": "^3.0.5",
|
||||
"idc-nullifier": "^0.0.6",
|
||||
"libsodium-wrappers": "^0.7.11",
|
||||
@@ -4522,9 +4522,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/discreetly-interfaces": {
|
||||
"version": "0.1.39",
|
||||
"resolved": "https://registry.npmjs.org/discreetly-interfaces/-/discreetly-interfaces-0.1.39.tgz",
|
||||
"integrity": "sha512-7YJxjsko9gyUcrxPiJbQomK0xmJItiyFmpzjdr0aZEVkpjWhbY5tA0li1tLxE2LdEwkdWTt1encO1lRbq2k/Uw==",
|
||||
"version": "0.1.40",
|
||||
"resolved": "https://registry.npmjs.org/discreetly-interfaces/-/discreetly-interfaces-0.1.40.tgz",
|
||||
"integrity": "sha512-hPz0xOxcESt7rEVrNOyJy2kU6Le4i2hAi7Cfd6i+TMlTk02Rbde4pVePhvBgr9C1tsKmk+bWzTXZ4wdaWyNJ7g==",
|
||||
"dependencies": {
|
||||
"@ethersproject/bytes": "^5.7.0",
|
||||
"@ethersproject/keccak256": "^5.7.0",
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
"@web3modal/wagmi": "^3.1.0",
|
||||
"autolinker": "^4.0.0",
|
||||
"date-fns": "^2.30.0",
|
||||
"discreetly-interfaces": "^0.1.39",
|
||||
"discreetly-interfaces": "^0.1.40",
|
||||
"dompurify": "^3.0.5",
|
||||
"idc-nullifier": "^0.0.6",
|
||||
"libsodium-wrappers": "^0.7.11",
|
||||
|
||||
@@ -40,6 +40,7 @@ export async function handleGatewayRequest<T>(
|
||||
alertQueue.enqueue('Already added to room', 'error');
|
||||
break;
|
||||
default:
|
||||
alertQueue.enqueue(result.message, 'error');
|
||||
break;
|
||||
}
|
||||
return null;
|
||||
|
||||
@@ -43,9 +43,11 @@
|
||||
{/if}
|
||||
{roomName}
|
||||
</h2>
|
||||
<div class="hidden sm:block ms-2 text-xs font-mono self-center">
|
||||
[{timeToNextEpoch.toFixed(1)}/{epochLengthSeconds}s]
|
||||
</div>
|
||||
{#if $configStore.beta}
|
||||
<div class="hidden sm:block ms-2 text-xs font-mono self-center">
|
||||
[{timeToNextEpoch.toFixed(0)}/{epochLengthSeconds}s]
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="flex flex-row">
|
||||
{#if connected && onlineMembers !== '?'}
|
||||
@@ -61,7 +63,9 @@
|
||||
</div>
|
||||
<div
|
||||
class="flex flex-row place-content-center"
|
||||
title={`These are action points, you get ${userMessageLimit} every ${epochLengthSeconds} seconds`}
|
||||
title={`These are action points, you get ${userMessageLimit} every ${epochLengthSeconds} seconds. [${timeToNextEpoch.toFixed(
|
||||
0
|
||||
)}/${epochLengthSeconds}s]`}
|
||||
>
|
||||
{#if $configStore.beta === true}<ExperienceMenu />{/if}
|
||||
<AP health={userMessageLimit - $messagesSent} maxHealth={userMessageLimit} />
|
||||
|
||||
2
src/routes/gateways/jubmoji/+page.svelte
Normal file
2
src/routes/gateways/jubmoji/+page.svelte
Normal file
@@ -0,0 +1,2 @@
|
||||
<script lang="ts">
|
||||
</script>
|
||||
@@ -43,7 +43,7 @@
|
||||
<div>Identity Backedup: {JSON.stringify($configStore.signUpStatus.identityBackedUp)}</div>
|
||||
<div>IdentityStore Type: {IdentityStoreE[$configStore.identityStore]}</div>
|
||||
<div on:click={toggleBeta}>Beta: {JSON.stringify($configStore.beta)}</div>
|
||||
<div on:click={toggleAnxiety}>Beta: {JSON.stringify($configStore.anxietyBar)}</div>
|
||||
<div on:click={toggleAnxiety}>AnxietyBar: {JSON.stringify($configStore.anxietyBar)}</div>
|
||||
<div>Hashed Password: {JSON.stringify($configStore.hashedPwd)}</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user