chore(messageI) room -> roomId to avoid db conflicts

This commit is contained in:
2023-07-28 14:06:10 -04:00
parent 9af083bfbe
commit b489558e99
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "discreetly-interfaces",
"version": "0.1.20",
"version": "0.1.21",
"description": "Common interfaces and utilities for discreetly",
"author": "AtHeartEngineer",
"homepage": "https://github.com/Discreetly",

View File

@@ -22,7 +22,7 @@ export interface RLNContractI {
export interface MessageI {
id?: string; // database ID
messageId?: string; // internal nullifier as string
room?: RLNFullProof['rlnIdentifier'];
roomId?: RLNFullProof['rlnIdentifier'];
message: string;
proof?: RLNFullProof;
epoch?: number | bigint;