@funkit/connect 4.0.1 → 4.0.3
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 +46 -0
- package/dist/components/Box/Box.d.ts +1 -1
- package/dist/components/FunButton/FunButton.css.d.ts +1 -0
- package/dist/components/FunCountdown/FunCountdown.d.ts +2 -1
- package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +0 -5
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.css.d.ts +2 -0
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +6 -4
- package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +3 -2
- package/dist/consts/customers.d.ts +1 -0
- package/dist/css/sprinkles.css.d.ts +1 -1
- package/dist/domains/paymentMethods.d.ts +7 -9
- package/dist/domains/quote.d.ts +1 -0
- package/dist/hooks/useFunkitMaxCheckoutUsdInfo.d.ts +25 -0
- package/dist/hooks/useMesh.d.ts +2 -2
- package/dist/index.css +2067 -2001
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1782 -1660
- package/dist/modals/CheckoutModal/ConfirmationStep/CheckoutPrimaryInfo.d.ts +7 -2
- package/dist/modals/CheckoutModal/ConfirmationStep/DisclaimerText.d.ts +7 -0
- package/dist/modals/CheckoutModal/{InputAmount → ConfirmationStep}/useCheckoutQuote.d.ts +3 -4
- package/dist/modals/CheckoutModal/useSourceAssetConfirm.d.ts +5 -1
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.css.d.ts +1 -0
- package/dist/modals/ProfileDetails/FunProfileViews/Home/Home.css.d.ts +1 -0
- package/dist/providers/FunkitCheckoutContext.d.ts +1 -8
- package/dist/providers/FunkitConfigContext.d.ts +2 -2
- package/dist/providers/FunkitMeshProvider.d.ts +9 -15
- package/dist/providers/UserPresenceContext.d.ts +9 -0
- package/dist/scroll-G557LOXM.js +7 -0
- package/dist/utils/checkout.d.ts +5 -1
- package/dist/utils/flags/config.d.ts +8 -0
- package/dist/utils/safeJSON.d.ts +3 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +92 -0
- package/dist/wallets/walletConnectors/chunk-3NC26XLM.js +92 -0
- package/dist/wallets/walletConnectors/chunk-3U3BMEH5.js +94 -0
- package/dist/wallets/walletConnectors/chunk-4UM4GTKZ.js +103 -0
- package/dist/wallets/walletConnectors/chunk-545L7Y4M.js +69 -0
- package/dist/wallets/walletConnectors/chunk-6LPM6LUQ.js +110 -0
- package/dist/wallets/walletConnectors/chunk-7GSNBOD3.js +99 -0
- package/dist/wallets/walletConnectors/chunk-ETTNDQQG.js +100 -0
- package/dist/wallets/walletConnectors/chunk-FRGSRLTS.js +93 -0
- package/dist/wallets/walletConnectors/chunk-HKV7EMYZ.js +96 -0
- package/dist/wallets/walletConnectors/chunk-IPOC2VJX.js +106 -0
- package/dist/wallets/walletConnectors/chunk-JXP2QPW7.js +95 -0
- package/dist/wallets/walletConnectors/chunk-KFFJPS5R.js +96 -0
- package/dist/wallets/walletConnectors/chunk-LEXSM5KI.js +87 -0
- package/dist/wallets/walletConnectors/chunk-MOOBCMMB.js +70 -0
- package/dist/wallets/walletConnectors/chunk-N2NIIUW6.js +146 -0
- package/dist/wallets/walletConnectors/chunk-W5O4YSZN.js +98 -0
- package/dist/wallets/walletConnectors/chunk-XYBEMO3C.js +66 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +60 -60
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +8 -8
- package/dist/components/FunNotification/FunCheckoutNotification.d.ts +0 -7
- package/dist/modals/CheckoutModal/useCheckoutQuote.d.ts +0 -7
|
@@ -3,47 +3,50 @@ import {
|
|
|
3
3
|
xdefiWallet
|
|
4
4
|
} from "./chunk-NO7XMBB5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
zealWallet
|
|
7
|
+
} from "./chunk-JROWU5BP.js";
|
|
8
8
|
import {
|
|
9
9
|
zerionWallet
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ETTNDQQG.js";
|
|
11
11
|
import {
|
|
12
12
|
subWallet
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4UM4GTKZ.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
talismanWallet
|
|
16
|
+
} from "./chunk-ABFSXBE6.js";
|
|
17
17
|
import {
|
|
18
18
|
tokenPocketWallet
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FRGSRLTS.js";
|
|
20
20
|
import {
|
|
21
21
|
tokenaryWallet
|
|
22
22
|
} from "./chunk-SLOIIJGP.js";
|
|
23
23
|
import {
|
|
24
24
|
trustWallet
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IPOC2VJX.js";
|
|
26
26
|
import {
|
|
27
27
|
uniswapWallet
|
|
28
28
|
} from "./chunk-LH7BMNFZ.js";
|
|
29
|
+
import {
|
|
30
|
+
tahoWallet
|
|
31
|
+
} from "./chunk-6P2EMPZI.js";
|
|
29
32
|
import {
|
|
30
33
|
walletConnectWallet
|
|
31
34
|
} from "./chunk-NP5QGWNL.js";
|
|
32
35
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
36
|
+
phantomWallet
|
|
37
|
+
} from "./chunk-ZSVTX6EK.js";
|
|
35
38
|
import {
|
|
36
39
|
rabbyWallet
|
|
37
40
|
} from "./chunk-BVX4XGNP.js";
|
|
41
|
+
import {
|
|
42
|
+
rainbowWallet
|
|
43
|
+
} from "./chunk-MOOBCMMB.js";
|
|
38
44
|
import {
|
|
39
45
|
ramperWallet
|
|
40
46
|
} from "./chunk-PIUNLQJG.js";
|
|
41
|
-
import {
|
|
42
|
-
rainbowWallet
|
|
43
|
-
} from "./chunk-2UCNRD7H.js";
|
|
44
47
|
import {
|
|
45
48
|
roninWallet
|
|
46
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-25VW5TZP.js";
|
|
47
50
|
import {
|
|
48
51
|
safeWallet
|
|
49
52
|
} from "./chunk-BQQQL6UD.js";
|
|
@@ -52,46 +55,46 @@ import {
|
|
|
52
55
|
} from "./chunk-R6RWZRFF.js";
|
|
53
56
|
import {
|
|
54
57
|
safepalWallet
|
|
55
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-6LPM6LUQ.js";
|
|
56
59
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
60
|
+
ledgerWallet
|
|
61
|
+
} from "./chunk-BRBKM4PW.js";
|
|
59
62
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
63
|
+
metaMaskWallet
|
|
64
|
+
} from "./chunk-N2NIIUW6.js";
|
|
62
65
|
import {
|
|
63
66
|
mewWallet
|
|
64
67
|
} from "./chunk-V57WLZEE.js";
|
|
65
68
|
import {
|
|
66
69
|
oktoWallet
|
|
67
70
|
} from "./chunk-ADIXAKUL.js";
|
|
68
|
-
import {
|
|
69
|
-
coreWallet
|
|
70
|
-
} from "./chunk-HBA36GW3.js";
|
|
71
71
|
import {
|
|
72
72
|
okxWallet
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-3U3BMEH5.js";
|
|
74
|
+
import {
|
|
75
|
+
omniWallet
|
|
76
|
+
} from "./chunk-7CUY5G6R.js";
|
|
74
77
|
import {
|
|
75
78
|
oneInchWallet
|
|
76
79
|
} from "./chunk-OESTDX6I.js";
|
|
77
|
-
import {
|
|
78
|
-
phantomWallet
|
|
79
|
-
} from "./chunk-ZSVTX6EK.js";
|
|
80
80
|
import {
|
|
81
81
|
oneKeyWallet
|
|
82
82
|
} from "./chunk-4AD7VI2P.js";
|
|
83
83
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
84
|
+
foxWallet
|
|
85
|
+
} from "./chunk-XYBEMO3C.js";
|
|
86
86
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
87
|
+
frameWallet
|
|
88
|
+
} from "./chunk-ZMYVTWDF.js";
|
|
89
|
+
import {
|
|
90
|
+
frontierWallet
|
|
91
|
+
} from "./chunk-HKV7EMYZ.js";
|
|
89
92
|
import {
|
|
90
93
|
gateWallet
|
|
91
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-3NC26XLM.js";
|
|
92
95
|
import {
|
|
93
|
-
|
|
94
|
-
} from "./chunk-
|
|
96
|
+
imTokenWallet
|
|
97
|
+
} from "./chunk-COZ7MIQS.js";
|
|
95
98
|
import {
|
|
96
99
|
injectedWallet
|
|
97
100
|
} from "./chunk-VCVVV2K7.js";
|
|
@@ -99,55 +102,52 @@ import {
|
|
|
99
102
|
kresusWallet
|
|
100
103
|
} from "./chunk-MJXPRJZT.js";
|
|
101
104
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
105
|
+
braveWallet
|
|
106
|
+
} from "./chunk-PB254NQ4.js";
|
|
104
107
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
108
|
+
coin98Wallet
|
|
109
|
+
} from "./chunk-KFFJPS5R.js";
|
|
110
|
+
import {
|
|
111
|
+
coinbaseWallet
|
|
112
|
+
} from "./chunk-H4IRCEZN.js";
|
|
113
|
+
import {
|
|
114
|
+
clvWallet
|
|
115
|
+
} from "./chunk-LEXSM5KI.js";
|
|
116
|
+
import {
|
|
117
|
+
coreWallet
|
|
118
|
+
} from "./chunk-JXP2QPW7.js";
|
|
107
119
|
import {
|
|
108
120
|
dawnWallet
|
|
109
121
|
} from "./chunk-LN7OD5EC.js";
|
|
110
|
-
import {
|
|
111
|
-
bloomWallet
|
|
112
|
-
} from "./chunk-S27IADFU.js";
|
|
113
122
|
import {
|
|
114
123
|
desigWallet
|
|
115
124
|
} from "./chunk-CTU6JCOK.js";
|
|
116
|
-
import {
|
|
117
|
-
coinbaseWallet
|
|
118
|
-
} from "./chunk-H4IRCEZN.js";
|
|
119
125
|
import {
|
|
120
126
|
enkryptWallet
|
|
121
127
|
} from "./chunk-SJTXS4ZW.js";
|
|
122
|
-
import {
|
|
123
|
-
foxWallet
|
|
124
|
-
} from "./chunk-LMZMXEXL.js";
|
|
125
|
-
import {
|
|
126
|
-
frameWallet
|
|
127
|
-
} from "./chunk-ZMYVTWDF.js";
|
|
128
128
|
import {
|
|
129
129
|
argentWallet
|
|
130
130
|
} from "./chunk-WSQ2YJO2.js";
|
|
131
|
-
import {
|
|
132
|
-
bitgetWallet
|
|
133
|
-
} from "./chunk-A5APNTGL.js";
|
|
134
131
|
import {
|
|
135
132
|
bitskiWallet
|
|
136
133
|
} from "./chunk-P74YPRF6.js";
|
|
137
134
|
import {
|
|
138
|
-
|
|
139
|
-
} from "./chunk-
|
|
135
|
+
bitgetWallet
|
|
136
|
+
} from "./chunk-7GSNBOD3.js";
|
|
140
137
|
import {
|
|
141
138
|
bifrostWallet
|
|
142
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-545L7Y4M.js";
|
|
143
140
|
import {
|
|
144
|
-
|
|
145
|
-
} from "./chunk-
|
|
141
|
+
bitverseWallet
|
|
142
|
+
} from "./chunk-3HZRRP4Y.js";
|
|
146
143
|
import {
|
|
147
|
-
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import
|
|
144
|
+
bloomWallet
|
|
145
|
+
} from "./chunk-S27IADFU.js";
|
|
146
|
+
import {
|
|
147
|
+
bybitWallet
|
|
148
|
+
} from "./chunk-W5O4YSZN.js";
|
|
150
149
|
import "./chunk-WRA2DVJ7.js";
|
|
150
|
+
import "./chunk-23WIEY36.js";
|
|
151
151
|
export {
|
|
152
152
|
argentWallet,
|
|
153
153
|
bifrostWallet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -59,12 +59,12 @@
|
|
|
59
59
|
"@testing-library/user-event": "^14.5.2",
|
|
60
60
|
"@types/qrcode": "^1.5.5",
|
|
61
61
|
"@types/ua-parser-js": "^0.7.39",
|
|
62
|
-
"@vanilla-extract/css-utils": "0.1.
|
|
62
|
+
"@vanilla-extract/css-utils": "0.1.4",
|
|
63
63
|
"@vanilla-extract/private": "^1.0.3",
|
|
64
64
|
"@vanilla-extract/vite-plugin": "^4.0.13",
|
|
65
65
|
"@vitejs/plugin-react": "^4.3.1",
|
|
66
66
|
"autoprefixer": "^10.4.16",
|
|
67
|
-
"jsdom": "^
|
|
67
|
+
"jsdom": "^25.0.1",
|
|
68
68
|
"nock": "^13.4.0",
|
|
69
69
|
"postcss": "^8.4.32",
|
|
70
70
|
"prop-types": "^15.8.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"vitest": "^2.0.5"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@datadog/browser-logs": "
|
|
77
|
+
"@datadog/browser-logs": "5.22.0",
|
|
78
78
|
"@meshconnect/web-link-sdk": "2.1.1",
|
|
79
79
|
"@moonpay/moonpay-react": "^1.6.1",
|
|
80
80
|
"@privy-io/js-sdk-core": "^0.21.0",
|
|
@@ -90,10 +90,10 @@
|
|
|
90
90
|
"react-virtuoso": "4.10.1",
|
|
91
91
|
"ua-parser-js": "^1.0.37",
|
|
92
92
|
"uuid": "^9.0.1",
|
|
93
|
-
"@funkit/api-base": "1.4.
|
|
94
|
-
"@funkit/
|
|
95
|
-
"@funkit/
|
|
96
|
-
"@funkit/
|
|
93
|
+
"@funkit/api-base": "1.4.2",
|
|
94
|
+
"@funkit/utils": "1.0.3",
|
|
95
|
+
"@funkit/core": "2.2.9",
|
|
96
|
+
"@funkit/wagmi-tools": "3.0.20"
|
|
97
97
|
},
|
|
98
98
|
"repository": {
|
|
99
99
|
"type": "git",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { CheckoutHistoryItem } from '@funkit/api-base';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { HistoryContentPages } from '../../utils/checkoutHistory';
|
|
4
|
-
export declare function FunCheckoutNotification({ checkoutHistoryItem, onSelect, }: {
|
|
5
|
-
checkoutHistoryItem: CheckoutHistoryItem;
|
|
6
|
-
onSelect: (depositAddress: `0x${string}`, initialPage: HistoryContentPages) => void;
|
|
7
|
-
}): React.JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type DeepPartial } from '@funkit/utils';
|
|
2
|
-
import { type FunkitActiveCheckoutItem } from '~/providers/FunkitCheckoutContext';
|
|
3
|
-
export declare function useCheckoutQuote(): (overridingCheckoutItem?: DeepPartial<FunkitActiveCheckoutItem>) => Promise<{
|
|
4
|
-
baseQuote: import("@funkit/api-base").CheckoutQuoteResponse;
|
|
5
|
-
finalEstimation: import("~/domains/quote").FunkitCheckoutQuoteResult;
|
|
6
|
-
availableAssetAmount: number | undefined;
|
|
7
|
-
}>;
|