@funkit/connect 4.1.4 → 4.1.5
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 +15 -0
- package/dist/components/CopyAddress/CopyIconButton.d.ts +5 -0
- package/dist/components/FunNotificationBanner/FunNotificationBanner.css.d.ts +3 -0
- package/dist/components/FunNotificationBanner/FunNotificationBanner.d.ts +13 -0
- package/dist/components/FunNotificationBanner/FunNotificationBannerIcon.css.d.ts +1 -0
- package/dist/components/FunNotificationBanner/FunNotificationBannerIcon.d.ts +7 -0
- package/dist/components/FunNotificationBanner/FunNotificationBannerSummary.css.d.ts +1 -0
- package/dist/components/FunNotificationBanner/FunNotificationBannerSummary.d.ts +11 -0
- package/dist/components/Icons/CopyDoubleRoundedSquareIcon.d.ts +3 -1
- package/dist/index.js +953 -852
- package/dist/modals/CheckoutModal/MeshVerification.d.ts +4 -0
- package/dist/providers/FunkitMeshProvider.d.ts +1 -1
- package/dist/wallets/walletConnectors/index.js +57 -57
- package/package.json +6 -6
- package/dist/components/CopyAddress/CopyDisplayedAddress.d.ts +0 -5
- package/dist/components/CopyAddress/LabelledCopyAddressButton.d.ts +0 -6
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Address } from 'viem';
|
|
3
|
+
import { type MeshExchangeType } from '~/consts/mesh';
|
|
3
4
|
import type { PaymentMethodBrokerageInfo } from '../../domains/paymentMethods';
|
|
4
5
|
import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from './stepTransition';
|
|
5
6
|
export type MeshVerificationState = CheckoutModalCommonState & {
|
|
@@ -7,6 +8,9 @@ export type MeshVerificationState = CheckoutModalCommonState & {
|
|
|
7
8
|
};
|
|
8
9
|
export type MeshVerificationNext = {
|
|
9
10
|
depositAddress: Address;
|
|
11
|
+
} | {
|
|
12
|
+
depositAddress: null;
|
|
13
|
+
brokerType: MeshExchangeType;
|
|
10
14
|
};
|
|
11
15
|
export declare const MeshVerificationInfo: ModalStepInfo<FunCheckoutStep.MESH_VERIFICATION>;
|
|
12
16
|
export declare function MeshVerification({ modalState, onNext, }: ModalStepComponentProps<FunCheckoutStep.MESH_VERIFICATION>): React.JSX.Element;
|
|
@@ -11,7 +11,7 @@ export declare function FunkitMeshProvider({ children }: {
|
|
|
11
11
|
export declare function useFunkitMesh(): {
|
|
12
12
|
getActiveConnection: (brokerType: MeshExchangeType) => MeshConnectionInfo | null;
|
|
13
13
|
getFirstActiveConnection: () => MeshConnectionInfo | null;
|
|
14
|
-
unlinkBrokerage: (brokerType: MeshExchangeType) => void
|
|
14
|
+
unlinkBrokerage: (brokerType: MeshExchangeType) => Promise<void>;
|
|
15
15
|
};
|
|
16
16
|
interface FunkitMeshHook {
|
|
17
17
|
onBeforeConnect(): void;
|
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
ledgerWallet
|
|
7
|
-
} from "./chunk-BRBKM4PW.js";
|
|
3
|
+
zealWallet
|
|
4
|
+
} from "./chunk-JROWU5BP.js";
|
|
8
5
|
import {
|
|
9
6
|
zerionWallet
|
|
10
7
|
} from "./chunk-AXWP3GD4.js";
|
|
11
|
-
import {
|
|
12
|
-
tokenaryWallet
|
|
13
|
-
} from "./chunk-SLOIIJGP.js";
|
|
14
8
|
import {
|
|
15
9
|
talismanWallet
|
|
16
10
|
} from "./chunk-ABFSXBE6.js";
|
|
17
11
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
12
|
+
tokenPocketWallet
|
|
13
|
+
} from "./chunk-IDKVN5CF.js";
|
|
14
|
+
import {
|
|
15
|
+
tahoWallet
|
|
16
|
+
} from "./chunk-6P2EMPZI.js";
|
|
17
|
+
import {
|
|
18
|
+
tokenaryWallet
|
|
19
|
+
} from "./chunk-SLOIIJGP.js";
|
|
20
|
+
import {
|
|
21
|
+
subWallet
|
|
22
|
+
} from "./chunk-AD2KIJB6.js";
|
|
20
23
|
import {
|
|
21
24
|
trustWallet
|
|
22
25
|
} from "./chunk-ISIBREBO.js";
|
|
@@ -24,23 +27,20 @@ import {
|
|
|
24
27
|
walletConnectWallet
|
|
25
28
|
} from "./chunk-NP5QGWNL.js";
|
|
26
29
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
uniswapWallet
|
|
31
|
+
} from "./chunk-LH7BMNFZ.js";
|
|
29
32
|
import {
|
|
30
33
|
xdefiWallet
|
|
31
34
|
} from "./chunk-NO7XMBB5.js";
|
|
32
35
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
36
|
+
rainbowWallet
|
|
37
|
+
} from "./chunk-2UCNRD7H.js";
|
|
35
38
|
import {
|
|
36
39
|
ramperWallet
|
|
37
40
|
} from "./chunk-PIUNLQJG.js";
|
|
38
41
|
import {
|
|
39
42
|
roninWallet
|
|
40
43
|
} from "./chunk-63YLN6R5.js";
|
|
41
|
-
import {
|
|
42
|
-
oktoWallet
|
|
43
|
-
} from "./chunk-ADIXAKUL.js";
|
|
44
44
|
import {
|
|
45
45
|
safeWallet
|
|
46
46
|
} from "./chunk-BQQQL6UD.js";
|
|
@@ -50,63 +50,60 @@ import {
|
|
|
50
50
|
import {
|
|
51
51
|
phantomWallet
|
|
52
52
|
} from "./chunk-ZSVTX6EK.js";
|
|
53
|
-
import {
|
|
54
|
-
subWallet
|
|
55
|
-
} from "./chunk-AD2KIJB6.js";
|
|
56
53
|
import {
|
|
57
54
|
safepalWallet
|
|
58
55
|
} from "./chunk-MSFKSQBY.js";
|
|
59
56
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import {
|
|
63
|
-
omniWallet
|
|
64
|
-
} from "./chunk-7CUY5G6R.js";
|
|
57
|
+
frontierWallet
|
|
58
|
+
} from "./chunk-3S2U24BJ.js";
|
|
65
59
|
import {
|
|
66
60
|
metaMaskWallet
|
|
67
61
|
} from "./chunk-G73C6P5P.js";
|
|
68
62
|
import {
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
63
|
+
mewWallet
|
|
64
|
+
} from "./chunk-V57WLZEE.js";
|
|
71
65
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
66
|
+
okxWallet
|
|
67
|
+
} from "./chunk-4WEHDI4Y.js";
|
|
74
68
|
import {
|
|
75
69
|
oneKeyWallet
|
|
76
70
|
} from "./chunk-4AD7VI2P.js";
|
|
77
71
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
72
|
+
omniWallet
|
|
73
|
+
} from "./chunk-7CUY5G6R.js";
|
|
80
74
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
75
|
+
oneInchWallet
|
|
76
|
+
} from "./chunk-OESTDX6I.js";
|
|
83
77
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
78
|
+
dawnWallet
|
|
79
|
+
} from "./chunk-LN7OD5EC.js";
|
|
86
80
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
81
|
+
rabbyWallet
|
|
82
|
+
} from "./chunk-BVX4XGNP.js";
|
|
89
83
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
84
|
+
bitskiWallet
|
|
85
|
+
} from "./chunk-P74YPRF6.js";
|
|
92
86
|
import {
|
|
93
87
|
gateWallet
|
|
94
88
|
} from "./chunk-GSOYKKIS.js";
|
|
89
|
+
import {
|
|
90
|
+
kresusWallet
|
|
91
|
+
} from "./chunk-MJXPRJZT.js";
|
|
95
92
|
import {
|
|
96
93
|
imTokenWallet
|
|
97
94
|
} from "./chunk-COZ7MIQS.js";
|
|
95
|
+
import {
|
|
96
|
+
ledgerWallet
|
|
97
|
+
} from "./chunk-BRBKM4PW.js";
|
|
98
98
|
import {
|
|
99
99
|
injectedWallet
|
|
100
100
|
} from "./chunk-VCVVV2K7.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
104
|
-
import {
|
|
105
|
-
bitverseWallet
|
|
106
|
-
} from "./chunk-3HZRRP4Y.js";
|
|
102
|
+
oktoWallet
|
|
103
|
+
} from "./chunk-ADIXAKUL.js";
|
|
107
104
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
105
|
+
bloomWallet
|
|
106
|
+
} from "./chunk-S27IADFU.js";
|
|
110
107
|
import {
|
|
111
108
|
coreWallet
|
|
112
109
|
} from "./chunk-HBA36GW3.js";
|
|
@@ -114,29 +111,29 @@ import {
|
|
|
114
111
|
coinbaseWallet
|
|
115
112
|
} from "./chunk-H4IRCEZN.js";
|
|
116
113
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
119
|
-
import {
|
|
120
|
-
coin98Wallet
|
|
121
|
-
} from "./chunk-DTRYS3MO.js";
|
|
114
|
+
clvWallet
|
|
115
|
+
} from "./chunk-KR6JBW5E.js";
|
|
122
116
|
import {
|
|
123
117
|
desigWallet
|
|
124
118
|
} from "./chunk-CTU6JCOK.js";
|
|
119
|
+
import {
|
|
120
|
+
foxWallet
|
|
121
|
+
} from "./chunk-LMZMXEXL.js";
|
|
125
122
|
import {
|
|
126
123
|
enkryptWallet
|
|
127
124
|
} from "./chunk-SJTXS4ZW.js";
|
|
128
125
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
126
|
+
frameWallet
|
|
127
|
+
} from "./chunk-ZMYVTWDF.js";
|
|
131
128
|
import {
|
|
132
129
|
bifrostWallet
|
|
133
130
|
} from "./chunk-W6N74MS3.js";
|
|
134
131
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./chunk-
|
|
132
|
+
argentWallet
|
|
133
|
+
} from "./chunk-WSQ2YJO2.js";
|
|
137
134
|
import {
|
|
138
|
-
|
|
139
|
-
} from "./chunk-
|
|
135
|
+
bitverseWallet
|
|
136
|
+
} from "./chunk-3HZRRP4Y.js";
|
|
140
137
|
import {
|
|
141
138
|
braveWallet
|
|
142
139
|
} from "./chunk-PB254NQ4.js";
|
|
@@ -146,6 +143,9 @@ import {
|
|
|
146
143
|
import {
|
|
147
144
|
bybitWallet
|
|
148
145
|
} from "./chunk-6ONTSPEY.js";
|
|
146
|
+
import {
|
|
147
|
+
coin98Wallet
|
|
148
|
+
} from "./chunk-DTRYS3MO.js";
|
|
149
149
|
import "./chunk-23WIEY36.js";
|
|
150
150
|
import "./chunk-WRA2DVJ7.js";
|
|
151
151
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
"react-virtuoso": "4.10.1",
|
|
89
89
|
"ua-parser-js": "^1.0.37",
|
|
90
90
|
"uuid": "^9.0.1",
|
|
91
|
-
"@funkit/
|
|
92
|
-
"@funkit/core": "2.3.
|
|
93
|
-
"@funkit/
|
|
94
|
-
"@funkit/
|
|
95
|
-
"@funkit/
|
|
91
|
+
"@funkit/api-base": "1.5.3",
|
|
92
|
+
"@funkit/core": "2.3.4",
|
|
93
|
+
"@funkit/chains": "0.1.2",
|
|
94
|
+
"@funkit/wagmi-tools": "3.0.25",
|
|
95
|
+
"@funkit/utils": "1.0.5"
|
|
96
96
|
},
|
|
97
97
|
"repository": {
|
|
98
98
|
"type": "git",
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
/** Element displaying the provided address along with a copy button, similar to `CopyInputDisplayedAddress` but doesn't look like an input, instead it's wrapped in a simple background box */
|
|
3
|
-
export declare function CopyDisplayedAddress({ address, }: {
|
|
4
|
-
address: string;
|
|
5
|
-
}): React.JSX.Element;
|