@funkit/connect 6.14.14 → 6.14.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.
@@ -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>;
@@ -1,5 +1,5 @@
1
1
  import type { AssetBalanceInfo } from '@funkit/api-base';
2
- import { Auth, FunWallet } from '@funkit/core';
2
+ import type { Auth, FunWallet } from '@funkit/core';
3
3
  import React, { type ReactNode } from 'react';
4
4
  import type { Address } from 'viem';
5
5
  import { type Config, type UseDisconnectReturnType, type UseReconnectReturnType } from 'wagmi';
@@ -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
  }, {
@@ -1,25 +1,25 @@
1
1
  "use client";
2
- import {
3
- xdefiWallet
4
- } from "./chunk-BOU4WKRZ.js";
5
2
  import {
6
3
  zealWallet
7
4
  } from "./chunk-RNBEDQHF.js";
5
+ import {
6
+ xdefiWallet
7
+ } from "./chunk-BOU4WKRZ.js";
8
8
  import {
9
9
  zerionWallet
10
10
  } from "./chunk-SULRQO27.js";
11
11
  import {
12
- safeheronWallet
13
- } from "./chunk-RZIO5TFF.js";
14
- import {
15
- tahoWallet
16
- } from "./chunk-ZZZRUXZE.js";
12
+ talismanWallet
13
+ } from "./chunk-DRO6WYMM.js";
17
14
  import {
18
15
  tokenPocketWallet
19
16
  } from "./chunk-2L43XSW3.js";
20
17
  import {
21
- talismanWallet
22
- } from "./chunk-DRO6WYMM.js";
18
+ tahoWallet
19
+ } from "./chunk-ZZZRUXZE.js";
20
+ import {
21
+ subWallet
22
+ } from "./chunk-JWFF4AAL.js";
23
23
  import {
24
24
  tokenaryWallet
25
25
  } from "./chunk-D6AOOO5F.js";
@@ -35,33 +35,36 @@ import {
35
35
  import {
36
36
  phantomWallet
37
37
  } from "./chunk-362NXNTM.js";
38
- import {
39
- rabbyWallet
40
- } from "./chunk-BBOM42DL.js";
41
38
  import {
42
39
  rainbowWallet
43
40
  } from "./chunk-2KUBG3S6.js";
41
+ import {
42
+ rabbyWallet
43
+ } from "./chunk-BBOM42DL.js";
44
44
  import {
45
45
  ramperWallet
46
46
  } from "./chunk-BYXPFMI7.js";
47
47
  import {
48
48
  roninWallet
49
49
  } from "./chunk-NWIQNBJU.js";
50
+ import {
51
+ safeheronWallet
52
+ } from "./chunk-RZIO5TFF.js";
50
53
  import {
51
54
  safeWallet
52
55
  } from "./chunk-BQQQL6UD.js";
53
56
  import {
54
57
  safepalWallet
55
58
  } from "./chunk-NT2HYJKW.js";
56
- import {
57
- subWallet
58
- } from "./chunk-JWFF4AAL.js";
59
59
  import {
60
60
  ledgerWallet
61
61
  } from "./chunk-BRBKM4PW.js";
62
62
  import {
63
63
  metaMaskWallet
64
64
  } from "./chunk-2HYNUNAS.js";
65
+ import {
66
+ mewWallet
67
+ } from "./chunk-OL5ZO7E4.js";
65
68
  import {
66
69
  oktoWallet
67
70
  } from "./chunk-ADIXAKUL.js";
@@ -71,82 +74,79 @@ import {
71
74
  import {
72
75
  okxWallet
73
76
  } from "./chunk-TDIEHTMB.js";
74
- import {
75
- mewWallet
76
- } from "./chunk-OL5ZO7E4.js";
77
77
  import {
78
78
  oneInchWallet
79
79
  } from "./chunk-OESTDX6I.js";
80
80
  import {
81
81
  oneKeyWallet
82
82
  } from "./chunk-SHBUZ7U7.js";
83
+ import {
84
+ coinbaseWallet
85
+ } from "./chunk-H4IRCEZN.js";
83
86
  import {
84
87
  foxWallet
85
88
  } from "./chunk-7QONTUXT.js";
86
89
  import {
87
- frameWallet
88
- } from "./chunk-IFON7E6U.js";
90
+ frontierWallet
91
+ } from "./chunk-TCAGNB4B.js";
89
92
  import {
90
93
  gateWallet
91
94
  } from "./chunk-FKJJQNKX.js";
92
95
  import {
93
96
  imTokenWallet
94
97
  } from "./chunk-COZ7MIQS.js";
95
- import {
96
- frontierWallet
97
- } from "./chunk-TCAGNB4B.js";
98
98
  import {
99
99
  injectedWallet
100
100
  } from "./chunk-XWUJE7MW.js";
101
101
  import {
102
102
  kresusWallet
103
103
  } from "./chunk-MJXPRJZT.js";
104
+ import {
105
+ clvWallet
106
+ } from "./chunk-M3NZ6R2E.js";
107
+ import {
108
+ bybitWallet
109
+ } from "./chunk-2STUC6QL.js";
104
110
  import {
105
111
  coin98Wallet
106
112
  } from "./chunk-OBOVHCEI.js";
107
113
  import {
108
- bitskiWallet
109
- } from "./chunk-HS3C7OQV.js";
110
- import {
111
- coinbaseWallet
112
- } from "./chunk-H4IRCEZN.js";
114
+ dawnWallet
115
+ } from "./chunk-HWPKCIBE.js";
113
116
  import {
114
117
  coreWallet
115
118
  } from "./chunk-VR4TBQ6S.js";
