@agg-build/hooks 1.0.0 → 1.0.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.
@@ -320,6 +320,8 @@ var enUsLabels = {
320
320
  successDescription: "Your USDC has been successfully added to your balance.",
321
321
  pendingTitle: (provider) => `Complete your payment on ${provider}`,
322
322
  pendingDescription: "Once your transaction is finished, your balance may take a few minutes to update. The deposit will appear in your activity once it's successful.",
323
+ pendingWalletAddressHelp: "Some providers may ask for a wallet address during checkout, use this one to receive your deposit:",
324
+ pendingCopyAddress: "Copy deposit address",
323
325
  viewActivity: "View Activity",
324
326
  chooseAnotherProvider: "Choose another provider",
325
327
  summary: {
@@ -356,9 +358,55 @@ var enUsLabels = {
356
358
  done: "Done",
357
359
  balancePrefix: "Balance:",
358
360
  methods: {
361
+ walletTitle: "Withdraw to wallet",
362
+ walletDescription: "Withdraw funds instantly to your crypto wallet",
359
363
  cardTitle: "Withdraw with card",
360
364
  cardDescription: "Withdraw funds to your card"
361
365
  },
366
+ walletFlow: {
367
+ title: "Withdraw to wallet",
368
+ recipientAddressLabel: "Recipient address",
369
+ amountLabel: "Amount",
370
+ max: "Max",
371
+ tokenLabel: "Receive token",
372
+ networkLabel: "Receive network",
373
+ confirm: "Confirm withdrawal",
374
+ successTitle: "Withdrawal submitted",
375
+ successDescription: (tokenSymbol) => `Your ${tokenSymbol} withdrawal is being processed and will arrive shortly.`,
376
+ // Terminal-state copy. The success step swaps `successTitle` /
377
+ // `successDescription` for these once the lifecycle has reached a
378
+ // terminal status — otherwise a finished withdrawal would keep showing
379
+ // "submitted / processing" forever and force the user to hard-refresh.
380
+ successTitleCompleted: "Withdrawal complete",
381
+ successDescriptionCompleted: (tokenSymbol) => `Your ${tokenSymbol} withdrawal has been delivered.`,
382
+ successTitlePartial: "Withdrawal partially completed",
383
+ successDescriptionPartial: (tokenSymbol) => `Some legs of your ${tokenSymbol} withdrawal completed; see details below.`,
384
+ successTitleFailed: "Withdrawal failed",
385
+ successDescriptionFailed: (tokenSymbol) => `Your ${tokenSymbol} withdrawal could not be completed.`,
386
+ summary: {
387
+ // The response is `pricingStatus: "unquoted"` — we don't know net
388
+ // output until on-chain settlement. Calling this "Amount received"
389
+ // would imply receipt before the lifecycle has confirmed. Keep it
390
+ // honest as the submitted amount until the multi-stable quote
391
+ // layer (PR-E) populates `expected.outputRaw`.
392
+ amountReceived: "Amount",
393
+ network: "Network",
394
+ toWallet: "To wallet",
395
+ fees: "Fees"
396
+ },
397
+ lifecycle: {
398
+ pending: "Submitted \u2014 preparing your withdrawal\u2026",
399
+ bridging: "Bridging funds across chains\u2026",
400
+ transferring: "Transferring to your wallet\u2026",
401
+ completed: "Withdrawal complete.",
402
+ partial: "Withdrawal partially completed \u2014 see details below.",
403
+ failed: "Withdrawal failed.",
404
+ steps: {
405
+ bridge: (sourceChainName, destChainName) => `Bridging from ${sourceChainName} to ${destChainName}`,
406
+ transfer: (destChainName) => `Transferring on ${destChainName}`
407
+ }
408
+ }
409
+ },
362
410
  cardFlow: {
363
411
  title: "Sell crypto",
364
412
  amountLabel: "Amount",
@@ -382,7 +430,10 @@ var enUsLabels = {
382
430
  }
383
431
  },
384
432
  summary: {
385
- amountReceived: "Amount received",
433
+ // Lifecycle-honest: until quoting is live (PR-E) the response is
434
+ // `pricingStatus: "unquoted"` so this is the submitted amount, not
435
+ // a guaranteed net output.
436
+ amountReceived: "Amount",
386
437
  network: "Network"
387
438
  }
388
439
  },
@@ -399,12 +450,16 @@ var enUsLabels = {
399
450
  userProfile: {
400
451
  activity: {
401
452
  depositType: "Deposit",
402
- withdrawalType: "Withdraw",
453
+ withdrawalType: "Withdrawal",
403
454
  depositTitles: {
404
455
  connectedWallet: "Deposit from connected wallet",
405
456
  externalWallet: "Deposit from external wallet",
406
457
  card: "Deposit with card"
407
458
  },
459
+ // Activity-row title for any withdrawal regardless of lifecycle
460
+ // state (pending / completed / failed) — render the asset rather
461
+ // than implying success. The ActivityRow renders a separate status
462
+ // chip when the row is failed.
408
463
  withdrawalTitle: (tokenSymbol) => `Withdraw ${tokenSymbol}`
409
464
  },
410
465
  positions: {
@@ -423,6 +478,7 @@ var enUsLabels = {
423
478
  },
424
479
  eventList: {
425
480
  matchedTab: "Matched",
481
+ allTab: "All",
426
482
  loading: (title) => `Loading ${title}`,
427
483
  tabsAria: (title) => `${title} tabs`,
428
484
  emptyAria: "No events found",
@@ -551,6 +607,8 @@ var enUsLabels = {
551
607
  settlementDescriptionLabel: "Description",
552
608
  settlementRulesPrimaryLabel: "Resolution rules",
553
609
  settlementRulesSecondaryLabel: "Additional rules",
610
+ settlementPrimaryRulesLabel: "Resolution rules",
611
+ settlementEmpty: "No settlement details available.",
554
612
  disclaimer: "By trading, you agree to the Terms of Use of each exchange.",
555
613
  geoBlockTermsLink: "Terms of Use",
556
614
  geoBlockGenericMessage: "Trading is not available in your region. See ",
@@ -569,6 +627,7 @@ var enUsLabels = {
569
627
  minimumFractionDigits: Number.isInteger(value) ? 0 : 2,
570
628
  maximumFractionDigits: 6
571
629
  })} shares`,
630
+ maxShares: "Max",
572
631
  slippage: (value) => `Slippage: ${value}%`,
573
632
  editSlippage: (value) => `Edit ${value}`,
574
633
  collapseSlippage: (value) => `Collapse ${value}`,
@@ -615,7 +674,8 @@ var enUsLabels = {
615
674
  insufficientPositionGeneric: "You don't have enough shares to sell.",
616
675
  insufficientSellDepth: "Not enough bid liquidity on the matched venues for this sell amount.",
617
676
  noBidsAboveMinPrice: "No venue bids above the minimum price.",
618
- signInRequired: "Sign in to get a routed quote",
677
+ signInToTrade: "Sign in to trade",
678
+ deposit: "Deposit",
619
679
  kycRequired: "Verify to trade Kalshi",
620
680
  kycNotVerifiedTooltip: "You have not been verified yet",
621
681
  kycVerifyModalTitle: "Verify Your Identity",
@@ -630,7 +690,6 @@ var enUsLabels = {
630
690
  orderSplitting: "Order Splitting",
631
691
  splitOrderDescription: "We split your order for the best price:",
632
692
  viewAllRoutes: (count) => `View all (${count})`,
633
- hideRoutes: "Hide routes",
634
693
  venueUnavailableInRegion: "Unavailable in your region",
635
694
  toWin: (tab) => tab === "buy" ? "To win" : "Payout",
636
695
  buyingOutcome: (label) => `Buying ${label}`,
@@ -1690,6 +1749,20 @@ function useOnRedeemEvent(callback) {
1690
1749
  return listeners.addRedeemEventListener(handler);
1691
1750
  }, [listeners, hasCallback]);
1692
1751
  }
1752
+ function useOnWithdrawalLifecycle(callback) {
1753
+ const listeners = useContext4(AggWsUserEventContext);
1754
+ const callbackRef = useRef2(callback);
1755
+ callbackRef.current = callback;
1756
+ const hasCallback = callback !== null;
1757
+ useEffect(() => {
1758
+ if (!listeners || !callbackRef.current) return;
1759
+ const handler = (msg) => {
1760
+ var _a;
1761
+ (_a = callbackRef.current) == null ? void 0 : _a.call(callbackRef, msg);
1762
+ };
1763
+ return listeners.addWithdrawalLifecycleListener(handler);
1764
+ }, [listeners, hasCallback]);
1765
+ }
1693
1766
  function AggWebSocketProvider({ children }) {
1694
1767
  const client = useAggClient();
1695
1768
  const { enableWebsocketsLogs } = useAggUiConfig();
@@ -1710,6 +1783,9 @@ function AggWebSocketProvider({ children }) {
1710
1783
  const balanceUpdateListenersRef = useRef2(/* @__PURE__ */ new Set());
1711
1784
  const orderEventListenersRef = useRef2(/* @__PURE__ */ new Set());
1712
1785
  const redeemEventListenersRef = useRef2(/* @__PURE__ */ new Set());
1786
+ const withdrawalLifecycleListenersRef = useRef2(
1787
+ /* @__PURE__ */ new Set()
1788
+ );
1713
1789
  const userEventListeners = useMemo2(
1714
1790
  () => ({
1715
1791
  addOrderSubmittedListener: (cb) => {
@@ -1735,6 +1811,12 @@ function AggWebSocketProvider({ children }) {
1735
1811
  return () => {
1736
1812
  redeemEventListenersRef.current.delete(cb);
1737
1813
  };
1814
+ },
1815
+ addWithdrawalLifecycleListener: (cb) => {
1816
+ withdrawalLifecycleListenersRef.current.add(cb);
1817
+ return () => {
1818
+ withdrawalLifecycleListenersRef.current.delete(cb);
1819
+ };
1738
1820
  }
1739
1821
  }),
1740
1822
  []
@@ -1909,6 +1991,14 @@ function AggWebSocketProvider({ children }) {
1909
1991
  listener(msg);
1910
1992
  }
1911
1993
  },
1994
+ onWithdrawalLifecycle: (msg) => {
1995
+ if (isClientAuthenticated) {
1996
+ invalidateBalanceCaches();
1997
+ }
1998
+ for (const listener of withdrawalLifecycleListenersRef.current) {
1999
+ listener(msg);
2000
+ }
2001
+ },
1912
2002
  onError: (msg) => {
1913
2003
  const outcomeId = resolveSnapshotUnavailableOutcomeId(msg.message);
1914
2004
  if (!outcomeId) return;
@@ -2989,33 +3079,11 @@ var AggProvider = ({ client, config, children }) => {
2989
3079
  return /* @__PURE__ */ jsx8(AggClientProvider, { client, children: /* @__PURE__ */ jsx8(AggUiProvider, { config, children: /* @__PURE__ */ jsx8(EventListStateProvider, { children: /* @__PURE__ */ jsx8(AggWebSocketProvider, { children: /* @__PURE__ */ jsx8(AggAuthProvider, { children: /* @__PURE__ */ jsx8(AggBalanceProvider, { children }) }) }) }) }) });
2990
3080
  };
2991
3081
 
2992
- // src/use-ramp-quotes.ts
2993
- import { useMutation } from "@tanstack/react-query";
2994
- function useRampQuotes() {
2995
- const client = useAggClient();
2996
- return useMutation({
2997
- mutationFn: (params) => __async(null, null, function* () {
2998
- return client.getRampQuotes(params);
2999
- })
3000
- });
3001
- }
3002
-
3003
- // src/use-ramp-session.ts
3004
- import { useMutation as useMutation2 } from "@tanstack/react-query";
3005
- function useRampSession() {
3006
- const client = useAggClient();
3007
- return useMutation2({
3008
- mutationFn: (params) => __async(null, null, function* () {
3009
- return client.createRampSession(params);
3010
- })
3011
- });
3012
- }
3013
-
3014
3082
  // src/execution/use-quote-managed.ts
3015
- import { useMutation as useMutation3 } from "@tanstack/react-query";
3083
+ import { useMutation } from "@tanstack/react-query";
3016
3084
  function useQuoteManaged(options) {
3017
3085
  const client = useAggClient();
3018
- return useMutation3({
3086
+ return useMutation({
3019
3087
  mutationFn: (params) => client.quoteManaged(params),
3020
3088
  onSuccess: options == null ? void 0 : options.onSuccess,
3021
3089
  onError: options == null ? void 0 : options.onError
@@ -3023,11 +3091,11 @@ function useQuoteManaged(options) {
3023
3091
  }
3024
3092
 
3025
3093
  // src/execution/use-execute-managed.ts
3026
- import { useMutation as useMutation4, useQueryClient as useQueryClient3 } from "@tanstack/react-query";
3094
+ import { useMutation as useMutation2, useQueryClient as useQueryClient3 } from "@tanstack/react-query";
3027
3095
  function useExecuteManaged(options) {
3028
3096
  const client = useAggClient();
3029
3097
  const queryClient = useQueryClient3();
3030
- return useMutation4({
3098
+ return useMutation2({
3031
3099
  mutationFn: (params) => client.executeManaged(params),
3032
3100
  onSuccess: (data) => {
3033
3101
  var _a;
@@ -3041,11 +3109,11 @@ function useExecuteManaged(options) {
3041
3109
  }
3042
3110
 
3043
3111
  // src/execution/use-withdraw-managed.ts
3044
- import { useMutation as useMutation5, useQueryClient as useQueryClient4 } from "@tanstack/react-query";
3112
+ import { useMutation as useMutation3, useQueryClient as useQueryClient4 } from "@tanstack/react-query";
3045
3113
  function useWithdrawManaged(options) {
3046
3114
  const client = useAggClient();
3047
3115
  const queryClient = useQueryClient4();
3048
- return useMutation5({
3116
+ return useMutation3({
3049
3117
  mutationFn: (params) => client.withdrawManaged(params),
3050
3118
  onSuccess: (data) => {
3051
3119
  var _a;
@@ -3153,11 +3221,11 @@ function useDepositAddresses(options) {
3153
3221
  }
3154
3222
 
3155
3223
  // src/execution/use-sync-balances.ts
3156
- import { useMutation as useMutation6, useQueryClient as useQueryClient5 } from "@tanstack/react-query";
3224
+ import { useMutation as useMutation4, useQueryClient as useQueryClient5 } from "@tanstack/react-query";
3157
3225
  function useSyncBalances(options) {
3158
3226
  const client = useAggClient();
3159
3227
  const queryClient = useQueryClient5();
3160
- return useMutation6({
3228
+ return useMutation4({
3161
3229
  mutationFn: () => client.syncManagedBalances(),
3162
3230
  onSuccess: () => {
3163
3231
  var _a;
@@ -3465,11 +3533,11 @@ var computeClosedPositionTotals = (group) => {
3465
3533
  };
3466
3534
 
3467
3535
  // src/execution/use-redeem.ts
3468
- import { useMutation as useMutation7, useQueryClient as useQueryClient6 } from "@tanstack/react-query";
3536
+ import { useMutation as useMutation5, useQueryClient as useQueryClient6 } from "@tanstack/react-query";
3469
3537
  var useRedeem = () => {
3470
3538
  const client = useAggClient();
3471
3539
  const queryClient = useQueryClient6();
3472
- return useMutation7({
3540
+ return useMutation5({
3473
3541
  mutationFn: (body) => client.redeem(body),
3474
3542
  onSuccess: () => {
3475
3543
  queryClient.invalidateQueries({ queryKey: executionKeys.positionsPrefix() });
@@ -3571,6 +3639,7 @@ export {
3571
3639
  useAggWebSocketConnectionState,
3572
3640
  useOnOrderSubmitted,
3573
3641
  useOnBalanceUpdate,
3642
+ useOnWithdrawalLifecycle,
3574
3643
  DEFAULT_AGG_ROOT_CLASS_NAME,
3575
3644
  CHART_TIME_RANGES,
3576
3645
  resolveTradingStateKind,
@@ -3583,8 +3652,6 @@ export {
3583
3652
  useEventTradingContext,
3584
3653
  AggUiProvider,
3585
3654
  AggProvider,
3586
- useRampQuotes,
3587
- useRampSession,
3588
3655
  useQuoteManaged,
3589
3656
  useExecuteManaged,
3590
3657
  useWithdrawManaged,
@@ -1,4 +1,5 @@
1
- export { U as UseDepositAddressesOptions, a as UseSyncBalancesOptions, u as useDepositAddresses, b as useSyncBalances } from './use-sync-balances-D1Jdkck9.mjs';
1
+ export { U as UseDepositAddressesOptions, u as useDepositAddresses } from './use-deposit-addresses-B9ICS-3U.mjs';
2
+ export { U as UseSyncBalancesOptions, u as useSyncBalances } from './use-sync-balances-B1_8tBKw.mjs';
2
3
  import '@tanstack/react-query';
3
4
  import '@agg-build/sdk';
4
5
 
package/dist/deposit.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- export { U as UseDepositAddressesOptions, a as UseSyncBalancesOptions, u as useDepositAddresses, b as useSyncBalances } from './use-sync-balances-D1Jdkck9.js';
1
+ export { U as UseDepositAddressesOptions, u as useDepositAddresses } from './use-deposit-addresses-B9ICS-3U.js';
2
+ export { U as UseSyncBalancesOptions, u as useSyncBalances } from './use-sync-balances-B1_8tBKw.js';
2
3
  import '@tanstack/react-query';
3
4
  import '@agg-build/sdk';
4
5
 
package/dist/deposit.js CHANGED
@@ -226,6 +226,8 @@ var enUsLabels = {
226
226
  successDescription: "Your USDC has been successfully added to your balance.",
227
227
  pendingTitle: (provider) => `Complete your payment on ${provider}`,
228
228
  pendingDescription: "Once your transaction is finished, your balance may take a few minutes to update. The deposit will appear in your activity once it's successful.",
229
+ pendingWalletAddressHelp: "Some providers may ask for a wallet address during checkout, use this one to receive your deposit:",
230
+ pendingCopyAddress: "Copy deposit address",
229
231
  viewActivity: "View Activity",
230
232
  chooseAnotherProvider: "Choose another provider",
231
233
  summary: {
@@ -262,9 +264,55 @@ var enUsLabels = {
262
264
  done: "Done",
263
265
  balancePrefix: "Balance:",
264
266
  methods: {
267
+ walletTitle: "Withdraw to wallet",
268
+ walletDescription: "Withdraw funds instantly to your crypto wallet",
265
269
  cardTitle: "Withdraw with card",
266
270
  cardDescription: "Withdraw funds to your card"
267
271
  },
272
+ walletFlow: {
273
+ title: "Withdraw to wallet",
274
+ recipientAddressLabel: "Recipient address",
275
+ amountLabel: "Amount",
276
+ max: "Max",
277
+ tokenLabel: "Receive token",
278
+ networkLabel: "Receive network",
279
+ confirm: "Confirm withdrawal",
280
+ successTitle: "Withdrawal submitted",
281
+ successDescription: (tokenSymbol) => `Your ${tokenSymbol} withdrawal is being processed and will arrive shortly.`,
282
+ // Terminal-state copy. The success step swaps `successTitle` /
283
+ // `successDescription` for these once the lifecycle has reached a
284
+ // terminal status — otherwise a finished withdrawal would keep showing
285
+ // "submitted / processing" forever and force the user to hard-refresh.
286
+ successTitleCompleted: "Withdrawal complete",
287
+ successDescriptionCompleted: (tokenSymbol) => `Your ${tokenSymbol} withdrawal has been delivered.`,
288
+ successTitlePartial: "Withdrawal partially completed",
289
+ successDescriptionPartial: (tokenSymbol) => `Some legs of your ${tokenSymbol} withdrawal completed; see details below.`,
290
+ successTitleFailed: "Withdrawal failed",
291
+ successDescriptionFailed: (tokenSymbol) => `Your ${tokenSymbol} withdrawal could not be completed.`,
292
+ summary: {
293
+ // The response is `pricingStatus: "unquoted"` — we don't know net
294
+ // output until on-chain settlement. Calling this "Amount received"
295
+ // would imply receipt before the lifecycle has confirmed. Keep it
296
+ // honest as the submitted amount until the multi-stable quote
297
+ // layer (PR-E) populates `expected.outputRaw`.
298
+ amountReceived: "Amount",
299
+ network: "Network",
300
+ toWallet: "To wallet",
301
+ fees: "Fees"
302
+ },
303
+ lifecycle: {
304
+ pending: "Submitted \u2014 preparing your withdrawal\u2026",
305
+ bridging: "Bridging funds across chains\u2026",
306
+ transferring: "Transferring to your wallet\u2026",
307
+ completed: "Withdrawal complete.",
308
+ partial: "Withdrawal partially completed \u2014 see details below.",
309
+ failed: "Withdrawal failed.",
310
+ steps: {
311
+ bridge: (sourceChainName, destChainName) => `Bridging from ${sourceChainName} to ${destChainName}`,
312
+ transfer: (destChainName) => `Transferring on ${destChainName}`
313
+ }
314
+ }
315
+ },
268
316
  cardFlow: {
269
317
  title: "Sell crypto",
270
318
  amountLabel: "Amount",
@@ -288,7 +336,10 @@ var enUsLabels = {
288
336
  }
289
337
  },
290
338
  summary: {
291
- amountReceived: "Amount received",
339
+ // Lifecycle-honest: until quoting is live (PR-E) the response is
340
+ // `pricingStatus: "unquoted"` so this is the submitted amount, not
341
+ // a guaranteed net output.
342
+ amountReceived: "Amount",
292
343
  network: "Network"
293
344
  }
294
345
  },
@@ -305,12 +356,16 @@ var enUsLabels = {
305
356
  userProfile: {
306
357
  activity: {
307
358
  depositType: "Deposit",
308
- withdrawalType: "Withdraw",
359
+ withdrawalType: "Withdrawal",
309
360
  depositTitles: {
310
361
  connectedWallet: "Deposit from connected wallet",
311
362
  externalWallet: "Deposit from external wallet",
312
363
  card: "Deposit with card"
313
364
  },
365
+ // Activity-row title for any withdrawal regardless of lifecycle
366
+ // state (pending / completed / failed) — render the asset rather
367
+ // than implying success. The ActivityRow renders a separate status
368
+ // chip when the row is failed.
314
369
  withdrawalTitle: (tokenSymbol) => `Withdraw ${tokenSymbol}`
315
370
  },
316
371
  positions: {
@@ -329,6 +384,7 @@ var enUsLabels = {
329
384
  },
330
385
  eventList: {
331
386
  matchedTab: "Matched",
387
+ allTab: "All",
332
388
  loading: (title) => `Loading ${title}`,
333
389
  tabsAria: (title) => `${title} tabs`,
334
390
  emptyAria: "No events found",
@@ -457,6 +513,8 @@ var enUsLabels = {
457
513
  settlementDescriptionLabel: "Description",
458
514
  settlementRulesPrimaryLabel: "Resolution rules",
459
515
  settlementRulesSecondaryLabel: "Additional rules",
516
+ settlementPrimaryRulesLabel: "Resolution rules",
517
+ settlementEmpty: "No settlement details available.",
460
518
  disclaimer: "By trading, you agree to the Terms of Use of each exchange.",
461
519
  geoBlockTermsLink: "Terms of Use",
462
520
  geoBlockGenericMessage: "Trading is not available in your region. See ",
@@ -475,6 +533,7 @@ var enUsLabels = {
475
533
  minimumFractionDigits: Number.isInteger(value) ? 0 : 2,
476
534
  maximumFractionDigits: 6
477
535
  })} shares`,
536
+ maxShares: "Max",
478
537
  slippage: (value) => `Slippage: ${value}%`,
479
538
  editSlippage: (value) => `Edit ${value}`,
480
539
  collapseSlippage: (value) => `Collapse ${value}`,
@@ -521,7 +580,8 @@ var enUsLabels = {
521
580
  insufficientPositionGeneric: "You don't have enough shares to sell.",
522
581
  insufficientSellDepth: "Not enough bid liquidity on the matched venues for this sell amount.",
523
582
  noBidsAboveMinPrice: "No venue bids above the minimum price.",
524
- signInRequired: "Sign in to get a routed quote",
583
+ signInToTrade: "Sign in to trade",
584
+ deposit: "Deposit",
525
585
  kycRequired: "Verify to trade Kalshi",
526
586
  kycNotVerifiedTooltip: "You have not been verified yet",
527
587
  kycVerifyModalTitle: "Verify Your Identity",
@@ -536,7 +596,6 @@ var enUsLabels = {
536
596
  orderSplitting: "Order Splitting",
537
597
  splitOrderDescription: "We split your order for the best price:",
538
598
  viewAllRoutes: (count) => `View all (${count})`,
539
- hideRoutes: "Hide routes",
540
599
  venueUnavailableInRegion: "Unavailable in your region",
541
600
  toWin: (tab) => tab === "buy" ? "To win" : "Payout",
542
601
  buyingOutcome: (label) => `Buying ${label}`,
package/dist/deposit.mjs CHANGED
@@ -1,3 +1,7 @@
1
+ import {
2
+ useRampQuotes,
3
+ useRampSession
4
+ } from "./chunk-EB64HHYM.mjs";
1
5
  import {
2
6
  __async,
3
7
  getWalletAddressFromUserProfile,
@@ -5,10 +9,8 @@ import {
5
9
  useAggBalanceState,
6
10
  useAggUiConfig,
7
11
  useDepositAddresses,
8
- useRampQuotes,
9
- useRampSession,
10
12
  useSyncBalances
11
- } from "./chunk-CDPQERUC.mjs";
13
+ } from "./chunk-V6VNA7MX.mjs";
12
14
 
13
15
  // src/deposit/normalize-wallet-error.ts
14
16
  function normalizeWalletError(error, supportedChains) {