@funkit/connect 5.0.10 → 5.1.1

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.
Files changed (55) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/{chunk-2T4ZDGAO.js → chunk-A7G4HZZY.js} +9 -4
  3. package/dist/{chunk-N7ULOOYE.js → chunk-SPLTPSN6.js} +4 -3
  4. package/dist/{chunk-W45X55GI.js → chunk-ZX3JBDYE.js} +4 -3
  5. package/dist/components/Box/Box.d.ts +29 -29
  6. package/dist/components/Dialog/DialogContent.css.d.ts +1 -0
  7. package/dist/components/Dropdown/BaseActiveDropdownItem.d.ts +3 -2
  8. package/dist/components/Dropdown/BaseDropdown.d.ts +1 -0
  9. package/dist/components/Dropdown/BaseDropdownItem.d.ts +3 -1
  10. package/dist/components/Dropdown/TokenDropdown.d.ts +2 -2
  11. package/dist/components/DydxSwitchModalTab/DydxSwitchModalTab.d.ts +6 -3
  12. package/dist/components/FunAsset/FunAssetBadge.d.ts +2 -2
  13. package/dist/components/FunButton/FunIconButton.d.ts +0 -2
  14. package/dist/components/FunButton/FunRedirectButton.d.ts +6 -0
  15. package/dist/components/FunCheckoutHistory/FunCheckoutHistoryContent.d.ts +1 -2
  16. package/dist/components/FunCheckoutHistory/FunCheckoutHistoryDetail.d.ts +1 -2
  17. package/dist/components/FunCheckoutHistory/FunCheckoutHistoryTransaction.d.ts +7 -1
  18. package/dist/components/FunCheckoutHistory/FunCheckoutStatus.d.ts +2 -0
  19. package/dist/components/FunCheckoutHistory/FunDirectExecutionHistoryDetail.d.ts +7 -0
  20. package/dist/components/FunCheckoutHistory/useCustomStatusAnimationAboveTopbar.d.ts +13 -10
  21. package/dist/components/FunCountdown/FunCountdown.css.d.ts +0 -2
  22. package/dist/components/FunCountdown/FunCountdown.d.ts +6 -2
  23. package/dist/components/FunInfoBanner/EphemeralInfoBanner.d.ts +1 -1
  24. package/dist/components/FunNoResults/FunNoResults.d.ts +6 -2
  25. package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +1 -2
  26. package/dist/components/FunTransactionSummary/PaymentAmountSummary.d.ts +14 -0
  27. package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +5 -17
  28. package/dist/components/FunTransactionSummary/PaymentRouteSummary.d.ts +12 -0
  29. package/dist/components/Icons/Icons.css.d.ts +1 -0
  30. package/dist/consts/checkout.d.ts +5 -1
  31. package/dist/consts/customers.d.ts +1 -0
  32. package/dist/css/cssObjectFromTheme.d.ts +1 -1
  33. package/dist/css/sprinkles.css.d.ts +38 -33
  34. package/dist/domains/asset.d.ts +2 -3
  35. package/dist/domains/quote.d.ts +8 -0
  36. package/dist/hooks/useCheckoutTransferInit.d.ts +8 -0
  37. package/dist/hooks/useEnabledTokenTransferChainTokens.d.ts +2 -1
  38. package/dist/index.css +2404 -2419
  39. package/dist/index.js +3283 -3038
  40. package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +2 -1
  41. package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +0 -1
  42. package/dist/modals/CheckoutModal/useSourceAssetConfirm.d.ts +1 -2
  43. package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +3 -2
  44. package/dist/providers/FunkitCheckoutContext.d.ts +1 -1
  45. package/dist/providers/FunkitHistoryContext.d.ts +2 -1
  46. package/dist/providers/FunkitThemeProvider.d.ts +12 -6
  47. package/dist/themes/baseTheme.js +1 -1
  48. package/dist/themes/darkTheme.js +2 -2
  49. package/dist/themes/lightTheme.js +2 -2
  50. package/dist/utils/checkout.d.ts +9 -1
  51. package/dist/utils/flags/config.d.ts +18 -0
  52. package/dist/utils/signature.d.ts +1 -0
  53. package/dist/wallets/walletConnectors/index.js +28 -28
  54. package/package.json +17 -17
  55. package/dist/hooks/useCheckoutTransferDepositAddress.d.ts +0 -4
