@funkit/connect 9.16.0 → 9.17.0

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 (54) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/components/CopyAddress/CopyAddressButton.d.ts +1 -1
  3. package/dist/components/CopyAddress/OldCopyAddressButton.d.ts +1 -1
  4. package/dist/components/FunInfoBanner/ChainInfoBanners.d.ts +1 -1
  5. package/dist/hooks/queries/useLightningQuote.d.ts +13 -3
  6. package/dist/hooks/useAssetPrice.d.ts +9 -3
  7. package/dist/index.js +1543 -1227
  8. package/dist/modals/CheckoutModal/CheckoutModalPrefetchedHooks.d.ts +7 -0
  9. package/dist/modals/CheckoutModal/InputAmount/useAaveNativeSupply.d.ts +77 -9
  10. package/dist/modals/CheckoutModal/LightningInvoice/LightningInvoice.d.ts +0 -1
  11. package/dist/modals/CheckoutModal/LightningInvoice/LightningInvoiceQrCode.d.ts +8 -0
  12. package/dist/modals/CheckoutModal/SelectAsset/SelectAsset.d.ts +4 -0
  13. package/dist/modals/CheckoutModal/SourceChange/SourceChangeLoading.d.ts +1 -1
  14. package/dist/providers/FunkitQuoteContext.d.ts +16 -0
  15. package/dist/utils/purifyCheckoutHistoryItem.d.ts +14 -0
  16. package/dist/wagmi/chains.d.ts +1 -1
  17. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  18. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  21. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  22. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  23. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  24. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  25. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  26. package/dist/wallets/walletConnectors/index.js +42 -42
  27. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  28. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  29. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  30. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  31. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  32. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  33. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  34. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  35. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  36. package/package.json +4 -4
  37. package/dist/wallets/walletConnectors/{chunk-W2LCLDPX.js → chunk-2VP2F6EK.js} +3 -3
  38. package/dist/wallets/walletConnectors/{chunk-IULPZP2Q.js → chunk-4T6ZSRJF.js} +3 -3
  39. package/dist/wallets/walletConnectors/{chunk-WAHGI5L7.js → chunk-6BW3HLBG.js} +3 -3
  40. package/dist/wallets/walletConnectors/{chunk-YO2K4MBH.js → chunk-CCQV2ZET.js} +3 -3
  41. package/dist/wallets/walletConnectors/{chunk-TKB2OY6G.js → chunk-CPI4TD43.js} +3 -3
  42. package/dist/wallets/walletConnectors/{chunk-OX37G4YT.js → chunk-F5XEEVG6.js} +3 -3
  43. package/dist/wallets/walletConnectors/{chunk-JPN6TWIT.js → chunk-HNRB7KJU.js} +3 -3
  44. package/dist/wallets/walletConnectors/{chunk-WKNQMP4A.js → chunk-HTHAK6XB.js} +3 -3
  45. package/dist/wallets/walletConnectors/{chunk-GUQM4QSL.js → chunk-MIQTHJ6X.js} +3 -3
  46. package/dist/wallets/walletConnectors/{chunk-4NV5BYRP.js → chunk-RB3HR4R2.js} +3 -3
  47. package/dist/wallets/walletConnectors/{chunk-SWFF3TWJ.js → chunk-RVOY537T.js} +3 -3
  48. package/dist/wallets/walletConnectors/{chunk-KI5Y2BBF.js → chunk-STVVP43G.js} +3 -3
  49. package/dist/wallets/walletConnectors/{chunk-OEEGYENV.js → chunk-UK7C2JXW.js} +3 -3
  50. package/dist/wallets/walletConnectors/{chunk-YQFGVZGR.js → chunk-VAPGUPHO.js} +3 -3
  51. package/dist/wallets/walletConnectors/{chunk-XCNHV3HS.js → chunk-VTM6EECM.js} +3 -3
  52. package/dist/wallets/walletConnectors/{chunk-NR2OGDHQ.js → chunk-X6CGV36L.js} +3 -3
  53. package/dist/wallets/walletConnectors/{chunk-AVDUNQUW.js → chunk-YEZM4CK4.js} +3 -3
  54. package/dist/wallets/walletConnectors/{chunk-KCRO2AGO.js → chunk-ZNX4EMPB.js} +3 -3
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Centralized "fire-and-forget" prefetches that run at modal open so
3
+ * downstream screens read from warm React Query cache. Hooks added here
4
+ * must set a `staleTime` long enough to survive modal close/reopen, or
5
+ * the prefetch is wasted on the next session.
6
+ */
7
+ export declare function CheckoutModalPrefetchedHooks(): null;
@@ -1,11 +1,13 @@
1
1
  /**
2
- * Aave V3 native-supply fast-path: routes same-token same-chain
3
- * deposits straight to Pool.supply via @aave/client, bypassing Relay.
2
+ * Native-supply fast-path: same-token same-chain deposits go straight to the
3
+ * Aave Pool, bypassing Relay. `permitSupported` is exposed because the toggle
4
+ * visibility gate is in `InputAmountLoaded`, not here.
4
5
  */
