@fkn/lib 0.9.29 → 0.9.30

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.
@@ -1,5 +1,5 @@
1
1
  import { o as TcpSocketOption, v as UdpSocketOption } from "./wire-Gbo-D74t.js";
2
- import { $ as TcpSocketOptions, A as ProxyFetchInit, B as RoomJoinOptions, C as PackageQuery, D as PickOptions, F as RoomCreateOptions, G as RoomsErrorCode, O as Placement, P as Resolvers, R as RoomEvent, S as OverlayState, T as PackagesErrorCode, U as RoomPermission, Z as TcpSocketListenerOptions, _ as InstallOptions, a as ConflictChoice, c as ConnectAvailability, i as AdoptState, it as WriteData, j as ProxyFetchInput, l as ConnectOptions, m as FrameConsentRequest, nt as UdpSocketOptions, o as ConflictRequest, r as AdoptRequest, tt as UdpDatagram, y as IpFamily } from "./contract-DLyjkumA.js";
2
+ import { A as ProxyFetchInit, C as PackageQuery, D as PickOptions, G as RoomOpenOptions, H as RoomMailbox, J as RoomsErrorCode, K as RoomPermission, O as Placement, P as Resolvers, S as OverlayState, T as PackagesErrorCode, V as RoomJoinOptions, _ as InstallOptions, a as ConflictChoice, at as UdpSocketOptions, c as ConnectAvailability, et as TcpSocketListenerOptions, i as AdoptState, it as UdpDatagram, j as ProxyFetchInput, l as ConnectOptions, m as FrameConsentRequest, nt as TcpSocketOptions, o as ConflictRequest, r as AdoptRequest, st as WriteData, y as IpFamily, z as RoomEvent } from "./contract-CSdeTq_Y.js";
3
3
  import { Remote } from "osra";
4
4
  //#region src/api-epochs.d.ts
5
5
  type EpochListener<T> = (remote: T, epoch: number) => void;
