Fix AUTH over multiplexer by upgrading paravel

This commit is contained in:
Jonathan Staab 2023-04-20 11:53:33 -05:00
parent 3e1b0cb9fe
commit e23caa311a
6 changed files with 12 additions and 13 deletions

View File

@ -4,6 +4,7 @@
- [x] Add purplepag.es to sign in flow
- [x] Include people with only a display_name in search
- [x] Fix AUTH over multiplextr
## 0.2.24

View File

@ -2,7 +2,6 @@
- [ ] Remember message/chat status
- [ ] Add way to turn off likes/zaps
- [ ] Improve AUTH status display
- [ ] Image classification
- https://github.com/bhky/opennsfw2
- [ ] Claim relays bounty

16
package-lock.json generated
View File

@ -22,7 +22,7 @@
"lru-cache": "^7.18.3",
"nostr-tools": "^1.7.4",
"npm-run-all": "^4.1.5",
"paravel": "^0.1.13",
"paravel": "^0.1.14",
"qr-scanner": "^1.4.2",
"qrcode": "^1.5.1",
"ramda": "^0.28.0",
@ -6158,13 +6158,12 @@
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="
},
"node_modules/paravel": {
"version": "0.1.13",
"resolved": "https://registry.npmjs.org/paravel/-/paravel-0.1.13.tgz",
"integrity": "sha512-LmNwIRg6HnWH11G15OfnVt/Ckw79XTiisXJ/7s/RrF3LhKFK6XpNTi6i2gMo6WlAgJp39WzW4/zDF6sKzFcZDA==",
"version": "0.1.14",
"resolved": "https://registry.npmjs.org/paravel/-/paravel-0.1.14.tgz",
"integrity": "sha512-vpQWZN8S9cCJNjrJcBiZ8puuIGQ9f+36+GYEu9Vtcr8XuK22FtcDlBzFmQ4pSlsIXBabdMhXJQQ9MDcJvDUEhg==",
"dependencies": {
"husky": "^8.0.3",
"isomorphic-ws": "^5.0.0",
"nostr-tools": "^1.7.5",
"npm-run-all": "^4.1.5"
}
},
@ -12972,13 +12971,12 @@
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="
},
"paravel": {
"version": "0.1.13",
"resolved": "https://registry.npmjs.org/paravel/-/paravel-0.1.13.tgz",
"integrity": "sha512-LmNwIRg6HnWH11G15OfnVt/Ckw79XTiisXJ/7s/RrF3LhKFK6XpNTi6i2gMo6WlAgJp39WzW4/zDF6sKzFcZDA==",
"version": "0.1.14",
"resolved": "https://registry.npmjs.org/paravel/-/paravel-0.1.14.tgz",
"integrity": "sha512-vpQWZN8S9cCJNjrJcBiZ8puuIGQ9f+36+GYEu9Vtcr8XuK22FtcDlBzFmQ4pSlsIXBabdMhXJQQ9MDcJvDUEhg==",
"requires": {
"husky": "^8.0.3",
"isomorphic-ws": "^5.0.0",
"nostr-tools": "^1.7.5",
"npm-run-all": "^4.1.5"
}
},

View File

@ -45,7 +45,7 @@
"lru-cache": "^7.18.3",
"nostr-tools": "^1.7.4",
"npm-run-all": "^4.1.5",
"paravel": "^0.1.13",
"paravel": "^0.1.14",
"qr-scanner": "^1.4.2",
"qrcode": "^1.5.1",
"ramda": "^0.28.0",

View File

@ -192,7 +192,8 @@ class PublishableEvent {
//console.log(event); return
const promise = pool.publish({relays, event, onProgress, verb})
sync.processEvents(event)
// Copy the event since loki mutates it to add metadata
sync.processEvents({...event})
return [event, promise]
}

View File

@ -35,7 +35,7 @@
{/if}
<div class="grid grid-cols-1 gap-4">
{#each $relays as relay (relay.url)}
<RelayCard showControls {relay} />
<RelayCard showStatus showControls {relay} />
{/each}
</div>
<div class="flex flex-col gap-6" in:fly={{y: 20}}>