mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-10 01:12:38 +02:00
noogle. more compact view, update nostr-sdk-js to 0.10.0, fixes
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@rust-nostr/nostr-sdk": "^0.9.0",
|
"@rust-nostr/nostr-sdk": "^0.10.0",
|
||||||
"bootstrap": "^5.3.2",
|
"bootstrap": "^5.3.2",
|
||||||
"daisyui": "^4.6.0",
|
"daisyui": "^4.6.0",
|
||||||
"mini-toastr": "^0.8.1",
|
"mini-toastr": "^0.8.1",
|
||||||
|
@@ -30,7 +30,7 @@ import {
|
|||||||
Filter,
|
Filter,
|
||||||
initLogger,
|
initLogger,
|
||||||
LogLevel,
|
LogLevel,
|
||||||
Timestamp, Keys, NostrDatabase, ClientBuilder, ClientZapper, Alphabet
|
Timestamp, Keys, NostrDatabase, ClientBuilder, ClientZapper, Alphabet, SingleLetterTag
|
||||||
} from "@rust-nostr/nostr-sdk";
|
} from "@rust-nostr/nostr-sdk";
|
||||||
import VueNotifications from "vue-notifications";
|
import VueNotifications from "vue-notifications";
|
||||||
import store from '../store';
|
import store from '../store';
|
||||||
@@ -182,7 +182,7 @@ export default {
|
|||||||
}
|
}
|
||||||
//console.log(dvmkinds)
|
//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);
|
//await client.reconcile(filter);
|
||||||
//const filterl = new Filter().kind(31990)
|
//const filterl = new Filter().kind(31990)
|
||||||
//let evts = await client.database.query([filterl])
|
//let evts = await client.database.query([filterl])
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
import {
|
import {
|
||||||
ClientSigner,
|
ClientSigner,
|
||||||
Filter,
|
Filter,
|
||||||
Keys, ClientBuilder, Alphabet
|
Keys, ClientBuilder, Alphabet, SingleLetterTag
|
||||||
} from "@rust-nostr/nostr-sdk";
|
} from "@rust-nostr/nostr-sdk";
|
||||||
import store from '../store';
|
import store from '../store';
|
||||||
import miniToastr from "mini-toastr";
|
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);
|
//await client.reconcile(filter);
|
||||||
//const filterl = new Filter().kind(31990)
|
//const filterl = new Filter().kind(31990)
|
||||||
//let evts = await client.database.query([filterl])
|
//let evts = await client.database.query([filterl])
|
||||||
|
@@ -22,7 +22,8 @@ const store = createStore({
|
|||||||
"wss://pablof7z.nostr1.com",
|
"wss://pablof7z.nostr1.com",
|
||||||
"wss://relay.nostr.net",
|
"wss://relay.nostr.net",
|
||||||
"wss://relay.nostr.band",
|
"wss://relay.nostr.band",
|
||||||
"wss://nostr-pub.wellorder.net"],
|
//"wss://nostr-pub.wellorder.net",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mutations: {
|
mutations: {
|
||||||
|
Reference in New Issue
Block a user