@liberfi.io/react-predict 0.1.48 → 0.1.49

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.
package/dist/index.mjs CHANGED
@@ -946,7 +946,8 @@ function resolveEventsParams(input = {}) {
946
946
  sort_asc,
947
947
  minVolume,
948
948
  minLiquidity,
949
- timeRemaining
949
+ timeRemaining,
950
+ markets_limit = 3
950
951
  } = input;
951
952
  const tag_slug = resolveTagSlug(tagSlugSelection);
952
953
  const min_volume = minVolume !== void 0 && minVolume !== "" ? Number(minVolume) : void 0;
@@ -962,7 +963,8 @@ function resolveEventsParams(input = {}) {
962
963
  ...sort_asc !== void 0 ? { sort_asc } : {},
963
964
  ...min_volume !== void 0 && !isNaN(min_volume) ? { min_volume } : {},
964
965
  ...min_liquidity !== void 0 && !isNaN(min_liquidity) ? { min_liquidity } : {},
965
- ...end_before ? { end_before } : {}
966
+ ...end_before ? { end_before } : {},
967
+ ...markets_limit ? { markets_limit } : {}
966
968
  };
967
969
  }
968
970
  function infiniteEventsQueryKey(params) {