nostr
package part 3
#365
No reviewers
Labels
No Label
1000k
100k
10k
200k
20k
500k
50k
5k
75k
backend
blocked:design
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
P1
P2
P3
question
scope:intl
scope:nip
scope:query_tracing
scope:ux
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Kieran/snort#365
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "nostr-package-3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fill in the holes of missing functionality to the point where there's a simple test which passes 🎉. The test requires the
docker-compose
environment to be up and talks to thenostr-rs-relay
. ChangeonEvent
,onNotice
,onError
etc. into a single overloadedon("event" | "notice" | "error", {})
method. Figure out a goodSignedEvent
abstraction, which puts together the event data, ID, and signature. Add eslint.I also changed the callbacks to no longer be a list, because I thought it was more idiomatic. This is probably a mistake; instead, I should model all the event stuff based on Node's EventEmitter. These API changes will be done in one of the following PRs.
Deploying with Cloudflare Pages
e5e18ca
View logs
(Note to self: review this PR one more time.)
This is ready for review.