@funkit/connect 1.2.2 → 1.2.4

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,14 +7,16 @@ declare const fontStacks: {
7
7
  type FontStack = keyof typeof fontStacks;
8
8
  type RadiusScale = 'large' | 'medium' | 'small' | 'none';
9
9
  type Blurs = 'large' | 'small' | 'none';
10
+ type FontSizeType = 'regular' | 'small';
10
11
  interface BaseThemeOptions {
11
12
  customFontWeights?: Partial<ThemeVars['fontWeight']>;
12
13
  customFontFamily?: string;
14
+ fontSizing?: FontSizeType;
13
15
  borderRadius?: RadiusScale;
14
16
  fontStack?: FontStack;
15
17
  overlayBlur?: Blurs;
16
18
  }
17
- export declare const baseTheme: ({ borderRadius, fontStack, customFontFamily, customFontWeights, overlayBlur, }: BaseThemeOptions) => Pick<ThemeVars, 'radii' | 'fonts' | 'fontWeight' | 'blurs'>;
19
+ export declare const baseTheme: ({ borderRadius, fontStack, fontSizing, customFontFamily, customFontWeights, overlayBlur, }: BaseThemeOptions) => Pick<ThemeVars, 'radii' | 'fonts' | 'fontWeight' | 'fontSize' | 'blurs'>;
18
20
  export interface AccentColor {
19
21
  accentColor: string;
20
22
  accentColorForeground: string;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  baseTheme
4
- } from "../chunk-FECCKVZV.js";
4
+ } from "../chunk-I24HX4XM.js";
5
5
  export {
6
6
  baseTheme
7
7
  };
@@ -29,6 +29,10 @@ export declare const darkTheme: {
29
29
  profileActionHover: string;
30
30
  profileForeground: string;
31
31
  selectedOptionBorder: string;
32
+ paymentOptionBorderBase: string;
33
+ paymentOptionBorderHover: string;
34
+ paymentOptionBorderActive: string;
35
+ paymentOptionBorderActiveHover: string;
32
36
  standby: string;
33
37
  solidLine: string;
34
38
  leftTranslucentLine: string;
@@ -49,8 +53,6 @@ export declare const darkTheme: {
49
53
  inputFieldDisabled: string;
50
54
  optionBackground: string;
51
55
  optionBackgroundSecondary: string;
52
- strokePrimary: string;
53
- strokeSecondary: string;
54
56
  buttonPrimary: string;
55
57
  buttonProcessing: string;
56
58
  buttonDisabled: string;
@@ -72,6 +74,44 @@ export declare const darkTheme: {
72
74
  walletLogo: string;
73
75
  };
74
76
  moonpayTheme: string;
77
+ fontSize: {
78
+ '10': {
79
+ fontSize: string;
80
+ lineHeight: string;
81
+ };
82
+ '12': {
83
+ fontSize: string;
84
+ lineHeight: string;
85
+ };
86
+ '13': {
87
+ fontSize: string;
88
+ lineHeight: string;
89
+ };
90
+ '14': {
91
+ fontSize: string;
92
+ lineHeight: string;
93
+ };
94
+ '16': {
95
+ fontSize: string;
96
+ lineHeight: string;
97
+ };
98
+ '18': {
99
+ fontSize: string;
100
+ lineHeight: string;
101
+ };
102
+ '20': {
103
+ fontSize: string;
104
+ lineHeight: string;
105
+ };
106
+ '23': {
107
+ fontSize: string;
108
+ lineHeight: string;
109
+ };
110
+ '57': {
111
+ fontSize: string;
112
+ lineHeight: string;
113
+ };
114
+ };
75
115
  fontWeight: {
76
116
  regular: string;
77
117
  medium: string;
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  darkTheme
4
- } from "../chunk-RRG76BJM.js";
5
- import "../chunk-FECCKVZV.js";
4
+ } from "../chunk-ICLRFHOV.js";
5
+ import "../chunk-I24HX4XM.js";
6
6
  export {
7
7
  darkTheme
8
8
  };
@@ -29,6 +29,10 @@ export declare const lightTheme: {
29
29
  profileActionHover: string;
30
30
  profileForeground: string;
31
31
  selectedOptionBorder: string;
32
+ paymentOptionBorderBase: string;
33
+ paymentOptionBorderHover: string;
34
+ paymentOptionBorderActive: string;
35
+ paymentOptionBorderActiveHover: string;
32
36
  standby: string;
33
37
  solidLine: string;
34
38
  leftTranslucentLine: string;
@@ -49,8 +53,6 @@ export declare const lightTheme: {
49
53
  inputFieldDisabled: string;
50
54
  optionBackground: string;
51
55
  optionBackgroundSecondary: string;
52
- strokePrimary: string;
53
- strokeSecondary: string;
54
56
  buttonPrimary: string;
55
57
  buttonProcessing: string;
56
58
  buttonDisabled: string;
@@ -72,6 +74,44 @@ export declare const lightTheme: {
72
74
  walletLogo: string;
73
75
  };
74
76
  moonpayTheme: string;
77
+ fontSize: {
78
+ '10': {
79
+ fontSize: string;
80
+ lineHeight: string;
81
+ };
82
+ '12': {
83
+ fontSize: string;
84
+ lineHeight: string;
85
+ };
86
+ '13': {
87
+ fontSize: string;
88
+ lineHeight: string;
89
+ };
90
+ '14': {
91
+ fontSize: string;
92
+ lineHeight: string;
93
+ };
94
+ '16': {
95
+ fontSize: string;
96
+ lineHeight: string;
97
+ };
98
+ '18': {
99
+ fontSize: string;
100
+ lineHeight: string;
101
+ };
102
+ '20': {
103
+ fontSize: string;
104
+ lineHeight: string;
105
+ };
106
+ '23': {
107
+ fontSize: string;
108
+ lineHeight: string;
109
+ };
110
+ '57': {
111
+ fontSize: string;
112
+ lineHeight: string;
113
+ };
114
+ };
75
115
  fontWeight: {
76
116
  regular: string;
77
117
  medium: string;
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  lightTheme
4
- } from "../chunk-UDJBGTFV.js";
5
- import "../chunk-FECCKVZV.js";
4
+ } from "../chunk-FRT63PFR.js";
5
+ import "../chunk-I24HX4XM.js";
6
6
  export {
7
7
  lightTheme
8
8
  };
@@ -1,40 +1,37 @@
1
1
  "use client";
2
2
  import {
3
- tokenPocketWallet
4
- } from "./chunk-UWU574XS.js";
3
+ walletConnectWallet
4
+ } from "./chunk-ASPRR7T3.js";
5
5
  import {
6
- zealWallet
7
- } from "./chunk-Z5QFIFDP.js";
6
+ xdefiWallet
7
+ } from "./chunk-JNZ3EYC7.js";
8
8
  import {
9
9
  zerionWallet
10
10
  } from "./chunk-G4DNQN67.js";
