use setInterval() instead of nested setTimeout()s for pingpong.

prevent call stacks from building up
This commit is contained in:
fiatjaf
2025-12-05 21:44:41 -03:00
parent 693b262b7c
commit 0b6543e1a8
3 changed files with 12 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@nostr/tools",
"version": "2.19.1",
"version": "2.19.2",
"exports": {
".": "./index.ts",
"./core": "./core.ts",