mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Log relay communication
This commit is contained in:
parent
b473898cef
commit
38f5a12284
3 changed files with 23 additions and 2 deletions
|
|
@ -46,7 +46,7 @@
|
||||||
"@negrel/webpush": "jsr:@negrel/webpush@^0.3.0",
|
"@negrel/webpush": "jsr:@negrel/webpush@^0.3.0",
|
||||||
"@noble/secp256k1": "npm:@noble/secp256k1@^2.0.0",
|
"@noble/secp256k1": "npm:@noble/secp256k1@^2.0.0",
|
||||||
"@nostrify/db": "jsr:@nostrify/db@^0.36.2",
|
"@nostrify/db": "jsr:@nostrify/db@^0.36.2",
|
||||||
"@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.37.0",
|
"@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.38.0",
|
||||||
"@nostrify/policies": "jsr:@nostrify/policies@^0.36.1",
|
"@nostrify/policies": "jsr:@nostrify/policies@^0.36.1",
|
||||||
"@nostrify/types": "jsr:@nostrify/types@^0.36.0",
|
"@nostrify/types": "jsr:@nostrify/types@^0.36.0",
|
||||||
"@scure/base": "npm:@scure/base@^1.1.6",
|
"@scure/base": "npm:@scure/base@^1.1.6",
|
||||||
|
|
|
||||||
18
deno.lock
generated
18
deno.lock
generated
|
|
@ -35,6 +35,7 @@
|
||||||
"jsr:@nostrify/nostrify@0.32": "0.32.0",
|
"jsr:@nostrify/nostrify@0.32": "0.32.0",
|
||||||
"jsr:@nostrify/nostrify@0.36": "0.36.2",
|
"jsr:@nostrify/nostrify@0.36": "0.36.2",
|
||||||
"jsr:@nostrify/nostrify@0.37": "0.37.0",
|
"jsr:@nostrify/nostrify@0.37": "0.37.0",
|
||||||
|
"jsr:@nostrify/nostrify@0.38": "0.38.0",
|
||||||
"jsr:@nostrify/nostrify@~0.22.1": "0.22.5",
|
"jsr:@nostrify/nostrify@~0.22.1": "0.22.5",
|
||||||
"jsr:@nostrify/nostrify@~0.22.4": "0.22.4",
|
"jsr:@nostrify/nostrify@~0.22.4": "0.22.4",
|
||||||
"jsr:@nostrify/nostrify@~0.22.5": "0.22.5",
|
"jsr:@nostrify/nostrify@~0.22.5": "0.22.5",
|
||||||
|
|
@ -470,6 +471,21 @@
|
||||||
"npm:zod"
|
"npm:zod"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"@nostrify/nostrify@0.38.0": {
|
||||||
|
"integrity": "9ec7920057ee3a4dcbaef7e706dedea622bfdfdf0f6aac11047443f88d953deb",
|
||||||
|
"dependencies": [
|
||||||
|
"jsr:@nostrify/types@0.36",
|
||||||
|
"jsr:@std/crypto",
|
||||||
|
"jsr:@std/encoding@~0.224.1",
|
||||||
|
"npm:@scure/base",
|
||||||
|
"npm:@scure/bip32",
|
||||||
|
"npm:@scure/bip39",
|
||||||
|
"npm:lru-cache@^10.2.0",
|
||||||
|
"npm:nostr-tools@^2.10.4",
|
||||||
|
"npm:websocket-ts",
|
||||||
|
"npm:zod"
|
||||||
|
]
|
||||||
|
},
|
||||||
"@nostrify/policies@0.33.0": {
|
"@nostrify/policies@0.33.0": {
|
||||||
"integrity": "c946b06d0527298b4d7c9819d142a10f522ba09eee76c37525aa4acfc5d87aee",
|
"integrity": "c946b06d0527298b4d7c9819d142a10f522ba09eee76c37525aa4acfc5d87aee",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
|
@ -2349,7 +2365,7 @@
|
||||||
"jsr:@lambdalisue/async@^2.1.1",
|
"jsr:@lambdalisue/async@^2.1.1",
|
||||||
"jsr:@negrel/webpush@0.3",
|
"jsr:@negrel/webpush@0.3",
|
||||||
"jsr:@nostrify/db@~0.36.2",
|
"jsr:@nostrify/db@~0.36.2",
|
||||||
"jsr:@nostrify/nostrify@0.37",
|
"jsr:@nostrify/nostrify@0.38",
|
||||||
"jsr:@nostrify/policies@~0.36.1",
|
"jsr:@nostrify/policies@~0.36.1",
|
||||||
"jsr:@nostrify/types@0.36",
|
"jsr:@nostrify/types@0.36",
|
||||||
"jsr:@soapbox/kysely-pglite@1",
|
"jsr:@soapbox/kysely-pglite@1",
|
||||||
|
|
|
||||||
|
|
@ -103,6 +103,11 @@ export class Storages {
|
||||||
return new NRelay1(url, {
|
return new NRelay1(url, {
|
||||||
// Skip event verification (it's done in the pipeline).
|
// Skip event verification (it's done in the pipeline).
|
||||||
verifyEvent: () => true,
|
verifyEvent: () => true,
|
||||||
|
log(log) {
|
||||||
|
if (log.level !== 'trace') {
|
||||||
|
logi(log);
|
||||||
|
}
|
||||||
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
reqRouter: async (filters) => {
|
reqRouter: async (filters) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue