@funkit/connect 6.14.14 → 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.
- package/CHANGELOG.md +10 -0
- package/dist/__generated__/default_configs.d.ts +24 -0
- package/dist/__generated__/default_feature_gates.d.ts +4 -0
- package/dist/components/Dialog/hooks.d.ts +0 -1
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +13 -2
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.track.d.ts +4 -0
- package/dist/hooks/statsig/index.d.ts +3 -0
- package/dist/hooks/statsig/useDynamicConfig.d.ts +6 -0
- package/dist/hooks/statsig/useExperiment.d.ts +33 -0
- package/dist/hooks/statsig/useFeatureGate.d.ts +7 -0
- package/dist/hooks/track/CheckoutModalEvent.d.ts +1 -0
- package/dist/hooks/track/WithdrawModalEvent.d.ts +1 -0
- package/dist/hooks/useBluvo.d.ts +3 -2
- package/dist/index.css +19 -19
- package/dist/index.js +1237 -1160
- package/dist/modals/CheckoutModal/MeshVerification.d.ts +1 -1
- package/dist/modals/CheckoutModal/stepTransition.d.ts +1 -0
- package/dist/utils/flags/config.d.ts +2 -18
- package/dist/wallets/walletConnectors/index.js +53 -53
- package/package.json +13 -9
- package/dist/components/Icons/TwoFactorIcon.d.ts +0 -2
|
@@ -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
|
}, {
|
|
@@ -2,33 +2,33 @@
|
|
|
2
2
|
import {
|
|
3
3
|
xdefiWallet
|
|
4
4
|
} from "./chunk-BOU4WKRZ.js";
|
|
5
|
-
import {
|
|
6
|
-
zealWallet
|
|
7
|
-
} from "./chunk-RNBEDQHF.js";
|
|
8
5
|
import {
|
|
9
6
|
zerionWallet
|
|
10
7
|
} from "./chunk-SULRQO27.js";
|
|
11
8
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
9
|
+
zealWallet
|
|
10
|
+
} from "./chunk-RNBEDQHF.js";
|
|
14
11
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
12
|
+
subWallet
|
|
13
|
+
} from "./chunk-JWFF4AAL.js";
|
|
17
14
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
15
|
+
safepalWallet
|
|
16
|
+
} from "./chunk-NT2HYJKW.js";
|
|
20
17
|
import {
|
|
21
18
|
talismanWallet
|
|
22
19
|
} from "./chunk-DRO6WYMM.js";
|
|
20
|
+
import {
|
|
21
|
+
tokenPocketWallet
|
|
22
|
+
} from "./chunk-2L43XSW3.js";
|
|
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";
|
|
29
|
+
import {
|
|
30
|
+
uniswapWallet
|
|
31
|
+
} from "./chunk-LH7BMNFZ.js";
|
|
32
32
|
import {
|
|
33
33
|
walletConnectWallet
|
|
34
34
|
} from "./chunk-NP5QGWNL.js";
|
|
@@ -44,48 +44,51 @@ import {
|
|
|
44
44
|
import {
|
|
45
45
|
ramperWallet
|
|
46
46
|
} from "./chunk-BYXPFMI7.js";
|
|
47
|
-
import {
|
|
48
|
-
roninWallet
|
|
49
|
-
} from "./chunk-NWIQNBJU.js";
|
|
50
47
|
import {
|
|
51
48
|
safeWallet
|
|
52
49
|
} from "./chunk-BQQQL6UD.js";
|
|
53
50
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
51
|
+
roninWallet
|
|
52
|
+
} from "./chunk-NWIQNBJU.js";
|
|
56
53
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
54
|
+
safeheronWallet
|
|
55
|
+
} from "./chunk-RZIO5TFF.js";
|
|
56
|
+
import {
|
|
57
|
+
tahoWallet
|
|
58
|
+
} from "./chunk-ZZZRUXZE.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";
|
|
68
|
-
import {
|
|
69
|
-
omniWallet
|
|
70
|
-
} from "./chunk-7CUY5G6R.js";
|
|
71
71
|
import {
|
|
72
72
|
okxWallet
|
|
73
73
|
} from "./chunk-TDIEHTMB.js";
|
|
74
|
-
import {
|
|
75
|
-
mewWallet
|
|
76
|
-
} from "./chunk-OL5ZO7E4.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
89
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
90
|
+
frontierWallet
|
|
91
|
+
} from "./chunk-TCAGNB4B.js";
|
|
89
92
|
import {
|
|
90
93
|
gateWallet
|
|
91
94
|
} from "./chunk-FKJJQNKX.js";
|
|
@@ -93,60 +96,57 @@ import {
|
|
|
93
96
|
imTokenWallet
|
|
94
97
|
} from "./chunk-COZ7MIQS.js";
|
|
95
98
|
import {
|
|
96
|
-
|
|
97
|
-
} from "./chunk-
|
|
99
|
+
kresusWallet
|
|
100
|
+
} from "./chunk-MJXPRJZT.js";
|
|
98
101
|
import {
|
|
99
102
|
injectedWallet
|
|
100
103
|
} from "./chunk-XWUJE7MW.js";
|
|
101
104
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
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
|
-
import {
|
|
108
|
-
bitskiWallet
|
|
109
|
-
} from "./chunk-HS3C7OQV.js";
|
|
110
113
|
import {
|
|
111
114
|
coinbaseWallet
|
|
112
115
|
} from "./chunk-H4IRCEZN.js";
|
|
113
|
-
import {
|
|
114
|
-
coreWallet
|
|
115
|
-
} from "./chunk-VR4TBQ6S.js";
|
|
116
116
|
import {
|
|
117
117
|
dawnWallet
|
|
118
118
|
} from "./chunk-HWPKCIBE.js";
|
|
119
|
+
import {
|
|
120
|
+
coreWallet
|
|
121
|
+
} from "./chunk-VR4TBQ6S.js";
|
|
119
122
|
import {
|
|
120
123
|
desigWallet
|
|
121
124
|
} from "./chunk-OPAZMNA7.js";
|
|
122
125
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
125
|
-
import {
|
|
126
|
-
enkryptWallet
|
|
127
|
-
} from "./chunk-OLOIXTYS.js";
|
|
126
|
+
frameWallet
|
|
127
|
+
} from "./chunk-IFON7E6U.js";
|
|
128
128
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
129
|
+
bifrostWallet
|
|
130
|
+
} from "./chunk-A5N6B5UW.js";
|
|
131
131
|
import {
|
|
132
132
|
argentWallet
|
|
133
133
|
} from "./chunk-WSQ2YJO2.js";
|
|
134
134
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./chunk-
|
|
135
|
+
bitgetWallet
|
|
136
|
+
} from "./chunk-TDAVGY5F.js";
|
|
137
|
+
import {
|
|
138
|
+
bitskiWallet
|
|
139
|
+
} from "./chunk-HS3C7OQV.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.
|
|
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,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
|
-
"@funkit/chains": "0.4.2",
|
|
104
|
-
"@funkit/fun-relay": "2.1.3",
|
|
105
104
|
"@funkit/utils": "1.1.14",
|
|
106
|
-
"@funkit/
|
|
105
|
+
"@funkit/chains": "0.4.2",
|
|
106
|
+
"@funkit/core": "2.3.56",
|
|
107
|
+
"@funkit/wagmi-tools": "3.0.79",
|
|
108
|
+
"@funkit/fun-relay": "2.1.4"
|
|
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
|
}
|