@ludeo/cloud-common 1.1.121-beta6 → 1.1.121-beta7

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.
@@ -7,7 +7,7 @@ export declare class GameResourceReadyForCreationFailedPayload {
7
7
  }
8
8
  export declare class GameResourceReadyForCreationFailed extends LudeoEvent {
9
9
  static readonly EVENT_NAME = "cloud-resources.game-resource-ready-for-creation-failed";
10
- constructor(payload: GameResourceReadyForCreationFailedPayload);
10
+ constructor(payload: GameResourceReadyForCreationFailedPayload, context: CloudResourceContext);
11
11
  context: CloudResourceContext;
12
12
  payload: GameResourceReadyForCreationFailedPayload;
13
13
  }
@@ -30,9 +30,10 @@ __decorate([
30
30
  __metadata("design:type", String)
31
31
  ], GameResourceReadyForCreationFailedPayload.prototype, "errorMessage", void 0);
32
32
  class GameResourceReadyForCreationFailed extends infra_1.LudeoEvent {
33
- constructor(payload) {
33
+ constructor(payload, context) {
34
34
  super(GameResourceReadyForCreationFailed.EVENT_NAME);
35
35
  this.payload = payload;
36
+ this.context = context;
36
37
  }
37
38
  }
38
39
  exports.GameResourceReadyForCreationFailed = GameResourceReadyForCreationFailed;
@@ -1 +1 @@
1
- {"version":3,"file":"game-resource-ready-for-creation-failed.js","sourceRoot":"","sources":["../../../src/v3/events/game-resource-ready-for-creation-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAyC;AACzC,qDAAmD;AACnD,iDAAsD;AACtD,0CAAmD;AAEnD,MAAa,yCAAyC;CASrD;AATD,8FASC;AAPC;IADC,IAAA,wBAAM,GAAE;;6EACU;AAGnB;IADC,IAAA,wBAAM,GAAE;;iFACc;AAGvB;IADC,IAAA,0BAAQ,GAAE;;+EACU;AAGvB,MAAa,kCAAmC,SAAQ,kBAAU;IAIhE,YAAY,OAAkD;QAC5D,KAAK,CAAC,kCAAkC,CAAC,UAAU,CAAC,CAAC;QACrD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,gFAcC;AAbiB,6CAAU,GACxB,yDAAyD,CAAC;AAQ5D;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;mEAAC;AAG9B;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,yCAAyC,CAAC;8BAC3D,yCAAyC;mEAAC"}
1
+ {"version":3,"file":"game-resource-ready-for-creation-failed.js","sourceRoot":"","sources":["../../../src/v3/events/game-resource-ready-for-creation-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAyC;AACzC,qDAAmD;AACnD,iDAAsD;AACtD,0CAAmD;AAEnD,MAAa,yCAAyC;CASrD;AATD,8FASC;AAPC;IADC,IAAA,wBAAM,GAAE;;6EACU;AAGnB;IADC,IAAA,wBAAM,GAAE;;iFACc;AAGvB;IADC,IAAA,0BAAQ,GAAE;;+EACU;AAGvB,MAAa,kCAAmC,SAAQ,kBAAU;IAIhE,YACE,OAAkD,EAClD,OAA6B;QAE7B,KAAK,CAAC,kCAAkC,CAAC,UAAU,CAAC,CAAC;QACrD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,gFAkBC;AAjBiB,6CAAU,GACxB,yDAAyD,CAAC;AAY5D;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;mEAAC;AAG9B;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,yCAAyC,CAAC;8BAC3D,yCAAyC;mEAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cloud-common",
3
- "version": "1.1.121-beta6",
3
+ "version": "1.1.121-beta7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",
@@ -18,9 +18,13 @@ export class GameResourceReadyForCreationFailed extends LudeoEvent {
18
18
  static readonly EVENT_NAME =
19
19
  "cloud-resources.game-resource-ready-for-creation-failed";
20
20
 
21
- constructor(payload: GameResourceReadyForCreationFailedPayload) {
21
+ constructor(
22
+ payload: GameResourceReadyForCreationFailedPayload,
23
+ context: CloudResourceContext,
24
+ ) {
22
25
  super(GameResourceReadyForCreationFailed.EVENT_NAME);
23
26
  this.payload = payload;
27
+ this.context = context;
24
28
  }
25
29
 
26
30
  @ValidateNestedType(() => CloudResourceContext)