update readme with new api.

This commit is contained in:
fiatjaf
2023-12-17 22:46:35 -03:00
parent 07d208308f
commit 88703e9ea2
3 changed files with 26 additions and 40 deletions

View File

@@ -73,7 +73,7 @@ test('same with double querying', async () => {
expect(received).toHaveLength(2)
})
test('list()', async () => {
test('querySync()', async () => {
let events = await pool.querySync([...relays, 'wss://offchain.pub', 'wss://eden.nostr.land'], {
authors: ['3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d'],
kinds: [1],