6
+ import { type ERC712Signature, type SupplyRequest } from '@aave/client';
7
+ import type { ApiFunkitCheckoutConfig } from '@funkit/utils';
5
8
  import type { Dnum } from 'dnum';
6
- import type { Hex } from 'viem';
7
- import type { FunkitActiveCheckoutItem } from '../../../providers/FunkitCheckoutContext';
8
- import type { FunkitCheckoutConfig } from '../../../providers/FunkitCheckoutContext';
9
+ import { type Address, type Hex, type WalletClient } from 'viem';
10
+ import type { FunkitActiveCheckoutItem, FunkitCheckoutConfig } from '../../../providers/FunkitCheckoutContext';
9
11
  interface AaveNativeSupplyContextArgs {
10
12
  apiKey: string;
11
13
  sourceAsset: {
@@ -30,15 +32,81 @@ export declare function isAaveNativeSupplyContext({ apiKey, sourceAsset, checkou
30
32
  * raw JS-number string when the Dnum isn't populated (EXACT_OUT path).
31
33
  */
32
34
  export declare function formatSupplyAmount(tokenAmountBaseUnit: Dnum | null, fallbackAssetAmount: number | undefined): string;
33
- interface UseAaveNativeSupplyArgs {
34
- checkoutItem: FunkitActiveCheckoutItem | null;
35
+ /**
36
+ * Base-unit string for the DE record's `fromAmountBaseUnit` /
37
+ * `toAmountBaseUnit`. Dnum present → `[0]` exact. Dnum null
38
+ * (EXACT_OUT) → derive from `assetAmount` + `decimals`. Neither →
39
+ * `'0'` + warn (would corrupt volume metrics).
40
+ */
41
+ export declare function getSupplyAmountBaseUnit(tokenAmountBaseUnit: Dnum | null, fallbackAssetAmount: number | undefined, decimals: number | null): string;
42
+ /**
43
+ * Serializable checkout config persisted on the Aave native DE record.
44
+ * Overrides the init-time `targetAssetAmount` (undefined on this path —
45
+ * no Relay quote populates it) with the fresh input amount so the success
46
+ * screen's "You receive" doesn't read 0, and drops the non-serializable
47
+ * `generateActionsParams`.
48
+ */
49
+ export declare function buildAaveNativeSupplyConfig(config: FunkitCheckoutConfig, assetAmount: number): ApiFunkitCheckoutConfig;
50
+ /**
51
+ * USDT's `approve` reverts on a non-zero → non-zero change — zeroing first
52
+ * lets the SDK's approve(amount) succeed. Same quirk handled by the
53
+ * VaultDepositor path (`createAaveSupplyActions`).
54
+ */
55
+ export declare function resetUsdtAllowanceIfNeeded(walletClient: WalletClient, { owner, market, currency, targetChainNum, }: {
56
+ owner: Address;
57
+ market: Address;
58
+ currency: Address;
59
+ targetChainNum: number;
60
+ }): Promise<void>;
61
+ /**
62
+ * `undefined` user preference (toggle not surfaced) defaults to
63
+ * permit-when-capable — preserves the auto behavior that pre-dated the toggle.
64
+ * An explicit `false` always wins. When `allowanceCoversAmount`, no permit is
65
+ * needed at all (the SDK will return a plain TransactionRequest) — skipping
66
+ * the signature saves the user one popup, matching aave/interface.
67
+ */
68
+ export declare function shouldUsePermitForSupply(userPreference: boolean | undefined, reservePermitSupported: boolean | undefined, allowanceCoversAmount: boolean): boolean;
69
+ /**
70
+ * `permitSig` presence is what drives the SDK to build a single
71
+ * `supplyWithPermit` tx vs an `ApprovalRequired` plan (approve + supply).
72
+ */
73
+ export declare function buildAaveSupplyRequest({ targetChainNum, market, currency, humanAmount, walletAddress, permitSig, }: {
74
+ targetChainNum: number;
75
+ market: Address;
76
+ currency: Address;
77
+ humanAmount: string;
78
+ walletAddress: Address;
79
+ permitSig?: ERC712Signature;
80
+ }): SupplyRequest;
81
+ /** Amount inputs passed from the call site (not read from
82
+ * `checkoutItem`, to avoid closure staleness after `flushSync`). */
83
+ export interface AaveNativeSupplyAmount {
84
+ /** `null` in EXACT_OUT mode; see `state.ts:373`. */
85
+ tokenAmountBaseUnit: Dnum | null;
86
+ /** Call site guards `assetAmount === undefined` upstream. */
87
+ assetAmount: number;
88
+ decimals: number | null;
89
+ /** USD the user saw at input. `null` → `0` at the API boundary. */
90
+ usdAmount: number | null;
35
91
  }
92
+ /**
93
+ * Pre-fetches the on-chain ERC-20 allowance from the user to the Aave Pool, so
94
+ * `showApprovalMethodToggle` can hide the toggle when an existing approval
95
+ * already covers the supply amount (matches aave/interface's behavior — a
96
+ * supply that needs no approval/permit is a single tx, no toggle).
97
+ */
98
+ export declare function useAaveTargetPoolAllowance(checkoutItem: FunkitActiveCheckoutItem | null, owner: Address | undefined): bigint | undefined;
99
+ /**
100
+ * Pre-fetches reserve permit capability so the InputAmount toggle's
101
+ * visibility is decidable synchronously when the user lands there.
102
+ */
103
+ export declare function useAaveTargetReservePermit(checkoutItem: FunkitActiveCheckoutItem | null): boolean | undefined;
36
104
  interface UseAaveNativeSupplyResult {
37
- submit: (humanAmount: string) => Promise<{
105
+ submit: (amount: AaveNativeSupplyAmount) => Promise<{
38
106
  txHash: Hex;
39
107
  } | null>;
40
108
  isPending: boolean;
41
109
  error: Error | null;
42
110
  }
43
- export declare function useAaveNativeSupply({ checkoutItem, }: UseAaveNativeSupplyArgs): UseAaveNativeSupplyResult;
111
+ export declare function useAaveNativeSupply(): UseAaveNativeSupplyResult;
44
112
  export {};
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { PaymentMethodBitcoinLightningInfo } from '../../../domains/paymentMethods';
3
3
  import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from '../stepTransition';
4
- export declare function usdToSats(usd: number | undefined, btcPrice: number | undefined): bigint | undefined;
5
4
  export type LightningInvoiceState = CheckoutModalCommonState & {
6
5
  paymentMethodInfo: PaymentMethodBitcoinLightningInfo;
7
6
  };
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { type BoxProps } from '../../../components/Box/Box';
3
+ interface LightningInvoiceQrCodeProps {
4
+ qrCodeUri: string | undefined;
5
+ marginY?: BoxProps['marginY'];
6
+ }
7
+ export declare function LightningInvoiceQrCode({ qrCodeUri, marginY, }: LightningInvoiceQrCodeProps): React.JSX.Element;
8
+ export {};
@@ -1,6 +1,9 @@
1
+ import type { IndexedDynamicRoutingConfig } from '@funkit/fun-relay';
1
2
  import React from 'react';
2
3
  import { type PaymentMethodAccountInfo, type PaymentMethodBrokerageInfo } from '../../../domains/paymentMethods';
4
+ import type { AssetHoldingsItem } from '../../../domains/wallet';
3
5
  import type { TransferTokenDefault } from '../../../hooks/useTokenAndChainDropdown';
6
+ import { type DynamicTargetAssetCandidate } from '../../../providers/FunkitCheckoutContext';
4
7
  import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from '../stepTransition';
5
8
  export type SelectAssetState = CheckoutModalCommonState & {
6
9
  paymentMethodInfo: PaymentMethodBrokerageInfo | PaymentMethodAccountInfo;
@@ -12,3 +15,4 @@ export type SelectAssetNext = {
12
15
  };
13
16
  export declare const SelectAssetInfo: ModalStepInfo<FunCheckoutStep.SELECT_ASSET>;
14
17
  export declare function SelectAsset({ modalState, onNext, onClose, }: ModalStepComponentProps<FunCheckoutStep.SELECT_ASSET>): React.JSX.Element;
18
+ export declare function isTreatedAsNativeToken(apiKey: string, asset: AssetHoldingsItem, dynamicTargetAssetCandidates: DynamicTargetAssetCandidate[], findDynamicPath: IndexedDynamicRoutingConfig[string]['findPath']): boolean;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- export declare function SourceChangeLoading({ onClose, }: {
2
+ export declare function SourceChangeLoading({ onClose }: {
3
3
  onClose: () => void;
4
4
  }): React.JSX.Element;
@@ -46,6 +46,22 @@ interface FunkitQuoteContextInterface extends CheckoutQuoteState {
46
46
  preferredApprovalMethod: ApprovalMethod;
47
47
  setPreferredApprovalMethod: (next: ApprovalMethod) => void;
48
48
  showApprovalMethodToggle: boolean;
49
+ /**
50
+ * Per-checkout EIP-2612 permit capability of the target asset. `undefined` =
51
+ * unknown (loading or feature-agnostic — Relay falls back server-side), set
52
+ * by prefetch hooks (e.g., Aave's `useAaveTargetReservePermit`). Folded into
53
+ * `showApprovalMethodToggle` so consumers don't need their own asset gate.
54
+ */
55
+ targetAssetSupportsPermit: boolean | undefined;
56
+ setTargetAssetSupportsPermit: (value: boolean | undefined) => void;
57
+ /**
58
+ * Current on-chain ERC-20 allowance from the user to the destination spender
59
+ * (e.g. the Aave Pool). When ≥ the supply amount, no approve / permit is
60
+ * needed and the toggle is hidden via `showApprovalMethodToggle`. `undefined`
61
+ * = unknown (loading or not applicable to this flow).
62
+ */
63
+ targetAssetPoolAllowance: bigint | undefined;
64
+ setTargetAssetPoolAllowance: (value: bigint | undefined) => void;
49
65
  }
50
66
  export declare function FunkitQuoteProvider({ children }: {
51
67
  children: ReactNode;
@@ -16,6 +16,20 @@ export type PurifiedCheckoutHistoryItem = {
16
16
  createdTimeMs: number;
17
17
  updatedTimeMs: number;
18
18
  additionalActions: ApiFunkitCheckoutActionParams[];
19
+ isWithdrawal: boolean;
20
+ /**
21
+ * Customer-specific, presentation-only metadata. Kept in its own bag so
22
+ * customer concepts don't leak onto the shared top-level shape. Only present
23
+ * when there's something to surface for the item's customer.
24
+ */
25
+ customerMetadata?: {
26
+ /**
27
+ * For Lighter withdrawal direct executions: which route was used.
28
+ * `'secure'` is Lighter's native bridge to mainnet (recorded as
29
+ * `EXTERNALLY_FULFILLED`); `'fast'` routes through Fun + Relay.
30
+ */
31
+ lighterWithdrawalType?: 'fast' | 'secure';
32
+ };
19
33
  } & ({
20
34
  depositAddr: Address;
21
35
  directExecution: false;
@@ -1,2 +1,2 @@
1
- export { arbitrum, base, mainnet, optimism, polygon, zora, } from 'wagmi/chains';
1
+ export { arbitrum, base, mainnet, optimism, polygon, zora } from 'wagmi/chains';
2
2
  export type { Chain } from 'wagmi/chains';
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bifrostWallet
4
- } from "../chunk-IULPZP2Q.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-4T6ZSRJF.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  bifrostWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bitgetWallet
4
- } from "../chunk-TKB2OY6G.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-CPI4TD43.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  bitgetWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bybitWallet
4
- } from "../chunk-OX37G4YT.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-F5XEEVG6.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  bybitWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  clvWallet
4
- } from "../chunk-OEEGYENV.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-UK7C2JXW.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  clvWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coin98Wallet
4
- } from "../chunk-WAHGI5L7.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-6BW3HLBG.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  coin98Wallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coreWallet
4
- } from "../chunk-4NV5BYRP.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-RB3HR4R2.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  coreWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  foxWallet
4
- } from "../chunk-GUQM4QSL.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-MIQTHJ6X.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  foxWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  frontierWallet
4
- } from "../chunk-AVDUNQUW.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-YEZM4CK4.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  frontierWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  gateWallet
4
- } from "../chunk-JPN6TWIT.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-HNRB7KJU.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  gateWallet
@@ -1,46 +1,46 @@
1
1
  "use client";
2
2
  import {
3
- walletConnectWallet
4
- } from "./chunk-3FCWJRI4.js";
3
+ zealWallet
4
+ } from "./chunk-52QXXLDS.js";
5
5
  import {
6
6
  zerionWallet
7
- } from "./chunk-SWFF3TWJ.js";
7
+ } from "./chunk-RVOY537T.js";
8
8
  import {
9
9
  tahoWallet
10
10
  } from "./chunk-7ZYCBDQ4.js";
11
11
  import {
12
12
  talismanWallet
13
13
  } from "./chunk-4DCO3TGL.js";
14
+ import {
15
+ tokenPocketWallet
16
+ } from "./chunk-HTHAK6XB.js";
14
17
  import {
15
18
  tokenaryWallet
16
19
  } from "./chunk-VH3THHJY.js";
17
- import {
18
- tokenPocketWallet
19
- } from "./chunk-WKNQMP4A.js";
20
20
  import {
21
21
  trustWallet
22
- } from "./chunk-KCRO2AGO.js";
22
+ } from "./chunk-ZNX4EMPB.js";
23
23
  import {
24
24
  uniswapWallet
25
25
  } from "./chunk-Z3PPW6NC.js";
26
+ import {
27
+ walletConnectWallet
28
+ } from "./chunk-3FCWJRI4.js";
26
29
  import {
27
30
  xdefiWallet
28
31
  } from "./chunk-JN5I3DNC.js";
29
- import {
30
- zealWallet
31
- } from "./chunk-52QXXLDS.js";
32
32
  import {
33
33
  rabbyWallet
34
34
  } from "./chunk-RB66PKPA.js";
35
35
  import {
36
36
  rainbowWallet
37
- } from "./chunk-W2LCLDPX.js";
37
+ } from "./chunk-2VP2F6EK.js";
38
38
  import {
39
39
  ramperWallet
40
40
  } from "./chunk-OQB55QXP.js";
