5b8fef5b23
tests / tests (push) Failing after 5m8s
NIP fixes: - RelayMembers (13534): use NIP-43 `member` tags (not `p`) and set the required NIP-70 `-` protected tag. - Profile (kind 0): remove display-name support entirely (getter, setter, display() fallback, and the search weight). - Comment (1111): A/a tags now carry a real address, not the event id. - BlossomServerList (10063): normalize server URLs with normalizeUrl (HTTP), not normalizeRelayUrl (which forced wss://). - HandlerRecommendation (31989): fix inverted removeRecommendation filter; add setSupportedKind()/supportedKind() for the NIP-89 d-tag. - Report (1984): place the report-type string on the e tag (note reports) or p tag (profile reports); always emit the p tag. Docs/skills: - Add @welshman/domain docs (docs/domain/) and the welshman-domain skill. - Prune @welshman/util docs/skill of the moved Profile/List/Handler/Encryptable helpers; register domain in the sidebar, index, and skills README. - Apply accuracy fixes to the @welshman/app docs/skill. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BsMjvv7krpZeHK1Njeneru
24 lines
887 B
Markdown
24 lines
887 B
Markdown
# @welshman/util
|
|
|
|
[](https://npmjs.com/package/@welshman/util)
|
|
|
|
A utility package for Nostr application development, providing essential tools and types for working with Nostr events, addresses, filters, tags, and more.
|
|
|
|
## What's Included
|
|
|
|
- **Event Management**: Create, validate, and process Nostr events
|
|
- **Repository**: In-memory event storage with querying and indexing
|
|
- **Filters**: Advanced event filtering and subscription management
|
|
- **Zaps**: Lightning Network payment integration
|
|
- **Tags**: Comprehensive tag parsing and manipulation
|
|
- **Addresses**: NIP-19 address handling
|
|
- **Relays**: Relay URL handling, event dispatching and in-memory storage
|
|
|
|
> Note: profiles, lists, handlers, rooms, and event Reader/Builder helpers now live in [@welshman/domain](/domain/).
|
|
|
|
## Installation
|
|
|
|
```
|
|
npm install @welshman/util
|
|
```
|