@pairlobby/protocol 0.25.0 → 0.27.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/dist/wire.d.ts CHANGED
@@ -133,7 +133,7 @@ export declare const ServerHello: z.ZodObject<{
133
133
  pause?: boolean | undefined;
134
134
  turns?: boolean | undefined;
135
135
  } | undefined;
136
- nameSource?: "profile" | "room" | undefined;
136
+ nameSource?: "room" | "profile" | undefined;
137
137
  interruptRequested?: boolean | undefined;
138
138
  acknowledgedRevision?: number | undefined;
139
139
  }, {
@@ -166,7 +166,7 @@ export declare const ServerHello: z.ZodObject<{
166
166
  pause?: boolean | undefined;
167
167
  turns?: boolean | undefined;
168
168
  } | undefined;
169
- nameSource?: "profile" | "room" | undefined;
169
+ nameSource?: "room" | "profile" | undefined;
170
170
  interruptRequested?: boolean | undefined;
171
171
  acknowledgedRevision?: number | undefined;
172
172
  }>, "many">;
@@ -390,7 +390,7 @@ export declare const ServerHello: z.ZodObject<{
390
390
  pause?: boolean | undefined;
391
391
  turns?: boolean | undefined;
392
392
  } | undefined;
393
- nameSource?: "profile" | "room" | undefined;
393
+ nameSource?: "room" | "profile" | undefined;
394
394
  interruptRequested?: boolean | undefined;
395
395
  acknowledgedRevision?: number | undefined;
396
396
  }[];
@@ -494,7 +494,7 @@ export declare const ServerHello: z.ZodObject<{
494
494
  pause?: boolean | undefined;
495
495
  turns?: boolean | undefined;
496
496
  } | undefined;
497
- nameSource?: "profile" | "room" | undefined;
497
+ nameSource?: "room" | "profile" | undefined;
498
498
  interruptRequested?: boolean | undefined;
499
499
  acknowledgedRevision?: number | undefined;
500
500
  }[];
@@ -602,7 +602,7 @@ export declare const ServerHello: z.ZodObject<{
602
602
  pause?: boolean | undefined;
603
603
  turns?: boolean | undefined;
604
604
  } | undefined;
605
- nameSource?: "profile" | "room" | undefined;
605
+ nameSource?: "room" | "profile" | undefined;
606
606
  interruptRequested?: boolean | undefined;
607
607
  acknowledgedRevision?: number | undefined;
608
608
  }[];
@@ -710,7 +710,7 @@ export declare const ServerHello: z.ZodObject<{
710
710
  pause?: boolean | undefined;
711
711
  turns?: boolean | undefined;
712
712
  } | undefined;
713
- nameSource?: "profile" | "room" | undefined;
713
+ nameSource?: "room" | "profile" | undefined;
714
714
  interruptRequested?: boolean | undefined;
715
715
  acknowledgedRevision?: number | undefined;
716
716
  }[];
@@ -1360,12 +1360,12 @@ export declare const ServerEventFrame: z.ZodObject<{
1360
1360
  source: z.ZodEnum<["profile", "room"]>;
1361
1361
  }, "strip", z.ZodTypeAny, {
1362
1362
  name: string;
1363
- source: "profile" | "room";
1363
+ source: "room" | "profile";
1364
1364
  participantId: string;
1365
1365
  previousName: string;
1366
1366
  }, {
1367
1367
  name: string;
1368
- source: "profile" | "room";
1368
+ source: "room" | "profile";
1369
1369
  participantId: string;
1370
1370
  previousName: string;
1371
1371
  }>;
@@ -1373,7 +1373,7 @@ export declare const ServerEventFrame: z.ZodObject<{
1373
1373
  type: "participant.renamed";
1374
1374
  payload: {
1375
1375
  name: string;
1376
- source: "profile" | "room";
1376
+ source: "room" | "profile";
1377
1377
  participantId: string;
1378
1378
  previousName: string;
1379
1379
  };
@@ -1381,7 +1381,7 @@ export declare const ServerEventFrame: z.ZodObject<{
1381
1381
  type: "participant.renamed";
1382
1382
  payload: {
1383
1383
  name: string;
1384
- source: "profile" | "room";
1384
+ source: "room" | "profile";
1385
1385
  participantId: string;
1386
1386
  previousName: string;
1387
1387
  };
@@ -2361,7 +2361,7 @@ export declare const ServerEventFrame: z.ZodObject<{
2361
2361
  type: "participant.renamed";
2362
2362
  payload: {
2363
2363
  name: string;
2364
- source: "profile" | "room";
2364
+ source: "room" | "profile";
2365
2365
  participantId: string;
2366
2366
  previousName: string;
2367
2367
  };
@@ -2653,7 +2653,7 @@ export declare const ServerEventFrame: z.ZodObject<{
2653
2653
  type: "participant.renamed";
2654
2654
  payload: {
2655
2655
  name: string;
2656
- source: "profile" | "room";
2656
+ source: "room" | "profile";
2657
2657
  participantId: string;
2658
2658
  previousName: string;
2659
2659
  };
@@ -3005,7 +3005,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
3005
3005
  pause?: boolean | undefined;
3006
3006
  turns?: boolean | undefined;
3007
3007
  } | undefined;
3008
- nameSource?: "profile" | "room" | undefined;
3008
+ nameSource?: "room" | "profile" | undefined;
3009
3009
  interruptRequested?: boolean | undefined;
3010
3010
  acknowledgedRevision?: number | undefined;
3011
3011
  }, {
@@ -3038,7 +3038,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
3038
3038
  pause?: boolean | undefined;
3039
3039
  turns?: boolean | undefined;
3040
3040
  } | undefined;
3041
- nameSource?: "profile" | "room" | undefined;
3041
+ nameSource?: "room" | "profile" | undefined;
3042
3042
  interruptRequested?: boolean | undefined;
3043
3043
  acknowledgedRevision?: number | undefined;
3044
3044
  }>, "many">;
@@ -3262,7 +3262,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
3262
3262
  pause?: boolean | undefined;
3263
3263
  turns?: boolean | undefined;
3264
3264
  } | undefined;
3265
- nameSource?: "profile" | "room" | undefined;
3265
+ nameSource?: "room" | "profile" | undefined;
3266
3266
  interruptRequested?: boolean | undefined;
3267
3267
  acknowledgedRevision?: number | undefined;
3268
3268
  }[];
@@ -3366,7 +3366,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
3366
3366
  pause?: boolean | undefined;
3367
3367
  turns?: boolean | undefined;
3368
3368
  } | undefined;
3369
- nameSource?: "profile" | "room" | undefined;
3369
+ nameSource?: "room" | "profile" | undefined;
3370
3370
  interruptRequested?: boolean | undefined;
3371
3371
  acknowledgedRevision?: number | undefined;
3372
3372
  }[];
@@ -3474,7 +3474,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
3474
3474
  pause?: boolean | undefined;
3475
3475
  turns?: boolean | undefined;
3476
3476
  } | undefined;
3477
- nameSource?: "profile" | "room" | undefined;
3477
+ nameSource?: "room" | "profile" | undefined;
3478
3478
  interruptRequested?: boolean | undefined;
3479
3479
  acknowledgedRevision?: number | undefined;
3480
3480
  }[];
@@ -3582,7 +3582,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
3582
3582
  pause?: boolean | undefined;
3583
3583
  turns?: boolean | undefined;
3584
3584
  } | undefined;
3585
- nameSource?: "profile" | "room" | undefined;
3585
+ nameSource?: "room" | "profile" | undefined;
3586
3586
  interruptRequested?: boolean | undefined;
3587
3587
  acknowledgedRevision?: number | undefined;
3588
3588
  }[];
@@ -4231,12 +4231,12 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
4231
4231
  source: z.ZodEnum<["profile", "room"]>;
4232
4232
  }, "strip", z.ZodTypeAny, {
4233
4233
  name: string;
4234
- source: "profile" | "room";
4234
+ source: "room" | "profile";
4235
4235
  participantId: string;
4236
4236
  previousName: string;
4237
4237
  }, {
4238
4238
  name: string;
4239
- source: "profile" | "room";
4239
+ source: "room" | "profile";
4240
4240
  participantId: string;
4241
4241
  previousName: string;
4242
4242
  }>;
@@ -4244,7 +4244,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
4244
4244
  type: "participant.renamed";
4245
4245
  payload: {
4246
4246
  name: string;
4247
- source: "profile" | "room";
4247
+ source: "room" | "profile";
4248
4248
  participantId: string;
4249
4249
  previousName: string;
4250
4250
  };
@@ -4252,7 +4252,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
4252
4252
  type: "participant.renamed";
4253
4253
  payload: {
4254
4254
  name: string;
4255
- source: "profile" | "room";
4255
+ source: "room" | "profile";
4256
4256
  participantId: string;
4257
4257
  previousName: string;
4258
4258
  };
@@ -5232,7 +5232,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
5232
5232
  type: "participant.renamed";
5233
5233
  payload: {
5234
5234
  name: string;
5235
- source: "profile" | "room";
5235
+ source: "room" | "profile";
5236
5236
  participantId: string;
5237
5237
  previousName: string;
5238
5238
  };
@@ -5524,7 +5524,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
5524
5524
  type: "participant.renamed";
5525
5525
  payload: {
5526
5526
  name: string;
5527
- source: "profile" | "room";
5527
+ source: "room" | "profile";
5528
5528
  participantId: string;
5529
5529
  previousName: string;
5530
5530
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pairlobby/protocol",
3
- "version": "0.25.0",
3
+ "version": "0.27.0",
4
4
  "description": "PairLobby protocol: part of the PairLobby room protocol and relay",
5
5
  "license": "Elastic-2.0",
6
6
  "type": "module",