41
41
  import {
42
42
  roninWallet
43
- } from "./chunk-YQFGVZGR.js";
43
+ } from "./chunk-VAPGUPHO.js";
44
44
  import {
45
45
  safeWallet
46
46
  } from "./chunk-RCY66YHF.js";
@@ -49,22 +49,22 @@ import {
49
49
  } from "./chunk-76S7R2ND.js";
50
50
  import {
51
51
  safepalWallet
52
- } from "./chunk-XCNHV3HS.js";
52
+ } from "./chunk-VTM6EECM.js";
53
53
  import {
54
54
  subWallet
55
- } from "./chunk-NR2OGDHQ.js";
56
- import {
57
- metaMaskWallet
58
- } from "./chunk-YO2K4MBH.js";
55
+ } from "./chunk-X6CGV36L.js";
59
56
  import {
60
57
  mewWallet
61
58
  } from "./chunk-MQM45ADF.js";
59
+ import {
60
+ metaMaskWallet
61
+ } from "./chunk-CCQV2ZET.js";
62
62
  import {
63
63
  oktoWallet
64
64
  } from "./chunk-YWOVAU6O.js";
65
65
  import {
66
66
  okxWallet
67
- } from "./chunk-KI5Y2BBF.js";
67
+ } from "./chunk-STVVP43G.js";
68
68
  import {
69
69
  omniWallet
70
70
  } from "./chunk-2CX7LX4J.js";
