@funkit/connect 5.5.15 → 5.5.17

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,6 +1,6 @@
1
1
  import { type CheckoutHistoryItem, type DirectExecution } from '@funkit/api-base';
2
2
  import React, { type ReactNode } from 'react';
3
- import type { Address, Hex } from 'viem';
3
+ import { type Address, type Hex } from 'viem';
4
4
  import { type MergedCheckoutHistoryItem } from '../utils/checkout';
5
5
  import { type PurifiedCheckoutHistoryItem } from '../utils/purifyCheckoutHistoryItem';
6
6
  export type { HistoricalCheckoutItem, ServerCheckoutConfig, } from '~/domains/clientMetadata';
@@ -122,6 +122,10 @@ export declare const useActiveTheme: () => {
122
122
  fiatAccountGradientFrom: string;
123
123
  fiatAccountGradientTo: string;
124
124
  };
125
+ dimensions: {
126
+ modalBottomBarButtonHeight: string;
127
+ modalTopBarHeight: string;
128
+ };
125
129
  fonts: {
126
130
  body: string;
127
131
  };
@@ -131,6 +135,7 @@ export declare const useActiveTheme: () => {
131
135
  semibold: string;
132
136
  bold: string;
133
137
  heavy: string;
138
+ modalTopbarTitle: string;
134
139
  };
