@funkit/connect 3.0.0-next.3 → 3.0.0-next.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 +16 -0
- package/dist/components/Dialog/Dialog.d.ts +2 -1
- package/dist/index.js +11 -7
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +2 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.js +2 -2
- package/dist/wallets/walletConnectors/chunk-A6MZY5ZZ.js +81 -0
- package/dist/wallets/walletConnectors/chunk-ARIYPPEC.js +92 -0
- package/dist/wallets/walletConnectors/chunk-BEAW5Y5M.js +60 -0
- package/dist/wallets/walletConnectors/chunk-PIZ2XVGH.js +60 -0
- package/dist/wallets/walletConnectors/chunk-RXUGTOMT.js +60 -0
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.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 +71 -71
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +2 -2
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.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 +4 -4
- package/dist/wallets/walletConnectors/{chunk-B7FHT3CB.js → chunk-3A3KT3GZ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ISJYPD3T.js → chunk-4HKPVECK.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-KL5Z3XHJ.js → chunk-4K3EKHXR.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-YIJ5ULO3.js → chunk-5MVCKMZT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-OHJBALD3.js → chunk-5NZLWT3Y.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2EMZOYQI.js → chunk-B5D7DYVV.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-L7QI6PBN.js → chunk-BUVITE4U.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-AXPQHNUI.js → chunk-FCP4ZXSK.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-X45WXZDO.js → chunk-HLH777AC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-LCOUKF2U.js → chunk-HMDUVRZP.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-5K4DIMYR.js → chunk-I4RN7PK4.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-DBP432DI.js → chunk-JSW2MDVV.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-EFIENLEE.js → chunk-JTOJ3GAD.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-AUVBWDIK.js → chunk-KDGMYRMC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-IEVZW3XR.js → chunk-N562TVO2.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ODRDT73B.js → chunk-P4ECTFIG.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-UZEMNN3Q.js → chunk-S6UDLDVQ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-5HXH52SO.js → chunk-VU6B3HMD.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-QP2BIVXD.js → chunk-WKNMWQZZ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-UWZQZY4S.js → chunk-YRK6XWL6.js} +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 3.0.0-next.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- v3 custom button switcher polishes
|
|
8
|
+
|
|
9
|
+
## 3.0.0-next.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- v3 updates
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
- @funkit/api-base@1.0.2-next.1
|
|
16
|
+
- @funkit/core@2.1.2-next.2
|
|
17
|
+
- @funkit/wagmi-tools@3.0.4-next.2
|
|
18
|
+
|
|
3
19
|
## 3.0.0-next.3
|
|
4
20
|
|
|
5
21
|
### Major Changes
|
|
@@ -16,7 +16,7 @@ interface DialogProps {
|
|
|
16
16
|
*/
|
|
17
17
|
export declare function Dialog({ children, onClose, open, titleId, isHidden, isSmartCloseable, }: DialogProps): React.JSX.Element;
|
|
18
18
|
export declare namespace Dialog {
|
|
19
|
-
var Title: ({ title, hasCloseButton, onClose, hasBackButton, onBack, backAnimation, skipBackDelay, countdownSeconds, countdownKey, delayCountdownReturnByBuffer, }: DialogTitleProps) => React.JSX.Element;
|
|
19
|
+
var Title: ({ title, hasCloseButton, onClose, hasBackButton, onBack, backAnimation, skipBackDelay, countdownSeconds, countdownKey, delayCountdownReturnByBuffer, dydxHideBack, }: DialogTitleProps) => React.JSX.Element;
|
|
20
20
|
var Content: ({ children, fullHeight, paddingLeft, className, withTopDivider, withBottomDivider, ...boxProps }: DialogContentProps) => React.JSX.Element;
|
|
21
21
|
var BottomSection: ({ paddingX, ...boxProps }: Omit<BoxProps, "children">) => React.JSX.Element;
|
|
22
22
|
var BottomBar: ({ topSection, actionButtonProps, bottomSection, }: import("../FunBottomBar/FunBottomBar").FunBottomBarProps) => React.JSX.Element;
|
|
@@ -39,5 +39,6 @@ export interface DialogTitleProps {
|
|
|
39
39
|
countdownSeconds?: number;
|
|
40
40
|
countdownKey?: string;
|
|
41
41
|
delayCountdownReturnByBuffer?: boolean;
|
|
42
|
+
dydxHideBack?: boolean;
|
|
42
43
|
}
|
|
43
44
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -2618,9 +2618,9 @@ var DialogBottom = ({
|
|
|
2618
2618
|
return /* @__PURE__ */ React27.createElement(Box, { paddingX, ...boxProps });
|
|
2619
2619
|
};
|
|
2620
2620
|
var DYDX_API = "NJq0CGrsE19xBbP1vHyBOp8xJvzYo9kayJHqDFP5";
|
|
2621
|
-
function useDydxHideBack(hasBackButton) {
|
|
2621
|
+
function useDydxHideBack(hasBackButton, dydxHideBack) {
|
|
2622
2622
|
const { apiKey } = useFunkitConfig();
|
|
2623
|
-
return apiKey === DYDX_API && !hasBackButton;
|
|
2623
|
+
return apiKey === DYDX_API && !hasBackButton && dydxHideBack;
|
|
2624
2624
|
}
|
|
2625
2625
|
var DialogTitle = ({
|
|
2626
2626
|
title,
|
|
@@ -2632,7 +2632,8 @@ var DialogTitle = ({
|
|
|
2632
2632
|
skipBackDelay = false,
|
|
2633
2633
|
countdownSeconds,
|
|
2634
2634
|
countdownKey,
|
|
2635
|
-
delayCountdownReturnByBuffer = false
|
|
2635
|
+
delayCountdownReturnByBuffer = false,
|
|
2636
|
+
dydxHideBack
|
|
2636
2637
|
}) => {
|
|
2637
2638
|
const hasTimeLeft = countdownSeconds !== void 0 && countdownSeconds > 0;
|
|
2638
2639
|
const [isCountdownVisible, setIsCountdownVisible] = useState7(hasTimeLeft);
|
|
@@ -2654,7 +2655,7 @@ var DialogTitle = ({
|
|
|
2654
2655
|
useEffect10(() => {
|
|
2655
2656
|
setIsCountdownVisible(hasTimeLeft);
|
|
2656
2657
|
}, [hasTimeLeft, countdownKey]);
|
|
2657
|
-
const hideAllBackSection = useDydxHideBack(hasBackButton);
|
|
2658
|
+
const hideAllBackSection = useDydxHideBack(hasBackButton, !!dydxHideBack);
|
|
2658
2659
|
return /* @__PURE__ */ React27.createElement(
|
|
2659
2660
|
Box,
|
|
2660
2661
|
{
|
|
@@ -12294,6 +12295,7 @@ function DydxSwitchTab({
|
|
|
12294
12295
|
/* @__PURE__ */ React130.createElement(
|
|
12295
12296
|
Box,
|
|
12296
12297
|
{
|
|
12298
|
+
width: "half",
|
|
12297
12299
|
borderRadius: "10",
|
|
12298
12300
|
borderWidth: "2",
|
|
12299
12301
|
borderStyle: "solid",
|
|
@@ -12310,10 +12312,11 @@ function DydxSwitchTab({
|
|
|
12310
12312
|
/* @__PURE__ */ React130.createElement(
|
|
12311
12313
|
Box,
|
|
12312
12314
|
{
|
|
12313
|
-
|
|
12315
|
+
width: "half",
|
|
12314
12316
|
paddingLeft: "16",
|
|
12315
12317
|
paddingRight: "12",
|
|
12316
12318
|
paddingY: "12",
|
|
12319
|
+
cursor: "pointer",
|
|
12317
12320
|
onClick: onSwitch
|
|
12318
12321
|
},
|
|
12319
12322
|
/* @__PURE__ */ React130.createElement(Text, { color: "tertiaryText", style: { float: "right" } }, Standard),
|
|
@@ -16134,7 +16137,8 @@ function FunCheckoutModal({
|
|
|
16134
16137
|
onClose: onCloseWrapper,
|
|
16135
16138
|
countdownSeconds: checkoutStep === "confirmation" /* CONFIRMATION */ ? countdown : 0,
|
|
16136
16139
|
countdownKey: countdownKey.toString(),
|
|
16137
|
-
delayCountdownReturnByBuffer: true
|
|
16140
|
+
delayCountdownReturnByBuffer: true,
|
|
16141
|
+
dydxHideBack: checkoutStep === "input_amount" /* INPUT_AMOUNT */
|
|
16138
16142
|
}
|
|
16139
16143
|
),
|
|
16140
16144
|
/* @__PURE__ */ React167.createElement(
|
|
@@ -18355,7 +18359,7 @@ function setFunkitConnectVersion({ version }) {
|
|
|
18355
18359
|
localStorage.setItem(storageKey5, version);
|
|
18356
18360
|
}
|
|
18357
18361
|
function getCurrentSdkVersion() {
|
|
18358
|
-
return "3.0.0-next.
|
|
18362
|
+
return "3.0.0-next.5";
|
|
18359
18363
|
}
|
|
18360
18364
|
function useFingerprint() {
|
|
18361
18365
|
const fingerprint = useCallback33(() => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bifrostWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-RETKWSKD.js";
|
|
4
|
+
} from "../chunk-FCP4ZXSK.js";
|
|
6
5
|
import "../chunk-23WIEY36.js";
|
|
7
6
|
import "../chunk-WRA2DVJ7.js";
|
|
7
|
+
import "../chunk-RETKWSKD.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-
|
|
5
|
-
import "../chunk-RETKWSKD.js";
|
|
4
|
+
} from "../chunk-N562TVO2.js";
|
|
6
5
|
import "../chunk-23WIEY36.js";
|
|
7
6
|
import "../chunk-WRA2DVJ7.js";
|
|
7
|
+
import "../chunk-RETKWSKD.js";
|
|
8
8
|
export {
|
|
9
9
|
bitgetWallet
|
|
10
10
|
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector
|
|
4
|
+
} from "./chunk-23WIEY36.js";
|
|
5
|
+
import {
|
|
6
|
+
isMobile
|
|
7
|
+
} from "./chunk-RETKWSKD.js";
|
|
8
|
+
|
|
9
|
+
// src/wallets/walletConnectors/bloomWallet/bloomWallet.ts
|
|
10
|
+
var bloomWallet = ({
|
|
11
|
+
projectId,
|
|
12
|
+
walletConnectParameters
|
|
13
|
+
}) => ({
|
|
14
|
+
id: "bloomWallet",
|
|
15
|
+
name: "Bloom Wallet",
|
|
16
|
+
iconBackground: "#000",
|
|
17
|
+
iconAccent: "#000",
|
|
18
|
+
hidden: () => isMobile(),
|
|
19
|
+
iconUrl: async () => (await import("./bloomWallet-MXLAOWS6.js")).default,
|
|
20
|
+
downloadUrls: {
|
|
21
|
+
qrCode: "https://bloomwallet.io/",
|
|
22
|
+
windows: "https://bloomwallet.io/",
|
|
23
|
+
macos: "https://bloomwallet.io/",
|
|
24
|
+
linux: "https://bloomwallet.io/",
|
|
25
|
+
desktop: "https://bloomwallet.io/"
|
|
26
|
+
},
|
|
27
|
+
qrCode: {
|
|
28
|
+
getUri: (uri) => `bloom://wallet-connect/wc?uri=${encodeURIComponent(uri)}`,
|
|
29
|
+
instructions: {
|
|
30
|
+
learnMoreUrl: "https://bloomwallet.io/",
|
|
31
|
+
steps: [
|
|
32
|
+
{
|
|
33
|
+
description: "wallet_connectors.bloom.qr_code.step1.description",
|
|
34
|
+
step: "install",
|
|
35
|
+
title: "wallet_connectors.bloom.qr_code.step1.title"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
description: "wallet_connectors.bloom.qr_code.step2.description",
|
|
39
|
+
step: "create",
|
|
40
|
+
title: "wallet_connectors.bloom.qr_code.step2.title"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
description: "wallet_connectors.bloom.qr_code.step3.description",
|
|
44
|
+
step: "refresh",
|
|
45
|
+
title: "wallet_connectors.bloom.qr_code.step3.title"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
desktop: {
|
|
51
|
+
getUri: (uri) => `bloom://wallet-connect/wc?uri=${encodeURIComponent(uri)}`,
|
|
52
|
+
instructions: {
|
|
53
|
+
learnMoreUrl: "https://bloomwallet.io/",
|
|
54
|
+
steps: [
|
|
55
|
+
{
|
|
56
|
+
description: "wallet_connectors.bloom.desktop.step1.description",
|
|
57
|
+
step: "install",
|
|
58
|
+
title: "wallet_connectors.bloom.desktop.step1.title"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
description: "wallet_connectors.bloom.desktop.step2.description",
|
|
62
|
+
step: "create",
|
|
63
|
+
title: "wallet_connectors.bloom.desktop.step2.title"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
description: "wallet_connectors.bloom.desktop.step3.description",
|
|
67
|
+
step: "refresh",
|
|
68
|
+
title: "wallet_connectors.bloom.desktop.step3.title"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
createConnector: getWalletConnectConnector({
|
|
74
|
+
projectId,
|
|
75
|
+
walletConnectParameters
|
|
76
|
+
})
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
export {
|
|
80
|
+
bloomWallet
|
|
81
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector
|
|
4
|
+
} from "./chunk-23WIEY36.js";
|
|
5
|
+
import {
|
|
6
|
+
isAndroid
|
|
7
|
+
} from "./chunk-RETKWSKD.js";
|
|
8
|
+
|
|
9
|
+
// src/wallets/walletConnectors/ledgerWallet/ledgerWallet.ts
|
|
10
|
+
var ledgerWallet = ({
|
|
11
|
+
projectId,
|
|
12
|
+
walletConnectParameters
|
|
13
|
+
}) => ({
|
|
14
|
+
id: "ledger",
|
|
15
|
+
iconBackground: "#000",
|
|
16
|
+
iconAccent: "#000",
|
|
17
|
+
name: "Ledger",
|
|
18
|
+
iconUrl: async () => (await import("./ledgerWallet-KZKJ5Q2S.js")).default,
|
|
19
|
+
downloadUrls: {
|
|
20
|
+
android: "https://play.google.com/store/apps/details?id=com.ledger.live",
|
|
21
|
+
ios: "https://apps.apple.com/us/app/ledger-live-web3-wallet/id1361671700",
|
|
22
|
+
mobile: "https://www.ledger.com/ledger-live",
|
|
23
|
+
qrCode: "https://r354.adj.st/?adj_t=t2esmlk",
|
|
24
|
+
windows: "https://www.ledger.com/ledger-live/download",
|
|
25
|
+
macos: "https://www.ledger.com/ledger-live/download",
|
|
26
|
+
linux: "https://www.ledger.com/ledger-live/download",
|
|
27
|
+
desktop: "https://www.ledger.com/ledger-live"
|
|
28
|
+
},
|
|
29
|
+
mobile: {
|
|
30
|
+
getUri: (uri) => {
|
|
31
|
+
return isAndroid() ? uri : `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
desktop: {
|
|
35
|
+
getUri: (uri) => {
|
|
36
|
+
return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
37
|
+
},
|
|
38
|
+
instructions: {
|
|
39
|
+
learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
|
|
40
|
+
steps: [
|
|
41
|
+
{
|
|
42
|
+
description: "wallet_connectors.ledger.desktop.step1.description",
|
|
43
|
+
step: "install",
|
|
44
|
+
title: "wallet_connectors.ledger.desktop.step1.title"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
description: "wallet_connectors.ledger.desktop.step2.description",
|
|
48
|
+
step: "create",
|
|
49
|
+
title: "wallet_connectors.ledger.desktop.step2.title"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
description: "wallet_connectors.ledger.desktop.step3.description",
|
|
53
|
+
step: "connect",
|
|
54
|
+
title: "wallet_connectors.ledger.desktop.step3.title"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
qrCode: {
|
|
60
|
+
getUri: (uri) => {
|
|
61
|
+
return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
62
|
+
},
|
|
63
|
+
instructions: {
|
|
64
|
+
learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
|
|
65
|
+
steps: [
|
|
66
|
+
{
|
|
67
|
+
description: "wallet_connectors.ledger.qr_code.step1.description",
|
|
68
|
+
step: "install",
|
|
69
|
+
title: "wallet_connectors.ledger.qr_code.step1.title"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
description: "wallet_connectors.ledger.qr_code.step2.description",
|
|
73
|
+
step: "create",
|
|
74
|
+
title: "wallet_connectors.ledger.qr_code.step2.title"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
description: "wallet_connectors.ledger.qr_code.step3.description",
|
|
78
|
+
step: "scan",
|
|
79
|
+
title: "wallet_connectors.ledger.qr_code.step3.title"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
createConnector: getWalletConnectConnector({
|
|
85
|
+
projectId,
|
|
86
|
+
walletConnectParameters
|
|
87
|
+
})
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
export {
|
|
91
|
+
ledgerWallet
|
|
92
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector
|
|
4
|
+
} from "./chunk-23WIEY36.js";
|
|
5
|
+
import {
|
|
6
|
+
isAndroid
|
|
7
|
+
} from "./chunk-RETKWSKD.js";
|
|
8
|
+
|
|
9
|
+
// src/wallets/walletConnectors/argentWallet/argentWallet.ts
|
|
10
|
+
var argentWallet = ({
|
|
11
|
+
projectId,
|
|
12
|
+
walletConnectParameters
|
|
13
|
+
}) => ({
|
|
14
|
+
id: "argent",
|
|
15
|
+
name: "Argent",
|
|
16
|
+
iconUrl: async () => (await import("./argentWallet-M6SBG4CU.js")).default,
|
|
17
|
+
iconBackground: "#fff",
|
|
18
|
+
downloadUrls: {
|
|
19
|
+
android: "https://play.google.com/store/apps/details?id=im.argent.contractwalletclient",
|
|
20
|
+
ios: "https://apps.apple.com/us/app/argent/id1358741926",
|
|
21
|
+
mobile: "https://argent.xyz/download-argent",
|
|
22
|
+
qrCode: "https://argent.link/app"
|
|
23
|
+
},
|
|
24
|
+
mobile: {
|
|
25
|
+
getUri: (uri) => {
|
|
26
|
+
return isAndroid() ? uri : `argent://app/wc?uri=${encodeURIComponent(uri)}`;
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
qrCode: {
|
|
30
|
+
getUri: (uri) => uri,
|
|
31
|
+
instructions: {
|
|
32
|
+
learnMoreUrl: "https://argent.xyz/learn/what-is-a-crypto-wallet/",
|
|
33
|
+
steps: [
|
|
34
|
+
{
|
|
35
|
+
description: "wallet_connectors.argent.qr_code.step1.description",
|
|
36
|
+
step: "install",
|
|
37
|
+
title: "wallet_connectors.argent.qr_code.step1.title"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
description: "wallet_connectors.argent.qr_code.step2.description",
|
|
41
|
+
step: "create",
|
|
42
|
+
title: "wallet_connectors.argent.qr_code.step2.title"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
description: "wallet_connectors.argent.qr_code.step3.description",
|
|
46
|
+
step: "scan",
|
|
47
|
+
title: "wallet_connectors.argent.qr_code.step3.title"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
createConnector: getWalletConnectConnector({
|
|
53
|
+
projectId,
|
|
54
|
+
walletConnectParameters
|
|
55
|
+
})
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export {
|
|
59
|
+
argentWallet
|
|
60
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector
|
|
4
|
+
} from "./chunk-23WIEY36.js";
|
|
5
|
+
import {
|
|
6
|
+
isAndroid
|
|
7
|
+
} from "./chunk-RETKWSKD.js";
|
|
8
|
+
|
|
9
|
+
// src/wallets/walletConnectors/omniWallet/omniWallet.ts
|
|
10
|
+
var omniWallet = ({
|
|
11
|
+
projectId,
|
|
12
|
+
walletConnectParameters
|
|
13
|
+
}) => ({
|
|
14
|
+
id: "omni",
|
|
15
|
+
name: "Omni",
|
|
16
|
+
iconUrl: async () => (await import("./omniWallet-DEYUMT4A.js")).default,
|
|
17
|
+
iconBackground: "#000",
|
|
18
|
+
downloadUrls: {
|
|
19
|
+
android: "https://play.google.com/store/apps/details?id=fi.steakwallet.app",
|
|
20
|
+
ios: "https://itunes.apple.com/us/app/id1569375204",
|
|
21
|
+
mobile: "https://omniwallet.app.link",
|
|
22
|
+
qrCode: "https://omniwallet.app.link"
|
|
23
|
+
},
|
|
24
|
+
mobile: {
|
|
25
|
+
getUri: (uri) => {
|
|
26
|
+
return isAndroid() ? uri : `omni://wc?uri=${encodeURIComponent(uri)}`;
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
qrCode: {
|
|
30
|
+
getUri: (uri) => uri,
|
|
31
|
+
instructions: {
|
|
32
|
+
learnMoreUrl: "https://omni.app/support",
|
|
33
|
+
steps: [
|
|
34
|
+
{
|
|
35
|
+
description: "wallet_connectors.omni.qr_code.step1.description",
|
|
36
|
+
step: "install",
|
|
37
|
+
title: "wallet_connectors.omni.qr_code.step1.title"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
description: "wallet_connectors.omni.qr_code.step2.description",
|
|
41
|
+
step: "create",
|
|
42
|
+
title: "wallet_connectors.omni.qr_code.step2.title"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
description: "wallet_connectors.omni.qr_code.step3.description",
|
|
46
|
+
step: "scan",
|
|
47
|
+
title: "wallet_connectors.omni.qr_code.step3.title"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
createConnector: getWalletConnectConnector({
|
|
53
|
+
projectId,
|
|
54
|
+
walletConnectParameters
|
|
55
|
+
})
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export {
|
|
59
|
+
omniWallet
|
|
60
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector
|
|
4
|
+
} from "./chunk-23WIEY36.js";
|
|
5
|
+
import {
|
|
6
|
+
isAndroid
|
|
7
|
+
} from "./chunk-RETKWSKD.js";
|
|
8
|
+
|
|
9
|
+
// src/wallets/walletConnectors/oktoWallet/oktoWallet.ts
|
|
10
|
+
var oktoWallet = ({
|
|
11
|
+
projectId,
|
|
12
|
+
walletConnectParameters
|
|
13
|
+
}) => ({
|
|
14
|
+
id: "Okto",
|
|
15
|
+
name: "Okto",
|
|
16
|
+
iconUrl: async () => (await import("./oktoWallet-GJFOPPEA.js")).default,
|
|
17
|
+
iconBackground: "#fff",
|
|
18
|
+
downloadUrls: {
|
|
19
|
+
android: "https://play.google.com/store/apps/details?id=im.okto.contractwalletclient",
|
|
20
|
+
ios: "https://apps.apple.com/in/app/okto-wallet/id6450688229",
|
|
21
|
+
mobile: "https://okto.tech/",
|
|
22
|
+
qrCode: "https://okto.tech/"
|
|
23
|
+
},
|
|
24
|
+
mobile: {
|
|
25
|
+
getUri: (uri) => {
|
|
26
|
+
return isAndroid() ? uri : `okto://wc?uri=${encodeURIComponent(uri)}`;
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
qrCode: {
|
|
30
|
+
getUri: (uri) => uri,
|
|
31
|
+
instructions: {
|
|
32
|
+
learnMoreUrl: "https://okto.tech/",
|
|
33
|
+
steps: [
|
|
34
|
+
{
|
|
35
|
+
description: "wallet_connectors.okto.qr_code.step1.description",
|
|
36
|
+
step: "install",
|
|
37
|
+
title: "wallet_connectors.okto.qr_code.step1.title"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
description: "wallet_connectors.okto.qr_code.step2.description",
|
|
41
|
+
step: "create",
|
|
42
|
+
title: "wallet_connectors.okto.qr_code.step2.title"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
description: "wallet_connectors.okto.qr_code.step3.description",
|
|
46
|
+
step: "scan",
|
|
47
|
+
title: "wallet_connectors.okto.qr_code.step3.title"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
createConnector: getWalletConnectConnector({
|
|
53
|
+
projectId,
|
|
54
|
+
walletConnectParameters
|
|
55
|
+
})
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export {
|
|
59
|
+
oktoWallet
|
|
60
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
frontierWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-RETKWSKD.js";
|
|
4
|
+
} from "../chunk-JTOJ3GAD.js";
|
|
6
5
|
import "../chunk-23WIEY36.js";
|
|
7
6
|
import "../chunk-WRA2DVJ7.js";
|
|
7
|
+
import "../chunk-RETKWSKD.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-
|
|
5
|
-
import "../chunk-RETKWSKD.js";
|
|
4
|
+
} from "../chunk-3A3KT3GZ.js";
|
|
6
5
|
import "../chunk-23WIEY36.js";
|
|
7
6
|
import "../chunk-WRA2DVJ7.js";
|
|
7
|
+
import "../chunk-RETKWSKD.js";
|
|
8
8
|
export {
|
|
9
9
|
gateWallet
|
|
10
10
|
};
|