@@ -78,44 +78,44 @@ import {
78
78
  phantomWallet
79
79
  } from "./chunk-QY53O7WG.js";
80
80
  import {
81
- enkryptWallet
82
- } from "./chunk-HBQK5RD5.js";
83
- import {
84
- frontierWallet
85
- } from "./chunk-AVDUNQUW.js";
81
+ foxWallet
82
+ } from "./chunk-MIQTHJ6X.js";
86
83
  import {
87
84
  frameWallet
88
85
  } from "./chunk-BU3ZAT5X.js";
86
+ import {
87
+ frontierWallet
88
+ } from "./chunk-YEZM4CK4.js";
89
89
  import {
90
90
  gateWallet
91
- } from "./chunk-JPN6TWIT.js";
91
+ } from "./chunk-HNRB7KJU.js";
92
92
  import {
93
93
  imTokenWallet
94
94
  } from "./chunk-WNAGGFMG.js";
95
- import {
96
- kresusWallet
97
- } from "./chunk-RICTB3FA.js";
98
95
  import {
99
96
  injectedWallet
100
97
  } from "./chunk-T6LGKC3F.js";
98
+ import {
99
+ kresusWallet
100
+ } from "./chunk-RICTB3FA.js";
101
101
  import {
102
102
  ledgerWallet
103
103
  } from "./chunk-RPV27V2Y.js";