135
140
  fontSize: {
136
141
  '10': {
@@ -173,6 +178,18 @@ export declare const useActiveTheme: () => {
173
178
  fontSize: string;
174
179
  lineHeight: string;
175
180
  };
181
+ modalTopbarSubtitle: {
182
+ fontSize: string;
183
+ lineHeight: string;
184
+ };
185
+ modalTopbarTitle: {
186
+ fontSize: string;
187
+ lineHeight: string;
188
+ };
189
+ modalBottomBarButtonText: {
190
+ fontSize: string;
191
+ lineHeight: string;
192
+ };
176
193
  };
177
194
  radii: {
178
195
  actionButton: string;
@@ -202,6 +219,12 @@ export declare const useActiveTheme: () => {
202
219
  qrCode: string;
203
220
  buttonFocusedShadow: string;
204
221
  };
222
+ spacing: {
223
+ modalBaseHorizontalPadding: string;
224
+ modalBottomHorizontalPadding: string;
225
+ modalPaddingBottom: string;
226
+ modalTopBarVerticalTextSpacing: string;
227
+ };
205
228
  blurs: {
206
229
  modalOverlay: string;
207
230
  };
@@ -311,6 +334,10 @@ export declare const useActiveTheme: () => {
311
334
  fiatAccountGradientFrom: string;
312
335
  fiatAccountGradientTo: string;
313
336
  };
337
+ dimensions: {
338
+ modalBottomBarButtonHeight: string;
339
+ modalTopBarHeight: string;
340
+ };
314
341
  fonts: {
315
342
  body: string;
316
343
  };
@@ -320,6 +347,7 @@ export declare const useActiveTheme: () => {
320
347
  semibold: string;
321
348
  bold: string;
322
349
  heavy: string;
350
+ modalTopbarTitle: string;
323
351
  };
324
352
  fontSize: {
325
353
  '10': {
@@ -362,6 +390,18 @@ export declare const useActiveTheme: () => {
362
390
  fontSize: string;
363
391
  lineHeight: string;
364
392
  };
393
+ modalTopbarSubtitle: {
394
+ fontSize: string;
395
+ lineHeight: string;
396
+ };
397
+ modalTopbarTitle: {
398
+ fontSize: string;
399
+ lineHeight: string;
400
+ };
401
+ modalBottomBarButtonText: {
402
+ fontSize: string;
403
+ lineHeight: string;
404
+ };
365
405
  };
366
406
  radii: {
367
407
  actionButton: string;
@@ -391,6 +431,12 @@ export declare const useActiveTheme: () => {
391
431
  qrCode: string;
392
432
  buttonFocusedShadow: string;
393
433
  };
434
+ spacing: {
435
+ modalBaseHorizontalPadding: string;
436
+ modalBottomHorizontalPadding: string;
437
+ modalPaddingBottom: string;
438
+ modalTopBarVerticalTextSpacing: string;
439
+ };
394
440
  blurs: {
395
441
  modalOverlay: string;
396
442
  };
@@ -498,6 +544,10 @@ export declare const useActiveTheme: () => {
498
544
  fiatAccountGradientFrom: string;
499
545
  fiatAccountGradientTo: string;
500
546
  };
547
+ dimensions: {
548
+ modalBottomBarButtonHeight: string;
549
+ modalTopBarHeight: string;
550
+ };
501
551
  fonts: {
502
552
  body: string;
503
553
  };
@@ -507,6 +557,7 @@ export declare const useActiveTheme: () => {
507
557
  semibold: string;
508
558
  bold: string;
509
559
  heavy: string;
560
+ modalTopbarTitle: string;
510
561
  };
511
562
  fontSize: {
512
563
  '10': {
@@ -549,6 +600,18 @@ export declare const useActiveTheme: () => {
549
600
  fontSize: string;
550
601
  lineHeight: string;
551
602
  };
603
+ modalTopbarSubtitle: {
604
+ fontSize: string;
605
+ lineHeight: string;
606
+ };
607
+ modalTopbarTitle: {
608
+ fontSize: string;
609
+ lineHeight: string;
610
+ };
611
+ modalBottomBarButtonText: {
612
+ fontSize: string;
613
+ lineHeight: string;
614
+ };
552
615
  };
553
616
  radii: {
554
617
  actionButton: string;
@@ -578,6 +641,12 @@ export declare const useActiveTheme: () => {
578
641
  qrCode: string;
579
642
  buttonFocusedShadow: string;
580
643
  };
644
+ spacing: {
645
+ modalBaseHorizontalPadding: string;
646
+ modalBottomHorizontalPadding: string;
647
+ modalPaddingBottom: string;
648
+ modalTopBarVerticalTextSpacing: string;
649
+ };
581
650
  blurs: {
582
651
  modalOverlay: string;
583
652
  };
@@ -15,12 +15,14 @@ interface BaseThemeOptions {
15
15
  customFontFamily?: string;
16
16
  customFontSizings?: Partial<ThemeVars['fontSize']>;
17
17
  customBorderRadiuses?: Partial<ThemeVars['radii']>;
18
+ customDimensions?: Partial<ThemeVars['dimensions']>;
19
+ customSpacings?: Partial<ThemeVars['spacing']>;
18
20
  fontSizing?: FontSizeType;
19
21
  borderRadius?: RadiusScale;
20
22
  fontStack?: FontStack;
21
23
  overlayBlur?: Blurs;
22
24
  }
23
- export declare const baseTheme: ({ borderRadius, fontStack, fontSizing, customFontFamily, customFontWeights, customFontSizings, customBorderRadiuses, overlayBlur, }: BaseThemeOptions) => Pick<ThemeVars, "radii" | "fonts" | "fontWeight" | "fontSize" | "blurs">;
25
+ export declare const baseTheme: ({ borderRadius, fontStack, fontSizing, customFontFamily, customFontWeights, customFontSizings, customBorderRadiuses, customDimensions, customSpacings, overlayBlur, }: BaseThemeOptions) => Pick<ThemeVars, "radii" | "dimensions" | "fonts" | "fontWeight" | "fontSize" | "blurs" | "spacing">;
24
26
  export interface AccentColor {
25
27
  accentColor: string;
26
28
  accentColorForeground: string;
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  baseTheme,
4
4
  systemFontStack
5
- } from "../chunk-R2UFCJL7.js";
5
+ } from "../chunk-5XBODEZO.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-DMCSGHKQ.js";
5
- import "../chunk-R2UFCJL7.js";
4
+ } from "../chunk-VBAZNW44.js";
5
+ import "../chunk-5XBODEZO.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-UQVBCTN3.js";
5
- import "../chunk-R2UFCJL7.js";
4
+ } from "../chunk-H5N35KZJ.js";
5
+ import "../chunk-5XBODEZO.js";
6
6
  export {
7
7
  lightTheme
8
8
  };
@@ -230,22 +230,7 @@ export declare const flagConfig: {
230
230
  };
231
231
  enable_brokerage: {
232
232
  type: "boolean";
233
- default_value: true;
234
- overrides: ({
235
- if_any: {
236
- key: "userId";
237
- type: "isAnyOf";
238
- values: string[];
239
- }[];
240
- value: true;
241
- } | {
242
- if_any: {
243
- key: "apiKey";
244
- type: "isAnyOf";
245
- values: string[];
246
- }[];
247
- value: false;
248
- })[];
233
+ default_value: false;
249
234
  };
250
235
  enable_meld_payment: {
251
236
  type: "boolean";
@@ -306,4 +291,8 @@ export declare const flagConfig: {
306
291
  type: "string";
307
292
  default_value: string;
308
293
  };
294
+ withdrawal_exclude_chains: {
295
+ type: "string";
296
+ default_value: string;
297
+ };
309
298
  };
@@ -11,18 +11,18 @@ import {
11
11
  import {
12
12
  subWallet
13
13
  } from "./chunk-AD2KIJB6.js";
14
+ import {
15
+ safeheronWallet
16
+ } from "./chunk-R6RWZRFF.js";
14
17
  import {
15
18
  talismanWallet
16
19
  } from "./chunk-ABFSXBE6.js";
17
20
  import {
18
- tahoWallet
19
- } from "./chunk-6P2EMPZI.js";
21
+ tokenPocketWallet
22
+ } from "./chunk-IDKVN5CF.js";
20
23
  import {
21
24
  tokenaryWallet
22
25
  } from "./chunk-SLOIIJGP.js";
23
- import {
24
- tokenPocketWallet
25
- } from "./chunk-IDKVN5CF.js";
26
26
  import {
27
27
  trustWallet
28
28
  } from "./chunk-ISIBREBO.js";
@@ -51,8 +51,8 @@ import {
51
51
  safeWallet
52
52
  } from "./chunk-BQQQL6UD.js";
53
53
  import {
54
- safeheronWallet
55
- } from "./chunk-R6RWZRFF.js";
54
+ tahoWallet
55
+ } from "./chunk-6P2EMPZI.js";
56
56
  import {
57
57
  safepalWallet
58
58
  } from "./chunk-MSFKSQBY.js";
@@ -62,12 +62,12 @@ import {
62
62
  import {
63
63
  ledgerWallet
64
64
  } from "./chunk-BRBKM4PW.js";
65
- import {
66
- mewWallet
67
- } from "./chunk-V57WLZEE.js";
68
65
  import {
69
66
  oktoWallet
70
67
  } from "./chunk-ADIXAKUL.js";
68
+ import {
69
+ mewWallet
70
+ } from "./chunk-V57WLZEE.js";
71
71
  import {
72
72
  okxWallet
73
73
  } from "./chunk-4WEHDI4Y.js";
@@ -101,45 +101,45 @@ import {
101
101
  import {
102
102
  kresusWallet
103
103
  } from "./chunk-MJXPRJZT.js";
104
- import {
105
- clvWallet
106
- } from "./chunk-KR6JBW5E.js";
107
104
  import {
108
105
  bybitWallet
109
106
  } from "./chunk-6ONTSPEY.js";
107
+ import {
108
+ clvWallet
109
+ } from "./chunk-KR6JBW5E.js";
110
110
  import {
111
111
  coin98Wallet
112
112
  } from "./chunk-DTRYS3MO.js";
113
113
  import {
114
114
  coinbaseWallet
115
115
  } from "./chunk-H4IRCEZN.js";
116
+ import {
117
+ dawnWallet
118
+ } from "./chunk-LN7OD5EC.js";
116
119
  import {
117
120
  coreWallet
118
121
  } from "./chunk-HBA36GW3.js";
119
122
  import {
120
123
  desigWallet
121
124
  } from "./chunk-CTU6JCOK.js";
122
- import {
123
- dawnWallet
124
- } from "./chunk-LN7OD5EC.js";
125
125
  import {
126
126
  enkryptWallet
127
127
  } from "./chunk-SJTXS4ZW.js";
128
128
  import {
129
129
  argentWallet
130
130
  } from "./chunk-WSQ2YJO2.js";
131
- import {
132
- bitskiWallet
133
- } from "./chunk-P74YPRF6.js";
134
131
  import {
135
132
  bifrostWallet
136
133
  } from "./chunk-W6N74MS3.js";
134
+ import {
135
+ bitverseWallet
136
+ } from "./chunk-3HZRRP4Y.js";
137
137
  import {
138
138
  bitgetWallet
139
139
  } from "./chunk-A5APNTGL.js";
140
140
  import {
141
- bitverseWallet
142
- } from "./chunk-3HZRRP4Y.js";
141
+ bitskiWallet
142
+ } from "./chunk-P74YPRF6.js";
143
143
  import {
144
144
  bloomWallet
145
145
  } from "./chunk-S27IADFU.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "5.5.15",
3
+ "version": "5.5.17",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -44,7 +44,7 @@
44
44
  "wagmi": "2.x"
45
45
  },
46
46
  "devDependencies": {
47
- "@aws-sdk/client-cloudfront": "3.645.0",
47
+ "@aws-sdk/client-cloudfront": "3.858.0",
48
48
  "@aws-sdk/client-s3": "3.840.0",
49
49
  "@chromatic-com/storybook": "^4.0.1",
50
50
  "@meshconnect/node-api": "2.0.14",
@@ -88,12 +88,12 @@
88
88
  "ua-parser-js": "^1.0.37",
89
89
  "use-debounce": "^10.0.5",
90
90
  "uuid": "^9.0.1",
91
- "@funkit/api-base": "1.9.7",
91
+ "@funkit/api-base": "1.9.8",
92
+ "@funkit/utils": "1.1.6",
92
93
  "@funkit/chains": "0.3.3",
93
- "@funkit/core": "2.3.29",
94
- "@funkit/fun-relay": "0.1.9",
95
- "@funkit/wagmi-tools": "3.0.51",
96
- "@funkit/utils": "1.1.5"
94
+ "@funkit/fun-relay": "0.1.10",
95
+ "@funkit/core": "2.3.30",
96
+ "@funkit/wagmi-tools": "3.0.52"
97
97
  },
98
98
  "repository": {
99
99
  "type": "git",