starting jubmoji integration + package v bump for interfaces

This commit is contained in:
AtHeartEngineer
2023-11-04 20:25:41 +03:00
parent fc860fb8f8
commit 75d0d9ca27
7 changed files with 18 additions and 10 deletions

1
.gitignore vendored
View File

@@ -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
View File

@@ -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",

View File

@@ -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",

View File

@@ -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;

View File

@@ -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} />

View File

@@ -0,0 +1,2 @@
<script lang="ts">
</script>

View File

@@ -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>