@timardex/cluemart-shared 1.5.46 → 1.5.48

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.
@@ -3430,12 +3430,13 @@ var GET_GAME = import_client55.gql`
3430
3430
  }
3431
3431
  ${GAME_FIELDS_FRAGMENT}
3432
3432
  `;
3433
- var GET_LEADERBOARD = import_client55.gql`
3434
- query getLeaderboard() {
3435
- leaderboard() {
3433
+ var GET_GAME_LEADERBOARD = import_client55.gql`
3434
+ query getGameLeaderboard {
3435
+ gameLeaderboard {
3436
3436
  gameHistory {
3437
3437
  ...GameHistoryFields
3438
3438
  }
3439
+ overallPoints
3439
3440
  owner {
3440
3441
  ...OwnerFields
3441
3442
  }
@@ -3778,11 +3779,11 @@ var useGetGame = (_id) => {
3778
3779
  return { error, game, loading, refetch };
3779
3780
  };
3780
3781
  var useGetGameLeaderboard = () => {
3781
- const { loading, error, data, refetch } = (0, import_client66.useQuery)(GET_LEADERBOARD, {
3782
+ const { loading, error, data, refetch } = (0, import_client66.useQuery)(GET_GAME_LEADERBOARD, {
3782
3783
  fetchPolicy: "network-only"
3783
3784
  });
3784
- const leaderboard = data?.leaderboard || [];
3785
- return { error, leaderboard, loading, refetch };
3785
+ const gameLeaderboard = data?.gameLeaderboard || [];
3786
+ return { error, gameLeaderboard, loading, refetch };
3786
3787
  };
3787
3788
  // Annotate the CommonJS export names for ESM import in node:
3788
3789
  0 && (module.exports = {