stacker.news/worker
ekzyis 06b661625c
Use custom relay API (#1302)
* Use custom relay API

Relay from nostr-tools was cumbersome to use. This custom abstraction over window.WebSocket makes interacting with nostr relays easier.

* Use variables for nostr message parts

* Fix NWC save

* Use try/finally

* Refactor crossposting code

* use custom replay API
* simplify callWithTimeout

* Use isomorphic-ws for nip57 zap receipts

* Use async map

* Reject with timeout error

* Move time functions into lib/time

* Remove outdated comment regarding relay.close()
2024-08-18 17:28:39 -05:00
..
Dockerfile add sndev shell script and enhance docker compose local dev 2024-03-13 09:04:09 -05:00
auction.js Merge serializeInvoiceable with serialize without bug (#1051) 2024-04-09 19:49:20 -05:00
autowithdraw.js improve autowithdraw recent failure check 2024-08-18 14:06:17 -05:00
deleteUnusedImages.js Allow SN users to edit special items forever (#1204) 2024-06-03 11:26:19 -05:00
earn.js allow db connection limit and timeout configuration 2024-07-16 13:42:09 -05:00
ephemeralItems.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
imgproxy.js print imgproxy dimensions error 2024-07-04 17:54:54 -05:00
index.js not-custodial zap beta (#1178) 2024-08-13 09:48:30 -05:00
nostr.js Use custom relay API (#1302) 2024-08-18 17:28:39 -05:00
ofac.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
ots.js territories 2023-12-04 21:34:06 -06:00
package.json Convert worker to ESM (#500) 2023-09-23 20:19:35 -05:00
paidAction.js not-custodial zap beta (#1178) 2024-08-13 09:48:30 -05:00
reminder.js @remindme bot support (#1159) 2024-05-19 15:52:02 -05:00
repin.js territories 2023-12-04 21:34:06 -06:00
saltAndHashEmails.js Store hashed and salted email addresses (#1111) 2024-05-04 18:06:15 -05:00
search.js backend payment optimism (#1195) 2024-07-01 12:02:29 -05:00
streak.js backend payment optimism (#1195) 2024-07-01 12:02:29 -05:00
territory.js improve pessimistic paid actions by letting the server perform actions and settle invoice on `HELD` (#1253) 2024-07-04 12:30:42 -05:00
thisDay.js This day on ... automated post (#1273) 2024-07-23 10:35:15 -05:00
trust.js backend payment optimism (#1195) 2024-07-01 12:02:29 -05:00
views.js allow db connection limit and timeout configuration 2024-07-16 13:42:09 -05:00
wallet.js Remove unnecessary me from addWalletLog params (#1296) 2024-08-13 09:53:44 -05:00