applesauce-core
Advanced tools
Comparing version 0.0.0-next-20241126195214 to 0.0.0-next-20241126222927
@@ -9,3 +9,3 @@ import { kinds } from "nostr-tools"; | ||
import { addSeenRelay } from "../helpers/relays.js"; | ||
import { getDeleteIds } from "../helpers/delete.js"; | ||
import { getDeleteCoordinates, getDeleteIds } from "../helpers/delete.js"; | ||
export class EventStore { | ||
@@ -55,3 +55,3 @@ database; | ||
} | ||
const coords = getDeleteIds(deleteEvent); | ||
const coords = getDeleteCoordinates(deleteEvent); | ||
for (const coord of coords) { | ||
@@ -58,0 +58,0 @@ this.deletedCoords.set(coord, Math.max(this.deletedCoords.get(coord) ?? 0, deleteEvent.created_at)); |
{ | ||
"name": "applesauce-core", | ||
"version": "0.0.0-next-20241126195214", | ||
"version": "0.0.0-next-20241126222927", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
138561