@smartico/public-api 0.0.70 → 0.0.71

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.
@@ -820,7 +820,7 @@ class WSAPI {
820
820
  * The onUpdate callback will be called on mission OptIn and the updated missions will be passed to it. */
821
821
  async getMissions({
822
822
  onUpdate
823
- }) {
823
+ } = {}) {
824
824
  if (onUpdate) {
825
825
  this.onUpdateCallback.set(onUpdateContextKey.Missions, onUpdate);
826
826
  }
@@ -840,10 +840,10 @@ class WSAPI {
840
840
  }
841
841
  /** Returns the list of mini-games available for user
842
842
  * The returned list of mini-games is cached for 30 seconds. But you can pass the onUpdate callback as a parameter. Note that each time you call getMiniGames with a new onUpdate callback, the old one will be overwritten by the new one.
843
- * The onUpdate callback will be called on available spin count change, if mini-game has increasing jackpot per spin or wined prize is spin/jackpot and if max count of the available user spin equal one . Updated templates will be passed to onUpdate callback. */
843
+ * The onUpdate callback will be called on available spin count change, if mini-game has increasing jackpot per spin or wined prize is spin/jackpot and if max count of the available user spin equal one. Updated templates will be passed to onUpdate callback. */
844
844
  async getMiniGames({
845
845
  onUpdate
846
- }) {
846
+ } = {}) {
847
847
  if (onUpdate) {
848
848
  this.onUpdateCallback.set(onUpdateContextKey.Saw, onUpdate);
849
849
  }
@@ -865,7 +865,7 @@ class WSAPI {
865
865
  * The onUpdate callback will be called when the user has registered in a tournament. Updated list will be passed to onUpdate callback.*/
866
866
  async getTournamentsList({
867
867
  onUpdate
868
- }) {
868
+ } = {}) {
869
869
  if (onUpdate) {
870
870
  this.onUpdateCallback.set(onUpdateContextKey.TournamentList, onUpdate);
871
871
  }