@smartico/public-api 0.0.305 → 0.0.307

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.
@@ -2,4 +2,5 @@ export interface BonusTemplateMetaMap {
2
2
  description: string;
3
3
  acknowledge: string;
4
4
  image_url: string;
5
+ redirect_url?: string;
5
6
  }
@@ -854,6 +854,8 @@ export interface BonusTemplateMetaMap {
854
854
  acknowledge: string;
855
855
  /** Image URL of the bonus template*/
856
856
  image_url: string;
857
+ /** Redirect URL of the bonus template*/
858
+ redirect_url?: string;
857
859
  }
858
860
  export interface BonusMetaMap {
859
861
  /** Label and description of the bonus sent to the player*/
package/dist/index.js CHANGED
@@ -1358,7 +1358,7 @@ var UserAchievementTransform = function UserAchievementTransform(items) {
1358
1358
  claim_button_action: r.ach_public_meta.claim_button_action
1359
1359
  };
1360
1360
  if (r.ach_status_id === exports.AchievementStatus.Recurring) {
1361
- x.next_recurrence_date_ts = r.next_recurrence_date_ts;
1361
+ x.next_recurrence_date_ts = Date.now() + (r == null ? void 0 : r.milliseconds_till_available);
1362
1362
  }
1363
1363
  if (r.ach_status_id === exports.AchievementStatus.RecurringUponCompletion) {
1364
1364
  x.completion_count = r.completed_count;