Skip to content

NamespaceEvent

Defined in: relay-sdks/ts/src/namespace-events.ts:14

One change in which namespaces under the prefix are announced.

namespace: string[];

Defined in: relay-sdks/ts/src/namespace-events.ts:22

The full namespace: the prefix’s fields followed by the rest, without splitting or joining.


type: "announced" | "unannounced";

Defined in: relay-sdks/ts/src/namespace-events.ts:20

announced: a publisher announced the namespace, or it was already announced when the request was accepted. unannounced: its announce was withdrawn. Each namespace alternates between the two; the relay’s repeats are not passed on.