116
- import {
117
- dawnWallet
118
- } from "./chunk-HWPKCIBE.js";
119
119
  import {
120
120
  desigWallet
121
121
  } from "./chunk-OPAZMNA7.js";
122
- import {
123
- bloomWallet
124
- } from "./chunk-S27IADFU.js";
125
122
  import {
126
123
  enkryptWallet
127
124
  } from "./chunk-OLOIXTYS.js";
128
125
  import {
129
- bitgetWallet
130
- } from "./chunk-TDAVGY5F.js";
126
+ frameWallet
127
+ } from "./chunk-IFON7E6U.js";
131
128
  import {
132
129
  argentWallet
133
130
  } from "./chunk-WSQ2YJO2.js";
131
+ import {
132
+ bitskiWallet
133
+ } from "./chunk-HS3C7OQV.js";
134
134
  import {
135
135
  bifrostWallet
136
136
  } from "./chunk-A5N6B5UW.js";
137
+ import {
138
+ bitgetWallet
139
+ } from "./chunk-TDAVGY5F.js";
137
140
  import {
138
141
  bitverseWallet
139
142
  } from "./chunk-3HZRRP4Y.js";
143
+ import {
144
+ bloomWallet
145
+ } from "./chunk-S27IADFU.js";
146
+ import "./chunk-23WIEY36.js";
140
147
  import {
141
148
  braveWallet
142
149
  } from "./chunk-BPZ2XJO2.js";
143
- import {
144
- clvWallet
145
- } from "./chunk-M3NZ6R2E.js";
146
- import {
147
- bybitWallet
148
- } from "./chunk-2STUC6QL.js";
149
- import "./chunk-23WIEY36.js";
150
150
  import "./chunk-DNSG5Q7V.js";
151
151
  export {
152
152
  argentWallet,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "6.14.14",
3
+ "version": "6.14.17",
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,14 @@
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
- "@vanilla-extract/esbuild-plugin": "^2.3.16",
62
- "esbuild-plugin-replace": "^1.4.0",
63
63
  "@vitejs/plugin-react": "^5.0.2",
64
64
  "autoprefixer": "^10.4.16",
65
65
  "buffer": "^6.0.3",
66
+ "dotenv": "^17.2.3",
67
+ "esbuild-plugin-replace": "^1.4.0",
66
68
  "jsdom": "^26.1.0",
67
69
  "postcss": "^8.4.33",
68
70
  "postcss-prefix-selector": "^1.16.0",
@@ -99,11 +101,11 @@
99
101
  "use-debounce": "^10.0.5",
100
102
  "uuid": "^9.0.1",
101
103
  "@funkit/api-base": "1.12.11",
102
- "@funkit/core": "2.3.56",
103
104
  "@funkit/chains": "0.4.2",
104
- "@funkit/fun-relay": "2.1.3",
105
- "@funkit/utils": "1.1.14",
106
- "@funkit/wagmi-tools": "3.0.79"
105
+ "@funkit/fun-relay": "2.1.5",
106
+ "@funkit/core": "2.3.56",
107
+ "@funkit/wagmi-tools": "3.0.79",
108
+ "@funkit/utils": "1.1.14"
107
109
  },
108
110
  "repository": {
109
111
  "type": "git",
@@ -115,8 +117,9 @@
115
117
  "svgo": "svgo -rf .",
116
118
  "build": "node build.js && pnpm typecheck",
117
119
  "build:watch": "node build.js --watch",
120
+ "predev": "pnpm statsig:generate",
118
121
  "dev": "pnpm build:watch & pnpm typegen:watch",
119
- "prebuild": "pnpm typegen",
122
+ "prebuild": "pnpm statsig:generate && pnpm typegen",
120
123
  "typecheck": "pnpm tsc --project tsconfig.test.json --noEmit",
121
124
  "typegen": "tsc --emitDeclarationOnly || true",
122
125
  "typegen:watch": "tsc --emitDeclarationOnly --watch",
@@ -125,6 +128,7 @@
125
128
  "storybook": "storybook dev -p 6006",
126
129
  "storybook:fast": "NODE_OPTIONS='--max-old-space-size=4096' storybook dev -p 6006 --no-open",
127
130
  "storybook:clean": "rm -rf node_modules/.vite && npm run storybook",
128
- "build-storybook": "storybook build"
131
+ "build-storybook": "storybook build",
132
+ "statsig:generate": "tsx scripts/get_default_statsig_config.ts"
129
133
  }
130
134
  }
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const TwoFactorIcon: () => React.JSX.Element;