@funkit/connect 7.0.3-next.0 → 7.1.0-next.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/__generated__/default_configs.d.ts +163 -3
  3. package/dist/components/Dropdown/TokenAndChainDropdown.css.d.ts +1 -0
  4. package/dist/components/FunCheckoutHistory/useCustomStatusAnimationAboveTopbar.d.ts +3 -1
  5. package/dist/components/FunTransactionSummary/PaymentAmountSummary.d.ts +1 -1
  6. package/dist/components/TransactionStatus/TransactionStatus.d.ts +2 -2
  7. package/dist/consts/customers.d.ts +1 -0
  8. package/dist/domains/asset.d.ts +2 -2
  9. package/dist/hooks/queries/useWithdrawalQuote.d.ts +1 -2
  10. package/dist/hooks/statsig/useDynamicConfig.d.ts +1 -1
  11. package/dist/hooks/track/useTrack.d.ts +3 -1
  12. package/dist/hooks/useBluvo.d.ts +0 -1
  13. package/dist/hooks/useCheckoutDirectExecution.d.ts +0 -1
  14. package/dist/hooks/useCheckoutTransferInit.d.ts +4 -2
  15. package/dist/hooks/useDynamicRoutes.d.ts +4 -0
  16. package/dist/hooks/useIsDynamicRoutingEnabled.d.ts +4 -0
  17. package/dist/hooks/useUDAParams.d.ts +9 -0
  18. package/dist/index.css +7 -0
  19. package/dist/index.d.ts +2 -2
  20. package/dist/index.js +1119 -664
  21. package/dist/modals/CheckoutModal/FunCheckoutModal.d.ts +3 -1
  22. package/dist/providers/FunkitCheckoutContext/index.d.ts +6 -0
  23. package/dist/providers/FunkitCheckoutContext/types.d.ts +17 -0
  24. package/dist/providers/ModalContext.d.ts +7 -0
  25. package/dist/utils/checkout.d.ts +0 -1
  26. package/dist/utils/customer.d.ts +192 -0
  27. package/dist/utils/flags/config.d.ts +17 -43
  28. package/dist/utils/funLogger.d.ts +3 -1
  29. package/dist/utils/lighter.d.ts +3 -3
  30. package/dist/wallets/walletConnectors/index.js +9 -9
  31. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,52 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 7.1.0-next.2
4
+
5
+ ### Minor Changes
6
+
7
+ - fa6cb1f: Add soft-close feature for checkout modal when transaction is in progress
8
+
9
+ - When a transaction is in progress (checkoutProgress.step >= 1), the close button now hides the modal instead of closing it, preserving state
10
+ - Added `useSoftHiddenCheckout` hook for managing soft-hidden checkout state
11
+ - Added internal `onCheckoutConflict` handler to resolve conflicts when `beginCheckout` is called while a checkout is soft-hidden
12
+ - Extended `FunkitCheckoutOnCloseResult` with optional `isSoftHidden` field
13
+ - Added `MODAL_SOFT_HIDDEN` analytics event
14
+
15
+ ### Patch Changes
16
+
17
+ - 13a6a7b: feat(connect): hide min amount from supported chain label on xs viewport
18
+ - 923b998: Fix RemoveScroll to not block scrolling when dialog is hidden
19
+ - 1e7f994: feat(connect): update lighter time to 2min
20
+ - cf4f7ba: fix(connect): disable is same asset check for wallet flow if dynamicRoutingId is provided
21
+ - 17dd504: fix(connect): relax withMoonpayMeldQuote error logs
22
+ - 0ad5896: fix withdraw amount is NaN
23
+ - b09006f: add lighter chain to destination
24
+ - 8b8d030: feat(connect,api-base): pass api key to bluvo requests to frog
25
+ - 0b85676: feat(connect): token transfer ui - default to arbitrum chain for lighter
26
+ - Updated dependencies [e009c8d]
27
+ - Updated dependencies [8b8d030]
28
+ - @funkit/fun-relay@2.1.16-next.2
29
+ - @funkit/api-base@1.12.22-next.1
30
+
31
+ ## 7.0.3-next.1
32
+
33
+ ### Patch Changes
34
+
35
+ - 28136c9: feat(connect): migrate MeldQuickOptions flag to statsig
36
+ - 39406ab: fix(connect): fix undefined error when reading destinationAmount
37
+ - 6f66084: add islighter flow
38
+ - b1c4d85: feat(connect): support for `dynamicRoutingId` param
39
+ - 188da7b: remove genActionParam check in init
40
+ - 62a557d: tradefox theme implemented
41
+ - 115d875: fix(connect): update statsig user when api key changes
42
+ - 9257a9b: remove tick size read in connect
43
+ - Updated dependencies [173d602]
44
+ - Updated dependencies [6d91583]
45
+ - Updated dependencies [9257a9b]
46
+ - @funkit/fun-relay@2.1.16-next.1
47
+ - @funkit/utils@1.1.22-next.0
48
+ - @funkit/api-base@1.12.22-next.0
49
+
3
50
  ## 7.0.3-next.0
