diff --git a/deno.json b/deno.json index 4996439c..1d04b07e 100644 --- a/deno.json +++ b/deno.json @@ -46,7 +46,7 @@ "@negrel/webpush": "jsr:@negrel/webpush@^0.3.0", "@noble/secp256k1": "npm:@noble/secp256k1@^2.0.0", "@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/types": "jsr:@nostrify/types@^0.36.0", "@scure/base": "npm:@scure/base@^1.1.6", diff --git a/deno.lock b/deno.lock index 6b28e2a4..ddc1820a 100644 --- a/deno.lock +++ b/deno.lock @@ -35,6 +35,7 @@ "jsr:@nostrify/nostrify@0.32": "0.32.0", "jsr:@nostrify/nostrify@0.36": "0.36.2", "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.4": "0.22.4", "jsr:@nostrify/nostrify@~0.22.5": "0.22.5", @@ -470,6 +471,21 @@ "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": { "integrity": "c946b06d0527298b4d7c9819d142a10f522ba09eee76c37525aa4acfc5d87aee", "dependencies": [ @@ -2349,7 +2365,7 @@ "jsr:@lambdalisue/async@^2.1.1", "jsr:@negrel/webpush@0.3", "jsr:@nostrify/db@~0.36.2", - "jsr:@nostrify/nostrify@0.37", + "jsr:@nostrify/nostrify@0.38", "jsr:@nostrify/policies@~0.36.1", "jsr:@nostrify/types@0.36", "jsr:@soapbox/kysely-pglite@1", diff --git a/src/storages.ts b/src/storages.ts index 4a26ef32..765365f0 100644 --- a/src/storages.ts +++ b/src/storages.ts @@ -103,6 +103,11 @@ export class Storages { return new NRelay1(url, { // Skip event verification (it's done in the pipeline). verifyEvent: () => true, + log(log) { + if (log.level !== 'trace') { + logi(log); + } + }, }); }, reqRouter: async (filters) => {