@@ -277,8 +277,139 @@ declare const onApiEpoch: (listener: EpochListener<{
277
277
  };
278
278
  rooms: {
279
279
  available: () => Promise<boolean>;
280
- create: (options?: RoomCreateOptions | undefined) => Promise<{
280
+ open: (name: string, options?: RoomOpenOptions | undefined) => Promise<{
281
281
  id: string;
282
+ name: string;
283
+ key: string;
284
+ invite: string;
285
+ self: {
286
+ id: string;
287
+ permissions: {
288
+ readonly block: boolean;
289
+ readonly receive: boolean;
290
+ readonly remove: boolean;
291
+ readonly send: boolean;
292
+ };
293
+ maxMessageBytes: number;
294
+ };
295
+ owner: string;
296
+ claimed: boolean;
297
+ mailbox: RoomMailbox | null;
298
+ defaults: () => Promise<{
299
+ readonly send: boolean;
300
+ readonly receive: boolean;
301
+ readonly maxMessageBytes: number;
302
+ }>;
303
+ members: () => Promise<{
304
+ id: string;
305
+ permissions: {
306
+ readonly block: boolean;
307
+ readonly receive: boolean;
308
+ readonly remove: boolean;
309
+ readonly send: boolean;
310
+ };
311
+ maxMessageBytes: number;
312
+ }[]>;
313
+ send: (text: string) => Promise<{
314
+ error: RoomsErrorCode;
315
+ message: string;
316
+ } | {
317
+ ok: true;
318
+ }>;
319
+ edit: (seq: number, text: string) => Promise<{
320
+ error: RoomsErrorCode;
321
+ message: string;
322
+ } | {
323
+ ok: true;
324
+ }>;
325
+ delete: (from: number, to?: number | undefined) => Promise<{
326
+ error: RoomsErrorCode;
327
+ message: string;
328
+ } | {
329
+ ok: true;
330
+ }>;
331
+ backlog: (after: number, limit?: number | undefined) => Promise<{
332
+ error: RoomsErrorCode;
333
+ message: string;
334
+ } | {
335
+ last: number;
336
+ more: boolean;
337
+ }>;
338
+ setDefault: (permission: "receive" | "send", value: boolean) => Promise<{
339
+ error: RoomsErrorCode;
340
+ message: string;
341
+ } | {
342
+ ok: true;
343
+ }>;
344
+ limit: (maxMessageBytes: number | null, id?: string | undefined) => Promise<{
345
+ error: RoomsErrorCode;
346
+ message: string;
347
+ } | {
348
+ ok: true;
349
+ }>;
350
+ grant: (id: string, permission: RoomPermission) => Promise<{
351
+ error: RoomsErrorCode;
352
+ message: string;
353
+ } | {
354
+ ok: true;
355
+ }>;
356
+ revoke: (id: string, permission: RoomPermission) => Promise<{
357
+ error: RoomsErrorCode;
358
+ message: string;
359
+ } | {
360
+ ok: true;
361
+ }>;
362
+ remove: (id: string) => Promise<{
363
+ error: RoomsErrorCode;
364
+ message: string;
365
+ } | {
366
+ ok: true;
367
+ }>;
368
+ block: (id: string) => Promise<{
369
+ error: RoomsErrorCode;
370
+ message: string;
371
+ } | {
372
+ ok: true;
373
+ }>;
374
+ unblock: (id: string) => Promise<{
375
+ error: RoomsErrorCode;
376
+ message: string;
377
+ } | {
378
+ ok: true;
379
+ }>;
380
+ claim: () => Promise<{
381
+ error: RoomsErrorCode;
382
+ message: string;
383
+ } | {
384
+ ok: true;
385
+ }>;
386
+ release: () => Promise<{
387
+ error: RoomsErrorCode;
388
+ message: string;
389
+ } | {
390
+ ok: true;
391
+ }>;
392
+ usage: () => Promise<{
393
+ error: RoomsErrorCode;
394
+ message: string;
395
+ } | {
396
+ messages: number;
397
+ bytes: number;
398
+ cap: number;
399
+ archived: boolean;
400
+ } | null>;
401
+ on: (listener: (event: RoomEvent) => void) => Promise<() => Promise<void>>;
402
+ leave: () => Promise<void>;
403
+ closed: Promise<{
404
+ reason: 'left' | 'removed' | 'blocked' | 'ended' | 'unavailable';
405
+ }>;
406
+ } | {
407
+ error: RoomsErrorCode;
408
+ message: string;
409
+ }>;
410
+ create: (options?: RoomOpenOptions | undefined) => Promise<{
411
+ id: string;
412
+ name: string;
282
413
  key: string;
283
414
  invite: string;
284
415
  self: {
@@ -289,11 +420,15 @@ declare const onApiEpoch: (listener: EpochListener<{
289
420
  readonly remove: boolean;
290
421
  readonly send: boolean;
291
422
  };
423
+ maxMessageBytes: number;
292
424
  };
293
425
  owner: string;
426
+ claimed: boolean;
427
+ mailbox: RoomMailbox | null;
294
428
  defaults: () => Promise<{
295
429
  readonly send: boolean;
296
430
  readonly receive: boolean;
431
+ readonly maxMessageBytes: number;
297
432
  }>;
298
433
  members: () => Promise<{
299
434
  id: string;
@@ -303,6 +438,7 @@ declare const onApiEpoch: (listener: EpochListener<{
303
438
  readonly remove: boolean;
304
439
  readonly send: boolean;
305
440
  };
441
+ maxMessageBytes: number;
306
442
  }[]>;
307
443
  send: (text: string) => Promise<{
308
444
  error: RoomsErrorCode;
@@ -310,12 +446,37 @@ declare const onApiEpoch: (listener: EpochListener<{
310
446
  } | {
311
447
  ok: true;
312
448
  }>;
449
+ edit: (seq: number, text: string) => Promise<{
450
+ error: RoomsErrorCode;
451
+ message: string;
452
+ } | {
453
+ ok: true;
454
+ }>;
455
+ delete: (from: number, to?: number | undefined) => Promise<{
456
+ error: RoomsErrorCode;
457
+ message: string;
458
+ } | {
459
+ ok: true;
460
+ }>;
461
+ backlog: (after: number, limit?: number | undefined) => Promise<{
462
+ error: RoomsErrorCode;
463
+ message: string;
464
+ } | {
465
+ last: number;
466
+ more: boolean;
467
+ }>;
313
468
  setDefault: (permission: "receive" | "send", value: boolean) => Promise<{
314
469
  error: RoomsErrorCode;
315
470
  message: string;
316
471
  } | {
317
472
  ok: true;
318
473
  }>;
474
+ limit: (maxMessageBytes: number | null, id?: string | undefined) => Promise<{
475
+ error: RoomsErrorCode;
476
+ message: string;
477
+ } | {
478
+ ok: true;
479
+ }>;
319
480
  grant: (id: string, permission: RoomPermission) => Promise<{
320
481
  error: RoomsErrorCode;
321
482
  message: string;
@@ -346,6 +507,27 @@ declare const onApiEpoch: (listener: EpochListener<{
346
507
  } | {
347
508
  ok: true;
348
509
  }>;
510
+ claim: () => Promise<{
511
+ error: RoomsErrorCode;
512
+ message: string;
513
+ } | {
514
+ ok: true;
515
+ }>;
516
+ release: () => Promise<{
517
+ error: RoomsErrorCode;
518
+ message: string;
519
+ } | {
520
+ ok: true;
521
+ }>;
522
+ usage: () => Promise<{
523
+ error: RoomsErrorCode;
524
+ message: string;
525
+ } | {
526
+ messages: number;
527
+ bytes: number;
528
+ cap: number;
529
+ archived: boolean;
530
+ } | null>;
349
531
  on: (listener: (event: RoomEvent) => void) => Promise<() => Promise<void>>;
350
532
  leave: () => Promise<void>;
351
533
  closed: Promise<{
@@ -357,6 +539,7 @@ declare const onApiEpoch: (listener: EpochListener<{
357
539
  }>;
358
540
  join: (invite: string, options?: RoomJoinOptions | undefined) => Promise<{
359
541
  id: string;
542
+ name: string;
360
543
  key: string;
361
544
  invite: string;
362
545
  self: {
@@ -367,11 +550,15 @@ declare const onApiEpoch: (listener: EpochListener<{
367
550
  readonly remove: boolean;
368
551
  readonly send: boolean;
369
552
  };
553
+ maxMessageBytes: number;
370
554
  };
371
555
  owner: string;
556
+ claimed: boolean;
557
+ mailbox: RoomMailbox | null;
372
558
  defaults: () => Promise<{
373
559
  readonly send: boolean;
374
560
  readonly receive: boolean;
561
+ readonly maxMessageBytes: number;
375
562
  }>;
376
563
  members: () => Promise<{
377
564
  id: string;
@@ -381,6 +568,7 @@ declare const onApiEpoch: (listener: EpochListener<{
381
568
  readonly remove: boolean;
382
569
  readonly send: boolean;
383
570
  };
571
+ maxMessageBytes: number;
384
572
  }[]>;
385
573
  send: (text: string) => Promise<{
386
574
  error: RoomsErrorCode;
@@ -388,12 +576,37 @@ declare const onApiEpoch: (listener: EpochListener<{
388
576
  } | {
389
577
  ok: true;
390
578
  }>;
579
+ edit: (seq: number, text: string) => Promise<{
580
+ error: RoomsErrorCode;
581
+ message: string;
582
+ } | {
583
+ ok: true;
584
+ }>;
585
+ delete: (from: number, to?: number | undefined) => Promise<{
586
+ error: RoomsErrorCode;
587
+ message: string;
588
+ } | {
589
+ ok: true;
590
+ }>;
591
+ backlog: (after: number, limit?: number | undefined) => Promise<{
592
+ error: RoomsErrorCode;
593
+ message: string;
594
+ } | {
595
+ last: number;
596
+ more: boolean;
597
+ }>;
391
598
  setDefault: (permission: "receive" | "send", value: boolean) => Promise<{
392
599
  error: RoomsErrorCode;
393
600
  message: string;
394
601
  } | {
395
602
  ok: true;
396
603
  }>;
604
+ limit: (maxMessageBytes: number | null, id?: string | undefined) => Promise<{
605
+ error: RoomsErrorCode;
606
+ message: string;
607
+ } | {
608
+ ok: true;
609
+ }>;
397
610
  grant: (id: string, permission: RoomPermission) => Promise<{
398
611
  error: RoomsErrorCode;
399
612
  message: string;
@@ -424,6 +637,27 @@ declare const onApiEpoch: (listener: EpochListener<{
424
637
  } | {
425
638
  ok: true;
426
639
  }>;
640
+ claim: () => Promise<{
641
+ error: RoomsErrorCode;
642
+ message: string;
643
+ } | {
644
+ ok: true;
645
+ }>;
646
+ release: () => Promise<{
647
+ error: RoomsErrorCode;
648
+ message: string;
649
+ } | {
650
+ ok: true;
651
+ }>;
652
+ usage: () => Promise<{
653
+ error: RoomsErrorCode;
654
+ message: string;
655
+ } | {
656
+ messages: number;
657
+ bytes: number;
658
+ cap: number;
659
+ archived: boolean;
660
+ } | null>;
427
661
  on: (listener: (event: RoomEvent) => void) => Promise<() => Promise<void>>;
428
662
  leave: () => Promise<void>;
429
663
  closed: Promise<{
@@ -753,8 +987,9 @@ declare const currentApiEpoch: () => {
753
987
  };
754
988
  rooms: {
755
989
  available: () => Promise<boolean>;
756
- create: (options?: RoomCreateOptions | undefined) => Promise<{
990
+ open: (name: string, options?: RoomOpenOptions | undefined) => Promise<{
757
991
  id: string;
992
+ name: string;
758
993
  key: string;
759
994
  invite: string;
760
995
  self: {
@@ -765,11 +1000,15 @@ declare const currentApiEpoch: () => {
765
1000
  readonly remove: boolean;
766
1001
  readonly send: boolean;
767
1002
  };
1003
+ maxMessageBytes: number;
768
1004
  };
769
1005
  owner: string;
1006
+ claimed: boolean;
1007
+ mailbox: RoomMailbox | null;
770
1008
  defaults: () => Promise<{
771
1009
  readonly send: boolean;
772
1010
  readonly receive: boolean;
1011
+ readonly maxMessageBytes: number;
773
1012
  }>;
774
1013
  members: () => Promise<{
775
1014
  id: string;
@@ -779,6 +1018,7 @@ declare const currentApiEpoch: () => {
779
1018
  readonly remove: boolean;
780
1019
  readonly send: boolean;
781
1020
  };
1021
+ maxMessageBytes: number;
782
1022
  }[]>;
783
1023
  send: (text: string) => Promise<{
784
1024
  error: RoomsErrorCode;
@@ -786,12 +1026,37 @@ declare const currentApiEpoch: () => {
786
1026
  } | {
787
1027
  ok: true;
788
1028
  }>;
1029
+ edit: (seq: number, text: string) => Promise<{
1030
+ error: RoomsErrorCode;
1031
+ message: string;
1032
+ } | {
1033
+ ok: true;
1034
+ }>;
1035
+ delete: (from: number, to?: number | undefined) => Promise<{
1036
+ error: RoomsErrorCode;
1037
+ message: string;
1038
+ } | {
1039
+ ok: true;
1040
+ }>;
1041
+ backlog: (after: number, limit?: number | undefined) => Promise<{
1042
+ error: RoomsErrorCode;
1043
+ message: string;
1044
+ } | {
1045
+ last: number;
1046
+ more: boolean;
1047
+ }>;
789
1048
  setDefault: (permission: "receive" | "send", value: boolean) => Promise<{
790
1049
  error: RoomsErrorCode;
791
1050
  message: string;
792
1051
  } | {
793
1052
  ok: true;
794
1053
  }>;
1054
+ limit: (maxMessageBytes: number | null, id?: string | undefined) => Promise<{
1055
+ error: RoomsErrorCode;
1056
+ message: string;
1057
+ } | {
1058
+ ok: true;
1059
+ }>;
795
1060
  grant: (id: string, permission: RoomPermission) => Promise<{
796
1061
  error: RoomsErrorCode;
797
1062
  message: string;
@@ -822,6 +1087,157 @@ declare const currentApiEpoch: () => {
822
1087
  } | {
823
1088
  ok: true;
824
1089
  }>;
1090
+ claim: () => Promise<{
1091
+ error: RoomsErrorCode;
1092
+ message: string;
1093
+ } | {
1094
+ ok: true;
1095
+ }>;
1096
+ release: () => Promise<{
1097
+ error: RoomsErrorCode;
1098
+ message: string;
1099
+ } | {
1100
+ ok: true;
1101
+ }>;
1102
+ usage: () => Promise<{
1103
+ error: RoomsErrorCode;
1104
+ message: string;
1105
+ } | {
1106
+ messages: number;
1107
+ bytes: number;
1108
+ cap: number;
1109
+ archived: boolean;
1110
+ } | null>;
1111
+ on: (listener: (event: RoomEvent) => void) => Promise<() => Promise<void>>;
1112
+ leave: () => Promise<void>;
1113
+ closed: Promise<{
1114
+ reason: 'left' | 'removed' | 'blocked' | 'ended' | 'unavailable';
1115
+ }>;
1116
+ } | {
1117
+ error: RoomsErrorCode;
1118
+ message: string;
1119
+ }>;
1120
+ create: (options?: RoomOpenOptions | undefined) => Promise<{
1121
+ id: string;
1122
+ name: string;
1123
+ key: string;
1124
+ invite: string;
1125
+ self: {
1126
+ id: string;
1127
+ permissions: {
1128
+ readonly block: boolean;
1129
+ readonly receive: boolean;
1130
+ readonly remove: boolean;
1131
+ readonly send: boolean;
1132
+ };
1133
+ maxMessageBytes: number;
1134
+ };
1135
+ owner: string;
1136
+ claimed: boolean;
1137
+ mailbox: RoomMailbox | null;
1138
+ defaults: () => Promise<{
1139
+ readonly send: boolean;
1140
+ readonly receive: boolean;
1141
+ readonly maxMessageBytes: number;
1142
+ }>;
1143
+ members: () => Promise<{
1144
+ id: string;
1145
+ permissions: {
1146
+ readonly block: boolean;
1147
+ readonly receive: boolean;
1148
+ readonly remove: boolean;
1149
+ readonly send: boolean;
1150
+ };
1151
+ maxMessageBytes: number;
1152
+ }[]>;
1153
+ send: (text: string) => Promise<{
1154
+ error: RoomsErrorCode;
1155
+ message: string;
1156
+ } | {
1157
+ ok: true;
1158
+ }>;
1159
+ edit: (seq: number, text: string) => Promise<{
1160
+ error: RoomsErrorCode;
1161
+ message: string;
1162
+ } | {
1163
+ ok: true;
1164
+ }>;
1165
+ delete: (from: number, to?: number | undefined) => Promise<{
1166
+ error: RoomsErrorCode;
1167
+ message: string;
1168
+ } | {
1169
+ ok: true;
1170
+ }>;
1171
+ backlog: (after: number, limit?: number | undefined) => Promise<{
1172
+ error: RoomsErrorCode;
1173
+ message: string;
1174
+ } | {
1175
+ last: number;
1176
+ more: boolean;
1177
+ }>;
1178
+ setDefault: (permission: "receive" | "send", value: boolean) => Promise<{
1179
+ error: RoomsErrorCode;
1180
+ message: string;
1181
+ } | {
1182
+ ok: true;
1183
+ }>;
1184
+ limit: (maxMessageBytes: number | null, id?: string | undefined) => Promise<{
1185
+ error: RoomsErrorCode;
1186
+ message: string;
1187
+ } | {
1188
+ ok: true;
1189
+ }>;
1190
+ grant: (id: string, permission: RoomPermission) => Promise<{
1191
+ error: RoomsErrorCode;
1192
+ message: string;
1193
+ } | {
1194
+ ok: true;
1195
+ }>;
1196
+ revoke: (id: string, permission: RoomPermission) => Promise<{
1197
+ error: RoomsErrorCode;
1198
+ message: string;
1199
+ } | {
1200
+ ok: true;
1201
+ }>;
1202
+ remove: (id: string) => Promise<{
1203
+ error: RoomsErrorCode;
1204
+ message: string;
1205
+ } | {
1206
+ ok: true;
1207
+ }>;
1208
+ block: (id: string) => Promise<{
1209
+ error: RoomsErrorCode;
1210
+ message: string;
1211
+ } | {
1212
+ ok: true;
1213
+ }>;
1214
+ unblock: (id: string) => Promise<{
1215
+ error: RoomsErrorCode;
1216
+ message: string;
1217
+ } | {
1218
+ ok: true;
1219
+ }>;
1220
+ claim: () => Promise<{
1221
+ error: RoomsErrorCode;
1222
+ message: string;
1223
+ } | {
1224
+ ok: true;
1225
+ }>;
1226
+ release: () => Promise<{
1227
+ error: RoomsErrorCode;
1228
+ message: string;
1229
+ } | {
1230
+ ok: true;
1231
+ }>;
1232
+ usage: () => Promise<{
1233
+ error: RoomsErrorCode;
1234
+ message: string;
1235
+ } | {
1236
+ messages: number;
1237
+ bytes: number;
1238
+ cap: number;
1239
+ archived: boolean;
1240
+ } | null>;
825
1241
  on: (listener: (event: RoomEvent) => void) => Promise<() => Promise<void>>;
826
1242
  leave: () => Promise<void>;
827
1243
  closed: Promise<{
@@ -833,6 +1249,7 @@ declare const currentApiEpoch: () => {
833
1249
  }>;
834
1250
  join: (invite: string, options?: RoomJoinOptions | undefined) => Promise<{
835
1251
  id: string;
1252
+ name: string;
836
1253
  key: string;
837
1254
  invite: string;
838
1255
  self: {
@@ -843,11 +1260,15 @@ declare const currentApiEpoch: () => {
843
1260
  readonly remove: boolean;
844
1261
  readonly send: boolean;
845
1262
  };
1263
+ maxMessageBytes: number;
846
1264
  };
847
1265
  owner: string;
1266
+ claimed: boolean;
1267
+ mailbox: RoomMailbox | null;
848
1268
  defaults: () => Promise<{
849
1269
  readonly send: boolean;
850
1270
  readonly receive: boolean;
1271
+ readonly maxMessageBytes: number;
851
1272
  }>;
852
1273
  members: () => Promise<{
853
1274
  id: string;
@@ -857,6 +1278,7 @@ declare const currentApiEpoch: () => {
857
1278
  readonly remove: boolean;
858
1279
  readonly send: boolean;
859
1280
  };
1281
+ maxMessageBytes: number;
860
1282
  }[]>;
861
1283
  send: (text: string) => Promise<{
862
1284
  error: RoomsErrorCode;
@@ -864,12 +1286,37 @@ declare const currentApiEpoch: () => {
864
1286
  } | {
865
1287
  ok: true;
866
1288
  }>;
1289
+ edit: (seq: number, text: string) => Promise<{
1290
+ error: RoomsErrorCode;
1291
+ message: string;
1292
+ } | {
1293
+ ok: true;
1294
+ }>;
1295
+ delete: (from: number, to?: number | undefined) => Promise<{
1296
+ error: RoomsErrorCode;
1297
+ message: string;
1298
+ } | {
1299
+ ok: true;
1300
+ }>;
1301
+ backlog: (after: number, limit?: number | undefined) => Promise<{
1302
+ error: RoomsErrorCode;
1303
+ message: string;
1304
+ } | {
1305
+ last: number;
1306
+ more: boolean;
1307
+ }>;
867
1308
  setDefault: (permission: "receive" | "send", value: boolean) => Promise<{
868
1309
  error: RoomsErrorCode;
869
1310
  message: string;
870
1311
  } | {
871
1312
  ok: true;
872
1313
  }>;
1314
+ limit: (maxMessageBytes: number | null, id?: string | undefined) => Promise<{
1315
+ error: RoomsErrorCode;
1316
+ message: string;
1317
+ } | {
1318
+ ok: true;
1319
+ }>;
873
1320
  grant: (id: string, permission: RoomPermission) => Promise<{
874
1321
  error: RoomsErrorCode;
875
1322
  message: string;
@@ -900,6 +1347,27 @@ declare const currentApiEpoch: () => {
900
1347
  } | {
901
1348
  ok: true;
902
1349
  }>;
1350
+ claim: () => Promise<{
1351
+ error: RoomsErrorCode;
1352
+ message: string;
1353
+ } | {
1354
+ ok: true;
1355
+ }>;
1356
+ release: () => Promise<{
1357
+ error: RoomsErrorCode;
1358
+ message: string;
1359
+ } | {
1360
+ ok: true;
1361
+ }>;
1362
+ usage: () => Promise<{
1363
+ error: RoomsErrorCode;
1364
+ message: string;
1365
+ } | {
1366
+ messages: number;
1367
+ bytes: number;
1368
+ cap: number;
1369
+ archived: boolean;
1370
+ } | null>;
903
1371
  on: (listener: (event: RoomEvent) => void) => Promise<() => Promise<void>>;
904
1372
  leave: () => Promise<void>;
905
1373
  closed: Promise<{
package/api.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { P as Resolvers } from "./contract-DLyjkumA.js";
2
- import { a as apiPromise, c as hasTransport, i as apiLastCall, l as onApiEpoch, n as BrokerUnreachableError, o as apiWithin, r as apiInFlight, s as currentApiEpoch, t as API_DEADLINE_MS } from "./api-CxrIIOW8.js";
1
+ import { P as Resolvers } from "./contract-CSdeTq_Y.js";
2
+ import { a as apiPromise, c as hasTransport, i as apiLastCall, l as onApiEpoch, n as BrokerUnreachableError, o as apiWithin, r as apiInFlight, s as currentApiEpoch, t as API_DEADLINE_MS } from "./api-LKxHamsI.js";
3
3
  export { API_DEADLINE_MS, BrokerUnreachableError, type Resolvers, apiInFlight, apiLastCall, apiPromise, apiWithin, currentApiEpoch, hasTransport, onApiEpoch };
package/cloud/dns.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { n as AddressLookupResult } from "../contract-DLyjkumA.js";
1
+ import { n as AddressLookupResult } from "../contract-CSdeTq_Y.js";
2
2
  import { lookup } from "../dns.js";
3
3
  export { type AddressLookupResult, lookup };
package/cloud/fetch.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as cloudFetch } from "../proxy-YNFaF0dC.js";
1
+ import { t as cloudFetch } from "../proxy-AooDS--C.js";
2
2
  export { cloudFetch as fetch };
package/cloud/net.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as createConnection, c as isIP, i as connect, l as isIPv4, n as Socket, o as createServer, r as _default, t as Server, u as isIPv6 } from "../net-DOkodxE3.js";
1
+ import { a as createConnection, c as isIP, i as connect, l as isIPv4, n as Socket, o as createServer, r as _default, t as Server, u as isIPv6 } from "../net-DtRM2eKo.js";
2
2
  export { Server, Socket, _default, _default as default, connect, createConnection, createServer, isIP, isIPv4, isIPv6 };
@@ -1,8 +1,8 @@
1
- import { t as cloudFetch } from "./proxy-YNFaF0dC.js";
1
+ import { t as cloudFetch } from "./proxy-AooDS--C.js";
2
2
  import { i as Frame, r as AttachFrameOptions } from "./index-DH3_12nU.js";
3
3
  import { t as dns_d_exports } from "./dns.js";
4
4
  import { n as fs_d_exports } from "./fs-CBVaShOR.js";
5
- import { s as net_d_exports } from "./net-DOkodxE3.js";
5
+ import { s as net_d_exports } from "./net-DtRM2eKo.js";
6
6
  import { t as dgram_d_exports } from "./dgram.js";
7
7
  import { t as http_d_exports } from "./http.js";
8
8
  //#region src/cloud/frame.d.ts
package/cloud.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { t as cloudFetch } from "./proxy-YNFaF0dC.js";
2
- import { a as attachFrame, i as quota, r as QuotaStatus, t as available } from "./cloud-BpruQ4I2.js";
1
+ import { t as cloudFetch } from "./proxy-AooDS--C.js";
2
+ import { a as attachFrame, i as quota, r as QuotaStatus, t as available } from "./cloud-IeXxCNsl.js";
3
3
  import { t as dns_d_exports } from "./dns.js";
4
4
  import { n as fs_d_exports } from "./fs-CBVaShOR.js";
5
- import { s as net_d_exports } from "./net-DOkodxE3.js";
5
+ import { s as net_d_exports } from "./net-DtRM2eKo.js";
6
6
  import { t as dgram_d_exports } from "./dgram.js";
7
7
  import { t as http_d_exports } from "./http.js";
8
8
  export { type QuotaStatus, attachFrame, available, dgram_d_exports as dgram, dns_d_exports as dns, cloudFetch as fetch, fs_d_exports as fs, http_d_exports as http, net_d_exports as net, quota };