4
51
 
5
52
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  readonly addressblacklist: {
3
- readonly value: readonly ["0x7b97b46D35a28B561d47F50CFB9a2735E506e59d", "0x409ad08cc6CA757f69Fb80250a424B9eFeB99807", "0x02A86f51aA7B8b1c17c30364748d5Ae4a0727E23", "0x64131b60502C01362639CC5cfE1a1efB6Be1165A", "0xb84440Ee8BAD69c14755bBb7093f861c3512E3D1"];
3
+ readonly value: readonly ["0x7b97b46D35a28B561d47F50CFB9a2735E506e59d", "0x409ad08cc6CA757f69Fb80250a424B9eFeB99807", "0x02A86f51aA7B8b1c17c30364748d5Ae4a0727E23", "0x64131b60502C01362639CC5cfE1a1efB6Be1165A"];
4
4
  };
5
5
  readonly array_of_strings: {
6
6
  readonly value: readonly [];
@@ -14,11 +14,152 @@ declare const _default: {
14
14
  readonly brokerage_hide_you_receive: {
15
15
  readonly value: false;
16
16
  };
17
+ readonly chainidsortorder: {
18
+ readonly value: readonly ["1", "1151111081099710", "8453", "56", "137", "42161", "10"];
19
+ };
20
+ readonly checkoutnotificationsrefreshinterval: {
21
+ readonly value: {
22
+ readonly listRefresh: 5000;
23
+ readonly itemRefresh: 2000;
24
+ };
25
+ };
26
+ readonly checkouttimeestimateoverrides: {
27
+ readonly value: {
28
+ readonly balance: 60;
29
+ readonly brokerage: 120;
30
+ readonly card: 300;
31
+ readonly token_transfer: 60;
32
+ };
33
+ };
34
+ readonly dynamicrouting: {
35
+ readonly value: readonly [{
36
+ readonly routeId: "LIGHTER_ETH_SPOT";
37
+ readonly rules: readonly [{
38
+ readonly when: {
39
+ readonly chainId: "1";
40
+ readonly tokenAddress: "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
41
+ };
42
+ readonly use: {
43
+ readonly path: "FUN_MAINNET_DEPOSIT";
44
+ readonly badge: "NATIVE";
45
+ };
46
+ }, {
47
+ readonly when: {
48
+ readonly chainId: "1";
49
+ readonly tokenAddress: "*";
50
+ };
51
+ readonly use: {
52
+ readonly path: "FUN_MAINNET_DEPOSIT";
53
+ };
54
+ }, {
55
+ readonly when: "*";
56
+ readonly use: {
57
+ readonly path: "RL_TRANSFER";
58
+ };
59
+ }];
60
+ }, {
61
+ readonly routeId: "LIGHTER_USDC_PERPS";
62
+ readonly rules: readonly [{
63
+ readonly when: {
64
+ readonly chainId: "1";
65
+ readonly tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
66
+ };
67
+ readonly use: {
68
+ readonly path: "FUN_MAINNET_DEPOSIT";
69
+ readonly badge: "NATIVE";
70
+ };
71
+ }, {
72
+ readonly when: {
73
+ readonly chainId: "1";
74
+ readonly tokenAddress: "*";
75
+ };
76
+ readonly use: {
77
+ readonly path: "FUN_MAINNET_DEPOSIT";
78
+ };
79
+ }, {
80
+ readonly when: "*";
81
+ readonly use: {
82
+ readonly path: "RL_TRANSFER";
83
+ };
84
+ }];
85
+ }, {
86
+ readonly routeId: "LIGHTER_USDC_PERPS_NEW_USER";
87
+ readonly rules: readonly [{
88
+ readonly when: {
89
+ readonly chainId: "1";
90
+ readonly tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
91
+ };
92
+ readonly use: {
93
+ readonly path: "FUN_MAINNET_DEPOSIT";
94
+ readonly badge: "NATIVE";
95
+ };
96
+ }, {
97
+ readonly when: "*";
98
+ readonly use: {
99
+ readonly path: "FUN_MAINNET_DEPOSIT";
100
+ };
101
+ }];
102
+ }, {
103
+ readonly routeId: "LIGHTER_ETH_SPOT_NEW_USER";
104
+ readonly rules: readonly [{
105
+ readonly when: {
106
+ readonly chainId: "1";
107
+ readonly tokenAddress: "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
108
+ };
109
+ readonly use: {
110
+ readonly path: "FUN_MAINNET_DEPOSIT";
111
+ readonly badge: "NATIVE";
112
+ };
113
+ }, {
114
+ readonly when: "*";
115
+ readonly use: {
116
+ readonly path: "FUN_MAINNET_DEPOSIT";
117
+ };
118
+ }];
119
+ }];
120
+ };
121
+ readonly enablebitcoin: {
122
+ readonly value: true;
123
+ };
124
+ readonly enablebluvobrokerage: {
125
+ readonly value: false;
126
+ };
127
+ readonly enablefiatdeposit: {
128
+ readonly value: true;
129
+ };
130
+ readonly enablemeldpayment: {
131
+ readonly value: false;
132
+ };
133
+ readonly enabletokentransfer: {
134
+ readonly value: true;
135
+ };
136
+ readonly isrelaybypassenabled: {
137
+ readonly value: true;
138
+ };
139
+ readonly meldquickoptions: {
140
+ readonly value: {
141
+ readonly USD: readonly [100, 500, 1000];
142
+ readonly EUR: readonly [90, 435, 870];
143
+ readonly JPY: readonly [14500, 72500, 145000];
144
+ readonly KRW: readonly [137500, 690000, 1380000];
145
+ readonly GBP: readonly [75, 375, 745];
146
+ readonly CAD: readonly [135, 685, 1365];
147
+ readonly AUD: readonly [155, 770, 1540];
148
+ readonly CHF: readonly [80, 410, 820];
149
+ readonly BRL: readonly [550, 2750, 5500];
150
+ readonly INR: readonly [8600, 43000, 86000];
151
+ readonly PHP: readonly [5700, 28500, 57000];
152
+ readonly TRY: readonly [3950, 19800, 39500];
153
+ readonly RUB: readonly [7850, 39300, 78600];
154
+ readonly PLN: readonly [370, 1860, 3715];
155
+ readonly SGD: readonly [130, 645, 1285];
156
+ };
157
+ };
17
158
  readonly showinfobanner: {
18
159
  readonly value: {
19
160
  readonly message: "";
20
- readonly expireAtMs: 1;
21
- readonly type: "announcement";
161
+ readonly expireAtMs: 0;
162
+ readonly type: "alert";
22
163
  };
23
164
  };
24
165
  readonly showpoweredtagline: {
@@ -27,5 +168,24 @@ declare const _default: {
27
168
  readonly supportedexchangesv2: {
28
169
  readonly value: readonly [];
29
170
  };
171
+ readonly uda_params: {
172
+ readonly value: readonly [{
173
+ readonly dynamicRoutingId: "LIGHTER_ETH_SPOT";
174
+ readonly params: {
175
+ readonly targetChain: "3586256";
176
+ readonly targetAsset: "0x0000000000000000000000000000000000000001";
177
+ readonly targetAssetTicker: "ETH (Spot)";
178
+ readonly iconSrc: "https://sdk-cdn.fun.xyz/images/eth.svg";
179
+ };
180
+ }, {
181
+ readonly dynamicRoutingId: "LIGHTER_USDC_PERPS";
182
+ readonly params: {
183
+ readonly targetChain: "3586256";
184
+ readonly targetAsset: "0x0000000000000000000000000000000000000000";
185
+ readonly targetAssetTicker: "USDC (Perps)";
186
+ readonly iconSrc: "https://sdk-cdn.fun.xyz/images/usdc.svg";
187
+ };
188
+ }];
189
+ };
30
190
  };
31
191
  export default _default;
@@ -0,0 +1 @@
1
+ export declare const hideOnXsmallScreenSize: string;
@@ -14,6 +14,8 @@ interface CustomStatusAnimationParams {
14
14
  withTopDivider: 'always' | 'never' | 'scroll' | undefined;
15
15
  /** ID of the element to scroll (main dialog content) when scrolling over the overflowed title */
16
16
  scrollableContent: string;
17
+ /** Whether this is a lighter native deposit checkout (eth mainnet) */
18
+ isLighterNativeDeposit?: boolean;
17
19
  }
18
20
  interface CustomStatusAnimationReturn {
19
21
  /** To be passed to scrolling container, to sync the scroll position */
@@ -27,5 +29,5 @@ interface CustomStatusAnimationReturn {
27
29
  * Hook for sharing the logic for the custom status icon animation in checkout details. This is very
28
30
  * much _not_ generic or intended to be reused anywhere, but the component itself is duplicated.
29
31
  */
30
- export declare function useCustomStatusAnimationAboveTopbar({ depositAddress, isActiveCheckout, isCheckoutDetailView, paddingTop, topbar, withTopDivider, scrollableContent, }: CustomStatusAnimationParams): CustomStatusAnimationReturn;
32
+ export declare function useCustomStatusAnimationAboveTopbar({ depositAddress, isActiveCheckout, isCheckoutDetailView, paddingTop, topbar, withTopDivider, scrollableContent, isLighterNativeDeposit, }: CustomStatusAnimationParams): CustomStatusAnimationReturn;
31
33
  export {};
@@ -9,5 +9,5 @@ interface PaymentAmountSummaryProps {
9
9
  quote: FunkitCheckoutQuoteResult | null;
10
10
  directExecutionType?: DirectExecutionType | null;
11
11
  }
12
- export declare function PaymentAmountSummary({ isLoading, targetChainId, quote, checkoutItem, directExecutionType, }: PaymentAmountSummaryProps): React.JSX.Element;
12
+ export declare function PaymentAmountSummary({ isLoading, targetChainId: originalChainId, quote, checkoutItem, directExecutionType, }: PaymentAmountSummaryProps): React.JSX.Element;
13
13
  export {};
@@ -2,7 +2,7 @@ import type { TFunction } from 'i18next';
2
2
  import React, { type ReactNode } from 'react';
3
3
  import type { CheckoutProgressStep } from '~/providers/FunkitCheckoutContext';
4
4
  interface TransactionStatusProps {
5
- isLayerZero: boolean;
5
+ isSlowTransaction: boolean;
6
6
  isWithdrawal: boolean;
7
7
  textConfigStatus?: TextConfigStatus;
8
8
  textConfigSteps?: TextConfigSteps;
@@ -32,5 +32,5 @@ export declare const getDefaultTextConfigSteps: (t: TFunction) => TextConfigStep
32
32
  export declare function TransactionStatusLoading({ expectedStatus, }: {
33
33
  expectedStatus: TransactionStatusProps['status'];
34
34
  }): React.JSX.Element;
35
- export declare function TransactionStatus({ isLayerZero, isWithdrawal, status, step, textConfigStatus, textConfigSteps, }: TransactionStatusProps): React.JSX.Element;
35
+ export declare function TransactionStatus({ isSlowTransaction, isWithdrawal, status, step, textConfigStatus, textConfigSteps, }: TransactionStatusProps): React.JSX.Element;
36
36
  export {};
@@ -15,3 +15,4 @@ export declare function isAvantisCustomer(apiKey: string): apiKey is "6TUi99Tq3O
15
15
  export declare function isPerplCustomer(apiKey: string): apiKey is "wQDLu86Qab61vbtru7thf8Yj0xaeqVUH4ohoXESu";
16
16
  export declare function isLighterxyzCustomer(apiKey: string): apiKey is "i6e1I8cfX625TTwRJlD2DshKyAoaUtO8aeoaR4i2";
17
17
  export declare function isLighterEthSpot(apiKey: string, checkoutConfig: FunkitCheckoutConfig | undefined): boolean | undefined;
18
+ export declare function isLighterNativeFlow(apiKey: string, checkoutConfig: FunkitCheckoutConfig | undefined): boolean;
@@ -9,7 +9,6 @@ export declare function isNativeTokenAddress(address: Address): boolean;
9
9
  export declare function isDefaultToken(asset: AssetHoldingsItem, checkoutConfig: FunkitCheckoutConfig): boolean;
10
10
  export declare const isPolygonEcosystemToken: (chainId: string, tokenAddress: string) => boolean;
11
11
  interface AssetUsableToPayParms {
12
- apiKey: string;
13
12
  config: FunkitCheckoutConfig;
14
13
  payerAddress: string;
15
14
  paymentMethod: PaymentMethod;
@@ -20,9 +19,10 @@ interface AssetUsableToPayParms {
20
19
  assetUsdAmount: number | null;
21
20
  isAllowedForCheckout: boolean;
22
21
  minUsdRequired?: number;
22
+ isDynamicRoutingEnabled: boolean;
23
23
  t: TFunction;
24
24
  }
25
- export declare const isAssetUsableToPayForCheckout: ({ apiKey, config, payerAddress, paymentMethod, targetChainId, targetTokenAddress, assetChainId, assetTokenAddress, assetUsdAmount, isAllowedForCheckout, minUsdRequired, t, }: AssetUsableToPayParms) => {
25
+ export declare const isAssetUsableToPayForCheckout: ({ config, payerAddress, paymentMethod, targetChainId, targetTokenAddress, assetChainId, assetTokenAddress, assetUsdAmount, isAllowedForCheckout, minUsdRequired, isDynamicRoutingEnabled, t, }: AssetUsableToPayParms) => {
26
26
  isUsable: boolean;
27
27
  reason: string;
28
28
  minUsdRequired?: number;
@@ -2,7 +2,6 @@ import type { Address } from 'viem';
2
2
  import { type FunkitWithdrawalConfig } from '~/providers/FunkitCheckoutContext';
3
3
  interface CheckoutQuoteParams {
4
4
  recipientAddress: string;
5
- sourceAmount: number;
6
5
  chainId: string;
7
6
  symbol: string;
8
7
  targetAsset: Address | undefined;
@@ -11,7 +10,7 @@ interface CheckoutQuoteParams {
11
10
  /**
12
11
  * Simplified quoting logic used for withdrawal UI only.
13
12
  */
14
- export declare function useWithdrawalQuote({ recipientAddress, sourceAmount, chainId, symbol, targetAsset, config, }: CheckoutQuoteParams): {
13
+ export declare function useWithdrawalQuote({ recipientAddress, chainId, symbol, targetAsset, config, }: CheckoutQuoteParams): {
15
14
  quoteEnabled: boolean;
16
15
  isInstantQuoting: boolean;
17
16
  data: {
@@ -1,6 +1,6 @@
1
1
  import fallbackDynamicConfigs from '../../__generated__/default_configs';
2
2
  type FallbackDynamicConfigs = typeof fallbackDynamicConfigs;
3
3
  type DynamicConfigName = keyof FallbackDynamicConfigs;
4
- type DynamicConfigValue<Name extends DynamicConfigName> = FallbackDynamicConfigs[Name]['value'];
4
+ export type DynamicConfigValue<Name extends DynamicConfigName> = FallbackDynamicConfigs[Name]['value'];
5
5
  export declare const useDynamicConfig: <Name extends DynamicConfigName>(name: Name) => DynamicConfigValue<Name>;
6
6
  export {};
@@ -8,5 +8,7 @@ export interface TrackEventData {
8
8
  }
9
9
  export declare const useTrack: () => {
10
10
  logEvent: (eventNameOrTrackEventData: CheckoutModalEvent | TrackEventData) => void;
11
- updateUserAsync: (userInfo: FunkitUserInfo, apiKey: string) => Promise<import("@statsig/react-bindings").StatsigUpdateDetails>;
11
+ updateUserAsync: (userInfo: FunkitUserInfo & {
12
+ l2Address?: string;
13
+ }, apiKey: string) => Promise<import("@statsig/react-bindings").StatsigUpdateDetails>;
12
14
  };
@@ -319,5 +319,4 @@ export declare const useBluvo: () => {
319
319
  } | undefined>;
320
320
  quoteExpiresAt: number | undefined;
321
321
  };
322
- export declare const useUnlinkBluvo: () => () => void;
323
322
  export {};
@@ -14,7 +14,6 @@ interface DirectExecutionQuoteRequestParamsBase {
14
14
  toTokenAddress: Address;
15
15
  recipientAddress: Address;
16
16
  senderAddress?: Address;
17
- tickSize?: bigint;
18
17
  }
19
18
  interface RegularDEQuoteRequest extends DirectExecutionQuoteRequestParamsBase {
20
19
  toTokenAmount: number;
@@ -1,23 +1,25 @@
1
1
  import { type CheckoutInitTokenTransferAddressParams, type CheckoutInitTokenTransferResponse, type FunAddress } from '@funkit/api-base';
2
2
  import { type FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
3
+ import { type UDAConfig } from './useUDAParams';
3
4
  interface UseCheckoutTransferInitResponse {
4
5
  transferInit: CheckoutInitTokenTransferResponse | undefined;
5
6
  recipientAddr: FunAddress;
6
7
  }
7
8
  type CheckoutTokenTransferParams = Omit<CheckoutInitTokenTransferAddressParams, 'logger' | 'clientMetadata'>;
8
9
  export declare function checkoutTransferFetch(params: CheckoutTokenTransferParams): Promise<CheckoutInitTokenTransferResponse>;
9
- export declare function getCheckoutTokenTransferParams({ checkoutConfig, userId, recipientAddr, apiKey, }: {
10
+ export declare function getCheckoutTokenTransferParams({ checkoutConfig, userId, recipientAddr, apiKey, udaParams, }: {
10
11
  checkoutConfig: FunkitCheckoutConfig | undefined;
11
12
  userId: string;
12
13
  recipientAddr: FunAddress;
13
14
  apiKey: string;
15
+ udaParams?: UDAConfig | undefined;
14
16
  }): {
15
17
  toChainId: string;
16
18
  toTokenAddress: `0x${string}`;
19
+ actionType: string | undefined;
17
20
  userId: string;
18
21
  apiKey: string;
19
22
  recipientAddr: FunAddress;
20
- actionType: string | undefined;
21
23
  } | undefined;
22
24
  export declare function useIsQRCodeTransferEnabled(): boolean;
23
25
  /**
@@ -0,0 +1,4 @@
1
+ import type { IndexedDynamicRoutingConfig } from '@funkit/fun-relay';
2
+ export declare const useDynamicRoutes: (_dynamicRoutingId?: string) => {
3
+ findPath: IndexedDynamicRoutingConfig[string]["findPath"];
4
+ };
@@ -0,0 +1,4 @@
1
+ import { type FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
2
+ export declare const useIsDynamicRoutingEnabled: ({ checkoutConfig: _checkoutConfig, }?: {
3
+ checkoutConfig?: FunkitCheckoutConfig;
4
+ }) => boolean;
@@ -0,0 +1,9 @@
1
+ import type { Address } from 'viem';
2
+ export interface UDAConfig {
3
+ targetChain: string;
4
+ targetAsset: Address;
5
+ targetAssetTicker: string;
6
+ iconSrc: string;
7
+ qrcodeActionType?: string;
8
+ }
9
+ export declare const useUDAParams: (_dynamicRoutingId?: string) => UDAConfig | undefined;
package/dist/index.css CHANGED
@@ -10024,6 +10024,13 @@
10024
10024
  opacity: 0.5;
10025
10025
  }
10026
10026
 
10027
+ /* vanilla-extract-css-ns:src/components/Dropdown/TokenAndChainDropdown.css.ts.vanilla.css?source=QG1lZGlhIHNjcmVlbiBhbmQgKG1heC13aWR0aDogNDMwcHgpIHsKICAuXzZ5ZDR0MjAgewogICAgZGlzcGxheTogbm9uZTsKICB9Cn0= */
10028
+ @media screen and (max-width: 430px) {
10029
+ [data-rk] ._6yd4t20 {
10030
+ display: none;
10031
+ }
10032
+ }
10033
+
10027
10034
  /* vanilla-extract-css-ns:src/components/FunBadge/FunBadge.css.ts.vanilla.css?source=QGtleWZyYW1lcyBiYzJ1enkwIHsKICAwJSB7CiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTIwMCUpOwogIH0KICAzNSUsIDEwMCUgewogICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDIwMCUpOwogIH0KfQouYmMydXp5MSB7CiAgZGlzcGxheTogZmxleDsKICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjsKICBhbGlnbi1pdGVtczogY2VudGVyOwogIHdpZHRoOiBmaXQtY29udGVudDsKICB3aGl0ZS1zcGFjZTogbm93cmFwOwp9Ci5iYzJ1enkyIHsKICBwb3NpdGlvbjogcmVsYXRpdmU7CiAgb3ZlcmZsb3c6IGhpZGRlbjsKfQouYmMydXp5Mjo6YmVmb3JlIHsKICBjb250ZW50OiAiIjsKICBwb3NpdGlvbjogYWJzb2x1dGU7CiAgaW5zZXQ6IDA7CiAgZGlzcGxheTogYmxvY2s7CiAgd2lkdGg6IDEwMCU7CiAgaGVpZ2h0OiAxMDAlOwogIGJhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCg5MGRlZywgdHJhbnNwYXJlbnQgMzAlLCB3aGl0ZSA0NSUsIHdoaXRlIDU1JSwgdHJhbnNwYXJlbnQgNzAlKSBuby1yZXBlYXQ7CiAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0yMDAlKTsKICBiYWNrZ3JvdW5kLXNpemU6IDIwMCUgMTAwJTsKICBvcGFjaXR5OiAwLjk7CiAgZmlsdGVyOiBibHVyKDJweCk7CiAgYW5pbWF0aW9uOiBiYzJ1enkwIDVzIGxpbmVhciBpbmZpbml0ZSAxczsKICBtaXgtYmxlbmQtbW9kZTogc29mdC1saWdodDsKfQ== */
10028
10035
  @keyframes bc2uzy0 {
10029
10036
  0% {
package/dist/index.d.ts CHANGED
@@ -19,7 +19,7 @@ export type { AuthenticationConfig, AuthenticationStatus, } from './providers/Au
19
19
  export { createAuthenticationAdapter, FunkitConnectAuthenticationProvider, } from './providers/AuthenticationContext';
20
20
  export type { AuthenticationAdapter, FunkitConnectAuthenticationProviderProps, } from './providers/AuthenticationContext';
21
21
  export type { AvatarComponent } from './providers/AvatarContext';
22
- export type { FunkitCheckoutActionParams, FunkitCheckoutConfig, FunkitWithdrawalConfig, UseFunkitCheckoutPropsWithFullConfig, UseFunkitCheckoutProps, FunkitCheckoutValidationResult, FunkitCheckoutResult, DynamicTargetAssetCandidate, TokenInfo, } from './providers/FunkitCheckoutContext';
22
+ export type { FunkitCheckoutActionParams, FunkitCheckoutConfig, FunkitCheckoutOnCloseResult, FunkitWithdrawalConfig, UseFunkitCheckoutPropsWithFullConfig, UseFunkitCheckoutProps, FunkitCheckoutValidationResult, FunkitCheckoutResult, DynamicTargetAssetCandidate, TokenInfo, } from './providers/FunkitCheckoutContext';
23
23
  export { useFunkitCheckout, FunCheckoutStartingStep, } from './providers/FunkitCheckoutContext';
24
24
  export type { FunkitCheckoutQuoteResult } from './domains/quote';
25
25
  export type { FunkitConfig } from './providers/FunkitConfigContext';
@@ -31,7 +31,7 @@ export { FunkitProvider } from './providers/FunkitProvider';
31
31
  export type { Theme, ThemeSet } from './providers/FunkitThemeProvider';
32
32
  export { useActiveTheme } from './providers/FunkitThemeProvider';
33
33
  export { useFunkitUserInfo } from './providers/GeneralWalletProvider';
34
- export { useAccountModal, useChainModal, useConnectModal, } from './providers/ModalContext';
34
+ export { useAccountModal, useChainModal, useConnectModal, useSoftHiddenCheckout, } from './providers/ModalContext';
35
35
  export type { FunkitUserInfo } from './consts/funkit';
36
36
  export { systemFontStack, type ThemeOptions } from './themes/baseTheme';
37
37
  export { darkTheme } from './themes/darkTheme';