@celljs/ta-relay 4.11.0 → 4.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +26 -1
- package/README.md +26 -1
- package/esm/common/index.d.ts +5 -0
- package/esm/common/index.js +5 -0
- package/esm/common/relay-faces.d.ts +32 -0
- package/esm/common/relay-faces.js +208 -0
- package/esm/common/relay-friends.d.ts +154 -0
- package/esm/common/relay-friends.js +482 -0
- package/esm/common/relay-hub-util.d.ts +9 -0
- package/esm/common/relay-hub-util.js +19 -2
- package/esm/common/relay-hubs-connection.d.ts +110 -0
- package/esm/common/relay-hubs-connection.js +508 -0
- package/esm/common/relay-hubs-protocol.d.ts +174 -0
- package/esm/common/relay-hubs-protocol.js +2 -0
- package/esm/common/relay-hubs.d.ts +68 -216
- package/esm/common/relay-hubs.js +303 -507
- package/esm/common/relay-identity.d.ts +2 -0
- package/esm/common/relay-info.d.ts +44 -0
- package/esm/common/relay-info.js +94 -0
- package/esm/common/relay-protocol.d.ts +7 -3
- package/esm/common/relay-protocol.js +7 -3
- package/esm/common/relay-room-chat.d.ts +36 -2
- package/esm/common/relay-room-chat.js +32 -7
- package/esm/common/relay-spot.d.ts +122 -0
- package/esm/common/relay-spot.js +179 -0
- package/esm/guest/guest-i18n.d.ts +5 -0
- package/esm/guest/guest-i18n.js +10 -0
- package/esm/guest/guest-style.d.ts +1 -1
- package/esm/guest/guest-style.js +11 -4
- package/esm/guest/guest.js +39 -18
- package/esm/node/index.d.ts +2 -0
- package/esm/node/index.js +2 -0
- package/esm/node/relay-file-storage.d.ts +32 -0
- package/esm/node/relay-file-storage.js +101 -0
- package/esm/node/relay-host.d.ts +63 -28
- package/esm/node/relay-host.js +145 -52
- package/esm/node/relay-hub-files.d.ts +1 -1
- package/esm/node/relay-server.d.ts +37 -3
- package/esm/node/relay-server.js +193 -37
- package/esm/node/relay-store.d.ts +34 -6
- package/esm/node/relay-store.js +54 -22
- package/esm/node/relays-file.d.ts +139 -0
- package/esm/node/relays-file.js +373 -0
- package/lib/common/index.d.ts +5 -0
- package/lib/common/index.js +5 -0
- package/lib/common/relay-faces.d.ts +33 -0
- package/lib/common/relay-faces.js +211 -0
- package/lib/common/relay-friends.d.ts +155 -0
- package/lib/common/relay-friends.js +486 -0
- package/lib/common/relay-hub-util.d.ts +9 -0
- package/lib/common/relay-hub-util.js +19 -2
- package/lib/common/relay-hubs-connection.d.ts +111 -0
- package/lib/common/relay-hubs-connection.js +513 -0
- package/lib/common/relay-hubs-protocol.d.ts +175 -0
- package/lib/common/relay-hubs-protocol.js +3 -0
- package/lib/common/relay-hubs.d.ts +68 -216
- package/lib/common/relay-hubs.js +311 -515
- package/lib/common/relay-identity.d.ts +2 -0
- package/lib/common/relay-info.d.ts +45 -0
- package/lib/common/relay-info.js +97 -0
- package/lib/common/relay-protocol.d.ts +7 -3
- package/lib/common/relay-protocol.js +8 -4
- package/lib/common/relay-room-chat.d.ts +36 -2
- package/lib/common/relay-room-chat.js +32 -7
- package/lib/common/relay-spot.d.ts +123 -0
- package/lib/common/relay-spot.js +183 -0
- package/lib/guest/guest-i18n.d.ts +5 -0
- package/lib/guest/guest-i18n.js +10 -0
- package/lib/guest/guest-style.d.ts +1 -1
- package/lib/guest/guest-style.js +11 -4
- package/lib/guest/guest.js +39 -18
- package/lib/node/index.d.ts +2 -0
- package/lib/node/index.js +2 -0
- package/lib/node/relay-file-storage.d.ts +33 -0
- package/lib/node/relay-file-storage.js +105 -0
- package/lib/node/relay-host.d.ts +63 -28
- package/lib/node/relay-host.js +146 -53
- package/lib/node/relay-hub-files.d.ts +1 -1
- package/lib/node/relay-server.d.ts +37 -3
- package/lib/node/relay-server.js +193 -37
- package/lib/node/relay-store.d.ts +34 -6
- package/lib/node/relay-store.js +54 -22
- package/lib/node/relays-file.d.ts +140 -0
- package/lib/node/relays-file.js +378 -0
- package/package.json +2 -2
- package/viewer/room.html +21 -14
|
@@ -1,192 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RelayFriends } from './relay-friends';
|
|
2
|
+
import { type RelayHubAskBody } from './relay-hub-util';
|
|
3
|
+
import { Live, RelayHubsConnection } from './relay-hubs-connection';
|
|
4
|
+
import type { RelayFriend, RelayFriendInfo, RelayFriendRequest, RelayIdentityBundle, RelayIdentityImport, RelayRoomEvent, RelayRoomInfo, RelayRoomRecord, RelayRoomRequest, RelayRoomValue } from './relay-hubs-protocol';
|
|
2
5
|
import { type RelayIdentity, type RelayPublicIdentity } from './relay-identity';
|
|
3
|
-
import { type RelayHubEntry, type RelayHubFailure, type RelayHubRequest } from './relay-protocol';
|
|
4
|
-
/** `member` in the room; `waiting` for the owner to answer; `refused` by the owner; `gone`: closed, removed, or the invitation no longer works. */
|
|
5
|
-
export type RelayRoomStatus = 'member' | 'waiting' | 'refused' | 'gone';
|
|
6
|
-
/** A room this Ta is in or asked to join, in `rooms.json` of the agent directory (docs/design/ta-link.md 3.5). */
|
|
7
|
-
export interface RelayRoomRecord {
|
|
8
|
-
id: string;
|
|
9
|
-
relay: string;
|
|
10
|
-
kind: string;
|
|
11
|
-
title: string;
|
|
12
|
-
view?: string;
|
|
13
|
-
/** This Ta's id in the room, and what the relay knows it by. */
|
|
14
|
-
member: string;
|
|
15
|
-
token: string;
|
|
16
|
-
/** base64url, 32 bytes: the key of the room, once admitted. */
|
|
17
|
-
key?: string;
|
|
18
|
-
/** The owner: all of it once admitted (its keys check the roster), its id and name from the link before. */
|
|
19
|
-
owner: Pick<RelayPublicIdentity, 'id' | 'name'> & Partial<RelayPublicIdentity>;
|
|
20
|
-
/** This Ta made the room. */
|
|
21
|
-
own: boolean;
|
|
22
|
-
status: RelayRoomStatus;
|
|
23
|
-
/** Why it is `gone`: `closed` by the owner, `removed` by the owner, the `invite` no longer works. */
|
|
24
|
-
reason?: 'closed' | 'removed' | 'invite';
|
|
25
|
-
/** Of the owner: the invitations of late, the latest last; an ask is sealed with one of them. */
|
|
26
|
-
invites?: {
|
|
27
|
-
secret: string;
|
|
28
|
-
expiresAt: number;
|
|
29
|
-
}[];
|
|
30
|
-
/** Of the owner: the relay has the room. */
|
|
31
|
-
made?: boolean;
|
|
32
|
-
/** Of one asking: the invitation, till the relay has the ask. */
|
|
33
|
-
invite?: string;
|
|
34
|
-
asked?: boolean;
|
|
35
|
-
createdAt: number;
|
|
36
|
-
joinedAt?: number;
|
|
37
|
-
}
|
|
38
|
-
export interface RelayRoomMember {
|
|
39
|
-
member: string;
|
|
40
|
-
/** The identity of its Ta. */
|
|
41
|
-
id: string;
|
|
42
|
-
name: string;
|
|
43
|
-
owner: boolean;
|
|
44
|
-
online: boolean;
|
|
45
|
-
self: boolean;
|
|
46
|
-
/** In a browser, without Ta: it only chats (docs/design/ta-link.md 3.8). */
|
|
47
|
-
guest?: boolean;
|
|
48
|
-
}
|
|
49
|
-
export interface RelayRoomInfo {
|
|
50
|
-
id: string;
|
|
51
|
-
kind: string;
|
|
52
|
-
title: string;
|
|
53
|
-
view?: string;
|
|
54
|
-
owner: boolean;
|
|
55
|
-
ownerName: string;
|
|
56
|
-
status: RelayRoomStatus;
|
|
57
|
-
reason?: RelayRoomRecord['reason'];
|
|
58
|
-
/** This Ta is connected to the room now. */
|
|
59
|
-
connected: boolean;
|
|
60
|
-
members: RelayRoomMember[];
|
|
61
|
-
createdAt: number;
|
|
62
|
-
joinedAt?: number;
|
|
63
|
-
}
|
|
64
|
-
/** One asking to join a room this Ta owns, till the user answers. */
|
|
65
|
-
export interface RelayRoomRequest {
|
|
66
|
-
room: string;
|
|
67
|
-
title: string;
|
|
68
|
-
ask: string;
|
|
69
|
-
/** Its identity, and the name it gives. */
|
|
70
|
-
id: string;
|
|
71
|
-
name: string;
|
|
72
|
-
/** Met before, in another room. */
|
|
73
|
-
friend: boolean;
|
|
74
|
-
/** Asks from a browser, without Ta: admitted, it only chats. */
|
|
75
|
-
guest?: boolean;
|
|
76
|
-
at: number;
|
|
77
|
-
}
|
|
78
|
-
/** One met in a room (docs/design/ta-link.md 3.1), in `friends.json`. */
|
|
79
|
-
export interface RelayFriend extends RelayPublicIdentity {
|
|
80
|
-
/** Titles of rooms shared, the latest last. */
|
|
81
|
-
rooms: string[];
|
|
82
|
-
metAt: number;
|
|
83
|
-
seenAt: number;
|
|
84
|
-
}
|
|
85
|
-
export interface RelayRoomValue {
|
|
86
|
-
value: unknown;
|
|
87
|
-
version: number;
|
|
88
|
-
/** The member who wrote it last. */
|
|
89
|
-
by: string;
|
|
90
|
-
}
|
|
91
|
-
export type RelayRoomEvent = {
|
|
92
|
-
type: 'rooms';
|
|
93
|
-
} | {
|
|
94
|
-
type: 'request';
|
|
95
|
-
request: RelayRoomRequest;
|
|
96
|
-
} | {
|
|
97
|
-
type: 'message';
|
|
98
|
-
room: string;
|
|
99
|
-
from: string;
|
|
100
|
-
name: string;
|
|
101
|
-
data: unknown;
|
|
102
|
-
} | {
|
|
103
|
-
type: 'state';
|
|
104
|
-
room: string;
|
|
105
|
-
key: string;
|
|
106
|
-
value: unknown;
|
|
107
|
-
version: number;
|
|
108
|
-
by: string;
|
|
109
|
-
};
|
|
110
|
-
/** Where a {@link RelayHubs} keeps what it knows: files of the agent directory for Ta, the storage of a browser for a guest. */
|
|
111
|
-
export interface RelayHubsStore {
|
|
112
|
-
read<T>(name: RelayHubsStoreName): T | undefined;
|
|
113
|
-
/** Holds keys: kept where the user alone reads it. */
|
|
114
|
-
write(name: RelayHubsStoreName, value: unknown): void;
|
|
115
|
-
}
|
|
116
|
-
/** The identity, the rooms (with their keys) and the friends. */
|
|
117
|
-
export type RelayHubsStoreName = 'identity' | 'rooms' | 'friends';
|
|
118
|
-
export interface RelayHubsOptions {
|
|
119
|
-
store: RelayHubsStore;
|
|
120
|
-
/** The name of a new identity: that of the user on the system. */
|
|
121
|
-
name?(): string;
|
|
122
|
-
/**
|
|
123
|
-
* A guest of rooms in a browser (docs/design/ta-link.md 3.8): its asks say so, its owner admits it as one, and the
|
|
124
|
-
* others hear only what it says (`chat:` of the state), not its messages or the rest of the state.
|
|
125
|
-
*/
|
|
126
|
-
guest?: boolean;
|
|
127
|
-
/** The relay new rooms are made on. */
|
|
128
|
-
relay(): string;
|
|
129
|
-
/** First wait before connecting again; it doubles up to 30 seconds. */
|
|
130
|
-
reconnectDelayMs?: number;
|
|
131
|
-
pingMs?: number;
|
|
132
|
-
}
|
|
133
|
-
/** What a member sends in a message, signed and sealed: data of an extension, or a word of Ta itself. */
|
|
134
|
-
interface MessageBody {
|
|
135
|
-
d?: unknown;
|
|
136
|
-
/** A member's new name, for the owner to put in the roster. */
|
|
137
|
-
name?: string;
|
|
138
|
-
}
|
|
139
|
-
/** A room as this Ta holds it while it runs: its connection and what it knows of the room. */
|
|
140
|
-
declare class Live {
|
|
141
|
-
record: RelayRoomRecord;
|
|
142
|
-
socket?: WebSocket;
|
|
143
|
-
keys?: RelayHubKeys;
|
|
144
|
-
synced: boolean;
|
|
145
|
-
online: Set<string>;
|
|
146
|
-
roster?: RelayHubRosterBody;
|
|
147
|
-
readonly state: Map<string, RelayRoomValue>;
|
|
148
|
-
/** Asks to join, with the invitation each came with. */
|
|
149
|
-
readonly asks: Map<string, {
|
|
150
|
-
body: RelayHubAskBody;
|
|
151
|
-
invite: string;
|
|
152
|
-
}>;
|
|
153
|
-
readonly done: Map<number, (result: {
|
|
154
|
-
ok: boolean;
|
|
155
|
-
v: number;
|
|
156
|
-
error?: RelayHubFailure;
|
|
157
|
-
}) => void>;
|
|
158
|
-
readonly ready: Array<() => void>;
|
|
159
|
-
attempts: number;
|
|
160
|
-
/** Connect again at once, whatever the close said. */
|
|
161
|
-
retry: boolean;
|
|
162
|
-
timer?: ReturnType<typeof setTimeout>;
|
|
163
|
-
pingTimer?: ReturnType<typeof setInterval>;
|
|
164
|
-
awaitingPong: boolean;
|
|
165
|
-
/** Events are handled one after another: opening them is async. */
|
|
166
|
-
chain: Promise<void>;
|
|
167
|
-
constructor(record: RelayRoomRecord);
|
|
168
|
-
}
|
|
169
6
|
/**
|
|
170
7
|
* The rooms of this Ta (docs/design/ta-link.md 3): its identity and friends, the rooms it made or asked to join,
|
|
171
8
|
* and a connection to the hub of each while it runs, through which it sends, sets the shared state and hears
|
|
172
|
-
* the others; every message signed by its member and sealed with the key of the room.
|
|
9
|
+
* the others; every message signed by its member and sealed with the key of the room. The friends are a room of
|
|
10
|
+
* their own (RelayFriends).
|
|
173
11
|
*/
|
|
174
|
-
export declare class RelayHubs {
|
|
175
|
-
protected readonly
|
|
176
|
-
protected readonly live: Map<string, Live>;
|
|
177
|
-
protected readonly listeners: Set<(event: RelayRoomEvent) => void>;
|
|
178
|
-
protected own?: RelayIdentity;
|
|
179
|
-
/** Asks the user was told of while this runs: those the owner finds waiting when it connects are told once. */
|
|
180
|
-
protected readonly told: Set<string>;
|
|
181
|
-
protected stopped: boolean;
|
|
182
|
-
protected nextId: number;
|
|
183
|
-
constructor(options: RelayHubsOptions);
|
|
12
|
+
export declare class RelayHubs extends RelayHubsConnection {
|
|
13
|
+
protected readonly book: RelayFriends;
|
|
184
14
|
/** Connects to the rooms of rooms.json, and keeps connected. */
|
|
185
15
|
start(): void;
|
|
186
16
|
stop(): void;
|
|
187
17
|
onEvent(listener: (event: RelayRoomEvent) => void): () => void;
|
|
188
|
-
/** This Ta's identity, made the first time. */
|
|
189
|
-
identity(): Promise<RelayIdentity>;
|
|
190
18
|
/** The name others see; the owners of rooms this Ta is in hear it. */
|
|
191
19
|
setName(name: string): Promise<RelayPublicIdentity>;
|
|
192
20
|
list(): RelayRoomInfo[];
|
|
@@ -195,6 +23,8 @@ export declare class RelayHubs {
|
|
|
195
23
|
kind: string;
|
|
196
24
|
title: string;
|
|
197
25
|
view?: string;
|
|
26
|
+
unlisted?: boolean;
|
|
27
|
+
use?: string;
|
|
198
28
|
}): Promise<RelayRoomInfo>;
|
|
199
29
|
/**
|
|
200
30
|
* The link that lets others ask to join: the one of before while it has a day left, else (or with `renew`) a new
|
|
@@ -229,44 +59,66 @@ export declare class RelayHubs {
|
|
|
229
59
|
ok: boolean;
|
|
230
60
|
version: number;
|
|
231
61
|
}>;
|
|
232
|
-
|
|
233
|
-
|
|
62
|
+
/** What makes this Ta who it is in rooms, private keys and all (RelayIdentityBundle): for the user's own computers alone. */
|
|
63
|
+
exportIdentity(): Promise<RelayIdentityBundle>;
|
|
64
|
+
/**
|
|
65
|
+
* Takes on the identity of the user's other computer, with its rooms and friends (a move, or the identity shared by
|
|
66
|
+
* sync). Another identity than this Ta's: each room this Ta is in keeps the identity it joined with
|
|
67
|
+
* (RelayRoomRecord.identity), new rooms are the other's. A room this Ta is in as another member is left as it is.
|
|
68
|
+
*/
|
|
69
|
+
importIdentity(bundle: RelayIdentityBundle, options?: {
|
|
70
|
+
shared?: boolean;
|
|
71
|
+
}): Promise<RelayIdentityImport>;
|
|
72
|
+
/** Whether the user's other computers are this Ta too (RelayIdentity.shared). */
|
|
73
|
+
setShared(shared: boolean): Promise<void>;
|
|
74
|
+
/**
|
|
75
|
+
* A room as the user's other computer has it: added, or merged with this Ta's record of the same membership
|
|
76
|
+
* (RelayHubsUtil.merge), connected or not as its status says. False when nothing changed, or this Ta is in the room
|
|
77
|
+
* as another member.
|
|
78
|
+
*/
|
|
79
|
+
upsert(record: RelayRoomRecord): boolean;
|
|
80
|
+
/** A room the user's other computer left or forgot: forgotten here, without a word to the relay (that computer said it). */
|
|
81
|
+
forget(roomId: string, member: string): boolean;
|
|
82
|
+
/** Friends of the user's other computer, with those of this Ta. */
|
|
83
|
+
mergeFriends(friends: RelayFriend[]): number;
|
|
84
|
+
/** The friends, with their keys: each in the room of the other (shares to friends are sealed for them). */
|
|
85
|
+
friends(): (RelayFriend & RelayPublicIdentity)[];
|
|
86
|
+
/** The friends and those being added, for the pages. */
|
|
87
|
+
listFriends(): RelayFriendInfo[];
|
|
88
|
+
/** The room of friends of this Ta, made the first time: other features keep there what they give friends. */
|
|
89
|
+
friendRoom(): Promise<RelayRoomInfo>;
|
|
90
|
+
/** The link (and code) that asks to be the user's friend; with `renew`, a new one, the one before no longer working. */
|
|
91
|
+
friendLink(renew?: boolean): Promise<{
|
|
92
|
+
link: string;
|
|
93
|
+
expiresAt: number;
|
|
94
|
+
}>;
|
|
95
|
+
/** Asks the one of a link to be friends, on the user's word. */
|
|
96
|
+
addFriend(link: string): Promise<void>;
|
|
97
|
+
/** Asks a member of a room the user is in to be friends. */
|
|
98
|
+
offerFriend(roomId: string, member: string): Promise<void>;
|
|
99
|
+
friendRequests(): RelayFriendRequest[];
|
|
100
|
+
/** The user's answer to one asking to be friends. */
|
|
101
|
+
answerFriend(id: string, accept: boolean): Promise<void>;
|
|
102
|
+
/** No longer friends, on both sides. */
|
|
103
|
+
removeFriend(id: string): Promise<boolean>;
|
|
104
|
+
protected isFriends(live: Live): boolean;
|
|
105
|
+
protected friendIds(): Set<string>;
|
|
106
|
+
protected heardAsk(live: Live, ask: RelayHubAskBody): void;
|
|
107
|
+
protected heardMembers(members: RelayPublicIdentity[]): void;
|
|
108
|
+
protected offered(live: Live, from: RelayPublicIdentity, link: string): void;
|
|
109
|
+
/** What changes the friends: rooms coming and going, members, the links friends leave to join back. */
|
|
110
|
+
protected after(event: RelayRoomEvent): void;
|
|
234
111
|
protected owned(roomId: string): Live;
|
|
235
112
|
protected member(roomId: string): Live;
|
|
236
113
|
protected info(live: Live): RelayRoomInfo;
|
|
237
|
-
protected requestOf(live: Live, ask: RelayHubAskBody, friends: Set<string>): RelayRoomRequest;
|
|
238
|
-
/** Resolves once the room is connected and has its state; rejects after a while. */
|
|
239
|
-
protected ready(live: Live): Promise<void>;
|
|
240
|
-
protected request(live: Live, request: RelayHubRequest): void;
|
|
241
|
-
protected sendBody(live: Live, body: MessageBody, to?: string): Promise<void>;
|
|
242
|
-
/** The roster with `change` made, its version one more, signed by the owner. */
|
|
243
|
-
protected nextRoster(live: Live, change: (members: RelayHubMember[]) => RelayHubMember[]): Promise<{
|
|
244
|
-
v: number;
|
|
245
|
-
d: string;
|
|
246
|
-
}>;
|
|
247
|
-
protected writeRoster(live: Live, change: (members: RelayHubMember[]) => RelayHubMember[]): Promise<void>;
|
|
248
|
-
protected connect(live: Live): void;
|
|
249
|
-
protected hello(live: Live, socket: WebSocket): Promise<void>;
|
|
250
|
-
protected closed(live: Live, code: number): void;
|
|
251
|
-
protected disconnect(live: Live): void;
|
|
252
|
-
protected receive(live: Live, text: string): Promise<void>;
|
|
253
|
-
protected failed(live: Live, code: RelayHubFailure): void;
|
|
254
|
-
protected setStatus(live: Live, status: RelayRoomStatus, reason?: RelayRoomRecord['reason']): void;
|
|
255
|
-
protected admitted(live: Live, answer: string): Promise<void>;
|
|
256
|
-
/** An ask to join: told as a request the first time this Ta hears it; `fresh` when it came now, not with the welcome. */
|
|
257
|
-
protected asked(live: Live, sealed: string, fresh: boolean): Promise<void>;
|
|
258
|
-
protected readRoster(live: Live, sealed: string): Promise<void>;
|
|
259
|
-
protected guestOf(live: Live, member: string): boolean;
|
|
260
|
-
protected signOf(live: Live): (member: string) => string | undefined;
|
|
261
|
-
protected readEntry(live: Live, entry: RelayHubEntry, tell: boolean): Promise<void>;
|
|
262
|
-
protected readMessage(live: Live, from: string, sealed: string): Promise<void>;
|
|
263
|
-
/** Those of a room are friends: kept with their keys and the rooms shared. */
|
|
264
|
-
protected meet(title: string, members: RelayPublicIdentity[]): void;
|
|
265
|
-
protected friendIds(): Set<string>;
|
|
266
|
-
protected readFriends(): RelayFriend[];
|
|
267
|
-
protected readRooms(): RelayRoomRecord[];
|
|
268
|
-
protected save(): void;
|
|
269
|
-
protected emit(event: RelayRoomEvent): void;
|
|
270
114
|
}
|
|
271
|
-
export {
|
|
115
|
+
export declare namespace RelayHubsUtil {
|
|
116
|
+
function isPrivate(identity: unknown): identity is RelayIdentity;
|
|
117
|
+
function isRecord(record: unknown): record is RelayRoomRecord;
|
|
118
|
+
/**
|
|
119
|
+
* Two records of one membership, as two computers of the user hold it: the further status (one heard it end), the
|
|
120
|
+
* key and the owner's keys once either has them, the invitations of both, made once either made it.
|
|
121
|
+
*/
|
|
122
|
+
function merge(local: RelayRoomRecord, other: RelayRoomRecord): RelayRoomRecord;
|
|
123
|
+
}
|
|
272
124
|
//# sourceMappingURL=relay-hubs.d.ts.map
|