11
11
  import {
12
- safeheronWallet
13
- } from "./chunk-FQDX6QIP.js";
12
+ talismanWallet
13
+ } from "./chunk-R2GYJ376.js";
14
14
  import {
15
- trustWallet
16
- } from "./chunk-BMHNXJZK.js";
15
+ subWallet
16
+ } from "./chunk-WS4EM7AZ.js";
17
17
  import {
18
18
  tahoWallet
19
19
  } from "./chunk-PILSRRPJ.js";
20
20
  import {
21
- talismanWallet
22
- } from "./chunk-R2GYJ376.js";
21
+ tokenPocketWallet
22
+ } from "./chunk-UWU574XS.js";
23
+ import {
24
+ tokenaryWallet
25
+ } from "./chunk-MD5OPFAT.js";
23
26
  import {
24
27
  uniswapWallet
25
28
  } from "./chunk-XRSY4JVH.js";
26
29
  import {
27
- xdefiWallet
28
- } from "./chunk-JNZ3EYC7.js";
29
- import {
30
- walletConnectWallet
31
- } from "./chunk-ASPRR7T3.js";
32
- import {
33
- tokenaryWallet
34
- } from "./chunk-MD5OPFAT.js";
30
+ trustWallet
31
+ } from "./chunk-BMHNXJZK.js";
35
32
  import {
36
- rainbowWallet
37
- } from "./chunk-EXN2ODSI.js";
33
+ zealWallet
34
+ } from "./chunk-Z5QFIFDP.js";
38
35
  import {
39
36
  phantomWallet
40
37
  } from "./chunk-4PTY6XNU.js";
