@agg-build/ui 2.3.0 → 2.4.0
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/{chunk-6Z5GQ3KL.mjs → chunk-2ET5CXOU.mjs} +8 -1
- package/dist/{chunk-MXM5PM4A.mjs → chunk-3FLLEJFM.mjs} +3 -3
- package/dist/{chunk-7OVSGWI7.mjs → chunk-G5BXCT5Y.mjs} +1 -1
- package/dist/{chunk-SG573ODC.mjs → chunk-G5Y45GIA.mjs} +1 -1
- package/dist/{chunk-44GSDH2Y.mjs → chunk-GUYFQP7L.mjs} +2 -2
- package/dist/{chunk-ELLV56FR.mjs → chunk-JNYACAEW.mjs} +4 -4
- package/dist/{chunk-3R2CQTNM.mjs → chunk-MDO3NMXP.mjs} +2 -2
- package/dist/events.mjs +3 -3
- package/dist/index.js +6 -0
- package/dist/index.mjs +7 -7
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +6 -0
- package/dist/pages.mjs +6 -6
- package/dist/primitives.js +6 -0
- package/dist/primitives.mjs +1 -1
- package/dist/trading.mjs +4 -4
- package/package.json +1 -1
|
@@ -5203,7 +5203,8 @@ import {
|
|
|
5203
5203
|
useLiveOutcomePrices,
|
|
5204
5204
|
useMidpoints,
|
|
5205
5205
|
useSdkUiConfig as useSdkUiConfig10,
|
|
5206
|
-
useSearch
|
|
5206
|
+
useSearch,
|
|
5207
|
+
MarketStatus as MarketStatus2
|
|
5207
5208
|
} from "@agg-build/hooks";
|
|
5208
5209
|
import {
|
|
5209
5210
|
useCallback as useCallback3,
|
|
@@ -7386,6 +7387,12 @@ var Search = ({
|
|
|
7386
7387
|
q: shouldFetchResults ? debouncedSearchValue : "",
|
|
7387
7388
|
type: "events",
|
|
7388
7389
|
categoryIds,
|
|
7390
|
+
// Server-side open-only: without it a query whose top results are
|
|
7391
|
+
// resolved history (recurring series) returns a full page that
|
|
7392
|
+
// filterOpenEvents below then empties — rendering "no results" for
|
|
7393
|
+
// markets that exist. filterOpenEvents stays as the residual guard for
|
|
7394
|
+
// events with no open child markets, which the server doesn't check.
|
|
7395
|
+
status: [MarketStatus2.open],
|
|
7389
7396
|
limit: limit != null ? limit : DEFAULT_SEARCH_LIMIT,
|
|
7390
7397
|
enabled: shouldFetchResults
|
|
7391
7398
|
});
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
getTradingValueLabel,
|
|
9
9
|
getTradingVenueLabel,
|
|
10
10
|
resolveOrderEligibilityMessage
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-G5Y45GIA.mjs";
|
|
12
12
|
import {
|
|
13
13
|
GeoBlockBanner,
|
|
14
14
|
subscribeAggDepositNotification
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-G5BXCT5Y.mjs";
|
|
16
16
|
import {
|
|
17
17
|
AGG_TERMS_OF_SERVICE_URL,
|
|
18
18
|
Button,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
resolveResolvedOutcomeLabel,
|
|
45
45
|
skeletonViews,
|
|
46
46
|
useOptionalToast
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-2ET5CXOU.mjs";
|
|
48
48
|
|
|
49
49
|
// src/trading/types.ts
|
|
50
50
|
import { Venue, enumGuard, isFiniteNonNeg, safeParse } from "@agg-build/sdk";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
dispatchAggDepositNotification
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G5BXCT5Y.mjs";
|
|
5
5
|
import {
|
|
6
6
|
BestPricesIcon,
|
|
7
7
|
BoltIcon,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
shortenAddress,
|
|
42
42
|
useOptionalToast,
|
|
43
43
|
venueLogoLabels
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-2ET5CXOU.mjs";
|
|
45
45
|
|
|
46
46
|
// src/deposit/index.tsx
|
|
47
47
|
import { useAggAuthState, useAggUiConfig, useDepositAddresses, useLabels as useLabels11 } from "@agg-build/hooks";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
isErrorWithStatus,
|
|
11
11
|
useEventListTabs,
|
|
12
12
|
useEventListTabsHeaderOverflow
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MDO3NMXP.mjs";
|
|
14
14
|
import {
|
|
15
15
|
DEPOSIT_MODAL_OPEN_EVENT,
|
|
16
16
|
PlaceOrder,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
WITHDRAW_MODAL_OPEN_EVENT,
|
|
19
19
|
useClaimWinnings,
|
|
20
20
|
useResolvedMarketClaim
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3FLLEJFM.mjs";
|
|
22
22
|
import {
|
|
23
23
|
getDisplayOutcomePrice
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-G5Y45GIA.mjs";
|
|
25
25
|
import {
|
|
26
26
|
AggErrorBoundary,
|
|
27
27
|
Button,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
resolveTabVenus,
|
|
53
53
|
shortenAddress,
|
|
54
54
|
sortCategoriesForNavigation
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-2ET5CXOU.mjs";
|
|
56
56
|
|
|
57
57
|
// src/pages/home/index.tsx
|
|
58
58
|
import {
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
resolveUnifiedOrderBookEntries,
|
|
24
24
|
sortOutcomeSelectorOutcomes,
|
|
25
25
|
useEventTradingContext
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-G5Y45GIA.mjs";
|
|
27
27
|
import {
|
|
28
28
|
AutocompleteSelect,
|
|
29
29
|
Badge,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
sortCategoriesForNavigation,
|
|
76
76
|
sortOutcomes,
|
|
77
77
|
splitEventsByLifecycle
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-2ET5CXOU.mjs";
|
|
79
79
|
|
|
80
80
|
// src/events/item/index.tsx
|
|
81
81
|
import {
|
package/dist/events.mjs
CHANGED
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
orderbookRowLimitDefault,
|
|
17
17
|
resolveEventDetailsSyncKey,
|
|
18
18
|
useCenterOrderbookSpread
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MDO3NMXP.mjs";
|
|
20
20
|
import {
|
|
21
21
|
formatProbabilityCents,
|
|
22
22
|
resolveOrderBookRows,
|
|
23
23
|
resolveUnifiedOrderBookEntries
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-G5Y45GIA.mjs";
|
|
25
|
+
import "./chunk-2ET5CXOU.mjs";
|
|
26
26
|
export {
|
|
27
27
|
EventList,
|
|
28
28
|
EventListItem,
|
package/dist/index.js
CHANGED
|
@@ -7593,6 +7593,12 @@ var Search = ({
|
|
|
7593
7593
|
q: shouldFetchResults ? debouncedSearchValue : "",
|
|
7594
7594
|
type: "events",
|
|
7595
7595
|
categoryIds,
|
|
7596
|
+
// Server-side open-only: without it a query whose top results are
|
|
7597
|
+
// resolved history (recurring series) returns a full page that
|
|
7598
|
+
// filterOpenEvents below then empties — rendering "no results" for
|
|
7599
|
+
// markets that exist. filterOpenEvents stays as the residual guard for
|
|
7600
|
+
// events with no open child markets, which the server doesn't check.
|
|
7601
|
+
status: [import_hooks27.MarketStatus.open],
|
|
7596
7602
|
limit: limit != null ? limit : DEFAULT_SEARCH_LIMIT,
|
|
7597
7603
|
enabled: shouldFetchResults
|
|
7598
7604
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
UserProfilePage,
|
|
12
12
|
buildAggTxExplorerHref,
|
|
13
13
|
useHomePageModals
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JNYACAEW.mjs";
|
|
15
15
|
import {
|
|
16
16
|
EventList,
|
|
17
17
|
EventListItem,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
orderbookRowLimitDefault,
|
|
29
29
|
resolveEventDetailsSyncKey,
|
|
30
30
|
useCenterOrderbookSpread
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-MDO3NMXP.mjs";
|
|
32
32
|
import {
|
|
33
33
|
CARD_NETWORK_OPTIONS,
|
|
34
34
|
ConnectAccountsStep,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
buildTerminalSummary,
|
|
45
45
|
clearPendingCardSession,
|
|
46
46
|
getPendingCardSession
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-GUYFQP7L.mjs";
|
|
48
48
|
import {
|
|
49
49
|
AggNotificationEventsProvider,
|
|
50
50
|
DEPOSIT_MODAL_OPEN_EVENT,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
requestAggWithdrawModalOpen,
|
|
60
60
|
useClaimWinnings,
|
|
61
61
|
useResolvedMarketClaim
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-3FLLEJFM.mjs";
|
|
63
63
|
import {
|
|
64
64
|
SETTLEMENT_SECTION_ID,
|
|
65
65
|
Settlement,
|
|
@@ -77,10 +77,10 @@ import {
|
|
|
77
77
|
resolveOrderBookRows,
|
|
78
78
|
resolveUnifiedOrderBookEntries,
|
|
79
79
|
useEventTradingContext
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-G5Y45GIA.mjs";
|
|
81
81
|
import {
|
|
82
82
|
GeoBlockBanner
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-G5BXCT5Y.mjs";
|
|
84
84
|
import {
|
|
85
85
|
AGG_DEFAULT_URL,
|
|
86
86
|
AGG_DOCS_URL,
|
|
@@ -201,7 +201,7 @@ import {
|
|
|
201
201
|
useOptionalToast,
|
|
202
202
|
useToast,
|
|
203
203
|
venueLogoNames
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-2ET5CXOU.mjs";
|
|
205
205
|
|
|
206
206
|
// src/notifications/agg-toast-provider.tsx
|
|
207
207
|
import { jsx } from "react/jsx-runtime";
|
package/dist/modals.mjs
CHANGED
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
buildTerminalSummary,
|
|
15
15
|
clearPendingCardSession,
|
|
16
16
|
getPendingCardSession
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GUYFQP7L.mjs";
|
|
18
18
|
import {
|
|
19
19
|
GeoBlockBanner
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-G5BXCT5Y.mjs";
|
|
21
|
+
import "./chunk-2ET5CXOU.mjs";
|
|
22
22
|
export {
|
|
23
23
|
CARD_NETWORK_OPTIONS,
|
|
24
24
|
ConnectAccountsStep,
|
package/dist/pages.js
CHANGED
|
@@ -6823,6 +6823,12 @@ var Search = ({
|
|
|
6823
6823
|
q: shouldFetchResults ? debouncedSearchValue : "",
|
|
6824
6824
|
type: "events",
|
|
6825
6825
|
categoryIds,
|
|
6826
|
+
// Server-side open-only: without it a query whose top results are
|
|
6827
|
+
// resolved history (recurring series) returns a full page that
|
|
6828
|
+
// filterOpenEvents below then empties — rendering "no results" for
|
|
6829
|
+
// markets that exist. filterOpenEvents stays as the residual guard for
|
|
6830
|
+
// events with no open child markets, which the server doesn't check.
|
|
6831
|
+
status: [import_hooks27.MarketStatus.open],
|
|
6826
6832
|
limit: limit != null ? limit : DEFAULT_SEARCH_LIMIT,
|
|
6827
6833
|
enabled: shouldFetchResults
|
|
6828
6834
|
});
|
package/dist/pages.mjs
CHANGED
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
UserProfilePage,
|
|
9
9
|
buildAggTxExplorerHref,
|
|
10
10
|
useHomePageModals
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-JNYACAEW.mjs";
|
|
12
|
+
import "./chunk-MDO3NMXP.mjs";
|
|
13
13
|
import {
|
|
14
14
|
DEPOSIT_MODAL_OPEN_EVENT,
|
|
15
15
|
WITHDRAW_MODAL_OPEN_EVENT,
|
|
16
16
|
requestAggDepositModalOpen,
|
|
17
17
|
requestAggWithdrawModalOpen
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-3FLLEJFM.mjs";
|
|
19
|
+
import "./chunk-G5Y45GIA.mjs";
|
|
20
|
+
import "./chunk-G5BXCT5Y.mjs";
|
|
21
|
+
import "./chunk-2ET5CXOU.mjs";
|
|
22
22
|
export {
|
|
23
23
|
DEPOSIT_MODAL_OPEN_EVENT,
|
|
24
24
|
EventMarketPage,
|
package/dist/primitives.js
CHANGED
|
@@ -7173,6 +7173,12 @@ var Search = ({
|
|
|
7173
7173
|
q: shouldFetchResults ? debouncedSearchValue : "",
|
|
7174
7174
|
type: "events",
|
|
7175
7175
|
categoryIds,
|
|
7176
|
+
// Server-side open-only: without it a query whose top results are
|
|
7177
|
+
// resolved history (recurring series) returns a full page that
|
|
7178
|
+
// filterOpenEvents below then empties — rendering "no results" for
|
|
7179
|
+
// markets that exist. filterOpenEvents stays as the residual guard for
|
|
7180
|
+
// events with no open child markets, which the server doesn't check.
|
|
7181
|
+
status: [import_hooks27.MarketStatus.open],
|
|
7176
7182
|
limit: limit != null ? limit : DEFAULT_SEARCH_LIMIT,
|
|
7177
7183
|
enabled: shouldFetchResults
|
|
7178
7184
|
});
|
package/dist/primitives.mjs
CHANGED
package/dist/trading.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
parseVenue,
|
|
9
9
|
useClaimWinnings,
|
|
10
10
|
useResolvedMarketClaim
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3FLLEJFM.mjs";
|
|
12
12
|
import {
|
|
13
13
|
SETTLEMENT_SECTION_ID,
|
|
14
14
|
Settlement,
|
|
@@ -23,9 +23,9 @@ import {
|
|
|
23
23
|
getTradingValueLabel,
|
|
24
24
|
getTradingVenueLabel,
|
|
25
25
|
useEventTradingContext
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-G5Y45GIA.mjs";
|
|
27
|
+
import "./chunk-G5BXCT5Y.mjs";
|
|
28
|
+
import "./chunk-2ET5CXOU.mjs";
|
|
29
29
|
export {
|
|
30
30
|
PlaceOrder,
|
|
31
31
|
PlaceOrderFailureView,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agg-build/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Pre-built React component library for the AGG prediction market aggregator. Tailwind-based, themeable, with primitives, event surfaces, trading flows, full pages, and modals.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "MIT",
|