hzrd149 on Nostr: Next version of applesauce is going to make it really easy to modify inbox / outbox ...
Published at
2025-02-11 19:29:11Event JSON
{
"id": "5d4e4d7b57286d9f0c1a29b55bcb0c348efa77f5fe233108d8efc5c0eaa8d3fa",
"pubkey": "266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"created_at": 1739302151,
"kind": 1,
"tags": [
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "Next version of applesauce is going to make it really easy to modify inbox / outbox relays. there is now \"addInboxRelay\" and \"addOutboxRelay\" methods that can be used when modifying the 10002 event to modify the \"r\" tags. and it handles duplicates relays by updating them to \"read\" or \"write\"\nand it won't touch anything else in the event, so if there are tags it does not recognize it will leave them\nhttps://hzrd149.github.io/applesauce/typedoc/modules/applesauce_factory.Operations.html\n\nThis is all the code I wrote to add and remove outbox relays\nhttps://cdn.hzrd149.com/143c0e0099ec0663e139a75ec03404cd387c6481b74745331134aa526c2f9251.webp \nhttps://github.com/hzrd149/nsite-manager/blob/master/src/views/settings/account.tsx#L55-L81",
"sig": "efbd2a149e59aae4300b8cda39e61b12ae2c2cb0429e1bf556970d939f9d6b022b3e7123d47339ffbb619a7d74eb25cfb0c16314e0ff35bd6c755734917390d2"
}