mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-04-08 11:58:04 +02:00
noogle. more compact view, update nostr-sdk-js to 0.10.0, fixes
This commit is contained in:
parent
a83f13e210
commit
24b7fcebbe
@ -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",
|
||||
|
@ -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])
|
||||
|
@ -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])
|
||||
|
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user