chelys 2.0.1 → 2.0.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.
package/dist/message.d.ts CHANGED
@@ -25,7 +25,8 @@ export declare enum EventType {
25
25
  USER_get_all = "USER-get-all",
26
26
  USER_unsubscribe = "USER-unsubscribe",
27
27
  CST_update = "CST-update",
28
- CST_GRADE_update = "CST-GRADE-update",
28
+ CST_GRADE_summary_update = "CST-GRADE-summary-update",
29
+ CST_GRADE_userdata_update = "CST-GRADE-userdata-update",
29
30
  CST_SONG_update = "CST-SONG-update",
30
31
  USER_update = "USER-update"
31
32
  }
package/dist/message.js CHANGED
@@ -28,7 +28,8 @@ var EventType;
28
28
  EventType["USER_unsubscribe"] = "USER-unsubscribe";
29
29
  // From server
30
30
  EventType["CST_update"] = "CST-update";
31
- EventType["CST_GRADE_update"] = "CST-GRADE-update";
31
+ EventType["CST_GRADE_summary_update"] = "CST-GRADE-summary-update";
32
+ EventType["CST_GRADE_userdata_update"] = "CST-GRADE-userdata-update";
32
33
  EventType["CST_SONG_update"] = "CST-SONG-update";
33
34
  EventType["USER_update"] = "USER-update";
34
35
  })(EventType = exports.EventType || (exports.EventType = {}));
package/dist/vote.d.ts CHANGED
@@ -26,7 +26,7 @@ export interface CstGradeReqUnsubscribe {
26
26
  cstId: string;
27
27
  }
28
28
  export interface CstGradeResUserDataUpdate {
29
- userData: GradeSummary;
29
+ userData: GradeUserData;
30
30
  }
31
31
  export interface CstGradeResSummaryUpdate {
32
32
  summary: GradeSummary;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chelys",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Common code between Yatga and Kalimba",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {