@agg-build/hooks 2.1.1 → 2.1.3
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-FYEPQHKO.mjs → chunk-56RISN73.mjs} +408 -16
- package/dist/{chunk-5P53A3NQ.mjs → chunk-NZEXGOFC.mjs} +1 -1
- package/dist/{chunk-AFZD3GIQ.mjs → chunk-SN4AO5D7.mjs} +1 -1
- package/dist/deposit.d.mts +1 -1
- package/dist/deposit.d.ts +1 -1
- package/dist/deposit.js +91 -19
- package/dist/deposit.mjs +32 -10
- package/dist/index.d.mts +175 -37
- package/dist/index.d.ts +175 -37
- package/dist/index.js +813 -104
- package/dist/index.mjs +363 -48
- package/dist/withdraw.js +50 -2
- package/dist/withdraw.mjs +2 -2
- package/package.json +2 -2
package/dist/withdraw.js
CHANGED
|
@@ -529,6 +529,8 @@ var enUsLabels = {
|
|
|
529
529
|
showOutcomeAria: (label) => `Show ${label} outcome`,
|
|
530
530
|
viewResolved: "View resolved",
|
|
531
531
|
hideResolved: "Hide resolved",
|
|
532
|
+
resolvingTitle: "Resolving market\u2026",
|
|
533
|
+
resolvingDescription: "This market has closed. We're waiting for final settlement data and will update the result once it's confirmed on-chain.",
|
|
532
534
|
volumeUnavailable: "Volume unavailable",
|
|
533
535
|
tabs: {
|
|
534
536
|
orderBook: "Order Book",
|
|
@@ -702,6 +704,7 @@ var enUsLabels = {
|
|
|
702
704
|
orderSkip: "Skip",
|
|
703
705
|
orderRetryRemaining: "Retry remaining",
|
|
704
706
|
resolvedEarningsTitle: "Your Earnings",
|
|
707
|
+
resolvedResolutionDateLabel: "Resolution date",
|
|
705
708
|
resolvedSharesLabel: "Shares",
|
|
706
709
|
resolvedTotalPayoutLabel: "Total payout",
|
|
707
710
|
claimWinnings: "Claim Winnings",
|
|
@@ -846,7 +849,51 @@ var enUsLabels = {
|
|
|
846
849
|
winningOutcome: (label) => `Winning outcome: ${label}`,
|
|
847
850
|
resolvedOutcome: (label) => `Resolved: ${label}`,
|
|
848
851
|
marketDetailsAriaByDate: (dateLabel) => `Market details for ${dateLabel}`,
|
|
849
|
-
marketDetailsAriaByQuestion: (question) => `Market details for ${question}
|
|
852
|
+
marketDetailsAriaByQuestion: (question) => `Market details for ${question}`,
|
|
853
|
+
sports: {
|
|
854
|
+
summaryAria: "Sports event summary",
|
|
855
|
+
sectionTabsAria: "Sports market sections",
|
|
856
|
+
lineSelectorAria: (marketTitle) => `Select line for ${marketTitle}`,
|
|
857
|
+
previousLineAria: (marketTitle) => `Show previous lines for ${marketTitle}`,
|
|
858
|
+
nextLineAria: (marketTitle) => `Show next lines for ${marketTitle}`,
|
|
859
|
+
comparisonToggleAria: (marketTitle, expanded) => `${expanded ? "Hide" : "Show"} venue comparison for ${marketTitle}`,
|
|
860
|
+
comparisonTitle: "Venue alternatives",
|
|
861
|
+
compareVenues: (count) => `Compare ${count} venues`,
|
|
862
|
+
marketCount: (count) => `${count} markets`,
|
|
863
|
+
venueCount: (count) => `${count} venues`,
|
|
864
|
+
volumeShort: "Vol.",
|
|
865
|
+
totalVolumeShort: "Total Vol.",
|
|
866
|
+
gameStarts: "Game starts",
|
|
867
|
+
moreMarketsTitle: "More markets",
|
|
868
|
+
gameLinesTab: "Game Lines",
|
|
869
|
+
halvesTab: "Halves",
|
|
870
|
+
exactScoreTab: "Exact Score",
|
|
871
|
+
cornersTab: "Corners",
|
|
872
|
+
goalsTab: "Goals",
|
|
873
|
+
assistsTab: "Assists",
|
|
874
|
+
shotsTab: "Shots",
|
|
875
|
+
otherTab: "Other",
|
|
876
|
+
moneylineTitle: "Moneyline",
|
|
877
|
+
spreadTitle: "Spreads",
|
|
878
|
+
totalTitle: "Totals",
|
|
879
|
+
fullPeriod: "Regular time",
|
|
880
|
+
firstHalfPeriod: "1st half",
|
|
881
|
+
secondHalfPeriod: "2nd half",
|
|
882
|
+
quarterOnePeriod: "1st quarter",
|
|
883
|
+
quarterTwoPeriod: "2nd quarter",
|
|
884
|
+
quarterThreePeriod: "3rd quarter",
|
|
885
|
+
quarterFourPeriod: "4th quarter",
|
|
886
|
+
overtimePeriod: "Overtime",
|
|
887
|
+
otherPeriod: "Other",
|
|
888
|
+
loadingTitle: "Loading section",
|
|
889
|
+
loadingDescription: "Fetching the latest markets for this game.",
|
|
890
|
+
emptyTitle: "No markets available",
|
|
891
|
+
emptyDescription: (sectionLabel) => `There are no ${sectionLabel} markets yet.`,
|
|
892
|
+
loadMore: "Load more",
|
|
893
|
+
loadingMore: "Loading more",
|
|
894
|
+
bestPriceBadge: "Best price",
|
|
895
|
+
selectOutcomeAria: (marketTitle, outcomeLabel, priceLabel) => `Select ${outcomeLabel} in ${marketTitle} at ${priceLabel}`
|
|
896
|
+
}
|
|
850
897
|
},
|
|
851
898
|
header: {
|
|
852
899
|
bannerAria: "Site header",
|
|
@@ -988,7 +1035,8 @@ var defaultAggUiConfig = {
|
|
|
988
1035
|
showFeesBreakdown: false,
|
|
989
1036
|
enableGradients: false,
|
|
990
1037
|
enableVenueEventDiscoveryFilters: false,
|
|
991
|
-
enableNotifications: true
|
|
1038
|
+
enableNotifications: true,
|
|
1039
|
+
showSportsMarkets: false
|
|
992
1040
|
},
|
|
993
1041
|
market: {
|
|
994
1042
|
arbitrageThreshold: 0,
|
package/dist/withdraw.mjs
CHANGED
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
useWithdrawFlow,
|
|
4
4
|
useWithdrawPreview,
|
|
5
5
|
useWithdrawalLifecycle
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NZEXGOFC.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useDepositAddresses,
|
|
9
9
|
useManagedBalances,
|
|
10
10
|
useWithdrawManaged
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-56RISN73.mjs";
|
|
12
12
|
export {
|
|
13
13
|
useDepositAddresses,
|
|
14
14
|
useManagedBalances,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agg-build/hooks",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "React hooks and providers for the AGG prediction market aggregator. Wraps @agg-build/sdk with TanStack Query, shared session state, and live WebSocket data.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"react": "^18.0.0 || ^19.0.0",
|
|
84
84
|
"viem": "^2.0.0",
|
|
85
85
|
"wagmi": "^3.0.0 || ^2.0.0",
|
|
86
|
-
"@agg-build/sdk": "^2.1.
|
|
86
|
+
"@agg-build/sdk": "^2.1.3"
|
|
87
87
|
},
|
|
88
88
|
"peerDependenciesMeta": {
|
|
89
89
|
"@solana/wallet-adapter-react": {
|