remove two deprecated things.
This commit is contained in:
parent
5b78a829c7
commit
ae2f97655b
3
kinds.ts
3
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'
|
||||
|
||||
|
|
7
relay.ts
7
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<Relay> {
|
||||
return Relay.connect(url)
|
||||
}
|
||||
|
||||
var _WebSocket: typeof WebSocket
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue