@funkit/connect 1.0.12 → 1.0.13
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 +6 -0
- package/dist/components/FunKeyValue/FunKeyValue.d.ts +2 -1
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +3 -0
- package/dist/index.js +8 -4
- 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/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 +82 -82
- 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 +1 -1
- package/dist/wallets/walletConnectors/chunk-VWZEDVW6.js +0 -27
- package/dist/wallets/walletConnectors/chunk-YC7XNS7C.js +0 -98
- package/dist/wallets/walletConnectors/{chunk-75A2U7T7.js → chunk-2B3SPBRY.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-OR3PU2W4.js → chunk-7KDOXASH.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-OAEJQOAV.js → chunk-CRSPGVPF.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-XSSD5ZVD.js → chunk-DV3SI63E.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-N3VZE65M.js → chunk-HD5VYJNC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-SL4VH23R.js → chunk-KGTZ6E7L.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-FDIIMYTB.js → chunk-RCWZ4KBR.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-2PC2XXUH.js → chunk-VSZ7PAHS.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-SQGFKNNZ.js → chunk-XNNLZXHE.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-X255T3C4.js → chunk-XRMAVTK7.js} +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,7 @@ export interface FunKeyValueProps {
|
|
|
12
12
|
keyTextColor?: BoxProps['color'];
|
|
13
13
|
keyTextSize?: TextProps['size'];
|
|
14
14
|
keyTextWeight?: TextProps['weight'];
|
|
15
|
+
keySectionMaxWidth?: BoxProps['maxWidth'];
|
|
15
16
|
valueTextColor?: BoxProps['color'];
|
|
16
17
|
valueTextSize?: TextProps['size'];
|
|
17
18
|
valueTextWeight?: TextProps['weight'];
|
|
@@ -25,4 +26,4 @@ export interface FunKeyValueProps {
|
|
|
25
26
|
isDisabled?: boolean;
|
|
26
27
|
}
|
|
27
28
|
export declare function FunKeyValue({ keyIcon, keyText, valueIcon, valueText, disclaimerText, onClick, hasBorder, backgroundBaseColor, // 'actionButtonSecondaryBackground'
|
|
28
|
-
keyTextColor, keyTextSize, keyTextWeight, valueTextColor, valueTextSize, valueTextWeight, valueGap, reverseValueItems, customValueComponent, disclaimerTextColor, paddingY, paddingX, isDisabled, }: FunKeyValueProps): React.JSX.Element;
|
|
29
|
+
keyTextColor, keyTextSize, keyTextWeight, keySectionMaxWidth, valueTextColor, valueTextSize, valueTextWeight, valueGap, reverseValueItems, customValueComponent, disclaimerTextColor, paddingY, paddingX, isDisabled, }: FunKeyValueProps): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PaymentMethod } from '../../consts/payment';
|
|
3
|
+
import { BoxProps } from '../Box/Box';
|
|
3
4
|
export interface FunkitTextCustomizationsConfig {
|
|
4
5
|
selectPaymentMethod: string;
|
|
5
6
|
brokerageOrExchange: string;
|
|
@@ -25,6 +26,8 @@ interface FunkitPaymentsConfig {
|
|
|
25
26
|
defaultPaymentMethod?: PaymentMethod | undefined;
|
|
26
27
|
/** Whether end users are given the option to unlink a previously connected brokerage **/
|
|
27
28
|
allowBrokerageUnlinking?: boolean;
|
|
29
|
+
/** Max width of the title of each payment method **/
|
|
30
|
+
paymentTitleMaxWidth?: BoxProps['maxWidth'];
|
|
28
31
|
}
|
|
29
32
|
export type FunkitConfig = {
|
|
30
33
|
/** Funkit api key **/
|
package/dist/index.js
CHANGED
|
@@ -2112,7 +2112,8 @@ var DEFAULT_FUNKIT_CONFIG = {
|
|
|
2112
2112
|
accountModalConfig: { enableDepositing: false },
|
|
2113
2113
|
paymentsConfig: {
|
|
2114
2114
|
allowBrokerageUnlinking: false,
|
|
2115
|
-
defaultPaymentMethod: void 0
|
|
2115
|
+
defaultPaymentMethod: void 0,
|
|
2116
|
+
paymentTitleMaxWidth: "240"
|
|
2116
2117
|
}
|
|
2117
2118
|
};
|
|
2118
2119
|
var FunkitConfigContext = createContext8(
|
|
@@ -4468,6 +4469,7 @@ function FunKeyValue({
|
|
|
4468
4469
|
keyTextColor = "modalTextSecondary",
|
|
4469
4470
|
keyTextSize = "14",
|
|
4470
4471
|
keyTextWeight = "medium",
|
|
4472
|
+
keySectionMaxWidth = void 0,
|
|
4471
4473
|
valueTextColor = "modalText",
|
|
4472
4474
|
valueTextSize = "14",
|
|
4473
4475
|
valueTextWeight = "medium",
|
|
@@ -4529,7 +4531,8 @@ function FunKeyValue({
|
|
|
4529
4531
|
alignItems: "center"
|
|
4530
4532
|
}, keyIcon) : null, /* @__PURE__ */ React44.createElement(Box, {
|
|
4531
4533
|
height: "max",
|
|
4532
|
-
flexDirection: "row"
|
|
4534
|
+
flexDirection: "row",
|
|
4535
|
+
maxWidth: keySectionMaxWidth
|
|
4533
4536
|
}, /* @__PURE__ */ React44.createElement(Text, {
|
|
4534
4537
|
weight: keyTextWeight,
|
|
4535
4538
|
color: keyTextColor,
|
|
@@ -5702,7 +5705,7 @@ function AddPaymentMethodItem({
|
|
|
5702
5705
|
disclaimerText
|
|
5703
5706
|
}) {
|
|
5704
5707
|
const config = PAYMENT_METHOD_CONFIG[paymentMethod];
|
|
5705
|
-
const { textCustomizations } = useFunkitConfig();
|
|
5708
|
+
const { textCustomizations, paymentsConfig } = useFunkitConfig();
|
|
5706
5709
|
const { walletAddress } = useGeneralWallet();
|
|
5707
5710
|
const isEnabledForFlow = useMemo14(() => {
|
|
5708
5711
|
if (paymentFlow === 1 /* CHECKOUT */) {
|
|
@@ -5735,6 +5738,7 @@ function AddPaymentMethodItem({
|
|
|
5735
5738
|
hasBorder: false,
|
|
5736
5739
|
backgroundBaseColor: isActive ? "buttonPrimary" : "modalBorder",
|
|
5737
5740
|
keyTextColor: isActive ? "buttonTextPrimary" : "modalText",
|
|
5741
|
+
keySectionMaxWidth: paymentsConfig.paymentTitleMaxWidth,
|
|
5738
5742
|
valueTextColor: isActive ? "buttonTextPrimary" : "modalText",
|
|
5739
5743
|
onClick: isActive ? null : () => onClick == null ? void 0 : onClick(),
|
|
5740
5744
|
isDisabled,
|
|
@@ -15584,7 +15588,7 @@ function setFunkitConnectVersion({ version }) {
|
|
|
15584
15588
|
localStorage.setItem(storageKey4, version);
|
|
15585
15589
|
}
|
|
15586
15590
|
function getCurrentSdkVersion() {
|
|
15587
|
-
return "1.0.
|
|
15591
|
+
return "1.0.13";
|
|
15588
15592
|
}
|
|
15589
15593
|
function useFingerprint() {
|
|
15590
15594
|
const fingerprint = useCallback29(() => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bifrostWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-KGTZ6E7L.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-ZDU3JFGR.js";
|
|
7
6
|
import "../chunk-QII6PY2D.js";
|
|
7
|
+
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
bifrostWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bitgetWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-2B3SPBRY.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-ZDU3JFGR.js";
|
|
7
6
|
import "../chunk-QII6PY2D.js";
|
|
7
|
+
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
bitgetWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
frontierWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-HD5VYJNC.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-ZDU3JFGR.js";
|
|
7
6
|
import "../chunk-QII6PY2D.js";
|
|
7
|
+
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
gateWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-VSZ7PAHS.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-ZDU3JFGR.js";
|
|
7
6
|
import "../chunk-QII6PY2D.js";
|
|
7
|
+
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
gateWallet
|
|
10
10
|
};
|
|
@@ -1,154 +1,154 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
zealWallet
|
|
4
|
-
} from "./chunk-DPXMP5KS.js";
|
|
5
|
-
import {
|
|
6
|
-
uniswapWallet
|
|
7
|
-
} from "./chunk-XRSY4JVH.js";
|
|
8
2
|
import {
|
|
9
3
|
zerionWallet
|
|
10
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XNNLZXHE.js";
|
|
11
5
|
import {
|
|
12
6
|
tahoWallet
|
|
13
7
|
} from "./chunk-H76YCX2M.js";
|
|
14
8
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
9
|
+
zealWallet
|
|
10
|
+
} from "./chunk-DPXMP5KS.js";
|
|
17
11
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
12
|
+
trustWallet
|
|
13
|
+
} from "./chunk-CRSPGVPF.js";
|
|
20
14
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
15
|
+
safeheronWallet
|
|
16
|
+
} from "./chunk-63NPZXAL.js";
|
|
23
17
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
18
|
+
rabbyWallet
|
|
19
|
+
} from "./chunk-XPEBP6XV.js";
|
|
26
20
|
import {
|
|
27
21
|
walletConnectWallet
|
|
28
22
|
} from "./chunk-ASPRR7T3.js";
|
|
29
23
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
24
|
+
tokenPocketWallet
|
|
25
|
+
} from "./chunk-7KDOXASH.js";
|
|
26
|
+
import {
|
|
27
|
+
uniswapWallet
|
|
28
|
+
} from "./chunk-XRSY4JVH.js";
|
|
32
29
|
import {
|
|
33
30
|
xdefiWallet
|
|
34
31
|
} from "./chunk-L734HTUS.js";
|
|
32
|
+
import {
|
|
33
|
+
talismanWallet
|
|
34
|
+
} from "./chunk-H273OTQA.js";
|
|
35
|
+
import {
|
|
36
|
+
ramperWallet
|
|
37
|
+
} from "./chunk-ZOL6ZMTJ.js";
|
|
35
38
|
import {
|
|
36
39
|
roninWallet
|
|
37
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-GW6EF4G2.js";
|
|
38
41
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
42
|
+
oneInchWallet
|
|
43
|
+
} from "./chunk-LCPIZUR3.js";
|
|
41
44
|
import {
|
|
42
45
|
phantomWallet
|
|
43
46
|
} from "./chunk-KGBLSE7L.js";
|
|
44
|
-
import {
|
|
45
|
-
omniWallet
|
|
46
|
-
} from "./chunk-SVN7OEQR.js";
|
|
47
|
-
import {
|
|
48
|
-
safeheronWallet
|
|
49
|
-
} from "./chunk-63NPZXAL.js";
|
|
50
47
|
import {
|
|
51
48
|
safepalWallet
|
|
52
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-RTW6PVQI.js";
|
|
53
50
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
51
|
+
safeWallet
|
|
52
|
+
} from "./chunk-D3DCQ72J.js";
|
|
56
53
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
54
|
+
tokenaryWallet
|
|
55
|
+
} from "./chunk-ENZLEAG2.js";
|
|
56
|
+
import {
|
|
57
|
+
subWallet
|
|
58
|
+
} from "./chunk-2GAW2UBU.js";
|
|
59
59
|
import {
|
|
60
60
|
mewWallet
|
|
61
61
|
} from "./chunk-PWYTDYBE.js";
|
|
62
|
-
import {
|
|
63
|
-
okxWallet
|
|
64
|
-
} from "./chunk-NGXIHASN.js";
|
|
65
62
|
import {
|
|
66
63
|
oktoWallet
|
|
67
64
|
} from "./chunk-WKHTUEF5.js";
|
|
68
65
|
import {
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
66
|
+
okxWallet
|
|
67
|
+
} from "./chunk-DV3SI63E.js";
|
|
71
68
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
69
|
+
kresusWallet
|
|
70
|
+
} from "./chunk-X6T3CICZ.js";
|
|
74
71
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./chunk-
|
|
72
|
+
omniWallet
|
|
73
|
+
} from "./chunk-SVN7OEQR.js";
|
|
74
|
+
import {
|
|
75
|
+
metaMaskWallet
|
|
76
|
+
} from "./chunk-XRMAVTK7.js";
|
|
77
77
|
import {
|
|
78
78
|
rainbowWallet
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-RCWZ4KBR.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
81
|
+
oneKeyWallet
|
|
82
|
+
} from "./chunk-4WOV4ITL.js";
|
|
83
83
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
84
|
+
frontierWallet
|
|
85
|
+
} from "./chunk-HD5VYJNC.js";
|
|
86
86
|
import {
|
|
87
87
|
enkryptWallet
|
|
88
88
|
} from "./chunk-FLY7F4XA.js";
|
|
89
89
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
90
|
+
foxWallet
|
|
91
|
+
} from "./chunk-OKWOB3DN.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
94
|
-
} from "./chunk-
|
|
93
|
+
gateWallet
|
|
94
|
+
} from "./chunk-VSZ7PAHS.js";
|
|
95
95
|
import {
|
|
96
|
-
|
|
97
|
-
} from "./chunk-
|
|
96
|
+
injectedWallet
|
|
97
|
+
} from "./chunk-KIHCNUU3.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
} from "./chunk-
|
|
99
|
+
ledgerWallet
|
|
100
|
+
} from "./chunk-Y6VY6E3L.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
102
|
+
imTokenWallet
|
|
103
|
+
} from "./chunk-5MVV7OVS.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
coin98Wallet
|
|
106
|
+
} from "./chunk-Z2HIQYVN.js";
|
|
107
107
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
108
|
+
bitverseWallet
|
|
109
|
+
} from "./chunk-NL4I7WOT.js";
|
|
110
110
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
111
|
+
coinbaseWallet
|
|
112
|
+
} from "./chunk-XBUTWYE4.js";
|
|
113
113
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
114
|
+
bybitWallet
|
|
115
|
+
} from "./chunk-CUKVUCIP.js";
|
|
116
116
|
import {
|
|
117
117
|
coreWallet
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-IBWFKX7P.js";
|
|
119
|
+
import {
|
|
120
|
+
desigWallet
|
|
121
|
+
} from "./chunk-P4JLZ42R.js";
|
|
119
122
|
import {
|
|
120
123
|
dawnWallet
|
|
121
124
|
} from "./chunk-4XQDKOGF.js";
|
|
122
125
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
125
|
-
import {
|
|
126
|
-
coinbaseWallet
|
|
127
|
-
} from "./chunk-XBUTWYE4.js";
|
|
126
|
+
frameWallet
|
|
127
|
+
} from "./chunk-XXFJVY73.js";
|
|
128
128
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
129
|
+
bitskiWallet
|
|
130
|
+
} from "./chunk-C67TQJ6W.js";
|
|
131
131
|
import {
|
|
132
132
|
bitgetWallet
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-2B3SPBRY.js";
|
|
134
134
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./chunk-
|
|
135
|
+
bifrostWallet
|
|
136
|
+
} from "./chunk-KGTZ6E7L.js";
|
|
137
|
+
import {
|
|
138
|
+
braveWallet
|
|
139
|
+
} from "./chunk-ABYQAXUX.js";
|
|
137
140
|
import {
|
|
138
141
|
bloomWallet
|
|
139
142
|
} from "./chunk-NTGZF5BY.js";
|
|
140
143
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
144
|
+
argentWallet
|
|
145
|
+
} from "./chunk-NZ5G23JP.js";
|
|
143
146
|
import "./chunk-ZOLACFTK.js";
|
|
144
147
|
import {
|
|
145
|
-
|
|
146
|
-
} from "./chunk-
|
|
147
|
-
import {
|
|
148
|
-
bybitWallet
|
|
149
|
-
} from "./chunk-ZUAHWUEL.js";
|
|
150
|
-
import "./chunk-ZDU3JFGR.js";
|
|
148
|
+
clvWallet
|
|
149
|
+
} from "./chunk-T6JVHES7.js";
|
|
151
150
|
import "./chunk-QII6PY2D.js";
|
|
151
|
+
import "./chunk-ZDU3JFGR.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|
|
154
154
|
bifrostWallet,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
metaMaskWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-XRMAVTK7.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-ZDU3JFGR.js";
|
|
7
6
|
import "../chunk-QII6PY2D.js";
|
|
7
|
+
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
metaMaskWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
okxWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-DV3SI63E.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-ZDU3JFGR.js";
|
|
7
6
|
import "../chunk-QII6PY2D.js";
|
|
7
|
+
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
okxWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
rainbowWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-RCWZ4KBR.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-ZDU3JFGR.js";
|
|
7
6
|
import "../chunk-QII6PY2D.js";
|
|
7
|
+
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
rainbowWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tokenPocketWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-7KDOXASH.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-ZDU3JFGR.js";
|
|
7
6
|
import "../chunk-QII6PY2D.js";
|
|
7
|
+
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
tokenPocketWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
trustWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CRSPGVPF.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-ZDU3JFGR.js";
|
|
7
6
|
import "../chunk-QII6PY2D.js";
|
|
7
|
+
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
trustWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
zerionWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-XNNLZXHE.js";
|
|
5
5
|
import "../chunk-ZOLACFTK.js";
|
|
6
|
-
import "../chunk-ZDU3JFGR.js";
|
|
7
6
|
import "../chunk-QII6PY2D.js";
|
|
7
|
+
import "../chunk-ZDU3JFGR.js";
|
|
8
8
|
export {
|
|
9
9
|
zerionWallet
|
|
10
10
|
};
|
package/package.json
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isIOS
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/dawnWallet/dawnWallet.ts
|
|
11
|
-
var dawnWallet = () => ({
|
|
12
|
-
id: "dawn",
|
|
13
|
-
name: "Dawn",
|
|
14
|
-
iconUrl: async () => (await import("./dawnWallet-MN7QMTX3.js")).default,
|
|
15
|
-
iconBackground: "#000000",
|
|
16
|
-
installed: hasInjectedProvider({ flag: "isDawn" }),
|
|
17
|
-
hidden: () => !isIOS(),
|
|
18
|
-
downloadUrls: {
|
|
19
|
-
ios: "https://apps.apple.com/us/app/dawn-ethereum-wallet/id1673143782",
|
|
20
|
-
mobile: "https://dawnwallet.xyz"
|
|
21
|
-
},
|
|
22
|
-
createConnector: getInjectedConnector({ flag: "isDawn" })
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
dawnWallet
|
|
27
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
hasInjectedProvider
|
|
4
|
-
} from "./chunk-QII6PY2D.js";
|
|
5
|
-
import {
|
|
6
|
-
isIOS
|
|
7
|
-
} from "./chunk-ZOLACFTK.js";
|
|
8
|
-
|
|
9
|
-
// src/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.ts
|
|
10
|
-
import { createConnector } from "wagmi";
|
|
11
|
-
import { coinbaseWallet as coinbaseWagmiWallet } from "wagmi/connectors";
|
|
12
|
-
var coinbaseWallet = ({
|
|
13
|
-
appName,
|
|
14
|
-
appIcon
|
|
15
|
-
}) => {
|
|
16
|
-
const isCoinbaseWalletInjected = hasInjectedProvider({
|
|
17
|
-
flag: "isCoinbaseWallet"
|
|
18
|
-
});
|
|
19
|
-
const getUri = (uri) => uri;
|
|
20
|
-
const ios = isIOS();
|
|
21
|
-
return {
|
|
22
|
-
id: "coinbase",
|
|
23
|
-
name: "Coinbase Wallet",
|
|
24
|
-
shortName: "Coinbase",
|
|
25
|
-
rdns: "com.coinbase.wallet",
|
|
26
|
-
iconUrl: async () => (await import("./coinbaseWallet-2OUR5TUP.js")).default,
|
|
27
|
-
iconAccent: "#2c5ff6",
|
|
28
|
-
iconBackground: "#2c5ff6",
|
|
29
|
-
installed: isCoinbaseWalletInjected || void 0,
|
|
30
|
-
downloadUrls: {
|
|
31
|
-
android: "https://play.google.com/store/apps/details?id=org.toshi",
|
|
32
|
-
ios: "https://apps.apple.com/us/app/coinbase-wallet-store-crypto/id1278383455",
|
|
33
|
-
mobile: "https://coinbase.com/wallet/downloads",
|
|
34
|
-
qrCode: "https://coinbase-wallet.onelink.me/q5Sx/fdb9b250",
|
|
35
|
-
chrome: "https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad",
|
|
36
|
-
browserExtension: "https://coinbase.com/wallet"
|
|
37
|
-
},
|
|
38
|
-
...ios ? {} : {
|
|
39
|
-
qrCode: {
|
|
40
|
-
getUri,
|
|
41
|
-
instructions: {
|
|
42
|
-
learnMoreUrl: "https://coinbase.com/wallet/articles/getting-started-mobile",
|
|
43
|
-
steps: [
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.coinbase.qr_code.step1.description",
|
|
46
|
-
step: "install",
|
|
47
|
-
title: "wallet_connectors.coinbase.qr_code.step1.title"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
description: "wallet_connectors.coinbase.qr_code.step2.description",
|
|
51
|
-
step: "create",
|
|
52
|
-
title: "wallet_connectors.coinbase.qr_code.step2.title"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
description: "wallet_connectors.coinbase.qr_code.step3.description",
|
|
56
|
-
step: "scan",
|
|
57
|
-
title: "wallet_connectors.coinbase.qr_code.step3.title"
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
extension: {
|
|
63
|
-
instructions: {
|
|
64
|
-
learnMoreUrl: "https://coinbase.com/wallet/articles/getting-started-extension",
|
|
65
|
-
steps: [
|
|
66
|
-
{
|
|
67
|
-
description: "wallet_connectors.coinbase.extension.step1.description",
|
|
68
|
-
step: "install",
|
|
69
|
-
title: "wallet_connectors.coinbase.extension.step1.title"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
description: "wallet_connectors.coinbase.extension.step2.description",
|
|
73
|
-
step: "create",
|
|
74
|
-
title: "wallet_connectors.coinbase.extension.step2.title"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
description: "wallet_connectors.coinbase.extension.step3.description",
|
|
78
|
-
step: "refresh",
|
|
79
|
-
title: "wallet_connectors.coinbase.extension.step3.title"
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
createConnector: (walletDetails) => createConnector((config) => ({
|
|
86
|
-
...coinbaseWagmiWallet({
|
|
87
|
-
appName,
|
|
88
|
-
appLogoUrl: appIcon,
|
|
89
|
-
headlessMode: true
|
|
90
|
-
})(config),
|
|
91
|
-
...walletDetails
|
|
92
|
-
}))
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
export {
|
|
97
|
-
coinbaseWallet
|
|
98
|
-
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-ZDU3JFGR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isMobile
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isMobile
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-ZDU3JFGR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isMobile
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isMobile
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-ZDU3JFGR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-ZDU3JFGR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-ZDU3JFGR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-ZDU3JFGR.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
2
|
import {
|
|
7
3
|
isAndroid,
|
|
8
4
|
isIOS
|
|
9
5
|
} from "./chunk-ZOLACFTK.js";
|
|
6
|
+
import {
|
|
7
|
+
getInjectedConnector,
|
|
8
|
+
hasInjectedProvider
|
|
9
|
+
} from "./chunk-QII6PY2D.js";
|
|
10
10
|
import {
|
|
11
11
|
getWalletConnectConnector
|
|
12
12
|
} from "./chunk-ZDU3JFGR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-ZDU3JFGR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isIOS
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isIOS
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-ZDU3JFGR.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
2
|
import {
|
|
7
3
|
isAndroid,
|
|
8
4
|
isIOS
|
|
9
5
|
} from "./chunk-ZOLACFTK.js";
|
|
6
|
+
import {
|
|
7
|
+
getInjectedConnector,
|
|
8
|
+
hasInjectedProvider
|
|
9
|
+
} from "./chunk-QII6PY2D.js";
|
|
10
10
|
import {
|
|
11
11
|
getWalletConnectConnector
|
|
12
12
|
} from "./chunk-ZDU3JFGR.js";
|