Patrick Mulligan
748a2d3ed6
fix(handlers): await NostrSend calls throughout codebase
...
Docker Compose Actions Workflow / test (push) Has been cancelled
Update all NostrSend call sites to properly handle the async nature
of the function now that it returns Promise<void>.
Changes:
- handler.ts: Add async to sendResponse, await nostrSend calls
- debitManager.ts: Add logging for Kind 21002 response sending
- nostrMiddleware.ts: Update nostrSend signature
- tlvFilesStorageProcessor.ts: Update nostrSend signature
- webRTC/index.ts: Add async/await for nostrSend calls
This ensures Kind 21002 (ndebit) responses are properly sent to
wallet clients, fixing the "Debit request failed" issue in ShockWallet.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 14:38:24 -05:00
Patrick Mulligan
30d818c4d4
fix(nostr): update NostrSend type to Promise<void> with error handling
...
The NostrSend type was incorrectly typed as returning void when it actually
returns Promise<void>. This caused async errors to be silently swallowed.
Changes:
- Update NostrSend type signature to return Promise<void>
- Make NostrSender._nostrSend default to async function
- Add .catch() error handling in NostrSender.Send() to log failures
- Add logging to track event publishing status
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 14:37:56 -05:00
Justin (shocknet)
60459bd948
Merge pull request #868 from shocknet/txfix-notifications
...
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
fix missed tx + notification info
2026-01-21 13:51:27 -05:00
boufni95
01bfb7e028
fix
2026-01-21 18:46:32 +00:00
boufni95
0b9a2ee3d3
fix missed tx + notification info
2026-01-21 18:25:56 +00:00
Justin (shocknet)
4c58cab1d6
Merge pull request #858 from shocknet/swaps-test
...
Reverse Swaps + provider fixes + fees fixes
2026-01-19 13:13:23 -05:00
boufni95
07868a5a14
no negative max
2026-01-15 14:30:52 +00:00
boufni95
b356d804a2
fix typo and early return
2026-01-14 20:17:49 +00:00
boufni95
f6e425aed5
N swap services support
2026-01-14 19:39:27 +00:00
boufni95
9d082ea0a0
fix names
2026-01-12 17:08:35 +00:00
boufni95
5e49e74b22
zeus urls
2026-01-12 16:11:12 +00:00
boufni95
cd2d14a3bf
missing method def
2026-01-12 16:03:42 +00:00
boufni95
4077b0beca
fail cb + send before ready
2026-01-12 15:55:43 +00:00
boufni95
008d11d047
list admin swaps + payment state fixes
2026-01-10 14:21:54 +00:00
boufni95
0a385188ae
admin swaps
2026-01-09 17:04:51 +00:00
boufni95
e9a8865192
comments
2026-01-08 18:53:15 +00:00
Justin (shocknet)
cb755c9c01
Merge pull request #867 from shocknet/chain-catchup
...
check chain
2026-01-08 12:56:27 -05:00
boufni95
be9e7bc035
change addr cache
2026-01-08 17:52:07 +00:00
boufni95
ece291f0be
fixes
2026-01-08 17:34:32 +00:00
boufni95
f2503af80a
change outputs
2026-01-08 17:02:22 +00:00
shocknet-justin
b37b4f30c9
docker data_dir
2026-01-04 15:57:59 -05:00
shocknet-justin
6eca15020e
check height
2025-12-23 10:35:12 -05:00
shocknet-justin
203069227f
small funcs
2025-12-23 10:27:04 -05:00
shocknet-justin
8820e85bfd
root ops
2025-12-23 10:24:07 -05:00
shocknet-justin
e65bf8c451
root credit
2025-12-23 10:18:55 -05:00
shocknet-justin
dff50783bb
check chain
2025-12-23 10:11:31 -05:00
boufni95
d562ba0586
fix paid at unix on pending payment
2025-12-19 18:23:02 +00:00
Justin (shocknet)
edef0c0ef4
Merge pull request #866 from shocknet/provider-clarity
...
Provider clarity
2025-12-19 10:32:45 -05:00
boufni95
eca39a035f
local provider client rename
2025-12-19 15:28:38 +00:00
boufni95
5c93f29209
cleanup
2025-12-19 15:25:39 +00:00
boufni95
7733a9f377
ready is for connect
2025-12-19 15:22:26 +00:00
shocknet-justin
4b6216612f
clean
2025-12-19 02:28:35 -05:00
shocknet-justin
0a5f2eea93
clean
2025-12-19 02:24:00 -05:00
shocknet-justin
4a7e4660e7
rm debug logs
2025-12-19 02:18:44 -05:00
shocknet-justin
ddafc2db2a
debug
2025-12-19 02:06:31 -05:00
shocknet-justin
5902e6cc72
onready
2025-12-19 02:02:58 -05:00
shocknet-justin
412bf4716d
renames
2025-12-19 01:58:18 -05:00
shocknet-justin
2f4713ebae
provider nprofile
2025-12-19 01:32:39 -05:00
shocknet-justin
602146fa2c
lastSeenBeacon
2025-12-19 00:54:05 -05:00
boufni95
ade165aed1
fix
2025-12-18 21:22:59 +00:00
boufni95
284aa58a74
deb
2025-12-18 20:56:07 +00:00
boufni95
824e98f007
fixes and cleanup
2025-12-18 20:45:47 +00:00
boufni95
81229b3385
swap check + provider relay
2025-12-18 15:39:47 +00:00
shocknet-justin
c9305c34e8
validate swap from quote
2025-12-18 01:34:43 -05:00
shocknet-justin
6e0b19883b
renames
2025-12-18 01:27:27 -05:00
shocknet-justin
ca5f90be01
sanitize relay log
2025-12-18 01:23:29 -05:00
shocknet-justin
efa3976657
renames
2025-12-18 01:20:46 -05:00
shocknet-justin
ad8cd91aad
cleanup fee design
2025-12-18 01:05:48 -05:00
shocknet-justin
5cb1cd509d
better env example
2025-12-18 00:48:25 -05:00
shocknet-justin
766b5fd0d7
fee env
2025-12-18 00:15:52 -05:00