@@ -44,27 +41,27 @@ import {
44
41
  import {
45
42
  ramperWallet
46
43
  } from "./chunk-XEZPRJPV.js";
44
+ import {
45
+ rainbowWallet
46
+ } from "./chunk-EXN2ODSI.js";
47
47
  import {
48
48
  safeWallet
49
49
  } from "./chunk-D3DCQ72J.js";
50
50
  import {
51
51
  roninWallet
52
52
  } from "./chunk-CNTLU4ZV.js";
53
+ import {
54
+ safeheronWallet
55
+ } from "./chunk-FQDX6QIP.js";
53
56
  import {
54
57
  safepalWallet
55
58
  } from "./chunk-PQSJXOGA.js";
56
- import {
57
- subWallet
58
- } from "./chunk-WS4EM7AZ.js";
59
59
  import {
60
60
  kresusWallet
61
61
  } from "./chunk-X6T3CICZ.js";
62
62
  import {
63
63
  mewWallet
64
64
  } from "./chunk-ZCSUP7CX.js";
65
- import {
66
- metaMaskWallet
67
- } from "./chunk-TUK3HNKY.js";
68
65
  import {
69
66
  oktoWallet
70
67
  } from "./chunk-WKHTUEF5.js";
@@ -75,20 +72,23 @@ import {
75
72
  omniWallet
76
73
  } from "./chunk-SVN7OEQR.js";
77
74
  import {
78
- oneKeyWallet
79
- } from "./chunk-QS2J6MWB.js";
75
+ metaMaskWallet
76
+ } from "./chunk-TUK3HNKY.js";
80
77
  import {
81
78
  oneInchWallet
82
79
  } from "./chunk-LCPIZUR3.js";
80
+ import {
81
+ oneKeyWallet
82
+ } from "./chunk-QS2J6MWB.js";
83
+ import {
84
+ enkryptWallet
85
+ } from "./chunk-SJWHYD45.js";
83
86
  import {
84
87
  frameWallet
85
88
  } from "./chunk-HXGBE5AH.js";
86
89
  import {
87
90
  frontierWallet
88
91
  } from "./chunk-LOEDYNWO.js";
89
- import {
90
- bybitWallet
91
- } from "./chunk-ZBQT5PV6.js";
92
92
  import {
93
93
  gateWallet
94
94
  } from "./chunk-QGQISKXF.js";
@@ -102,35 +102,29 @@ import {
102
102
  ledgerWallet
103
103
  } from "./chunk-Y6VY6E3L.js";
104
104
  import {
105
- bitverseWallet
106
- } from "./chunk-NL4I7WOT.js";
105
+ bybitWallet
106
+ } from "./chunk-ZBQT5PV6.js";
107
107
  import {
108
108
  coinbaseWallet
109
109
  } from "./chunk-O77H3VWW.js";
110
- import {
111
- coreWallet
112
- } from "./chunk-32O7HVBJ.js";
113
110
  import {
114
111
  coin98Wallet
115
112
  } from "./chunk-3QXMJHL4.js";
116
113
  import {
117
- enkryptWallet
118
- } from "./chunk-SJWHYD45.js";
119
- import {
120
- dawnWallet
121
- } from "./chunk-QUFNIKMV.js";
114
+ bitverseWallet
115
+ } from "./chunk-NL4I7WOT.js";
122
116
  import {
123
- foxWallet
124
- } from "./chunk-TKXMLZXG.js";
117
+ coreWallet
118
+ } from "./chunk-32O7HVBJ.js";
125
119
  import {
126
120
  desigWallet
127
121
  } from "./chunk-P4C7ZHIS.js";
128
122
  import {
129
- bitskiWallet
130
- } from "./chunk-IMZRCMZR.js";
123
+ dawnWallet
124
+ } from "./chunk-QUFNIKMV.js";
131
125
  import {
132
- bifrostWallet
133
- } from "./chunk-AFONKDII.js";
126
+ foxWallet
127
+ } from "./chunk-TKXMLZXG.js";
134
128
  import {
135
129
  argentWallet
136
130
  } from "./chunk-NZ5G23JP.js";
@@ -140,6 +134,12 @@ import {
140
134
  import {
141
135
  bloomWallet
142
136
  } from "./chunk-NTGZF5BY.js";
137
+ import {
138
+ bitskiWallet
139
+ } from "./chunk-IMZRCMZR.js";
140
+ import {
141
+ bifrostWallet
142
+ } from "./chunk-AFONKDII.js";
143
143
  import "./chunk-ZOLACFTK.js";
144
144
  import {
145
145
  braveWallet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -61,7 +61,7 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@datadog/browser-logs": "^5.12.0",
64
- "@meshconnect/web-link-sdk": "^2.0.1",
64
+ "@meshconnect/web-link-sdk": "2.1.1",
65
65
  "@moonpay/moonpay-react": "^1.6.1",
66
66
  "@privy-io/js-sdk-core": "^0.21.0",
67
67
  "@tanstack/react-query": "^5.28.8",
@@ -75,9 +75,9 @@
75
75
  "react-remove-scroll": "2.5.7",
76
76
  "ua-parser-js": "^1.0.37",
77
77
  "uuid": "^9.0.1",
78
- "@funkit/core": "1.0.16",
78
+ "@funkit/api-base": "0.0.3",
79
79
  "@funkit/wagmi-tools": "2.0.1",
80
- "@funkit/api-base": "0.0.3"
80
+ "@funkit/core": "1.0.16"
81
81
  },
82
82
  "repository": {
83
83
  "type": "git",