From 696f911a634842ce7b0bcc5f7986150b83245a40 Mon Sep 17 00:00:00 2001 From: Silberengel Date: Wed, 20 May 2026 20:15:25 +0200 Subject: [PATCH] bug-fix build --- src/lib/public-message-publish-relays.test.ts | 6 ++++-- src/lib/public-message-publish-relays.ts | 1 + src/services/client.service.ts | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/lib/public-message-publish-relays.test.ts b/src/lib/public-message-publish-relays.test.ts index cebc657a..ecb9ed79 100644 --- a/src/lib/public-message-publish-relays.test.ts +++ b/src/lib/public-message-publish-relays.test.ts @@ -13,7 +13,8 @@ describe('public-message-publish-relays', () => { read: ['wss://sender-in.example/'], httpWrite: ['https://sender-http.example/'], httpRead: ['https://sender-http-in.example/'], - originalRelays: [] + originalRelays: [], + httpOriginalRelays: [] }) ).toEqual(['https://sender-http.example/', 'wss://sender-out.example/']) @@ -23,7 +24,8 @@ describe('public-message-publish-relays', () => { read: ['wss://recipient-in.example/'], httpWrite: [], httpRead: ['https://recipient-http-in.example/'], - originalRelays: [] + originalRelays: [], + httpOriginalRelays: [] }) ).toEqual(['https://recipient-http-in.example/', 'wss://recipient-in.example/']) }) diff --git a/src/lib/public-message-publish-relays.ts b/src/lib/public-message-publish-relays.ts index dde6c404..2ca5f5f3 100644 --- a/src/lib/public-message-publish-relays.ts +++ b/src/lib/public-message-publish-relays.ts @@ -1,4 +1,5 @@ import { + MAX_PUBLISH_RELAYS, PUBLIC_MESSAGE_RSVP_PUBLISH_AUTHOR_WRITE_CAP, PUBLIC_MESSAGE_RSVP_PUBLISH_MAX_RELAYS } from '@/constants' diff --git a/src/services/client.service.ts b/src/services/client.service.ts index 1554e884..126b3131 100644 --- a/src/services/client.service.ts +++ b/src/services/client.service.ts @@ -2865,7 +2865,8 @@ class ClientService extends EventTarget { */ firstRelayResultGraceMs = FIRST_RELAY_RESULT_GRACE_MS, relayReqLog, - relayAuthoritativeTimeline = false + relayAuthoritativeTimeline = false, + connectionSlotPriority }: { startLogin?: () => void needSort?: boolean