@smartico/public-api 0.0.174 → 0.0.175

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.
@@ -1212,6 +1212,7 @@ class WSAPI {
1212
1212
  on(ClassId.IDENTIFY_RESPONSE, () => OCache.clearContext(ECacheContext.WSAPI));
1213
1213
  on(ClassId.JP_WIN_PUSH, data => this.jackpotClearCache());
1214
1214
  on(ClassId.JP_OPTOUT_RESPONSE, data => this.jackpotClearCache());
1215
+ on(ClassId.JP_OPTIN_RESPONSE, data => this.jackpotClearCache());
1215
1216
  on(ClassId.CLAIM_BONUS_RESPONSE, () => this.updateBonuses());
1216
1217
  on(ClassId.SAW_DO_SPIN_BATCH_RESPONSE, () => this.updateOnAddSpin());
1217
1218
  }
@@ -1975,8 +1976,8 @@ class WSAPI {
1975
1976
  * });
1976
1977
  * ```
1977
1978
  */
1978
- async getRelatedItemsForGame(related_game_id, force_language) {
1979
- const result = await this.api.getRelatedItemsForGame(null, related_game_id, force_language);
1979
+ async getRelatedItemsForGame(related_game_id) {
1980
+ const result = await this.api.getRelatedItemsForGame(null, related_game_id);
1980
1981
  return result;
1981
1982
  }
1982
1983
  }
@@ -2697,11 +2698,11 @@ class SmarticoAPI {
2697
2698
  getWSCalls() {
2698
2699
  return new WSAPI(this);
2699
2700
  }
2700
- async getRelatedItemsForGame(user_ext_id, related_game_id, force_language) {
2701
+ async getRelatedItemsForGame(user_ext_id, related_game_id) {
2701
2702
  const message = this.buildMessage(user_ext_id, ClassId.GET_RELATED_ACH_N_TOURNAMENTS_REQUEST, {
2702
2703
  related_game_id: related_game_id
2703
2704
  });
2704
- return await this.send(message, ClassId.GET_RELATED_ACH_N_TOURNAMENTS_RESPONSE, force_language);
2705
+ return await this.send(message, ClassId.GET_RELATED_ACH_N_TOURNAMENTS_RESPONSE);
2705
2706
  }
2706
2707
  }
2707
2708
 
@@ -3104,6 +3105,7 @@ var JackPotTemparature;
3104
3105
  var JackpotType;
3105
3106
  (function (JackpotType) {
3106
3107
  JackpotType[JackpotType["Main"] = 1] = "Main";
3108
+ JackpotType[JackpotType["Personal"] = 2] = "Personal";
3107
3109
  })(JackpotType || (JackpotType = {}));
3108
3110
 
3109
3111
  export { AchCategoryTransform, AchievementStatus, AchievementTaskType, AchievementType, ActivityTypeLimited, BonusItemsTransform, BonusStatus, BuyStoreItemErrorCode, ClassId, CookieStore, CoreUtils, ECacheContext, GetLevelMapResponseTransform, InboxMessageBodyTransform, InboxMessageType, InboxMessagesTransform, JackpotContributionType, JackpotType, LeaderBoardPeriodType, MiniGamePrizeTypeName, MiniGamePrizeTypeNamed, OCache, PublicLabelSettings, QuizAnswersValueType, QuizMarketPerSport, QuizSportType, SAWAcknowledgeType, SAWAskForUsername, SAWBuyInType, SAWBuyInTypeName, SAWBuyInTypeNamed, SAWGPMarketType, SAWGameType, SAWGameTypeName, SAWGameTypeNamed, SAWHistoryTransform, SAWPrizeType, SAWSpinErrorCode, SAWTemplatesTransform, SAWUtils, SAWWinSoundFiles, SAWWinSoundType, ScheduledMissionType, SmarticoAPI, StoreCategoryTransform, StoreItemPurchasedTransform, StoreItemTransform, StoreItemType, StoreItemTypeName, StoreItemTypeNamed, TournamentInstanceStatus, TournamentInstanceStatusName, TournamentItemsTransform, TournamentRegistrationError, TournamentRegistrationStatus, TournamentRegistrationStatusName, TournamentRegistrationStatusNamed, TournamentRegistrationType, TournamentRegistrationTypeGetName, TournamentType, TournamentUtils, TranslationArea, UserAchievementTransform, marketsInfo, quizAnswerAwayTeamReplacementText, quizAnswerHomeTeamReplacementText, quizAnswersTrKeys, quizDrawReplacementText, quizEvenReplacementText, quizNoReplacementText, quizOddReplacementText, quizOrReplacementText, quizSupportedSports, quizYesReplacementText, tournamentInfoItemTransform };