@funkit/connect 8.4.0-next.1 → 8.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.
@@ -1,4 +1,4 @@
1
- import type { FormOfPayment } from '@funkit/api-base';
1
+ import { type FormOfPayment } from '@funkit/api-base';
2
2
  import React from 'react';
3
3
  interface FormOfPaymentsListProps {
4
4
  fops?: FormOfPayment[];
@@ -197,6 +197,18 @@ export interface FunkitUiCustomizationsConfig {
197
197
  timeEstimate?: ComponentType;
198
198
  youReceive?: ComponentType;
199
199
  youSend?: ComponentType;
200
+ fiatTabIcon?: ComponentType<{
201
+ size?: number;
202
+ }>;
203
+ cryptoTabIcon?: ComponentType<{
204
+ size?: number;
205
+ }>;
206
+ };
207
+ /** Font family names to pass to embedded widgets */
208
+ customFontFamily?: {
209
+ primary?: string;
210
+ secondary?: string;
211
+ tertiary?: string;
200
212
  };
201
213
  }
202
214
  /**
@@ -21,6 +21,7 @@ interface FunkitProviderInnerProps {
21
21
  debug?: boolean | undefined;
22
22
  sandbox?: boolean | undefined;
23
23
  modalSize?: ModalSizes;
24
+ useStyleRefForTheme?: boolean;
24
25
  }
25
26
  export type FunkitWagmiConfig = Omit<CreateFunkitWagmiConfigParameters, 'funkitApiKey' | 'initialChainId' | 'appName'> & {
26
27
  projectId: string;
@@ -141,6 +141,7 @@ export declare const useActiveTheme: () => {
141
141
  txSummaryBoxBorder: string;
142
142
  counterRingColor: string;
143
143
  cryptoCashToggleContainerBorderColor: string;
144
+ cryptoCashToggleBackground: string;
144
145
  };
145
146
  dimensions: {
146
147
  connectExchangeIconSize: string;
@@ -424,6 +425,7 @@ export declare const useActiveTheme: () => {
424
425
  txSummaryLineItemPadding: string;
425
426
  txSummaryDividerMarginX: string;
426
427
  txSummaryDividerMarginY: string;
428
+ verticalSectionGap: string;
427
429
  youPayYouReceivePaddingLeft: string;
428
430
  youPayYouReceivePaddingRight: string;
429
431
  youPayYouReceivePaddingY: string;
@@ -567,6 +569,7 @@ export declare const useActiveTheme: () => {
567
569
  txSummaryBoxBorder: string;
568
570
  counterRingColor: string;
569
571
  cryptoCashToggleContainerBorderColor: string;
572
+ cryptoCashToggleBackground: string;
570
573
  };
571
574
  dimensions: {
572
575
  connectExchangeIconSize: string;
@@ -850,6 +853,7 @@ export declare const useActiveTheme: () => {
850
853
  txSummaryLineItemPadding: string;
851
854
  txSummaryDividerMarginX: string;
852
855
  txSummaryDividerMarginY: string;
856
+ verticalSectionGap: string;
853
857
  youPayYouReceivePaddingLeft: string;
854
858
  youPayYouReceivePaddingRight: string;
855
859
  youPayYouReceivePaddingY: string;
@@ -991,6 +995,7 @@ export declare const useActiveTheme: () => {
991
995
  txSummaryBoxBorder: string;
992
996
  counterRingColor: string;
993
997
  cryptoCashToggleContainerBorderColor: string;
998
+ cryptoCashToggleBackground: string;
994
999
  };
995
1000
  dimensions: {
996
1001
  connectExchangeIconSize: string;
@@ -1274,6 +1279,7 @@ export declare const useActiveTheme: () => {
1274
1279
  txSummaryLineItemPadding: string;
1275
1280
  txSummaryDividerMarginX: string;
1276
1281
  txSummaryDividerMarginY: string;
1282
+ verticalSectionGap: string;
1277
1283
  youPayYouReceivePaddingLeft: string;
1278
1284
  youPayYouReceivePaddingRight: string;
1279
1285
  youPayYouReceivePaddingY: string;
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  baseTheme,
4
4
  systemFontStack
5
- } from "../chunk-UE3P6YHW.js";
5
+ } from "../chunk-4WY7FNYP.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-YUWSE22N.js";
5
- import "../chunk-UE3P6YHW.js";
4
+ } from "../chunk-Z4QDKBBG.js";
5
+ import "../chunk-4WY7FNYP.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-XX5CVGHN.js";
5
- import "../chunk-UE3P6YHW.js";
4
+ } from "../chunk-UUHLEWAL.js";
5
+ import "../chunk-4WY7FNYP.js";
6
6
  export {
7
7
  lightTheme
8
8
  };
@@ -1,4 +1,5 @@
1
- import type { FunAddress } from '@funkit/api-base';
1
+ import type { CheckoutInitTokenTransferResponse, FunAddress } from '@funkit/api-base';
2
+ export declare function getDepositAddressForChain(chainId: number, transferInit: CheckoutInitTokenTransferResponse | undefined): FunAddress | undefined;
2
3
  export type TransferTokenQrCodeType = 'ethereum' | 'solana' | 'bitcoin' | 'tron';
3
4
  interface TransferTokenQrCodeUriParams {
4
5
  depositAddress: FunAddress;
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import {
3
- xdefiWallet
4
- } from "./chunk-TMFH6GXS.js";
5
2
  import {
6
3
  zerionWallet
7
4
  } from "./chunk-CZYUE3AR.js";
5
+ import {
6
+ trustWallet
7
+ } from "./chunk-JFHP4YJG.js";
8
8
  import {
9
9
  tahoWallet
10
10
  } from "./chunk-TNZJRXUQ.js";
@@ -17,30 +17,30 @@ import {
17
17
  import {
18
18
  tokenaryWallet
19
19
  } from "./chunk-M2HGGTFE.js";
20
- import {
21
- trustWallet
22
- } from "./chunk-JFHP4YJG.js";
23
20
  import {
24
21
  walletConnectWallet
25
22
  } from "./chunk-NP5QGWNL.js";
26
23
  import {
27
24
  uniswapWallet
28
25
  } from "./chunk-LH7BMNFZ.js";
26
+ import {
27
+ xdefiWallet
28
+ } from "./chunk-TMFH6GXS.js";
29
29
  import {
30
30
  zealWallet
31
31
  } from "./chunk-VU2RNIQG.js";
32
32
  import {
33
- rabbyWallet
34
- } from "./chunk-LW6S43RE.js";
33
+ phantomWallet
34
+ } from "./chunk-3IYE623P.js";
35
35
  import {
36
36
  rainbowWallet
37
37
  } from "./chunk-77UTBHGP.js";
38
- import {
39
- roninWallet
40
- } from "./chunk-UOTQQJJD.js";
41
38
  import {
42
39
  ramperWallet
43
40
  } from "./chunk-FCG5Q6JX.js";
41
+ import {
42
+ roninWallet
43
+ } from "./chunk-UOTQQJJD.js";
44
44
  import {
45
45
  safeWallet
46
46
  } from "./chunk-BQQQL6UD.js";
@@ -75,8 +75,8 @@ import {
75
75
  oneKeyWallet
76
76
  } from "./chunk-35Q4HKAM.js";
77
77
  import {
78
- phantomWallet
79
- } from "./chunk-3IYE623P.js";
78
+ rabbyWallet
79
+ } from "./chunk-LW6S43RE.js";
80
80
  import {
81
81
  foxWallet
82
82
  } from "./chunk-YLJDPTYF.js";
@@ -101,9 +101,6 @@ import {
101
101
  import {
102
102
  ledgerWallet
103
103
  } from "./chunk-BRBKM4PW.js";
104
- import {
105
- bybitWallet
106
- } from "./chunk-5EAOMOTO.js";
107
104
  import {
108
105
  clvWallet
109
106
  } from "./chunk-HPHADOYD.js";
@@ -113,6 +110,9 @@ import {
113
110
  import {
114
111
  coinbaseWallet
115
112
  } from "./chunk-H4IRCEZN.js";
113
+ import {
114
+ bitskiWallet
115
+ } from "./chunk-YMUSFW44.js";
116
116
  import {
117
117
  coreWallet
118
118
  } from "./chunk-VYNVAGSV.js";
@@ -125,28 +125,28 @@ import {
125
125
  import {
126
126
  enkryptWallet
127
127
  } from "./chunk-ABQKUIUD.js";
128
- import {
129
- bifrostWallet
130
- } from "./chunk-R6Y36CMA.js";
131
128
  import {
132
129
  argentWallet
133
130
  } from "./chunk-WSQ2YJO2.js";
131
+ import {
132
+ bifrostWallet
133
+ } from "./chunk-R6Y36CMA.js";
134
134
  import {
135
135
  bitgetWallet
136
136
  } from "./chunk-FA5DTT5R.js";
137
137
  import {
138
- bitskiWallet
139
- } from "./chunk-YMUSFW44.js";
138
+ bitverseWallet
139
+ } from "./chunk-3HZRRP4Y.js";
140
140
  import {
141
141
  bloomWallet
142
142
  } from "./chunk-S27IADFU.js";
143
- import {
144
- bitverseWallet
145
- } from "./chunk-3HZRRP4Y.js";
146
- import "./chunk-23WIEY36.js";
147
143
  import {
148
144
  braveWallet
149
145
  } from "./chunk-4ZXII3UA.js";
146
+ import {
147
+ bybitWallet
148
+ } from "./chunk-5EAOMOTO.js";
149
+ import "./chunk-23WIEY36.js";
150
150
  import "./chunk-ARYAYQ7Z.js";
151
151
  export {
152
152
  argentWallet,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "8.4.0-next.1",
3
+ "version": "8.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",
@@ -103,10 +103,10 @@
103
103
  "ua-parser-js": "^1.0.37",
104
104
  "use-debounce": "^10.0.5",
105
105
  "uuid": "^9.0.1",
106
- "@funkit/api-base": "2.2.0-next.0",
106
+ "@funkit/api-base": "2.2.0",
107
107
  "@funkit/chains": "1.1.0",
108
- "@funkit/fun-relay": "2.4.1-next.1",
109
- "@funkit/utils": "1.2.1-next.0"
108
+ "@funkit/fun-relay": "2.5.0",
109
+ "@funkit/utils": "1.2.1"
110
110
  },
111
111
  "repository": {
112
112
  "type": "git",