@@ -7,7 +7,8 @@ export interface CheckoutConfirmationError extends ErrorNotification {
7
7
  export declare enum ConfirmationErrorCode {
8
8
  QUOTE_EXPIRED = "QUOTE_EXPIRED",
9
9
  GENERIC_ERROR = "GENERIC_ERROR",
10
- RISK_ERROR = "RISK_ERROR"
10
+ RISK_ERROR = "RISK_ERROR",
11
+ SIGNATURE_DENIED = "SIGNATURE_DENIED"
11
12
  }
12
13
  interface UseCheckoutConfirmationOptions {
13
14
  onError(error: CheckoutConfirmationError): void;
@@ -24,6 +24,5 @@ interface UsePostCheckoutResult {
24
24
  postCheckoutError: PostCheckoutError | null;
25
25
  postCheckoutStepMessage: string | null;
26
26
  }
27
- export declare function isUserRejectedError(error: unknown): boolean;
28
27
  export declare function usePostCheckout({ onSuccess, }: UsePostCheckoutOptions): UsePostCheckoutResult;
29
28
  export {};
@@ -2,7 +2,6 @@ import type { Operation } from '@funkit/core';
2
2
  import type { FunkitCheckoutQuoteResult } from '~/domains/quote';
3
3
  import { type CheckoutQuoteResult } from '~/providers/FunkitQuoteContext';
4
4
  import { type PaymentMethodInfo } from '../../domains/paymentMethods';
5
- import { type FunkitActiveCheckoutItem } from '../../providers/FunkitCheckoutContext';
6
5
  import { LoginType } from '../../providers/GeneralWalletProvider';
7
6
  export interface SourceAssetConfirmed {
8
7
  isQuoteSuccess: boolean;
@@ -11,7 +10,7 @@ export interface SourceAssetConfirmed {
11
10
  export declare function preparePaymentMethodInfo(selectedPaymentMethodInfo: PaymentMethodInfo | null, meshNetworkInfo: {
12
11
  meshNetworkId: string | undefined;
13
12
  } | null): PaymentMethodInfo;
14
- export declare function fetchSponsorInitialTransferGasLimit(checkoutItem: FunkitActiveCheckoutItem, loginType: LoginType, generateCheckoutTransferOpItems: (toAddress: string, tokenAmount: number | string) => Promise<{
13
+ export declare function fetchSponsorInitialTransferGasLimit(selectedPaymentMethodInfo: PaymentMethodInfo | null, loginType: LoginType, generateCheckoutTransferOpItems: (toAddress: string, tokenAmount: number | string) => Promise<{
15
14
  transferOp: Operation | null;
16
15
  }>): Promise<number>;
17
16
  /**
@@ -1,8 +1,9 @@
1
1
  import type { CheckoutHistoryItem } from '@funkit/api-base';
2
2
  import React from 'react';
3
- import { HistoryContentPages } from '../../../../utils/checkoutHistory';
3
+ import type { Address } from 'viem';
4
+ import { HistoryContentPages } from '~/utils/checkoutHistory';
4
5
  export declare const HomeCheckoutDisplayRow: ({ checkoutHistoryItem, onSelect, }: {
5
6
  checkoutHistoryItem: CheckoutHistoryItem;
6
- onSelect: (depositAddress: `0x${string}`, initialPage: HistoryContentPages) => void;
7
+ onSelect: (depositAddress: Address, initialPage: HistoryContentPages) => void;
7
8
  }) => React.JSX.Element;
8
9
  export declare const HomeCheckoutDisplayRowSkeleton: () => React.JSX.Element;
@@ -49,7 +49,7 @@ interface FunkitCheckoutValidationResult {
49
49
  isValid: boolean;
50
50
  message: string;
51
51
  }
52
- export type FunkitCheckoutResult = {
52
+ type FunkitCheckoutResult = {
53
53
  type: 'error' | 'success';
54
54
  message: string;
55
55
  metadata: object | Error;
@@ -1,4 +1,4 @@
1
- import { type CheckoutHistoryItem } from '@funkit/api-base';
1
+ import { type CheckoutHistoryItem, type DirectExecution } from '@funkit/api-base';
2
2
  import React, { type ReactNode } from 'react';
3
3
  import type { Address } from 'viem';
4
4
  import { type CheckoutHistoryDepositAddrMap, type CheckoutHistoryStateMap } from '../utils/checkout';
@@ -40,4 +40,5 @@ export declare function useCheckoutListenerByCheckoutId(checkoutId: string): Pur
40
40
  export declare const useFunkitPostCheckoutInternal: (depositAddress: Address) => {
41
41
  isLoading: boolean;
42
42
  checkoutHistoryInfo: CheckoutHistoryItem | undefined;
43
+ directExecutionInfo: DirectExecution | undefined;
43
44
  };
@@ -74,16 +74,16 @@ export declare const useActiveTheme: () => {
74
74
  buttonBackgroundHoverTertiary: string;
75
75
  buttonTextTertiary: string;
76
76
  buttonTextDisabledTertiary: string;
77
- buttonStrokeTertiary: string;
78
77
  buttonBackground: string;
79
78
  buttonBackgroundHover: string;
80
79
  buttonBackgroundDisabled: string;
81
- buttonStroke: string;
82
80
  buttonTextSecondaryDisabled: string;
83
81
  buttonTextSecondary: string;
84
82
  buttonIconBackgroundHover: string;
85
83
  buttonIconBackgroundPressed: string;
86
84
  buttonIconStroke: string;
85
+ buttonBorderFocusedTertiary: string;
86
+ buttonFocusedOutline: string;
87
87
  badgeBackgroundSuccess: string;
88
88
  badgeBorderSuccess: string;
89
89
  badgeTextSuccess: string;
@@ -162,6 +162,7 @@ export declare const useActiveTheme: () => {
162
162
  modalMobile: string;
163
163
  modalActionButton: string;
164
164
  modalActionButtonMobile: string;
165
+ summaryBox: string;
165
166
  };
166
167
  shadows: {
167
168
  connectButton: string;
@@ -172,6 +173,7 @@ export declare const useActiveTheme: () => {
172
173
  notification: string;
173
174
  vertexDropdown: string;
174
175
  qrCode: string;
176
+ buttonFocusedShadow: string;
175
177
  };
176
178
  blurs: {
177
179
  modalOverlay: string;
@@ -234,16 +236,16 @@ export declare const useActiveTheme: () => {
234
236
  buttonBackgroundHoverTertiary: string;
235
237
  buttonTextTertiary: string;
236
238
  buttonTextDisabledTertiary: string;
237
- buttonStrokeTertiary: string;
238
239
  buttonBackground: string;
239
240
  buttonBackgroundHover: string;
240
241
  buttonBackgroundDisabled: string;
241
- buttonStroke: string;
242
242
  buttonTextSecondaryDisabled: string;
243
243
  buttonTextSecondary: string;
244
244
  buttonIconBackgroundHover: string;
245
245
  buttonIconBackgroundPressed: string;
246
246
  buttonIconStroke: string;
247
+ buttonBorderFocusedTertiary: string;
248
+ buttonFocusedOutline: string;
247
249
  badgeBackgroundSuccess: string;
248
250
  badgeBorderSuccess: string;
249
251
  badgeTextSuccess: string;
@@ -322,6 +324,7 @@ export declare const useActiveTheme: () => {
322
324
  modalMobile: string;
323
325
  modalActionButton: string;
324
326
  modalActionButtonMobile: string;
327
+ summaryBox: string;
325
328
  };
326
329
  shadows: {
327
330
  connectButton: string;
@@ -332,6 +335,7 @@ export declare const useActiveTheme: () => {
332
335
  notification: string;
333
336
  vertexDropdown: string;
334
337
  qrCode: string;
338
+ buttonFocusedShadow: string;
335
339
  };
336
340
  blurs: {
337
341
  modalOverlay: string;
@@ -392,16 +396,16 @@ export declare const useActiveTheme: () => {
392
396
  buttonBackgroundHoverTertiary: string;
393
397
  buttonTextTertiary: string;
394
398
  buttonTextDisabledTertiary: string;
395
- buttonStrokeTertiary: string;
396
399
  buttonBackground: string;
397
400
  buttonBackgroundHover: string;
398
401
  buttonBackgroundDisabled: string;
399
- buttonStroke: string;
400
402
  buttonTextSecondaryDisabled: string;
401
403
  buttonTextSecondary: string;
402
404
  buttonIconBackgroundHover: string;
403
405
  buttonIconBackgroundPressed: string;
404
406
  buttonIconStroke: string;
407
+ buttonBorderFocusedTertiary: string;
408
+ buttonFocusedOutline: string;
405
409
  badgeBackgroundSuccess: string;
406
410
  badgeBorderSuccess: string;
407
411
  badgeTextSuccess: string;
@@ -480,6 +484,7 @@ export declare const useActiveTheme: () => {
480
484
  modalMobile: string;
481
485
  modalActionButton: string;
482
486
  modalActionButtonMobile: string;
487
+ summaryBox: string;
483
488
  };
484
489
  shadows: {
485
490
  connectButton: string;
@@ -490,6 +495,7 @@ export declare const useActiveTheme: () => {
490
495
  notification: string;
491
496
  vertexDropdown: string;
492
497
  qrCode: string;
498
+ buttonFocusedShadow: string;
493
499
  };
494
500
  blurs: {
495
501
  modalOverlay: string;
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  baseTheme,
4
4
  systemFontStack
5
- } from "../chunk-2T4ZDGAO.js";
5
+ } from "../chunk-A7G4HZZY.js";
6
6
  export {
7
7
  baseTheme,
8
8
  systemFontStack
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  darkTheme
4
- } from "../chunk-W45X55GI.js";
5
- import "../chunk-2T4ZDGAO.js";
4
+ } from "../chunk-ZX3JBDYE.js";
5
+ import "../chunk-A7G4HZZY.js";
6
6
  export {
7
7
  darkTheme
8
8
  };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  lightTheme
4
- } from "../chunk-N7ULOOYE.js";
5
- import "../chunk-2T4ZDGAO.js";
4
+ } from "../chunk-SPLTPSN6.js";
5
+ import "../chunk-A7G4HZZY.js";
6
6
  export {
7
7
  lightTheme
8
8
  };
@@ -113,7 +113,7 @@ export declare function getCheckoutItemDisplay({ checkoutConfig, hideAmount, }:
113
113
  export declare function getMaxTargetAssetAmountEstimate(sourceAssetBalance: number, config: FunkitCheckoutConfig, quoteResult: FunkitCheckoutQuoteResult): number;
114
114
  export declare function getTokenDecimals(wagmiConfig: Config, chainId: string, tokenAddress: Address): Promise<number>;
115
115
  export declare function evaluateCheckoutGenerateActionsParams(config: FunkitCheckoutConfig | ServerCheckoutConfig): FunkitCheckoutActionParams[];
116
- export declare function isCheckoutCrFlow(checkoutItem: FunkitActiveCheckoutItem): boolean;
116
+ export declare function isCheckoutCrFlow(config: FunkitCheckoutConfig): boolean;
117
117
  /**
118
118
  * @param config can be either be a config from live checkoutItem OR from checkout history's clientMetadata
119
119
  */
@@ -122,3 +122,11 @@ export declare function isCheckoutPostActionRequired(config: FunkitCheckoutConfi
122
122
  * @returns whether we should show the checkout to the user (ie. supported in current sdk version & not cancelled)
123
123
  */
124
124
  export declare const isCheckoutValid: (checkout: CheckoutHistoryItem) => boolean;
125
+ /**
126
+ * @returns true if the source and target are the same, a post action is required, is wallet balance, and is for vertex (for now)
127
+ */
128
+ export declare const isDirectExecutionFlow: ({ checkoutItem, apiKey, }: {
129
+ checkoutItem: FunkitActiveCheckoutItem | null;
130
+ apiKey: string;
131
+ }) => boolean;
132
+ export declare const isCheckoutHistoryDirectExecution: (checkoutId: string) => boolean;
@@ -58,6 +58,20 @@ export declare const flagConfig: {
58
58
  token_transfer_source_chains_and_assets: {
59
59
  type: "string";
60
60
  default_value: string;
61
+ overrides: {
62
+ if_any: ({
63
+ key: "userId";
64
+ type: "pctRollout";
65
+ pct: number;
66
+ values?: undefined;
67
+ } | {
68
+ key: "userId";
69
+ type: "isAnyOf";
70
+ values: string[];
71
+ pct?: undefined;
72
+ })[];
73
+ value: string;
74
+ }[];
61
75
  };
62
76
  enable_token_transfer_universal_deposit_address: {
63
77
  type: "boolean";
@@ -122,4 +136,8 @@ export declare const flagConfig: {
122
136
  type: "string";
123
137
  default_value: string;
124
138
  };
139
+ enable_vertex_swap_bypass: {
140
+ type: "boolean";
141
+ default_value: false;
142
+ };
125
143
  };
@@ -0,0 +1 @@
1
+ export declare function isUserRejectedError(error: unknown): boolean;
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
- trustWallet
4
- } from "./chunk-ISIBREBO.js";
5
- import {
6
- zealWallet
7
- } from "./chunk-JROWU5BP.js";
3
+ xdefiWallet
4
+ } from "./chunk-NO7XMBB5.js";
8
5
  import {
9
6
  zerionWallet
10
7
  } from "./chunk-AXWP3GD4.js";
8
+ import {
9
+ zealWallet
10
+ } from "./chunk-JROWU5BP.js";
11
11
  import {
12
12
  subWallet
13
13
  } from "./chunk-AD2KIJB6.js";
@@ -24,23 +24,23 @@ import {
24
24
  tokenaryWallet
25
25
  } from "./chunk-SLOIIJGP.js";
26
26
  import {
27
- walletConnectWallet
28
- } from "./chunk-NP5QGWNL.js";
27
+ trustWallet
28
+ } from "./chunk-ISIBREBO.js";
29
29
  import {
30
30
  uniswapWallet
31
31
  } from "./chunk-LH7BMNFZ.js";
32
32
  import {
33
- xdefiWallet
34
- } from "./chunk-NO7XMBB5.js";
33
+ walletConnectWallet
34
+ } from "./chunk-NP5QGWNL.js";
35
35
  import {
36
36
  phantomWallet
37
37
  } from "./chunk-ZSVTX6EK.js";
38
- import {
39
- rainbowWallet
40
- } from "./chunk-2UCNRD7H.js";
41
38
  import {
42
39
  rabbyWallet
43
40
  } from "./chunk-BVX4XGNP.js";
41
+ import {
42
+ rainbowWallet
43
+ } from "./chunk-2UCNRD7H.js";
44
44
  import {
45
45
  ramperWallet
46
46
  } from "./chunk-PIUNLQJG.js";
@@ -56,30 +56,30 @@ import {
56
56
  import {
57
57
  safepalWallet
58
58
  } from "./chunk-MSFKSQBY.js";
59
+ import {
60
+ kresusWallet
61
+ } from "./chunk-MJXPRJZT.js";
59
62
  import {
60
63
  metaMaskWallet
61
64
  } from "./chunk-G73C6P5P.js";
62
- import {
63
- ledgerWallet
64
- } from "./chunk-BRBKM4PW.js";
65
65
  import {
66
66
  mewWallet
67
67
  } from "./chunk-V57WLZEE.js";
68
68
  import {
69
69
  oktoWallet
70
70
  } from "./chunk-ADIXAKUL.js";
71
- import {
72
- oneKeyWallet
73
- } from "./chunk-4AD7VI2P.js";
74
71
  import {
75
72
  okxWallet
76
73
  } from "./chunk-4WEHDI4Y.js";
74
+ import {
75
+ omniWallet
76
+ } from "./chunk-7CUY5G6R.js";
77
77
  import {
78
78
  oneInchWallet
79
79
  } from "./chunk-OESTDX6I.js";
80
80
  import {
81
- omniWallet
82
- } from "./chunk-7CUY5G6R.js";
81
+ oneKeyWallet
82
+ } from "./chunk-4AD7VI2P.js";
83
83
  import {
84
84
  foxWallet
85
85
  } from "./chunk-LMZMXEXL.js";
@@ -99,14 +99,14 @@ import {
99
99
  injectedWallet
100
100
  } from "./chunk-VCVVV2K7.js";
101
101
  import {
102
- kresusWallet
103
- } from "./chunk-MJXPRJZT.js";
104
- import {
105
- clvWallet
106
- } from "./chunk-KR6JBW5E.js";
102
+ ledgerWallet
103
+ } from "./chunk-BRBKM4PW.js";
107
104
  import {
108
105
  bybitWallet
109
106
  } from "./chunk-6ONTSPEY.js";
107
+ import {
108
+ clvWallet
109
+ } from "./chunk-KR6JBW5E.js";
110
110
  import {
111
111
  coin98Wallet
112
112
  } from "./chunk-DTRYS3MO.js";
@@ -116,12 +116,12 @@ import {
116
116
  import {
117
117
  coreWallet
118
118
  } from "./chunk-HBA36GW3.js";
119
- import {
120
- dawnWallet
121
- } from "./chunk-LN7OD5EC.js";
122
119
  import {
123
120
  desigWallet
124
121
  } from "./chunk-CTU6JCOK.js";
122
+ import {
123
+ dawnWallet
124
+ } from "./chunk-LN7OD5EC.js";
125
125
  import {
126
126
  enkryptWallet
127
127
  } from "./chunk-SJTXS4ZW.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "5.0.10",
3
+ "version": "5.1.1",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -45,15 +45,15 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@aws-sdk/client-s3": "^3.600.0",
48
- "@chromatic-com/storybook": "^3.2.4",
48
+ "@chromatic-com/storybook": "^3.2.6",
49
49
  "@meshconnect/node-api": "2.0.14",
50
- "@storybook/addon-essentials": "^8.5.3",
51
- "@storybook/addon-interactions": "^8.5.3",
52
- "@storybook/addon-links": "^8.5.3",
53
- "@storybook/blocks": "^8.5.3",
54
- "@storybook/react": "^8.5.3",
55
- "@storybook/react-vite": "^8.5.3",
56
- "@storybook/test": "^8.5.3",
50
+ "@storybook/addon-essentials": "^8.6.7",
51
+ "@storybook/addon-interactions": "^8.6.7",
52
+ "@storybook/addon-links": "^8.6.7",
53
+ "@storybook/blocks": "^8.6.7",
54
+ "@storybook/react": "^8.6.7",
55
+ "@storybook/react-vite": "^8.6.7",
56
+ "@storybook/test": "^8.6.7",
57
57
  "@testing-library/jest-dom": "^6.2.0",
58
58
  "@testing-library/react": "^16.0.1",
59
59
  "@testing-library/user-event": "^14.5.2",
@@ -61,15 +61,15 @@
61
61
  "@types/ua-parser-js": "^0.7.39",
62
62
  "@vanilla-extract/css-utils": "0.1.4",
63
63
  "@vanilla-extract/private": "^1.0.3",
64
- "@vanilla-extract/vite-plugin": "^4.0.13",
64
+ "@vanilla-extract/vite-plugin": "^5.0.1",
65
65
  "@vitejs/plugin-react": "^4.3.1",
66
66
  "autoprefixer": "^10.4.16",
67
67
  "jsdom": "^25.0.1",
68
68
  "postcss": "^8.4.32",
69
69
  "react": "^18.3.0",
70
- "storybook": "^8.5.3",
70
+ "storybook": "^8.6.7",
71
71
  "tsx": "^4.19.2",
72
- "vitest": "^2.0.5"
72
+ "vitest": "^3.0.9"
73
73
  },
74
74
  "dependencies": {
75
75
  "@datadog/browser-logs": "5.22.0",
@@ -90,11 +90,11 @@
90
90
  "react-virtuoso": "4.10.1",
91
91
  "ua-parser-js": "^1.0.37",
92
92
  "uuid": "^9.0.1",
93
- "@funkit/api-base": "1.5.9",
94
- "@funkit/chains": "0.1.3",
95
- "@funkit/utils": "1.0.9",
96
- "@funkit/core": "2.3.11",
97
- "@funkit/wagmi-tools": "3.0.33"
93
+ "@funkit/api-base": "1.6.1",
94
+ "@funkit/utils": "1.0.10",
95
+ "@funkit/core": "2.3.13",
96
+ "@funkit/chains": "0.2.1",
97
+ "@funkit/wagmi-tools": "3.0.35"
98
98
  },
99
99
  "repository": {
100
100
  "type": "git",
@@ -1,4 +0,0 @@
1
- import { type FunAddress } from '@funkit/api-base';
2
- import type { Address } from 'viem';
3
- import type { FunkitActiveCheckoutItem } from '~/providers/FunkitCheckoutContext';
4
- export declare const useCheckoutTransferDepositAddress: (checkoutItem: FunkitActiveCheckoutItem | null, userId: string | undefined, recipientAddr: FunAddress) => Address | undefined;