updating JS sdk to 0.12.0, fixes summarization

This commit is contained in:
Believethehype
2024-03-28 11:48:52 +01:00
parent ea5b0cddce
commit 97857cd928
10 changed files with 27 additions and 28 deletions

View File

@@ -118,13 +118,13 @@ async function listen() {
const handle = {
// Handle event
handleEvent: async (relayUrl, event) => {
handleEvent: async (relayUrl, subscriptionId, event) => {
/* if (store.state.imagehasEventListener === false){
return true
}*/
//const dvmname = getNamefromId(event.author.toHex())
console.log("Received new event from", relayUrl);
console.log(event.asJson())
// console.log(event.asJ())
let resonsetorequest = false
sleep(0).then(async () => {
for (let tag in event.tags) {