@funkit/connect 9.3.1 → 9.3.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.
@@ -7,7 +7,7 @@ interface AssetOption {
7
7
  isDisabled: boolean;
8
8
  isUserSelected: boolean;
9
9
  priority: number;
10
- minUsdRequired?: number;
10
+ minUsdWithFees?: number;
11
11
  }
12
12
  interface SelectAssetListProps {
13
13
  isLoading: boolean;
@@ -473,6 +473,7 @@ export declare const useActiveTheme: () => {
473
473
  selectAssetItemTextGap: string;
474
474
  selectBrokerageItemPaddingX: string;
475
475
  selectBrokerageItemPaddingY: string;
476
+ selectBrokerageListGap: string;
476
477
  txBreakdownMarginY: string;
477
478
  txBreakdownPaddingX: string;
478
479
  txSummaryBoxPaddingX: string;
@@ -962,6 +963,7 @@ export declare const useActiveTheme: () => {
962
963
  selectAssetItemTextGap: string;
963
964
  selectBrokerageItemPaddingX: string;
964
965
  selectBrokerageItemPaddingY: string;
966
+ selectBrokerageListGap: string;
965
967
  txBreakdownMarginY: string;
966
968
  txBreakdownPaddingX: string;
967
969
  txSummaryBoxPaddingX: string;
@@ -1449,6 +1451,7 @@ export declare const useActiveTheme: () => {
1449
1451
  selectAssetItemTextGap: string;
1450
1452
  selectBrokerageItemPaddingX: string;
1451
1453
  selectBrokerageItemPaddingY: string;
1454
+ selectBrokerageListGap: string;
1452
1455
  txBreakdownMarginY: string;
1453
1456
  txBreakdownPaddingX: string;
1454
1457
  txSummaryBoxPaddingX: string;
@@ -6,8 +6,10 @@ export interface SwappedIframeCallbacks {
6
6
  onBack: () => void;
7
7
  onExit: () => void;
8
8
  onNewDeposit: () => void;
9
- onError: (message: string) => void;
9
+ onError: (data: Record<string, unknown>) => void;
10
10
  onNavigation: (step: string) => void;
11
+ onOrderData: (data: Record<string, unknown>) => void;
12
+ onLogout: () => void;
11
13
  }
12
14
  interface SwappedContextValue {
13
15
  iframeUrl: string | null;
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  baseTheme,
4
4
  systemFontStack
5
- } from "../chunk-JKGPN2BQ.js";
5
+ } from "../chunk-MXNOQTKX.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-WXEL44DS.js";
5
- import "../chunk-JKGPN2BQ.js";
4
+ } from "../chunk-RHUOOPDI.js";
5
+ import "../chunk-MXNOQTKX.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-VIJQ5A6W.js";
5
- import "../chunk-JKGPN2BQ.js";
4
+ } from "../chunk-AGBRSMZ7.js";
5
+ import "../chunk-MXNOQTKX.js";
6
6
  export {
7
7
  lightTheme
8
8
  };
@@ -27,6 +27,10 @@ export interface SwappedTheme {
27
27
  boxPaddingX?: string;
28
28
  paymentMethodLightLogos?: boolean;
29
29
  }
30
+ export declare const SWAPPED_CARD_BRANDS: Record<string, {
31
+ displayName: string;
32
+ iconImageUrl: string;
33
+ }>;
30
34
  export declare const isSavedFormOfPaymentType: (fop: SwappedFormOfPayment) => fop is SavedFormOfPayment;
31
35
  export declare const getSavedFormOfPaymentDisplayName: (fop: SavedFormOfPayment) => string;
32
36
  export declare const getSavedFormOfPaymentIcon: (fop: SavedFormOfPayment) => string | undefined;
@@ -1,16 +1,10 @@
1
1
  "use client";
2
- import {
3
- zealWallet
4
- } from "./chunk-HE2LMIPD.js";
5
2
  import {
6
3
  zerionWallet
7
4
  } from "./chunk-TTHM3WUR.js";
8
5
  import {
9
- tahoWallet
10
- } from "./chunk-4BMUFNMT.js";
11
- import {
12
- tokenPocketWallet
13
- } from "./chunk-4C7ER452.js";
6
+ mewWallet
7
+ } from "./chunk-HKVDCVCG.js";
14
8
  import {
15
9
  talismanWallet
16
10
  } from "./chunk-6MFOL6EB.js";
@@ -30,50 +24,56 @@ import {
30
24
  xdefiWallet
31
25
  } from "./chunk-O7RSASRH.js";
32
26
  import {
33
- rabbyWallet
34
- } from "./chunk-WFNPWKU3.js";
27
+ zealWallet
28
+ } from "./chunk-HE2LMIPD.js";
29
+ import {
30
+ tokenPocketWallet
31
+ } from "./chunk-4C7ER452.js";
35
32
  import {
36
33
  rainbowWallet
37
34
  } from "./chunk-GSHSWVEG.js";
38
35
  import {
39
36
  ramperWallet
40
37
  } from "./chunk-R4S234FL.js";
41
- import {
42
- safeWallet
43
- } from "./chunk-YKVWTGU7.js";
44
38
  import {
45
39
  roninWallet
46
40
  } from "./chunk-PKMAPNN6.js";
47
41
  import {
48
- safepalWallet
49
- } from "./chunk-IICWJWGZ.js";
42
+ safeWallet
43
+ } from "./chunk-YKVWTGU7.js";
50
44
  import {
51
45
  safeheronWallet
52
46
  } from "./chunk-4R4AARTG.js";
47
+ import {
48
+ safepalWallet
49
+ } from "./chunk-IICWJWGZ.js";
53
50
  import {
54
51
  subWallet
55
52
  } from "./chunk-XBLHZICW.js";
53
+ import {
54
+ tahoWallet
55
+ } from "./chunk-4BMUFNMT.js";
56
56
  import {
57
57
  metaMaskWallet
58
58
  } from "./chunk-HETS3KKI.js";
59
59
  import {
60
- mewWallet
61
- } from "./chunk-HKVDCVCG.js";
60
+ okxWallet
61
+ } from "./chunk-LI6QY2B5.js";
62
62
  import {
63
63
  oktoWallet
64
64
  } from "./chunk-BVX22N7L.js";
65
65
  import {
66
- okxWallet
67
- } from "./chunk-LI6QY2B5.js";
66
+ oneInchWallet
67
+ } from "./chunk-RVWLP4IM.js";
68
68
  import {
69
69
  omniWallet
70
70
  } from "./chunk-INNF7G5X.js";
71
- import {
72
- oneInchWallet
73
- } from "./chunk-RVWLP4IM.js";
74
71
  import {
75
72
  oneKeyWallet
76
73
  } from "./chunk-HE5J5T7X.js";
74
+ import {
75
+ rabbyWallet
76
+ } from "./chunk-WFNPWKU3.js";
77
77
  import {
78
78
  phantomWallet
79
79
  } from "./chunk-XMNVOYSJ.js";
@@ -93,14 +93,14 @@ import {
93
93
  imTokenWallet
94
94
  } from "./chunk-IUVO4IN3.js";
95
95
  import {
96
- injectedWallet
97
- } from "./chunk-W6MXINYY.js";
96
+ kresusWallet
97
+ } from "./chunk-G4V5B6YC.js";
98
98
  import {
99
99
  ledgerWallet
100
100
  } from "./chunk-WKCCLGHJ.js";
101
101
  import {
102
- kresusWallet
103
- } from "./chunk-G4V5B6YC.js";
102
+ injectedWallet
103
+ } from "./chunk-W6MXINYY.js";
104
104
  import {
105
105
  clvWallet
106
106
  } from "./chunk-GVOQTORD.js";
@@ -108,8 +108,8 @@ import {
108
108
  coin98Wallet
109
109
  } from "./chunk-6YO27XOM.js";
110
110
  import {
111
- bybitWallet
112
- } from "./chunk-6UCI7GM6.js";
111
+ bitverseWallet
112
+ } from "./chunk-GROWFRGP.js";
113
113
  import {
114
114
  coinbaseWallet
115
115
  } from "./chunk-RZXMOPIV.js";
@@ -128,25 +128,25 @@ import {
128
128
  import {
129
129
  argentWallet
130
130
  } from "./chunk-VUOAIUZE.js";
131
- import {
132
- bifrostWallet
133
- } from "./chunk-EKJHJFRN.js";
134
131
  import {
135
132
  bitgetWallet
136
133
  } from "./chunk-HOPH3TQ3.js";
137
134
  import {
138
- bitverseWallet
139
- } from "./chunk-GROWFRGP.js";
135
+ bifrostWallet
136
+ } from "./chunk-EKJHJFRN.js";
140
137
  import {
141
138
  bitskiWallet
142
139
  } from "./chunk-A7FNGC4A.js";
143
140
  import {
144
141
  bloomWallet
145
142
  } from "./chunk-UB2SSFH7.js";
146
- import "./chunk-MAPXJUOO.js";
147
143
  import {
148
144
  braveWallet
149
145
  } from "./chunk-ZRNBHLUU.js";
146
+ import {
147
+ bybitWallet
148
+ } from "./chunk-6UCI7GM6.js";
149
+ import "./chunk-MAPXJUOO.js";
150
150
  import "./chunk-BAVE62IL.js";
151
151
  import "./chunk-KV4HGYM3.js";
152
152
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "9.3.1",
3
+ "version": "9.3.2",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -104,9 +104,9 @@
104
104
  "use-debounce": "^10.0.5",
105
105
  "uuid": "^9.0.1",
106
106
  "@funkit/api-base": "3.0.2",
107
- "@funkit/chains": "1.1.0",
108
107
  "@funkit/fun-relay": "2.6.3",
109
- "@funkit/utils": "1.2.4"
108
+ "@funkit/utils": "1.2.4",
109
+ "@funkit/chains": "1.1.0"
110
110
  },
111
111
  "repository": {
112
112
  "type": "git",