@agg-build/ui 2.1.0 → 2.1.2
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-C5M2OOM3.mjs → chunk-5RBHMMY3.mjs} +1 -1
- package/dist/{chunk-YMVD6Q2A.mjs → chunk-75AMJAWR.mjs} +1 -1
- package/dist/{chunk-Y6PVXAUQ.mjs → chunk-7ZR5JYB3.mjs} +423 -488
- package/dist/{chunk-R6FBYAY5.mjs → chunk-JJDYOBVG.mjs} +117 -48
- package/dist/{chunk-3OI2ZLLT.mjs → chunk-NRNBJPYK.mjs} +1 -1
- package/dist/{chunk-DXF2LMNN.mjs → chunk-TBD3N4T4.mjs} +849 -759
- package/dist/{chunk-YAEA6EDG.mjs → chunk-ZOECARZW.mjs} +364 -17
- package/dist/events.js +1115 -972
- package/dist/events.mjs +3 -3
- package/dist/index.js +3705 -3278
- package/dist/index.mjs +16 -8
- package/dist/modals.js +851 -824
- package/dist/modals.mjs +3 -3
- package/dist/pages.js +2778 -2357
- package/dist/pages.mjs +8 -6
- package/dist/primitives.js +849 -759
- package/dist/primitives.mjs +3 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.js +970 -599
- package/dist/trading.mjs +10 -6
- package/dist/types/events/shared/format-event-title.d.mts +25 -0
- package/dist/types/events/shared/format-event-title.d.ts +25 -0
- package/dist/types/events/shared/select-best-outcome.d.mts +88 -0
- package/dist/types/events/shared/select-best-outcome.d.ts +88 -0
- package/dist/types/pages/event-market/event-market.types.d.mts +7 -0
- package/dist/types/pages/event-market/event-market.types.d.ts +7 -0
- package/dist/types/pages/user-profile/index.d.mts +1 -0
- package/dist/types/pages/user-profile/index.d.ts +1 -0
- package/dist/types/pages/user-profile/transaction-explorer.d.mts +1 -0
- package/dist/types/pages/user-profile/transaction-explorer.d.ts +1 -0
- package/dist/types/pages/user-profile/user-profile.types.d.mts +8 -2
- package/dist/types/pages/user-profile/user-profile.types.d.ts +8 -2
- package/dist/types/primitives/icon/index.d.mts +2 -1
- package/dist/types/primitives/icon/index.d.ts +2 -1
- package/dist/types/primitives/icon/registry.d.mts +4 -0
- package/dist/types/primitives/icon/registry.d.ts +4 -0
- package/dist/types/primitives/icon/svg/paper-mode.d.mts +5 -0
- package/dist/types/primitives/icon/svg/paper-mode.d.ts +5 -0
- package/dist/types/primitives/search/search.utils.d.mts +3 -1
- package/dist/types/primitives/search/search.utils.d.ts +3 -1
- package/dist/types/trading/index.d.mts +2 -0
- package/dist/types/trading/index.d.ts +2 -0
- package/dist/types/trading/place-order/index.d.mts +1 -1
- package/dist/types/trading/place-order/index.d.ts +1 -1
- package/dist/types/trading/place-order/index.place-order.types.d.mts +23 -1
- package/dist/types/trading/place-order/index.place-order.types.d.ts +23 -1
- package/dist/types/trading/use-claim-winnings.d.mts +84 -0
- package/dist/types/trading/use-claim-winnings.d.ts +84 -0
- package/dist/types/trading/use-resolved-market-claim.d.mts +26 -0
- package/dist/types/trading/use-resolved-market-claim.d.ts +26 -0
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -9,8 +9,9 @@ import {
|
|
|
9
9
|
USER_PROFILE_TAB_OPEN_ORDERS,
|
|
10
10
|
USER_PROFILE_TAB_POSITIONS,
|
|
11
11
|
UserProfilePage,
|
|
12
|
+
buildAggTxExplorerHref,
|
|
12
13
|
useHomePageModals
|
|
13
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7ZR5JYB3.mjs";
|
|
14
15
|
import {
|
|
15
16
|
EventList,
|
|
16
17
|
EventListItem,
|
|
@@ -26,7 +27,7 @@ import {
|
|
|
26
27
|
mergeVenueOutcomeOrderbooks,
|
|
27
28
|
orderbookRowLimitDefault,
|
|
28
29
|
useCenterOrderbookSpread
|
|
29
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-JJDYOBVG.mjs";
|
|
30
31
|
import {
|
|
31
32
|
CARD_NETWORK_OPTIONS,
|
|
32
33
|
ConnectAccountsStep,
|
|
@@ -43,7 +44,7 @@ import {
|
|
|
43
44
|
clearPendingCardSession,
|
|
44
45
|
getPendingCardSession,
|
|
45
46
|
subscribeAggDepositNotification
|
|
46
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-NRNBJPYK.mjs";
|
|
47
48
|
import {
|
|
48
49
|
DEPOSIT_MODAL_OPEN_EVENT,
|
|
49
50
|
PlaceOrder,
|
|
@@ -54,8 +55,10 @@ import {
|
|
|
54
55
|
parseAmount,
|
|
55
56
|
parseVenue,
|
|
56
57
|
requestAggDepositModalOpen,
|
|
57
|
-
requestAggWithdrawModalOpen
|
|
58
|
-
|
|
58
|
+
requestAggWithdrawModalOpen,
|
|
59
|
+
useClaimWinnings,
|
|
60
|
+
useResolvedMarketClaim
|
|
61
|
+
} from "./chunk-ZOECARZW.mjs";
|
|
59
62
|
import {
|
|
60
63
|
SETTLEMENT_SECTION_ID,
|
|
61
64
|
Settlement,
|
|
@@ -73,10 +76,10 @@ import {
|
|
|
73
76
|
resolveOrderBookRows,
|
|
74
77
|
resolveUnifiedOrderBookEntries,
|
|
75
78
|
useEventTradingContext
|
|
76
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-5RBHMMY3.mjs";
|
|
77
80
|
import {
|
|
78
81
|
GeoBlockBanner
|
|
79
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-75AMJAWR.mjs";
|
|
80
83
|
import {
|
|
81
84
|
AGG_DEFAULT_URL,
|
|
82
85
|
AGG_DOCS_URL,
|
|
@@ -139,6 +142,7 @@ import {
|
|
|
139
142
|
LockIcon,
|
|
140
143
|
Modal,
|
|
141
144
|
NumberValue,
|
|
145
|
+
PaperModeIcon,
|
|
142
146
|
PaperPlaneIcon,
|
|
143
147
|
PencilIcon,
|
|
144
148
|
PlaceOrderRouteCardSkeleton,
|
|
@@ -195,7 +199,7 @@ import {
|
|
|
195
199
|
useOptionalToast,
|
|
196
200
|
useToast,
|
|
197
201
|
venueLogoNames
|
|
198
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-TBD3N4T4.mjs";
|
|
199
203
|
|
|
200
204
|
// src/notifications/agg-notification-events-provider.tsx
|
|
201
205
|
import {
|
|
@@ -1354,6 +1358,7 @@ export {
|
|
|
1354
1358
|
OnboardingModal,
|
|
1355
1359
|
Orderbook,
|
|
1356
1360
|
OrderbookWithStates,
|
|
1361
|
+
PaperModeIcon,
|
|
1357
1362
|
PaperPlaneIcon,
|
|
1358
1363
|
PencilIcon,
|
|
1359
1364
|
PlaceOrder,
|
|
@@ -1406,6 +1411,7 @@ export {
|
|
|
1406
1411
|
WithdrawModal,
|
|
1407
1412
|
AGG_ROOT_CLASS_NAME as aggRootClassName,
|
|
1408
1413
|
badgeSizes,
|
|
1414
|
+
buildAggTxExplorerHref,
|
|
1409
1415
|
buildTerminalSummary,
|
|
1410
1416
|
clearPendingCardSession,
|
|
1411
1417
|
cn,
|
|
@@ -1445,9 +1451,11 @@ export {
|
|
|
1445
1451
|
toDate,
|
|
1446
1452
|
typographyVariants,
|
|
1447
1453
|
useCenterOrderbookSpread,
|
|
1454
|
+
useClaimWinnings,
|
|
1448
1455
|
useEventTradingContext,
|
|
1449
1456
|
useHomePageModals,
|
|
1450
1457
|
useOptionalToast,
|
|
1458
|
+
useResolvedMarketClaim,
|
|
1451
1459
|
useToast,
|
|
1452
1460
|
venueLogoNames
|
|
1453
1461
|
};
|