104
- import {
105
- bybitWallet
106
- } from "./chunk-OX37G4YT.js";
107
104
  import {
108
105
  clvWallet
109
- } from "./chunk-OEEGYENV.js";
106
+ } from "./chunk-UK7C2JXW.js";
110
107
  import {
111
108
  coin98Wallet
112
- } from "./chunk-WAHGI5L7.js";
109
+ } from "./chunk-6BW3HLBG.js";
110
+ import {
111
+ braveWallet
112
+ } from "./chunk-DS73TZ6O.js";
113
113
  import {
114
114
  coinbaseWallet
115
115
  } from "./chunk-2DLDAZRH.js";
116
116
  import {
117
117
  coreWallet
118
- } from "./chunk-4NV5BYRP.js";
118
+ } from "./chunk-RB3HR4R2.js";
119
119
  import {
120
120
  dawnWallet
121
121
  } from "./chunk-G2PHTVL6.js";
@@ -123,31 +123,31 @@ import {
123
123
  desigWallet
124
124
  } from "./chunk-FW3WZETT.js";
125
125
  import {
126
- foxWallet
127
- } from "./chunk-GUQM4QSL.js";
126
+ enkryptWallet
127
+ } from "./chunk-HBQK5RD5.js";
128
128
  import {
129
129
  argentWallet
130
130
  } from "./chunk-NTMBEOR2.js";
