Commit 275c4b0
committed
fix: Add 'name' tag to NIP-78 events for relay compatibility
ISSUE: shu01.shugur.net relay rejecting cart events
Error: 'NIP validation failed: application-specific data must have name field'
FIX: Added ['name', 'Culture Bridge Settings'] tag to event structure
NIP-78 Compliance:
- Some relays require a human-readable 'name' tag
- Helps relays categorize and display application data
- Standards compliance for better relay support
Event structure now includes:
- ['d', 'culture-bridge-settings'] - identifier
- ['name', 'Culture Bridge Settings'] - human-readable name (NEW)
- ['p', userPubkey] - user reference
- ['t', 'culture-bridge'] - discovery tag1 parent e8fab2a commit 275c4b0
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
| 459 | + | |
460 | 460 | | |
461 | 461 | | |
| 462 | + | |
462 | 463 | | |
463 | 464 | | |
464 | 465 | | |
| |||
0 commit comments