From ae2f97655b0cc2bde2477e61186d60c925ac39a4 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 31 May 2025 20:04:46 -0300 Subject: [PATCH] remove two deprecated things. --- kinds.ts | 3 --- relay.ts | 7 ------- 2 files changed, 10 deletions(-) diff --git a/kinds.ts b/kinds.ts index dad03b7..b61797c 100644 --- a/kinds.ts +++ b/kinds.ts @@ -20,9 +20,6 @@ export function isAddressableKind(kind: number): boolean { return 30000 <= kind && kind < 40000 } -/** @deprecated use isAddressableKind instead */ -export const isParameterizedReplaceableKind = isAddressableKind - /** Classification of the event kind. */ export type KindClassification = 'regular' | 'replaceable' | 'ephemeral' | 'parameterized' | 'unknown' diff --git a/relay.ts b/relay.ts index 6277d23..7539022 100644 --- a/relay.ts +++ b/relay.ts @@ -3,13 +3,6 @@ import { verifyEvent } from './pure.ts' import { AbstractRelay } from './abstract-relay.ts' -/** - * @deprecated use Relay.connect() instead. - */ -export function relayConnect(url: string): Promise { - return Relay.connect(url) -} - var _WebSocket: typeof WebSocket try {