@funkit/connect 6.14.13 → 6.14.15

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.
@@ -44,5 +44,5 @@ export interface MeshExecuteTransferResponse {
44
44
  executeTransferResult: object | null;
45
45
  }
46
46
  export declare const MeshVerificationInfo: ModalStepInfo<FunCheckoutStep.MESH_VERIFICATION>;
47
- export declare function MeshVerification({ onNext, onBack, }: ModalStepComponentProps<FunCheckoutStep.MESH_VERIFICATION>): React.JSX.Element;
47
+ export declare function MeshVerification({ onNext, onBack, setModalState, }: ModalStepComponentProps<FunCheckoutStep.MESH_VERIFICATION>): React.JSX.Element;
48
48
  export {};
@@ -35,6 +35,7 @@ export interface CheckoutModalCommonState {
35
35
  isDefiMode: boolean;
36
36
  startingStep: FunCheckoutStartingStep;
37
37
  targetChainId: string;
38
+ hideBottomDivider: boolean;
38
39
  }
39
40
  export interface ModalStepComponentProps<S extends FunCheckoutStep = FunCheckoutStep> {
40
41
  modalState: CheckoutModalState<S>;
@@ -228,23 +228,7 @@ export declare const flagConfig: {
228
228
  readonly values: string[];
229
229
  }];
230
230
  readonly value: true;
231
- }, Override<boolean>, {
232
- readonly if_all: [{
233
- readonly pct: 2;
234
- readonly type: "pctRollout";
235
- readonly key: "userId";
236
- }, {
237
- readonly key: "apiKey";
238
- readonly type: "isAnyOf";
239
- readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6"];
240
- }];
241
- readonly if_any: [{
242
- readonly pct: 2;
243
- readonly type: "pctRollout";
244
- readonly key: "userId";
245
- }];
246
- readonly value: true;
247
- }];
231
+ }, Override<boolean>];
248
232
  };
249
233
  readonly enable_meld_payment: {
250
234
  readonly type: "boolean";
@@ -267,7 +251,7 @@ export declare const flagConfig: {
267
251
  readonly if_any: [{
268
252
  readonly key: "apiKey";
269
253
  readonly type: "isAnyOf";
270
- readonly values: ["HKHvPSPDezaxsTohFgDuG4WpKW6hB4SFYyztm9vc", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "5UzOrcAE2F3rcuMX2EeIlaYv5VUcDe6Lyh0PeZX2", "6TUi99Tq3O9MWj1IFX8Pv6spmPXzcvhy9NvBoeW2"];
254
+ readonly values: ["HKHvPSPDezaxsTohFgDuG4WpKW6hB4SFYyztm9vc", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "5UzOrcAE2F3rcuMX2EeIlaYv5VUcDe6Lyh0PeZX2", "6TUi99Tq3O9MWj1IFX8Pv6spmPXzcvhy9NvBoeW2", "pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW"];
271
255
  }];
272
256
  readonly value: true;
273
257
  }, {
@@ -310,6 +294,14 @@ export declare const flagConfig: {
310
294
  readonly enable_bitcoin: {
311
295
  readonly type: "boolean";
312
296
  readonly default_value: true;
297
+ readonly overrides: [{
298
+ readonly if_any: [{
299
+ readonly key: "apiKey";
300
+ readonly type: "isAnyOf";
301
+ readonly values: ["M3uox3cw0u8YCPV9cIREA6AugUMvPFTk6qOpm4um"];
302
+ }];
303
+ readonly value: false;
304
+ }];
313
305
  };
314
306
  readonly chain_info_banners: {
315
307
  readonly type: "string";
@@ -1,7 +1,4 @@
1
1
  "use client";
2
- import {
3
- walletConnectWallet
4
- } from "./chunk-NP5QGWNL.js";
5
2
  import {
6
3
  xdefiWallet
7
4
  } from "./chunk-BOU4WKRZ.js";
@@ -9,11 +6,14 @@ import {
9
6
  zerionWallet
10
7
  } from "./chunk-SULRQO27.js";
11
8
  import {
12
- tahoWallet
13
- } from "./chunk-ZZZRUXZE.js";
9
+ zealWallet
10
+ } from "./chunk-RNBEDQHF.js";
14
11
  import {
15
12
  subWallet
16
13
  } from "./chunk-JWFF4AAL.js";
14
+ import {
15
+ safepalWallet
16
+ } from "./chunk-NT2HYJKW.js";
17
17
  import {
18
18
  talismanWallet
19
19
  } from "./chunk-DRO6WYMM.js";
@@ -23,39 +23,39 @@ import {
23
23
  import {
24
24
  tokenaryWallet
25
25
  } from "./chunk-D6AOOO5F.js";
26
- import {
27
- uniswapWallet
28
- } from "./chunk-LH7BMNFZ.js";
29
26
  import {
30
27
  trustWallet
31
28
  } from "./chunk-VYBAYMP3.js";
32
29
  import {
33
- zealWallet
34
- } from "./chunk-RNBEDQHF.js";
30
+ uniswapWallet
31
+ } from "./chunk-LH7BMNFZ.js";
32
+ import {
33
+ walletConnectWallet
34
+ } from "./chunk-NP5QGWNL.js";
35
35
  import {
36
36
  phantomWallet
37
37
  } from "./chunk-362NXNTM.js";
38
- import {
39
- rainbowWallet
40
- } from "./chunk-2KUBG3S6.js";
41
38
  import {
42
39
  rabbyWallet
43
40
  } from "./chunk-BBOM42DL.js";
44
41
  import {
45
- roninWallet
46
- } from "./chunk-NWIQNBJU.js";
42
+ rainbowWallet
43
+ } from "./chunk-2KUBG3S6.js";
47
44
  import {
48
45
  ramperWallet
49
46
  } from "./chunk-BYXPFMI7.js";
50
47
  import {
51
48
  safeWallet
52
49
  } from "./chunk-BQQQL6UD.js";
50
+ import {
51
+ roninWallet
52
+ } from "./chunk-NWIQNBJU.js";
53
53
  import {
54
54
  safeheronWallet
55
55
  } from "./chunk-RZIO5TFF.js";
56
56
  import {
57
- safepalWallet
58
- } from "./chunk-NT2HYJKW.js";
57
+ tahoWallet
58
+ } from "./chunk-ZZZRUXZE.js";
59
59
  import {
60
60
  ledgerWallet
61
61
  } from "./chunk-BRBKM4PW.js";
@@ -65,27 +65,27 @@ import {
65
65
  import {
66
66
  mewWallet
67
67
  } from "./chunk-OL5ZO7E4.js";
68
- import {
69
- okxWallet
70
- } from "./chunk-TDIEHTMB.js";
71
- import {
72
- omniWallet
73
- } from "./chunk-7CUY5G6R.js";
74
68
  import {
75
69
  oktoWallet
76
70
  } from "./chunk-ADIXAKUL.js";
71
+ import {
72
+ okxWallet
73
+ } from "./chunk-TDIEHTMB.js";
77
74
  import {
78
75
  oneInchWallet
79
76
  } from "./chunk-OESTDX6I.js";
80
77
  import {
81
78
  oneKeyWallet
82
79
  } from "./chunk-SHBUZ7U7.js";
80
+ import {
81
+ omniWallet
82
+ } from "./chunk-7CUY5G6R.js";
83
+ import {
84
+ enkryptWallet
85
+ } from "./chunk-OLOIXTYS.js";
83
86
  import {
84
87
  foxWallet
85
88
  } from "./chunk-7QONTUXT.js";
86
- import {
87
- frameWallet
88
- } from "./chunk-IFON7E6U.js";
89
89
  import {
90
90
  frontierWallet
91
91
  } from "./chunk-TCAGNB4B.js";
@@ -95,42 +95,45 @@ import {
95
95
  import {
96
96
  imTokenWallet
97
97
  } from "./chunk-COZ7MIQS.js";
98
- import {
99
- injectedWallet
100
- } from "./chunk-XWUJE7MW.js";
101
98
  import {
102
99
  kresusWallet
103
100
  } from "./chunk-MJXPRJZT.js";
101
+ import {
102
+ injectedWallet
103
+ } from "./chunk-XWUJE7MW.js";
104
104
  import {
105
105
  clvWallet
106
106
  } from "./chunk-M3NZ6R2E.js";
107
+ import {
108
+ bybitWallet
109
+ } from "./chunk-2STUC6QL.js";
107
110
  import {
108
111
  coin98Wallet
109
112
  } from "./chunk-OBOVHCEI.js";
110
113
  import {
111
- bloomWallet
112
- } from "./chunk-S27IADFU.js";
113
- import {
114
- coreWallet
115
- } from "./chunk-VR4TBQ6S.js";
114
+ coinbaseWallet
115
+ } from "./chunk-H4IRCEZN.js";
116
116
  import {
117
117
  dawnWallet
118
118
  } from "./chunk-HWPKCIBE.js";
119
119
  import {
120
- enkryptWallet
121
- } from "./chunk-OLOIXTYS.js";
120
+ coreWallet
121
+ } from "./chunk-VR4TBQ6S.js";
122
122
  import {
123
123
  desigWallet
124
124
  } from "./chunk-OPAZMNA7.js";
125
125
  import {
126
- coinbaseWallet
127
- } from "./chunk-H4IRCEZN.js";
126
+ frameWallet
127
+ } from "./chunk-IFON7E6U.js";
128
+ import {
129
+ bifrostWallet
130
+ } from "./chunk-A5N6B5UW.js";
128
131
  import {
129
132
  argentWallet
130
133
  } from "./chunk-WSQ2YJO2.js";
131
134
  import {
132
- bifrostWallet
133
- } from "./chunk-A5N6B5UW.js";
135
+ bitgetWallet
136
+ } from "./chunk-TDAVGY5F.js";
134
137
  import {
135
138
  bitskiWallet
136
139
  } from "./chunk-HS3C7OQV.js";
@@ -138,11 +141,8 @@ import {
138
141
  bitverseWallet
139
142
  } from "./chunk-3HZRRP4Y.js";
140
143
  import {
141
- bitgetWallet
142
- } from "./chunk-TDAVGY5F.js";
143
- import {
144
- bybitWallet
145
- } from "./chunk-2STUC6QL.js";
144
+ bloomWallet
145
+ } from "./chunk-S27IADFU.js";
146
146
  import "./chunk-23WIEY36.js";
147
147
  import {
148
148
  braveWallet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "6.14.13",
3
+ "version": "6.14.15",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -47,6 +47,7 @@
47
47
  "@aws-sdk/client-cloudfront": "3.858.0",
48
48
  "@aws-sdk/client-s3": "3.840.0",
49
49
  "@chromatic-com/storybook": "^4.1.1",
50
+ "@statsig/statsig-node-core": "^0.11.1",
50
51
  "@storybook/addon-docs": "^9.1.3",
51
52
  "@storybook/addon-links": "^9.1.3",
52
53
  "@storybook/react-vite": "^9.1.3",
@@ -56,13 +57,17 @@
56
57
  "@types/qrcode": "^1.5.5",
57
58
  "@types/ua-parser-js": "^0.7.39",
58
59
  "@vanilla-extract/css-utils": "^0.1.4",
60
+ "@vanilla-extract/esbuild-plugin": "^2.3.16",
59
61
  "@vanilla-extract/private": "^1.0.7",
60
62
  "@vanilla-extract/vite-plugin": "^5.0.3",
61
63
  "@vitejs/plugin-react": "^5.0.2",
62
64
  "autoprefixer": "^10.4.16",
63
65
  "buffer": "^6.0.3",
66
+ "dotenv": "^17.2.3",
67
+ "esbuild-plugin-replace": "^1.4.0",
64
68
  "jsdom": "^26.1.0",
65
69
  "postcss": "^8.4.33",
70
+ "postcss-prefix-selector": "^1.16.0",
66
71
  "process": "^0.11.10",
67
72
  "react": "^18.3.0",
68
73
  "storybook": "^9.1.3",
@@ -97,10 +102,10 @@
97
102
  "uuid": "^9.0.1",
98
103
  "@funkit/api-base": "1.12.11",
99
104
  "@funkit/utils": "1.1.14",
100
- "@funkit/fun-relay": "2.1.3",
101
- "@funkit/wagmi-tools": "3.0.79",
105
+ "@funkit/chains": "0.4.2",
102
106
  "@funkit/core": "2.3.56",
103
- "@funkit/chains": "0.4.2"
107
+ "@funkit/wagmi-tools": "3.0.79",
108
+ "@funkit/fun-relay": "2.1.4"
104
109
  },
105
110
  "repository": {
106
111
  "type": "git",
@@ -112,8 +117,9 @@
112
117
  "svgo": "svgo -rf .",
113
118
  "build": "node build.js && pnpm typecheck",
114
119
  "build:watch": "node build.js --watch",
120
+ "predev": "pnpm statsig:generate",
115
121
  "dev": "pnpm build:watch & pnpm typegen:watch",
116
- "prebuild": "pnpm typegen",
122
+ "prebuild": "pnpm statsig:generate && pnpm typegen",
117
123
  "typecheck": "pnpm tsc --project tsconfig.test.json --noEmit",
118
124
  "typegen": "tsc --emitDeclarationOnly || true",
119
125
  "typegen:watch": "tsc --emitDeclarationOnly --watch",
@@ -122,6 +128,7 @@
122
128
  "storybook": "storybook dev -p 6006",
123
129
  "storybook:fast": "NODE_OPTIONS='--max-old-space-size=4096' storybook dev -p 6006 --no-open",
124
130
  "storybook:clean": "rm -rf node_modules/.vite && npm run storybook",
125
- "build-storybook": "storybook build"
131
+ "build-storybook": "storybook build",
132
+ "statsig:generate": "tsx scripts/get_default_statsig_config.ts"
126
133
  }
127
134
  }
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const TwoFactorIcon: () => React.JSX.Element;