131
- import {
132
- bifrostWallet
133
- } from "./chunk-IULPZP2Q.js";
134
131
  import {
135
132
  bitgetWallet
136
- } from "./chunk-TKB2OY6G.js";
133
+ } from "./chunk-CPI4TD43.js";
137
134
  import {
138
135
  bitskiWallet
139
136
  } from "./chunk-7HRFUZFX.js";
137
+ import {
138
+ bifrostWallet
139
+ } from "./chunk-4T6ZSRJF.js";
140
140
  import {
141
141
  bitverseWallet
142
142
  } from "./chunk-NSK6A7TI.js";
143
143
  import {
144
144
  bloomWallet
145
145
  } from "./chunk-PJ7Y57EH.js";
146
- import "./chunk-N4IJLYFY.js";
147
146
  import {
148
- braveWallet
149
- } from "./chunk-DS73TZ6O.js";
147
+ bybitWallet
148
+ } from "./chunk-F5XEEVG6.js";
150
149
  import "./chunk-OLZ7626J.js";
150
+ import "./chunk-N4IJLYFY.js";
151
151
  import "./chunk-IGKXZBTA.js";
152
152
  export {
153
153
  argentWallet,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  metaMaskWallet
4
- } from "../chunk-YO2K4MBH.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-CCQV2ZET.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  metaMaskWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  okxWallet
4
- } from "../chunk-KI5Y2BBF.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-STVVP43G.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  okxWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  rainbowWallet
4
- } from "../chunk-W2LCLDPX.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-2VP2F6EK.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  rainbowWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  roninWallet
4
- } from "../chunk-YQFGVZGR.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-VAPGUPHO.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  roninWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  safepalWallet
4
- } from "../chunk-XCNHV3HS.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-VTM6EECM.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  safepalWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  subWallet
4
- } from "../chunk-NR2OGDHQ.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-X6CGV36L.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  subWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  tokenPocketWallet
4
- } from "../chunk-WKNQMP4A.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-HTHAK6XB.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  tokenPocketWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  trustWallet
4
- } from "../chunk-KCRO2AGO.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-ZNX4EMPB.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  trustWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  zerionWallet
4
- } from "../chunk-SWFF3TWJ.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-RVOY537T.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  zerionWallet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "9.16.0",
3
+ "version": "9.17.0",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -110,10 +110,10 @@
110
110
  "ua-parser-js": "^1.0.37",
111
111
  "use-debounce": "^10.0.5",
112
112
  "uuid": "^11.1.1",
113
- "@funkit/api-base": "4.4.0",
113
+ "@funkit/api-base": "4.4.1",
114
114
  "@funkit/chains": "1.2.0",
115
- "@funkit/fun-relay": "2.7.3",
116
- "@funkit/utils": "3.0.1"
115
+ "@funkit/fun-relay": "2.7.4",
116
+ "@funkit/utils": "3.0.2"
117
117
  },
118
118
  "repository": {
119
119
  "type": "git",