@funkit/connect 12.3.0 → 12.4.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 +22 -0
  2. package/dist/components/FunNotification/FunNotification.d.ts +15 -2
  3. package/dist/consts/quote.d.ts +13 -13
  4. package/dist/domains/checkoutErrors.d.ts +3 -3
  5. package/dist/domains/relay.d.ts +3 -3
  6. package/dist/hooks/queries/useMeldLimits.d.ts +2 -1
  7. package/dist/hooks/track/analytics/events.d.ts +8 -0
  8. package/dist/hooks/track/analytics/useTrackErrorShown.d.ts +12 -0
  9. package/dist/hooks/useCheckoutQuoteNotification.d.ts +1 -1
  10. package/dist/index.js +624 -415
  11. package/dist/interfaces/solanaWallet.d.ts +2 -22
  12. package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +2 -2
  13. package/dist/modals/CheckoutModal/InputAmount/useMeld.d.ts +2 -2
  14. package/dist/providers/FunkitQuoteContext.d.ts +2 -1
  15. package/dist/utils/solanaRelayWallet.d.ts +9 -0
  16. package/dist/utils/swapped.d.ts +2 -0
  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 +55 -55
  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 +7 -5
  37. package/dist/wallets/walletConnectors/chunk-53MYTA42.js +0 -94
  38. package/dist/wallets/walletConnectors/chunk-65ULY6OC.js +0 -70
  39. package/dist/wallets/walletConnectors/chunk-A5POD5SV.js +0 -103
  40. package/dist/wallets/walletConnectors/chunk-ANODOMIN.js +0 -218
  41. package/dist/wallets/walletConnectors/chunk-ASTCNVJC.js +0 -96
  42. package/dist/wallets/walletConnectors/chunk-F45CUFRR.js +0 -66
  43. package/dist/wallets/walletConnectors/chunk-FYPQ3HP4.js +0 -92
  44. package/dist/wallets/walletConnectors/chunk-IWPW26AL.js +0 -98
  45. package/dist/wallets/walletConnectors/chunk-JJBLW4IU.js +0 -87
  46. package/dist/wallets/walletConnectors/chunk-KE4CWI3A.js +0 -93
  47. package/dist/wallets/walletConnectors/chunk-MWB6LFSG.js +0 -110
  48. package/dist/wallets/walletConnectors/chunk-OVDCDVFX.js +0 -100
  49. package/dist/wallets/walletConnectors/chunk-PPQ6L4K2.js +0 -106
  50. package/dist/wallets/walletConnectors/chunk-RJF2YEZ5.js +0 -92
  51. package/dist/wallets/walletConnectors/chunk-RQYEGJKL.js +0 -96
  52. package/dist/wallets/walletConnectors/chunk-TIHTQ3OB.js +0 -95
  53. package/dist/wallets/walletConnectors/chunk-TM7UBV3Q.js +0 -69
  54. package/dist/wallets/walletConnectors/chunk-USLZMUJ3.js +0 -99
@@ -1,4 +1,4 @@
1
- import type { SolanaConnection, SolanaSignAndSendTransaction, SolanaSignTransaction } from '@funkit/fun-relay';
1
+ import type { SolanaConnection, SolanaSigner } from '@funkit/fun-relay';
2
2
  interface SolanaWalletBase {
3
3
  /**
4
4
  * Base58 address of the connected wallet. Ignored, with a warning, if it
@@ -16,31 +16,11 @@ interface SolanaWalletBase {
16
16
  */
17
17
  disconnect: () => void | Promise<void>;
18
18
  }
19
- interface SolanaSignerMethods {
20
- /**
21
- * Sign the transaction and return it — do not submit it. funkit submits, so
22
- * it can retry the broadcast and capture logs on failure.
23
- *
24
- * Always a versioned (v0) transaction, so a wallet that can only sign legacy
25
- * transactions cannot satisfy this.
26
- */
27
- signTransaction?: SolanaSignTransaction;
28
- /**
29
- * For wallets that only offer a combined sign-and-send. funkit prefers
30
- * {@link SolanaSignerMethods.signTransaction} when both are supplied, since
31
- * submitting itself is what lets it retry and log failures.
32
- */
33
- signAndSendTransaction?: SolanaSignAndSendTransaction;
34
- }
35
19
  /**
36
20
  * A Solana wallet your app already has connected. funkit reads balances,
37
21
  * quotes and executes with it — it never creates or connects a wallet itself.
38
22
  *
39
23
  * At least one signing method is required.
40
24
  */
