noogle. more compact view, update nostr-sdk-js to 0.10.0, fixes

This commit is contained in:
Believethehype 2024-01-28 21:01:29 +01:00
parent a83f13e210
commit 24b7fcebbe
4 changed files with 7 additions and 6 deletions

View File

@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@rust-nostr/nostr-sdk": "^0.9.0",
"@rust-nostr/nostr-sdk": "^0.10.0",
"bootstrap": "^5.3.2",
"daisyui": "^4.6.0",
"mini-toastr": "^0.8.1",

View File

@ -30,7 +30,7 @@ import {
Filter,
initLogger,
LogLevel,
Timestamp, Keys, NostrDatabase, ClientBuilder, ClientZapper, Alphabet
Timestamp, Keys, NostrDatabase, ClientBuilder, ClientZapper, Alphabet, SingleLetterTag
} from "@rust-nostr/nostr-sdk";
import VueNotifications from "vue-notifications";
import store from '../store';
@ -182,7 +182,7 @@ export default {
}
//console.log(dvmkinds)
const filter = new Filter().kind(31990).customTag(Alphabet.K, dvmkinds)
const filter = new Filter().kind(31990).customTag(SingleLetterTag.lowercase(Alphabet.K), dvmkinds)
//await client.reconcile(filter);
//const filterl = new Filter().kind(31990)
//let evts = await client.database.query([filterl])

View File

@ -5,7 +5,7 @@
import {
ClientSigner,
Filter,
Keys, ClientBuilder, Alphabet
Keys, ClientBuilder, Alphabet, SingleLetterTag
} from "@rust-nostr/nostr-sdk";
import store from '../store';
import miniToastr from "mini-toastr";
@ -49,7 +49,7 @@ export default {
}
const filter = new Filter().kind(31990).customTag(Alphabet.K, dvmkinds)
const filter = new Filter().kind(31990).customTag(SingleLetterTag.lowercase(Alphabet.K), dvmkinds)
//await client.reconcile(filter);
//const filterl = new Filter().kind(31990)
//let evts = await client.database.query([filterl])

View File

@ -22,7 +22,8 @@ const store = createStore({
"wss://pablof7z.nostr1.com",
"wss://relay.nostr.net",
"wss://relay.nostr.band",
"wss://nostr-pub.wellorder.net"],
//"wss://nostr-pub.wellorder.net",
],
}
},
mutations: {