From 495f19b56d3560546ee16e74f15b92e6a825d205 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Thu, 26 Oct 2023 10:53:58 -0700 Subject: [PATCH] Add now for real --- package.json | 2 +- src/util/nostr.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 918e76a..d418411 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "paravel", - "version": "0.3.8", + "version": "0.3.9", "description": "Yet another toolkit for nostr", "author": "hodlbod", "license": "MIT", diff --git a/src/util/nostr.ts b/src/util/nostr.ts index 506e798..56c7053 100644 --- a/src/util/nostr.ts +++ b/src/util/nostr.ts @@ -5,7 +5,7 @@ import {cached} from "./LRUCache" // =========================================================================== // General-purpose -const now = () => Math.round(Date.now() / 1000) +export const now = () => Math.round(Date.now() / 1000) // =========================================================================== // Relays