npub1nq…kkz86 on Nostr: New release 0.5.0 of pynostr In this release the timeout parameter has moved to the ...
New release 0.5.0 of pynostr
In this release the timeout parameter has moved to the class init function.
relay_manager.run_sync(timeout=2) ->
relay_manager = RelayManager(timeout=2)
relay_manager.run_sync()
and
io_loop.run_sync(r.connect, timeout=2) ->
io_loop.run_sync(r.connect)
I added a new example for sending and receiving dms:
https://github.com/holgern/pynostrPublished at
2023-02-27 13:22:24Event JSON
{
"id": "d862968cbdfaebbe43e36a82c09796ac013029e0369f497dd6e73826bfa0bbeb",
"pubkey": "9839a36d51b5f190497f9b2d268ee08903eec7f5ed2e9ae3ceeb5db89aabba10",
"created_at": 1677504144,
"kind": 1,
"tags": [],
"content": "New release 0.5.0 of pynostr\n\nIn this release the timeout parameter has moved to the class init function.\nrelay_manager.run_sync(timeout=2) -\u003e\nrelay_manager = RelayManager(timeout=2)\nrelay_manager.run_sync()\n\nand\n\nio_loop.run_sync(r.connect, timeout=2) -\u003e\nio_loop.run_sync(r.connect)\n\nI added a new example for sending and receiving dms: \n\nhttps://void.cat/d/M7CgHTmFnAfSAfedFGiwx6.webp\n\nhttps://void.cat/d/QaeXj1371iDytBMhfL31gH.webp\n\n\n\nhttps://github.com/holgern/pynostr\n\n",
"sig": "6c3dc5a046a69e6985598f57566b54b5504bd23c9e6e5badc8e7121df8432eac0ba92d14e2bbc857bf674e57ce77a859bd5d4ceeeee81e8cd98e9ec02f5572db"
}