@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.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{server-Curi-jN1.d.mts → server-rYuNULuJ.d.mts} +10 -0
- package/dist/{server-Curi-jN1.d.ts → server-rYuNULuJ.d.ts} +10 -0
- package/dist/server.d.mts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +4 -2
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +4 -2
- package/dist/server.mjs.map +1 -1
- package/package.json +3 -3
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) {
|