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.js.timestamp-*
vite.config.ts.timestamp-* vite.config.ts.timestamp-*
.vscode/settings.json .vscode/settings.json
*.example.proof.txt

8
package-lock.json generated
View File

@@ -20,7 +20,7 @@
"@web3modal/wagmi": "^3.1.0", "@web3modal/wagmi": "^3.1.0",
"autolinker": "^4.0.0", "autolinker": "^4.0.0",
"date-fns": "^2.30.0", "date-fns": "^2.30.0",
"discreetly-interfaces": "^0.1.39", "discreetly-interfaces": "^0.1.40",
"dompurify": "^3.0.5", "dompurify": "^3.0.5",
"idc-nullifier": "^0.0.6", "idc-nullifier": "^0.0.6",
"libsodium-wrappers": "^0.7.11", "libsodium-wrappers": "^0.7.11",
@@ -4522,9 +4522,9 @@
} }
}, },
"node_modules/discreetly-interfaces": { "node_modules/discreetly-interfaces": {
"version": "0.1.39", "version": "0.1.40",
"resolved": "https://registry.npmjs.org/discreetly-interfaces/-/discreetly-interfaces-0.1.39.tgz", "resolved": "https://registry.npmjs.org/discreetly-interfaces/-/discreetly-interfaces-0.1.40.tgz",
"integrity": "sha512-7YJxjsko9gyUcrxPiJbQomK0xmJItiyFmpzjdr0aZEVkpjWhbY5tA0li1tLxE2LdEwkdWTt1encO1lRbq2k/Uw==", "integrity": "sha512-hPz0xOxcESt7rEVrNOyJy2kU6Le4i2hAi7Cfd6i+TMlTk02Rbde4pVePhvBgr9C1tsKmk+bWzTXZ4wdaWyNJ7g==",
"dependencies": { "dependencies": {
"@ethersproject/bytes": "^5.7.0", "@ethersproject/bytes": "^5.7.0",
"@ethersproject/keccak256": "^5.7.0", "@ethersproject/keccak256": "^5.7.0",

View File

@@ -70,7 +70,7 @@
"@web3modal/wagmi": "^3.1.0", "@web3modal/wagmi": "^3.1.0",
"autolinker": "^4.0.0", "autolinker": "^4.0.0",
"date-fns": "^2.30.0", "date-fns": "^2.30.0",
"discreetly-interfaces": "^0.1.39", "discreetly-interfaces": "^0.1.40",
"dompurify": "^3.0.5", "dompurify": "^3.0.5",
"idc-nullifier": "^0.0.6", "idc-nullifier": "^0.0.6",
"libsodium-wrappers": "^0.7.11", "libsodium-wrappers": "^0.7.11",

View File

@@ -40,6 +40,7 @@ export async function handleGatewayRequest<T>(
alertQueue.enqueue('Already added to room', 'error'); alertQueue.enqueue('Already added to room', 'error');
break; break;
default: default:
alertQueue.enqueue(result.message, 'error');
break; break;
} }
return null; return null;

View File

@@ -43,9 +43,11 @@
{/if} {/if}
{roomName} {roomName}
</h2> </h2>
<div class="hidden sm:block ms-2 text-xs font-mono self-center"> {#if $configStore.beta}
[{timeToNextEpoch.toFixed(1)}/{epochLengthSeconds}s] <div class="hidden sm:block ms-2 text-xs font-mono self-center">
</div> [{timeToNextEpoch.toFixed(0)}/{epochLengthSeconds}s]
</div>
{/if}
</div> </div>
<div class="flex flex-row"> <div class="flex flex-row">
{#if connected && onlineMembers !== '?'} {#if connected && onlineMembers !== '?'}
@@ -61,7 +63,9 @@
</div> </div>
<div <div
class="flex flex-row place-content-center" 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} {#if $configStore.beta === true}<ExperienceMenu />{/if}
<AP health={userMessageLimit - $messagesSent} maxHealth={userMessageLimit} /> <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>Identity Backedup: {JSON.stringify($configStore.signUpStatus.identityBackedUp)}</div>
<div>IdentityStore Type: {IdentityStoreE[$configStore.identityStore]}</div> <div>IdentityStore Type: {IdentityStoreE[$configStore.identityStore]}</div>
<div on:click={toggleBeta}>Beta: {JSON.stringify($configStore.beta)}</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>Hashed Password: {JSON.stringify($configStore.hashedPwd)}</div>
</div> </div>
<div> <div>