@funkit/connect 2.0.1 → 2.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 +16 -0
- package/dist/{chunk-FRT63PFR.js → chunk-3AR2EI7X.js} +0 -9
- package/dist/{chunk-ICLRFHOV.js → chunk-BZPWFPPL.js} +0 -9
- package/dist/components/Box/Box.d.ts +15 -15
- package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +0 -1
- package/dist/components/FunkitProvider/FunkitThemeProvider.d.ts +0 -36
- package/dist/components/index.d.ts +0 -1
- package/dist/css/sprinkles.css.d.ts +15 -33
- package/dist/index.css +869 -1279
- package/dist/index.d.ts +7 -8
- package/dist/index.js +411 -1253
- package/dist/themes/darkTheme.d.ts +0 -9
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.d.ts +0 -9
- package/dist/themes/lightTheme.js +1 -1
- package/dist/wallets/walletConnectors/index.js +68 -68
- package/package.json +3 -3
- package/dist/components/Button/ActionButton.d.ts +0 -14
- package/dist/components/ConnectModal/ConnectModalIntro.d.ts +0 -5
- package/dist/components/Disclaimer/DisclaimerLink.d.ts +0 -5
- package/dist/components/Disclaimer/DisclaimerText.d.ts +0 -4
- package/dist/components/FunProgressBar/FunProgressBar.d.ts +0 -6
- package/dist/components/FunProgressBar/FunVerticalProgressBar.d.ts +0 -14
- package/dist/components/FunkitProvider/CoolModeContext.d.ts +0 -1
- package/dist/components/FunkitProvider/ShowRecentTransactionsContext.d.ts +0 -1
- package/dist/components/FunkitProvider/WalletButtonContext.d.ts +0 -12
- package/dist/components/FunkitProvider/useCoolMode.d.ts +0 -1
- package/dist/components/InfoButton/InfoButton.d.ts +0 -5
- package/dist/components/SignIn/SignIn.d.ts +0 -6
- package/dist/components/Txs/TxItem.d.ts +0 -7
- package/dist/components/Txs/TxList.d.ts +0 -7
- package/dist/components/Txs/Txs.css.d.ts +0 -2
- package/dist/components/WalletButton/WalletButton.css.d.ts +0 -2
- package/dist/components/WalletButton/WalletButton.d.ts +0 -8
- package/dist/components/WalletButton/WalletButtonRenderer.d.ts +0 -15
- package/dist/sign-FZVB2CS6.js +0 -6
- package/dist/transactions/TransactionStoreContext.d.ts +0 -6
- package/dist/transactions/transactionStore.d.ts +0 -21
- package/dist/transactions/useAddRecentTransaction.d.ts +0 -2
- package/dist/transactions/useClearRecentTransactions.d.ts +0 -1
- package/dist/transactions/useRecentTransactions.d.ts +0 -2
- package/dist/utils/chainToExplorerUrl.d.ts +0 -2
- package/dist/wallets/walletConnectors/chunk-2DWBVWFI.js +0 -87
- package/dist/wallets/walletConnectors/chunk-3F5GNHAG.js +0 -182
- package/dist/wallets/walletConnectors/chunk-3R3RNCGE.js +0 -100
- package/dist/wallets/walletConnectors/chunk-5L2OLU3J.js +0 -102
- package/dist/wallets/walletConnectors/chunk-BCXBFAL4.js +0 -98
- package/dist/wallets/walletConnectors/chunk-M4SPCKW4.js +0 -66
- package/dist/wallets/walletConnectors/chunk-MFS6NY6T.js +0 -105
- package/dist/wallets/walletConnectors/chunk-MOAWRDEM.js +0 -95
- package/dist/wallets/walletConnectors/chunk-NK3DYIAB.js +0 -92
- package/dist/wallets/walletConnectors/chunk-OMKARG6Y.js +0 -94
- package/dist/wallets/walletConnectors/chunk-OPO2D6GL.js +0 -102
- package/dist/wallets/walletConnectors/chunk-OXWTS7HX.js +0 -98
- package/dist/wallets/walletConnectors/chunk-PJRUHFBT.js +0 -71
- package/dist/wallets/walletConnectors/chunk-R5GNFRXW.js +0 -96
- package/dist/wallets/walletConnectors/chunk-S2IWMXKX.js +0 -94
- package/dist/wallets/walletConnectors/chunk-WH7S23VZ.js +0 -73
- package/dist/wallets/walletConnectors/chunk-XB2GFXBL.js +0 -107
- package/dist/wallets/walletConnectors/chunk-XUXFYTCV.js +0 -96
|
@@ -5,19 +5,13 @@ export declare const darkTheme: {
|
|
|
5
5
|
accentColor: string;
|
|
6
6
|
accentColorForeground: string;
|
|
7
7
|
actionButtonBorder: string;
|
|
8
|
-
actionButtonBorderMobile: string;
|
|
9
8
|
actionButtonSecondaryBackground: string;
|
|
10
|
-
actionButtonDisabled: string;
|
|
11
|
-
closeButton: string;
|
|
12
|
-
closeButtonBackground: string;
|
|
13
9
|
connectButtonBackground: string;
|
|
14
10
|
connectButtonBackgroundError: string;
|
|
15
11
|
connectButtonInnerBackground: string;
|
|
16
12
|
connectButtonText: string;
|
|
17
13
|
connectButtonTextError: string;
|
|
18
14
|
connectionIndicator: string;
|
|
19
|
-
downloadBottomCardBackground: string;
|
|
20
|
-
downloadTopCardBackground: string;
|
|
21
15
|
error: string;
|
|
22
16
|
generalBorder: string;
|
|
23
17
|
generalBorderDim: string;
|
|
@@ -34,9 +28,6 @@ export declare const darkTheme: {
|
|
|
34
28
|
paymentOptionBorderActive: string;
|
|
35
29
|
paymentOptionBorderActiveHover: string;
|
|
36
30
|
standby: string;
|
|
37
|
-
solidLine: string;
|
|
38
|
-
leftTranslucentLine: string;
|
|
39
|
-
rightTranslucentLine: string;
|
|
40
31
|
loadingBase: string;
|
|
41
32
|
loadingAccent: string;
|
|
42
33
|
modalBackdrop: string;
|
package/dist/themes/darkTheme.js
CHANGED
|
@@ -5,19 +5,13 @@ export declare const lightTheme: {
|
|
|
5
5
|
accentColor: string;
|
|
6
6
|
accentColorForeground: string;
|
|
7
7
|
actionButtonBorder: string;
|
|
8
|
-
actionButtonBorderMobile: string;
|
|
9
8
|
actionButtonSecondaryBackground: string;
|
|
10
|
-
actionButtonDisabled: string;
|
|
11
|
-
closeButton: string;
|
|
12
|
-
closeButtonBackground: string;
|
|
13
9
|
connectButtonBackground: string;
|
|
14
10
|
connectButtonBackgroundError: string;
|
|
15
11
|
connectButtonInnerBackground: string;
|
|
16
12
|
connectButtonText: string;
|
|
17
13
|
connectButtonTextError: string;
|
|
18
14
|
connectionIndicator: string;
|
|
19
|
-
downloadBottomCardBackground: string;
|
|
20
|
-
downloadTopCardBackground: string;
|
|
21
15
|
error: string;
|
|
22
16
|
generalBorder: string;
|
|
23
17
|
generalBorderDim: string;
|
|
@@ -34,9 +28,6 @@ export declare const lightTheme: {
|
|
|
34
28
|
paymentOptionBorderActive: string;
|
|
35
29
|
paymentOptionBorderActiveHover: string;
|
|
36
30
|
standby: string;
|
|
37
|
-
solidLine: string;
|
|
38
|
-
leftTranslucentLine: string;
|
|
39
|
-
rightTranslucentLine: string;
|
|
40
31
|
loadingBase: string;
|
|
41
32
|
loadingAccent: string;
|
|
42
33
|
modalBackdrop: string;
|
|
@@ -1,115 +1,121 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
walletConnectWallet
|
|
7
|
-
} from "./chunk-ASPRR7T3.js";
|
|
3
|
+
zealWallet
|
|
4
|
+
} from "./chunk-Z5QFIFDP.js";
|
|
8
5
|
import {
|
|
9
6
|
zerionWallet
|
|
10
7
|
} from "./chunk-G4DNQN67.js";
|
|
11
8
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
talismanWallet
|
|
16
|
-
} from "./chunk-R2GYJ376.js";
|
|
9
|
+
walletConnectWallet
|
|
10
|
+
} from "./chunk-ASPRR7T3.js";
|
|
17
11
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
12
|
+
tahoWallet
|
|
13
|
+
} from "./chunk-PILSRRPJ.js";
|
|
20
14
|
import {
|
|
21
15
|
tokenaryWallet
|
|
22
16
|
} from "./chunk-MD5OPFAT.js";
|
|
23
17
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
18
|
+
tokenPocketWallet
|
|
19
|
+
} from "./chunk-UWU574XS.js";
|
|
26
20
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
21
|
+
gateWallet
|
|
22
|
+
} from "./chunk-QGQISKXF.js";
|
|
29
23
|
import {
|
|
30
24
|
trustWallet
|
|
31
25
|
} from "./chunk-BMHNXJZK.js";
|
|
26
|
+
import {
|
|
27
|
+
uniswapWallet
|
|
28
|
+
} from "./chunk-XRSY4JVH.js";
|
|
29
|
+
import {
|
|
30
|
+
talismanWallet
|
|
31
|
+
} from "./chunk-R2GYJ376.js";
|
|
32
32
|
import {
|
|
33
33
|
xdefiWallet
|
|
34
34
|
} from "./chunk-JNZ3EYC7.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
rabbyWallet
|
|
37
|
+
} from "./chunk-5SIHQ5GA.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
rainbowWallet
|
|
40
|
+
} from "./chunk-EXN2ODSI.js";
|
|
41
41
|
import {
|
|
42
42
|
ramperWallet
|
|
43
43
|
} from "./chunk-XEZPRJPV.js";
|
|
44
44
|
import {
|
|
45
45
|
roninWallet
|
|
46
46
|
} from "./chunk-CNTLU4ZV.js";
|
|
47
|
-
import {
|
|
48
|
-
safeWallet
|
|
49
|
-
} from "./chunk-D3DCQ72J.js";
|
|
50
47
|
import {
|
|
51
48
|
safeheronWallet
|
|
52
49
|
} from "./chunk-FQDX6QIP.js";
|
|
53
50
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
51
|
+
safeWallet
|
|
52
|
+
} from "./chunk-D3DCQ72J.js";
|
|
53
|
+
import {
|
|
54
|
+
safepalWallet
|
|
55
|
+
} from "./chunk-PQSJXOGA.js";
|
|
56
56
|
import {
|
|
57
57
|
subWallet
|
|
58
58
|
} from "./chunk-WS4EM7AZ.js";
|
|
59
59
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import {
|
|
63
|
-
mewWallet
|
|
64
|
-
} from "./chunk-ZCSUP7CX.js";
|
|
60
|
+
ledgerWallet
|
|
61
|
+
} from "./chunk-Y6VY6E3L.js";
|
|
65
62
|
import {
|
|
66
63
|
metaMaskWallet
|
|
67
64
|
} from "./chunk-TUK3HNKY.js";
|
|
65
|
+
import {
|
|
66
|
+
okxWallet
|
|
67
|
+
} from "./chunk-5ZGE5SN5.js";
|
|
68
|
+
import {
|
|
69
|
+
oktoWallet
|
|
70
|
+
} from "./chunk-WKHTUEF5.js";
|
|
68
71
|
import {
|
|
69
72
|
omniWallet
|
|
70
73
|
} from "./chunk-SVN7OEQR.js";
|
|
71
74
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
75
|
+
oneInchWallet
|
|
76
|
+
} from "./chunk-LCPIZUR3.js";
|
|
77
|
+
import {
|
|
78
|
+
phantomWallet
|
|
79
|
+
} from "./chunk-4PTY6XNU.js";
|
|
74
80
|
import {
|
|
75
81
|
oneKeyWallet
|
|
76
82
|
} from "./chunk-QS2J6MWB.js";
|
|
77
83
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
84
|
+
foxWallet
|
|
85
|
+
} from "./chunk-TKXMLZXG.js";
|
|
80
86
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
87
|
+
frontierWallet
|
|
88
|
+
} from "./chunk-LOEDYNWO.js";
|
|
83
89
|
import {
|
|
84
90
|
frameWallet
|
|
85
91
|
} from "./chunk-HXGBE5AH.js";
|
|
86
|
-
import {
|
|
87
|
-
bitverseWallet
|
|
88
|
-
} from "./chunk-NL4I7WOT.js";
|
|
89
|
-
import {
|
|
90
|
-
coinbaseWallet
|
|
91
|
-
} from "./chunk-O77H3VWW.js";
|
|
92
92
|
import {
|
|
93
93
|
imTokenWallet
|
|
94
94
|
} from "./chunk-5MVV7OVS.js";
|
|
95
95
|
import {
|
|
96
|
-
|
|
97
|
-
} from "./chunk-
|
|
98
|
-
import {
|
|
99
|
-
gateWallet
|
|
100
|
-
} from "./chunk-QGQISKXF.js";
|
|
96
|
+
injectedWallet
|
|
97
|
+
} from "./chunk-GUJHPWTU.js";
|
|
101
98
|
import {
|
|
102
99
|
kresusWallet
|
|
103
100
|
} from "./chunk-X6T3CICZ.js";
|
|
101
|
+
import {
|
|
102
|
+
mewWallet
|
|
103
|
+
} from "./chunk-ZCSUP7CX.js";
|
|
104
|
+
import {
|
|
105
|
+
clvWallet
|
|
106
|
+
} from "./chunk-ND5YG63V.js";
|
|
107
|
+
import {
|
|
108
|
+
coinbaseWallet
|
|
109
|
+
} from "./chunk-O77H3VWW.js";
|
|
110
|
+
import {
|
|
111
|
+
coin98Wallet
|
|
112
|
+
} from "./chunk-3QXMJHL4.js";
|
|
104
113
|
import {
|
|
105
114
|
coreWallet
|
|
106
115
|
} from "./chunk-32O7HVBJ.js";
|
|
107
116
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import {
|
|
111
|
-
bloomWallet
|
|
112
|
-
} from "./chunk-NTGZF5BY.js";
|
|
117
|
+
bitverseWallet
|
|
118
|
+
} from "./chunk-NL4I7WOT.js";
|
|
113
119
|
import {
|
|
114
120
|
dawnWallet
|
|
115
121
|
} from "./chunk-QUFNIKMV.js";
|
|
@@ -119,34 +125,28 @@ import {
|
|
|
119
125
|
import {
|
|
120
126
|
enkryptWallet
|
|
121
127
|
} from "./chunk-SJWHYD45.js";
|
|
122
|
-
import {
|
|
123
|
-
foxWallet
|
|
124
|
-
} from "./chunk-TKXMLZXG.js";
|
|
125
|
-
import {
|
|
126
|
-
frontierWallet
|
|
127
|
-
} from "./chunk-LOEDYNWO.js";
|
|
128
128
|
import {
|
|
129
129
|
argentWallet
|
|
130
130
|
} from "./chunk-NZ5G23JP.js";
|
|
131
131
|
import {
|
|
132
132
|
bifrostWallet
|
|
133
133
|
} from "./chunk-AFONKDII.js";
|
|
134
|
+
import {
|
|
135
|
+
bitgetWallet
|
|
136
|
+
} from "./chunk-OUQ3ZF2W.js";
|
|
137
|
+
import {
|
|
138
|
+
bitskiWallet
|
|
139
|
+
} from "./chunk-IMZRCMZR.js";
|
|
140
|
+
import {
|
|
141
|
+
bloomWallet
|
|
142
|
+
} from "./chunk-NTGZF5BY.js";
|
|
143
|
+
import "./chunk-ZOLACFTK.js";
|
|
134
144
|
import {
|
|
135
145
|
braveWallet
|
|
136
146
|
} from "./chunk-KJWMF6GZ.js";
|
|
137
147
|
import {
|
|
138
148
|
bybitWallet
|
|
139
149
|
} from "./chunk-ZBQT5PV6.js";
|
|
140
|
-
import {
|
|
141
|
-
clvWallet
|
|
142
|
-
} from "./chunk-ND5YG63V.js";
|
|
143
|
-
import {
|
|
144
|
-
coin98Wallet
|
|
145
|
-
} from "./chunk-3QXMJHL4.js";
|
|
146
|
-
import {
|
|
147
|
-
bitgetWallet
|
|
148
|
-
} from "./chunk-OUQ3ZF2W.js";
|
|
149
|
-
import "./chunk-ZOLACFTK.js";
|
|
150
150
|
import "./chunk-ZDU3JFGR.js";
|
|
151
151
|
import "./chunk-F3VCNZXS.js";
|
|
152
152
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.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",
|
|
@@ -78,9 +78,9 @@
|
|
|
78
78
|
"react-remove-scroll": "2.5.7",
|
|
79
79
|
"ua-parser-js": "^1.0.37",
|
|
80
80
|
"uuid": "^9.0.1",
|
|
81
|
+
"@funkit/core": "2.0.1",
|
|
81
82
|
"@funkit/api-base": "1.0.0",
|
|
82
|
-
"@funkit/wagmi-tools": "3.0.
|
|
83
|
-
"@funkit/core": "2.0.0"
|
|
83
|
+
"@funkit/wagmi-tools": "3.0.1"
|
|
84
84
|
},
|
|
85
85
|
"repository": {
|
|
86
86
|
"type": "git",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type Size = 'small' | 'medium' | 'large';
|
|
3
|
-
export declare function ActionButton({ disabled, href, label, onClick, rel, size, target, testId, type, }: {
|
|
4
|
-
href?: string;
|
|
5
|
-
label: string;
|
|
6
|
-
onClick?: () => void;
|
|
7
|
-
rel?: string;
|
|
8
|
-
size?: Size;
|
|
9
|
-
target?: string;
|
|
10
|
-
type?: 'primary' | 'secondary';
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
testId?: string;
|
|
13
|
-
}): React.JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ProgressLabel {
|
|
3
|
-
text: string;
|
|
4
|
-
description: string;
|
|
5
|
-
linkText?: string;
|
|
6
|
-
linkUrl?: string;
|
|
7
|
-
}
|
|
8
|
-
interface FunVerticalProgressBarProps {
|
|
9
|
-
step: number;
|
|
10
|
-
totalSteps: number;
|
|
11
|
-
labels?: ProgressLabel[];
|
|
12
|
-
}
|
|
13
|
-
export declare function FunVerticalProgressBar({ step, totalSteps, labels, }: FunVerticalProgressBarProps): React.JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const CoolModeContext: import("react").Context<boolean>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ShowRecentTransactionsContext: import("react").Context<boolean>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { WalletConnector } from '../../wallets/useWalletConnectors';
|
|
3
|
-
interface WalletButtonContextValue {
|
|
4
|
-
connector: WalletConnector | null;
|
|
5
|
-
setConnector: (wallet: WalletConnector | null) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const WalletButtonContext: React.Context<WalletButtonContextValue>;
|
|
8
|
-
interface WalletButtonProviderProps {
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export declare function WalletButtonProvider({ children }: WalletButtonProviderProps): React.JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useCoolMode: (imageUrl: string | (() => Promise<string>)) => import("react").RefObject<HTMLElement>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { WalletConnector } from '../../wallets/useWalletConnectors';
|
|
3
|
-
export interface WalletButtonRendererProps {
|
|
4
|
-
wallet?: string;
|
|
5
|
-
children: (renderProps: {
|
|
6
|
-
error: boolean;
|
|
7
|
-
loading: boolean;
|
|
8
|
-
connected: boolean;
|
|
9
|
-
ready: boolean;
|
|
10
|
-
mounted: boolean;
|
|
11
|
-
connector: WalletConnector;
|
|
12
|
-
connect: () => Promise<void>;
|
|
13
|
-
}) => ReactNode;
|
|
14
|
-
}
|
|
15
|
-
export declare function WalletButtonRenderer({ wallet, children, }: WalletButtonRendererProps): React.JSX.Element;
|
package/dist/sign-FZVB2CS6.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
// src/components/SignIn/sign.png
|
|
3
|
-
var sign_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAC/VBMVEUAAADS0dDp6enV1NTi4uLOzc3l5eXh4eHl5eXW1dXa2trQz87e3t2ll5fne3vFdXV+PT14d3fS0dHj4+OBaGh5Pz9yOjqqX19iYmJqQUGlkJBoQUGrqqqKiomEY2PIiYn39vbx8fHz8/P6+fnu7e34+Pjv7+/19fXp6Oje3d3m5uXs7Ozd3Nzr6+ra2dnc29vf397b2trn5+fq6unk5OTV1NTj4+LZ2NfX19fX1tXg4N/i4uHh4eDQz87T0tLU09PR0M/Dw8P7+/rKyslnZ2fKlx/MzMvHx8f/00POzc2rq6uLi4z/zTilpabFxcW/v8CpqKmioqPOmyb/zDTS0dC0tLSfoKGdnZ6YmJn/103/1UjIlRn1tw+6uruxsbGEhIX/zzz/yB7boQ69vb3v0JGPkJCIiYrEqnfMmSObm5uVlZaHh4d9fX7mpwHqqwD8/PyAgIDQnSn/wxatra2RkpP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tsdaR2zdGt8o7bG3Lcg/A+Ai8BHiqw7elMCPR0gf0Og25oIp6wBBz9U+U+zjhaTIz+dN20B3n/+TlzDgHPAR5AsocLnA0u77HYTANhkcMj7YTREd2Rxk0P7QXdlblnHjpx3pw5cyNhr8NkMgIJJgTNCID2XmBxwm2EFq2ecMnx0k2Lb9wbvLY2Nvfc8ZGYw4BBkKY9m73PteZM0GWxpVJwWW6GOyItWnzT4oefxto80Caq2UTO7zAYQAQTR+Zs8I4KzQRXDvXB/2zobGgK3HTTIw8vegRKQ7UNZBPNKb/bbrMZECmj8IFfwLP0zwLdDtzW1AqcJP5cNO/hOWOg1SLlxLDX77FAGxxM4sj1ARjoAgP9FgcmW4ETy1SzgLVMOOcNeCyoQSsyCh8bcHYo0OKZDfahO3Bb/IF4RmqgDeVi8kW4jD9tF9ohzAFcn9vVDfpd/W63uw9unI4rlxgBzePugws4+G/LjEbwj+7+flfI3wUG/YFQKORyeTz9+AfF5Q/6Qy5ICH/g2I4HfXDQlVAgEPDH2uA6+LjByjjL/5+sLGcD2fsLerG519oDlHIAAAAASUVORK5CYII=";
|
|
4
|
-
export {
|
|
5
|
-
sign_default as default
|
|
6
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TransactionStore } from './transactionStore';
|
|
3
|
-
export declare function TransactionStoreProvider({ children, }: {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
}): React.JSX.Element;
|
|
6
|
-
export declare function useTransactionStore(): TransactionStore;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { PublicClient } from 'viem';
|
|
2
|
-
type TransactionStatus = 'pending' | 'confirmed' | 'failed';
|
|
3
|
-
export interface Transaction {
|
|
4
|
-
hash: string;
|
|
5
|
-
description: string;
|
|
6
|
-
status: TransactionStatus;
|
|
7
|
-
confirmations?: number;
|
|
8
|
-
}
|
|
9
|
-
export type NewTransaction = Omit<Transaction, 'status'>;
|
|
10
|
-
export declare function createTransactionStore({ provider: initialProvider, }: {
|
|
11
|
-
provider: PublicClient;
|
|
12
|
-
}): {
|
|
13
|
-
addTransaction: (account: string, chainId: number, transaction: NewTransaction) => void;
|
|
14
|
-
clearTransactions: (account: string, chainId: number) => void;
|
|
15
|
-
getTransactions: (account: string, chainId: number) => Transaction[];
|
|
16
|
-
onChange: (fn: () => void) => () => void;
|
|
17
|
-
setProvider: (newProvider: PublicClient) => void;
|
|
18
|
-
waitForPendingTransactions: (account: string, chainId: number) => Promise<void>;
|
|
19
|
-
};
|
|
20
|
-
export type TransactionStore = ReturnType<typeof createTransactionStore>;
|
|
21
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useClearRecentTransactions(): () => void;
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-F3VCNZXS.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-ZDU3JFGR.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/clvWallet/clvWallet.ts
|
|
11
|
-
var clvWallet = ({
|
|
12
|
-
projectId,
|
|
13
|
-
walletConnectParameters
|
|
14
|
-
}) => {
|
|
15
|
-
const isCLVInjected = hasInjectedProvider({ namespace: "clover" });
|
|
16
|
-
const shouldUseWalletConnect = !isCLVInjected;
|
|
17
|
-
return {
|
|
18
|
-
id: "clv",
|
|
19
|
-
name: "CLV",
|
|
20
|
-
iconUrl: async () => (await import("./clvWallet-RM4V57ZB.js")).default,
|
|
21
|
-
iconBackground: "#fff",
|
|
22
|
-
iconAccent: "#BDFDE2",
|
|
23
|
-
installed: isCLVInjected,
|
|
24
|
-
downloadUrls: {
|
|
25
|
-
chrome: "https://chrome.google.com/webstore/detail/clv-wallet/nhnkbkgjikgcigadomkphalanndcapjk",
|
|
26
|
-
ios: "https://apps.apple.com/app/clover-wallet/id1570072858",
|
|
27
|
-
mobile: "https://apps.apple.com/app/clover-wallet/id1570072858",
|
|
28
|
-
qrCode: "https://clv.org/"
|
|
29
|
-
},
|
|
30
|
-
extension: {
|
|
31
|
-
instructions: {
|
|
32
|
-
learnMoreUrl: "https://clv.org/",
|
|
33
|
-
steps: [
|
|
34
|
-
{
|
|
35
|
-
description: "wallet_connectors.clv.extension.step1.description",
|
|
36
|
-
step: "install",
|
|
37
|
-
title: "wallet_connectors.clv.extension.step1.title"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
description: "wallet_connectors.clv.extension.step2.description",
|
|
41
|
-
step: "create",
|
|
42
|
-
title: "wallet_connectors.clv.extension.step2.title"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.clv.extension.step3.description",
|
|
46
|
-
step: "refresh",
|
|
47
|
-
title: "wallet_connectors.clv.extension.step3.title"
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
mobile: {
|
|
53
|
-
getUri: shouldUseWalletConnect ? (uri) => uri : void 0
|
|
54
|
-
},
|
|
55
|
-
qrCode: shouldUseWalletConnect ? {
|
|
56
|
-
getUri: (uri) => uri,
|
|
57
|
-
instructions: {
|
|
58
|
-
learnMoreUrl: "https://clv.org/",
|
|
59
|
-
steps: [
|
|
60
|
-
{
|
|
61
|
-
description: "wallet_connectors.clv.qr_code.step1.description",
|
|
62
|
-
step: "install",
|
|
63
|
-
title: "wallet_connectors.clv.qr_code.step1.title"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
description: "wallet_connectors.clv.qr_code.step2.description",
|
|
67
|
-
step: "create",
|
|
68
|
-
title: "wallet_connectors.clv.qr_code.step2.title"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
description: "wallet_connectors.clv.qr_code.step3.description",
|
|
72
|
-
step: "scan",
|
|
73
|
-
title: "wallet_connectors.clv.qr_code.step3.title"
|
|
74
|
-
}
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
} : void 0,
|
|
78
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
79
|
-
projectId,
|
|
80
|
-
walletConnectParameters
|
|
81
|
-
}) : getInjectedConnector({ namespace: "clover" })
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export {
|
|
86
|
-
clvWallet
|
|
87
|
-
};
|