@smartico/public-api 0.0.349 → 0.0.350

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.
@@ -86,6 +86,12 @@ var ClassId;
86
86
  ClassId[ClassId["GET_RELATED_ACH_N_TOURNAMENTS_RESPONSE"] = 544] = "GET_RELATED_ACH_N_TOURNAMENTS_RESPONSE";
87
87
  ClassId[ClassId["GET_POINT_HISTORY_REQUEST"] = 545] = "GET_POINT_HISTORY_REQUEST";
88
88
  ClassId[ClassId["GET_POINT_HISTORY_RESPONSE"] = 546] = "GET_POINT_HISTORY_RESPONSE";
89
+ ClassId[ClassId["GET_AVATARS_LIST_REQUEST"] = 560] = "GET_AVATARS_LIST_REQUEST";
90
+ ClassId[ClassId["GET_AVATARS_LIST_RESPONSE"] = 561] = "GET_AVATARS_LIST_RESPONSE";
91
+ ClassId[ClassId["GET_AVATARS_CUSTOMIZED_REQUEST"] = 562] = "GET_AVATARS_CUSTOMIZED_REQUEST";
92
+ ClassId[ClassId["GET_AVATARS_CUSTOMIZED_RESPONSE"] = 563] = "GET_AVATARS_CUSTOMIZED_RESPONSE";
93
+ ClassId[ClassId["GET_AVATAR_PROMPTS_REQUEST"] = 564] = "GET_AVATAR_PROMPTS_REQUEST";
94
+ ClassId[ClassId["GET_AVATAR_PROMPTS_RESPONSE"] = 565] = "GET_AVATAR_PROMPTS_RESPONSE";
89
95
  /*
90
96
  !Important, if adding new messages that are 'acting' on behalf of the client,
91
97
  you need to include them in the CLASS_ID_IGNORE_FOR_SIMULATION
@@ -2242,12 +2248,11 @@ class WSAPI {
2242
2248
  OCache.clearAll();
2243
2249
  }
2244
2250
  /** Returns information about current user
2245
- *
2251
+ * Pay attention that this method is synchronous and returns the user profile object immediately, not a promise.
2246
2252
  * **Example**:
2247
2253
  * ```
2248
- * _smartico.api.getUserProfile(result => {
2249
- * console.log(result);
2250
- * });
2254
+ * var p = _smartico.api.getUserProfile);
2255
+ * console.log(p);
2251
2256
  * ```
2252
2257
  * **Visitor mode: not supported**
2253
2258
  * */