@ludeo/cloud-common 1.2.276-beta-yahil-1 → 1.2.276-beta-yahil-2

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.
@@ -6,4 +6,5 @@ export declare class AllocationRequestData {
6
6
  region?: string;
7
7
  sessionToken: string;
8
8
  cloudProvider?: CloudProvider;
9
+ socketId?: string;
9
10
  }
@@ -41,4 +41,9 @@ __decorate([
41
41
  (0, class_validator_1.IsOptional)(),
42
42
  __metadata("design:type", String)
43
43
  ], AllocationRequestData.prototype, "cloudProvider", void 0);
44
+ __decorate([
45
+ (0, class_validator_1.IsString)(),
46
+ (0, class_validator_1.IsOptional)(),
47
+ __metadata("design:type", String)
48
+ ], AllocationRequestData.prototype, "socketId", void 0);
44
49
  //# sourceMappingURL=allocation-request.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allocation-request.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/allocation-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAElE,oDAAyD;AACzD,yDAG4B;AAC5B,yCAA2C;AAE3C,MAAa,qBAAqB;CAmBjC;AAnBD,sDAmBC;AAhBC;IAFC,IAAA,+BAAkB,EAAC,yCAAsB,CAAC;IAC1C,IAAA,2BAAS,GAAE;;mEAC+B;AAI3C;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACK;AAIlB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACG;AAGhB;IADC,IAAA,0BAAQ,GAAE;;2DACU;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACiB"}
1
+ {"version":3,"file":"allocation-request.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/allocation-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAElE,oDAAyD;AACzD,yDAG4B;AAC5B,yCAA2C;AAE3C,MAAa,qBAAqB;CAyBjC;AAzBD,sDAyBC;AAtBC;IAFC,IAAA,+BAAkB,EAAC,yCAAsB,CAAC;IAC1C,IAAA,2BAAS,GAAE;;mEAC+B;AAI3C;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACK;AAIlB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACG;AAGhB;IADC,IAAA,0BAAQ,GAAE;;2DACU;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACiB;AAM9B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACK"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cloud-common",
3
- "version": "1.2.276-beta-yahil-1",
3
+ "version": "1.2.276-beta-yahil-2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",
@@ -26,4 +26,10 @@ export class AllocationRequestData {
26
26
  @IsString()
27
27
  @IsOptional()
28
28
  cloudProvider?: CloudProvider;
29
+
30
+ // The player's realtime (Echo) socket — carried in the request body so the allocator can push
31
+ // queue position/ETA updates. Persisted with requestData on the allocation request.
32
+ @IsString()
33
+ @IsOptional()
34
+ socketId?: string;
29
35
  }