41
- export type SolanaWalletConnection = SolanaWalletBase & SolanaSignerMethods & ({
42
- signTransaction: SolanaSignTransaction;
43
- } | {
44
- signAndSendTransaction: SolanaSignAndSendTransaction;
45
- });
25
+ export type SolanaWalletConnection = SolanaWalletBase & SolanaSigner;
46
26
  export {};
@@ -1,10 +1,10 @@
1
1
  import type { Address } from 'viem';
2
2
  import type { ErrorNotification } from '../../../components/FunNotification/FunNotification';
3
3
  import { type PaymentMethodInfo } from '../../../domains/paymentMethods';
4
- export interface PostCheckoutError extends ErrorNotification {
4
+ export type PostCheckoutError = ErrorNotification & {
5
5
  disableContinue: boolean;
6
6
  durationMs?: number;
7
- }
7
+ };
8
8
  export interface PostCheckoutSuccessData {
9
9
  depositAddress: Address;
10
10
  paymentMethodInfo: PaymentMethodInfo;
@@ -22,10 +22,10 @@ export declare function useMeld(meldEnabled: boolean, manuallySelectedQuote: Mel
22
22
  };
23
23
  mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<import("@funkit/api-base").MeldCreateCryptoWidgetResponse, Error, MeldServiceProvider, unknown>;
24
24
  isMeldLinkPending: boolean;
25
- meldLimitError: {
25
+ meldLimitError: (Pick<ErrorNotification, "code" | "messageKey"> & {
26
26
  issue: string;
27
27
  suggestion: string;
28
- } | undefined;
28
+ }) | undefined;
29
29
  bestRateQuote: MeldQuote | undefined;
30
30
  selectedQuote: MeldQuote | undefined;
31
31
  isSelectedQuoteUnavailable: boolean | undefined;
@@ -2,6 +2,7 @@ import type { Dnum } from 'dnum';
2
2
  import React, { type Dispatch, type ReactNode } from 'react';
3
3
  import type { FunkitCheckoutQuoteResult } from '../domains/quote';
4
4
  import { type FunkitActiveCheckoutItem } from './FunkitCheckoutContext';
5
+ import type { DisplayedError } from '../components/FunNotification/FunNotification';
5
6
  export type ApprovalMethod = 'approve' | 'sign';
6
7
  export declare const APPROVAL_METHOD_DEFAULT: ApprovalMethod;
7
8
  export type CheckoutQuoteError = {
@@ -35,7 +36,7 @@ interface CheckoutQuoteState {
35
36
  /** The quotation step message **/
36
37
  quoteStepMessage: string;
37
38
  /** Error messages associated with checkout quote **/
38
- quoteErrorMessage: ReactNode;
39
+ quoteError: DisplayedError | null;
39
40
  }
40
41
  interface FunkitQuoteContextInterface extends CheckoutQuoteState {
41
42
  clearCheckoutQuoteMessages: () => void;
@@ -0,0 +1,9 @@
1
+ import { type SolanaSigner, type SolanaWallet } from '@funkit/fun-relay';
2
+ import type { SolanaWalletConnection } from '../interfaces/solanaWallet';
3
+ import type { ValidatedSolanaWallet } from '../providers/SolanaWalletProvider';
4
+ export declare function resolveSigner(wallet: SolanaWalletConnection): SolanaSigner;
5
+ /**
6
+ * Takes a wallet that cleared `SolanaWalletProvider`'s validation: relay's
7
+ * adapter types the payer as a base58 address, not the host's bare string.
8
+ */
9
+ export declare function createSolanaRelayWallet(wallet: ValidatedSolanaWallet): SolanaWallet;
@@ -2,6 +2,8 @@ import type { SwappedTheme } from '@funkit/connect-core';
2
2
  import type { ThemeVars } from '../css/sprinkles.css';
3
3
  export { getFormOfPaymentDisplayName, getSavedFormOfPaymentDisplayName, getSavedFormOfPaymentIcon, getSwappedIcon, getSwappedOrigin, isSavedFormOfPaymentType, isSwappedOrigin, SWAPPED_CARD_BRANDS, } from '@funkit/connect-core';
4
4
  export type { SwappedTheme };
5
+ /** Rewrites the color functions Swapped can't parse as hex; passes the rest through. */
6
+ export declare function normalizeSwappedColor(value: string): string;
5
7
  export declare function resolveCssValue(value: string, scope: Element | null): string;
6
8
  export declare function resolveObjectCssVars<T extends object>(obj: T, scope: Element | null): T;
7
9
  /**
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bifrostWallet
4
- } from "../chunk-TM7UBV3Q.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-ALGPGI6V.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  bifrostWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bitgetWallet
4
- } from "../chunk-USLZMUJ3.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-HOCKAU5H.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  bitgetWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bybitWallet
4
- } from "../chunk-IWPW26AL.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-BBDNB5TQ.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  bybitWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  clvWallet
4
- } from "../chunk-JJBLW4IU.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-4FHNLTR3.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  clvWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coin98Wallet
4
- } from "../chunk-RQYEGJKL.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-RFCZYLNR.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  coin98Wallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coreWallet
4
- } from "../chunk-TIHTQ3OB.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-TRZDAXCQ.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  coreWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  foxWallet
4
- } from "../chunk-F45CUFRR.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-U52QO5HF.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  foxWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  frontierWallet
4
- } from "../chunk-ASTCNVJC.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-IWOMSW64.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  frontierWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  gateWallet
4
- } from "../chunk-FYPQ3HP4.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-YRMBR6NA.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  gateWallet
@@ -1,34 +1,34 @@
1
1
  "use client";
2
2
  import {
3
- xdefiWallet
4
- } from "./chunk-HXX4PRE2.js";
3
+ uniswapWallet
4
+ } from "./chunk-UNDWHCDH.js";
5
5
  import {
6
6
  zealWallet
7
7
  } from "./chunk-GLX5FULK.js";
8
8
  import {
9
9
  zerionWallet
10
- } from "./chunk-OVDCDVFX.js";
10
+ } from "./chunk-34B7OJNT.js";
11
+ import {
12
+ talismanWallet
13
+ } from "./chunk-IAYYWCVB.js";
11
14
  import {
12
15
  subWallet
13
- } from "./chunk-A5POD5SV.js";
16
+ } from "./chunk-XODA5ESL.js";
14
17
  import {
15
18
  tahoWallet
16
19
  } from "./chunk-U74RFZOL.js";
17
- import {
18
- talismanWallet
19
- } from "./chunk-IAYYWCVB.js";
20
20
  import {
21
21
  tokenPocketWallet
22
- } from "./chunk-KE4CWI3A.js";
22
+ } from "./chunk-NXWG6FG2.js";
23
+ import {
24
+ trustWallet
25
+ } from "./chunk-SR5CZR3L.js";
23
26
  import {
24
27
  tokenaryWallet
25
28
  } from "./chunk-TPM5PUJD.js";
26
29
  import {
27
- trustWallet
28
- } from "./chunk-PPQ6L4K2.js";
29
- import {
30
- uniswapWallet
31
- } from "./chunk-UNDWHCDH.js";
30
+ xdefiWallet
31
+ } from "./chunk-HXX4PRE2.js";
32
32
  import {
33
33
  walletConnectWallet
34
34
  } from "./chunk-DUX4XCDV.js";
@@ -40,58 +40,61 @@ import {
40
40
  } from "./chunk-RQ2GXOJL.js";
41
41
  import {
42
42
  rainbowWallet
43
- } from "./chunk-65ULY6OC.js";
44
- import {
45
- roninWallet
46
- } from "./chunk-RJF2YEZ5.js";
43
+ } from "./chunk-ZSSSLFQF.js";
47
44
  import {
48
45
  ramperWallet
49
46
  } from "./chunk-GPXIBTWN.js";
50
47
  import {
51
48
  safeWallet
52
49
  } from "./chunk-IR3PJMVM.js";
50
+ import {
51
+ roninWallet
52
+ } from "./chunk-IA5432IR.js";
53
53
  import {
54
54
  safeheronWallet
55
55
  } from "./chunk-UN3ONVNC.js";
56
56
  import {
57
57
  safepalWallet
58
- } from "./chunk-MWB6LFSG.js";
58
+ } from "./chunk-BBB2J3US.js";
59
59
  import {
60
60
  ledgerWallet
61
61
  } from "./chunk-BL4OC2EJ.js";
62
62
  import {
63
63
  metaMaskWallet
64
- } from "./chunk-ANODOMIN.js";
64
+ } from "./chunk-RXRYHMRI.js";
65
65
  import {
66
66
  mewWallet
67
67
  } from "./chunk-DSPQXAB2.js";
68
68
  import {
69
69
  okxWallet
70
- } from "./chunk-53MYTA42.js";
71
- import {
72
- oktoWallet
73
- } from "./chunk-V4M3SNPS.js";
70
+ } from "./chunk-CU5J53XR.js";
74
71
  import {
75
72
  omniWallet
76
73
  } from "./chunk-2TAUCVX7.js";
77
- import {
78
- oneInchWallet
79
- } from "./chunk-GFS2AVAH.js";
80
74
  import {
81
75
  oneKeyWallet
82
76
  } from "./chunk-KN32ITJ7.js";
83
77
  import {
84
- desigWallet
85
- } from "./chunk-DFHP75HV.js";
78
+ oktoWallet
79
+ } from "./chunk-V4M3SNPS.js";
80
+ import {
81
+ oneInchWallet
82
+ } from "./chunk-GFS2AVAH.js";
86
83
  import {
87
84
  foxWallet
88
- } from "./chunk-F45CUFRR.js";
85
+ } from "./chunk-U52QO5HF.js";
89
86
  import {
90
- frameWallet
91
- } from "./chunk-B572YIAQ.js";
87
+ enkryptWallet
88
+ } from "./chunk-Z6LDN2AN.js";
92
89
  import {
93
90
  frontierWallet
94
- } from "./chunk-ASTCNVJC.js";
91
+ } from "./chunk-IWOMSW64.js";
92
+ import {
93
+ gateWallet
94
+ } from "./chunk-YRMBR6NA.js";
95
+ import {
96
+ frameWallet
97
+ } from "./chunk-B572YIAQ.js";
95
98
  import {
96
99
  imTokenWallet
97
100
  } from "./chunk-YY2JA23M.js";
@@ -102,23 +105,20 @@ import {
102
105
  kresusWallet
103
106
  } from "./chunk-V77ATGZT.js";
104
107
  import {
105
- gateWallet
106
- } from "./chunk-FYPQ3HP4.js";
107
- import {
108
- coin98Wallet
109
- } from "./chunk-RQYEGJKL.js";
108
+ bybitWallet
109
+ } from "./chunk-BBDNB5TQ.js";
110
110
  import {
111
111
  clvWallet
112
- } from "./chunk-JJBLW4IU.js";
112
+ } from "./chunk-4FHNLTR3.js";
113
+ import {
114
+ coin98Wallet
115
+ } from "./chunk-RFCZYLNR.js";
113
116
  import {
114
117
  coinbaseWallet
115
118
  } from "./chunk-SM2A3OSG.js";
116
- import {
117
- braveWallet
118
- } from "./chunk-U2XXV45G.js";
119
119
  import {
120
120
  coreWallet
121
- } from "./chunk-TIHTQ3OB.js";
121
+ } from "./chunk-TRZDAXCQ.js";
122
122
  import {
123
123
  customWallet
124
124
  } from "./chunk-VKM5M5UK.js";
@@ -126,31 +126,31 @@ import {
126
126
  dawnWallet
127
127
  } from "./chunk-LV6YV3DE.js";
128
128
  import {
129
- enkryptWallet
130
- } from "./chunk-Z6LDN2AN.js";
129
+ desigWallet
130
+ } from "./chunk-DFHP75HV.js";
131
+ import {
132
+ bifrostWallet
133
+ } from "./chunk-ALGPGI6V.js";
131
134
  import {
132
135
  argentWallet
133
136
  } from "./chunk-XSDTNMQY.js";
134
137
  import {
135
- bifrostWallet
136
- } from "./chunk-TM7UBV3Q.js";
138
+ bitgetWallet
139
+ } from "./chunk-HOCKAU5H.js";
137
140
  import {
138
141
  bitskiWallet
139
142
  } from "./chunk-NPITCCJE.js";
140
- import {
141
- bitverseWallet
142
- } from "./chunk-5AEWIKRA.js";
143
- import {
144
- bitgetWallet
145
- } from "./chunk-USLZMUJ3.js";
146
143
  import {
147
144
  bloomWallet
148
145
  } from "./chunk-PNHDOC77.js";
149
146
  import {
150
- bybitWallet
151
- } from "./chunk-IWPW26AL.js";
152
- import "./chunk-EYWGX5LT.js";
147
+ bitverseWallet
148
+ } from "./chunk-5AEWIKRA.js";
153
149
  import "./chunk-AALSJCUR.js";
150
+ import {
151
+ braveWallet
152
+ } from "./chunk-U2XXV45G.js";
153
+ import "./chunk-EYWGX5LT.js";
154
154
  import "./chunk-B454LLKJ.js";
155
155
  export {
156
156
  argentWallet,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  metaMaskWallet
4
- } from "../chunk-ANODOMIN.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-RXRYHMRI.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  metaMaskWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  okxWallet
4
- } from "../chunk-53MYTA42.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-CU5J53XR.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  okxWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  rainbowWallet
4
- } from "../chunk-65ULY6OC.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-ZSSSLFQF.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  rainbowWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  roninWallet
4
- } from "../chunk-RJF2YEZ5.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-IA5432IR.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  roninWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  safepalWallet
4
- } from "../chunk-MWB6LFSG.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-BBB2J3US.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  safepalWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  subWallet
4
- } from "../chunk-A5POD5SV.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-XODA5ESL.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  subWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  tokenPocketWallet
4
- } from "../chunk-KE4CWI3A.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-NXWG6FG2.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  tokenPocketWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  trustWallet
4
- } from "../chunk-PPQ6L4K2.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-SR5CZR3L.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  trustWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  zerionWallet
4
- } from "../chunk-OVDCDVFX.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-34B7OJNT.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  zerionWallet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "12.3.0",
3
+ "version": "12.4.0",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -60,6 +60,7 @@
60
60
  "@testing-library/jest-dom": "^6.2.0",
61
61
  "@testing-library/react": "^16.3.2",
62
62
  "@testing-library/user-event": "^14.5.2",
63
+ "@types/chroma-js": "^3.1.2",
63
64
  "@types/qrcode": "^1.5.5",
64
65
  "@types/ua-parser-js": "^0.7.39",
65
66
  "@vanilla-extract/css-utils": "^0.1.4",
@@ -100,6 +101,7 @@
100
101
  "@vanilla-extract/css": "1.15.3",
101
102
  "@vanilla-extract/dynamic": "2.1.0",
102
103
  "@vanilla-extract/sprinkles": "1.6.1",
104
+ "chroma-js": "3.2.0",
103
105
  "clsx": "2.1.1",
104
106
  "dnum": "2.17.0",
105
107
  "i18next": "25.6.2",
@@ -111,11 +113,11 @@
111
113
  "ua-parser-js": "^1.0.37",
112
114
  "use-debounce": "^10.0.5",
113
115
  "uuid": "^11.1.1",
114
- "@funkit/api-base": "8.1.0",
115
116
  "@funkit/chains": "2.3.0",
116
- "@funkit/fun-relay": "2.15.0",
117
- "@funkit/utils": "4.0.3",
118
- "@funkit/connect-core": "6.0.0"
117
+ "@funkit/connect-core": "6.1.0",
118
+ "@funkit/fun-relay": "3.0.0",
119
+ "@funkit/api-base": "8.2.0",
120
+ "@funkit/utils": "4.0.3"
119
121
  },
120
122
  "repository": {
121
123
  "type": "git",