@dogeos/dogeos-sdk 1.0.6-beta.3 → 2.0.0-beta.4
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/dist/components/AccountModal/AccountModal.d.ts +1 -1
- package/dist/components/AccountModal/AccountModal.d.ts.map +1 -1
- package/dist/components/ConnectModal/socialLoginTypeSL.d.ts +1 -1
- package/dist/components/ConnectModal/socialLoginTypeSL.d.ts.map +1 -1
- package/dist/index.js +14 -14
- package/dist/wallets/walletConnectors/berasigWallet/berasigWallet.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/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/chunk-23BTDHWT.js +68 -0
- package/dist/wallets/walletConnectors/chunk-3RV2PDNU.js +90 -0
- package/dist/wallets/walletConnectors/chunk-5AA45G6G.js +68 -0
- package/dist/wallets/walletConnectors/chunk-5Z7ZXXRR.js +98 -0
- package/dist/wallets/walletConnectors/chunk-BH3DH43L.js +92 -0
- package/dist/wallets/walletConnectors/chunk-C77FT77Y.js +93 -0
- package/dist/wallets/walletConnectors/chunk-DSSAT3NI.js +99 -0
- package/dist/wallets/walletConnectors/chunk-EU6OLW4A.js +95 -0
- package/dist/wallets/walletConnectors/chunk-FWKF7LPD.js +107 -0
- package/dist/wallets/walletConnectors/chunk-HKLLWUHG.js +63 -0
- package/dist/wallets/walletConnectors/chunk-IQZBD6M4.js +63 -0
- package/dist/wallets/walletConnectors/chunk-JY4IF5AQ.js +84 -0
- package/dist/wallets/walletConnectors/chunk-LKBXEGOJ.js +92 -0
- package/dist/wallets/walletConnectors/chunk-MD4POIVS.js +93 -0
- package/dist/wallets/walletConnectors/chunk-NBPDTYTT.js +93 -0
- package/dist/wallets/walletConnectors/chunk-OP7MZATO.js +100 -0
- package/dist/wallets/walletConnectors/chunk-PE2OUMNV.js +91 -0
- package/dist/wallets/walletConnectors/chunk-PTIPKDP7.js +143 -0
- package/dist/wallets/walletConnectors/chunk-RQLI2RTW.js +105 -0
- package/dist/wallets/walletConnectors/chunk-U37MS2YB.js +88 -0
- package/dist/wallets/walletConnectors/chunk-VFRUWZVT.js +62 -0
- package/dist/wallets/walletConnectors/chunk-XAQXLPKN.js +90 -0
- package/dist/wallets/walletConnectors/chunk-XVUM5YFT.js +93 -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 +32 -32
- package/dist/wallets/walletConnectors/iopayWallet/iopayWallet.js +2 -2
- package/dist/wallets/walletConnectors/kaiaWallet/kaiaWallet.js +2 -2
- package/dist/wallets/walletConnectors/kaikasWallet/kaikasWallet.js +2 -2
- 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/zealWallet/zealWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +4 -4
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isMobile
|
|
4
|
+
} from "./chunk-RETKWSKD.js";
|
|
5
|
+
import {
|
|
6
|
+
getInjectedConnector,
|
|
7
|
+
hasInjectedProvider
|
|
8
|
+
} from "./chunk-PJCRXY6L.js";
|
|
9
|
+
import {
|
|
10
|
+
getWalletConnectConnector
|
|
11
|
+
} from "./chunk-75A5A7MH.js";
|
|
12
|
+
|
|
13
|
+
// src/wallets/walletConnectors/trustWallet/trustWallet.ts
|
|
14
|
+
var trustWallet = ({ projectId, walletConnectParameters }) => {
|
|
15
|
+
const isTrustWalletInjected = isMobile() ? hasInjectedProvider({ flag: "isTrust" }) : hasInjectedProvider({ flag: "isTrustWallet" });
|
|
16
|
+
const shouldUseWalletConnect = !isTrustWalletInjected;
|
|
17
|
+
const getUriMobile = (uri) => {
|
|
18
|
+
return `trust://wc?uri=${encodeURIComponent(uri)}`;
|
|
19
|
+
};
|
|
20
|
+
const getUriQR = (uri) => {
|
|
21
|
+
return uri;
|
|
22
|
+
};
|
|
23
|
+
const mobileConnector = {
|
|
24
|
+
getUri: shouldUseWalletConnect ? getUriMobile : void 0
|
|
25
|
+
};
|
|
26
|
+
let qrConnector = void 0;
|
|
27
|
+
if (shouldUseWalletConnect) {
|
|
28
|
+
qrConnector = {
|
|
29
|
+
getUri: getUriQR,
|
|
30
|
+
instructions: {
|
|
31
|
+
learnMoreUrl: "https://trustwallet.com/",
|
|
32
|
+
steps: [
|
|
33
|
+
{
|
|
34
|
+
description: "wallet_connectors.trust.qr_code.step1.description",
|
|
35
|
+
step: "install",
|
|
36
|
+
title: "wallet_connectors.trust.qr_code.step1.title"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
description: "wallet_connectors.trust.qr_code.step2.description",
|
|
40
|
+
step: "create",
|
|
41
|
+
title: "wallet_connectors.trust.qr_code.step2.title"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
description: "wallet_connectors.trust.qr_code.step3.description",
|
|
45
|
+
step: "scan",
|
|
46
|
+
title: "wallet_connectors.trust.qr_code.step3.title"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
const extensionConnector = {
|
|
53
|
+
instructions: {
|
|
54
|
+
learnMoreUrl: "https://trustwallet.com/browser-extension",
|
|
55
|
+
steps: [
|
|
56
|
+
{
|
|
57
|
+
description: "wallet_connectors.trust.extension.step1.description",
|
|
58
|
+
step: "install",
|
|
59
|
+
title: "wallet_connectors.trust.extension.step1.title"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
description: "wallet_connectors.trust.extension.step2.description",
|
|
63
|
+
step: "create",
|
|
64
|
+
title: "wallet_connectors.trust.extension.step2.title"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
description: "wallet_connectors.trust.extension.step3.description",
|
|
68
|
+
step: "refresh",
|
|
69
|
+
title: "wallet_connectors.trust.extension.step3.title"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
return {
|
|
75
|
+
id: "trust",
|
|
76
|
+
name: "Trust Wallet",
|
|
77
|
+
rdns: "com.trustwallet.app",
|
|
78
|
+
iconUrl: async () => (await import("./trustWallet-E2GVGE4U.js")).default,
|
|
79
|
+
// Note that we never resolve `installed` to `false` because the
|
|
80
|
+
// Trust Wallet provider falls back to other connection methods if
|
|
81
|
+
// the injected connector isn't available
|
|
82
|
+
installed: isTrustWalletInjected || void 0,
|
|
83
|
+
iconAccent: "#3375BB",
|
|
84
|
+
iconBackground: "#fff",
|
|
85
|
+
downloadUrls: {
|
|
86
|
+
android: "https://play.google.com/store/apps/details?id=com.wallet.crypto.trustapp",
|
|
87
|
+
ios: "https://apps.apple.com/us/app/trust-crypto-bitcoin-wallet/id1288339409",
|
|
88
|
+
mobile: "https://trustwallet.com/download",
|
|
89
|
+
qrCode: "https://trustwallet.com/download",
|
|
90
|
+
chrome: "https://chrome.google.com/webstore/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph",
|
|
91
|
+
browserExtension: "https://trustwallet.com/browser-extension"
|
|
92
|
+
},
|
|
93
|
+
mobile: mobileConnector,
|
|
94
|
+
qrCode: qrConnector,
|
|
95
|
+
extension: extensionConnector,
|
|
96
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
97
|
+
projectId,
|
|
98
|
+
walletConnectParameters
|
|
99
|
+
}) : isMobile() ? getInjectedConnector({ flag: "isTrust" }) : getInjectedConnector({ flag: "isTrustWallet" })
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
export {
|
|
104
|
+
trustWallet
|
|
105
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-PJCRXY6L.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-75A5A7MH.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/zealWallet/zealWallet.ts
|
|
11
|
+
var zealWallet = ({ projectId, walletConnectParameters }) => {
|
|
12
|
+
const isZealWalletInjected = hasInjectedProvider({ flag: "isZeal" });
|
|
13
|
+
const shouldUseWalletConnect = !isZealWalletInjected;
|
|
14
|
+
return {
|
|
15
|
+
id: "zeal",
|
|
16
|
+
name: "Zeal",
|
|
17
|
+
rdns: "app.zeal",
|
|
18
|
+
iconUrl: async () => (await import("./zealWallet-URNQ2AWF.js")).default,
|
|
19
|
+
iconBackground: "#fff0",
|
|
20
|
+
iconAccent: "#00FFFF",
|
|
21
|
+
downloadUrls: {
|
|
22
|
+
browserExtension: "https://zeal.app",
|
|
23
|
+
chrome: "https://chromewebstore.google.com/detail/zeal-wallet/heamnjbnflcikcggoiplibfommfbkjpj",
|
|
24
|
+
android: "https://play.google.com/store/apps/details?id=app.zeal.wallet",
|
|
25
|
+
ios: "https://testflight.apple.com/join/MP72Ytw8",
|
|
26
|
+
mobile: "https://zeal.app",
|
|
27
|
+
qrCode: "https://zeal.app"
|
|
28
|
+
},
|
|
29
|
+
mobile: {
|
|
30
|
+
getUri: shouldUseWalletConnect ? (uri) => {
|
|
31
|
+
return `zeal://wc?uri=${encodeURIComponent(uri)}`;
|
|
32
|
+
} : void 0
|
|
33
|
+
},
|
|
34
|
+
qrCode: shouldUseWalletConnect ? {
|
|
35
|
+
getUri: (uri) => uri,
|
|
36
|
+
instructions: {
|
|
37
|
+
learnMoreUrl: "https://zeal.app",
|
|
38
|
+
steps: [
|
|
39
|
+
{
|
|
40
|
+
description: "wallet_connectors.zeal.qr_code.step1.description",
|
|
41
|
+
step: "install",
|
|
42
|
+
title: "wallet_connectors.zeal.qr_code.step1.title"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
description: "wallet_connectors.zeal.qr_code.step2.description",
|
|
46
|
+
step: "create",
|
|
47
|
+
title: "wallet_connectors.zeal.qr_code.step2.title"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
description: "wallet_connectors.zeal.qr_code.step3.description",
|
|
51
|
+
step: "scan",
|
|
52
|
+
title: "wallet_connectors.zeal.qr_code.step3.title"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
} : void 0,
|
|
57
|
+
extension: {
|
|
58
|
+
instructions: {
|
|
59
|
+
learnMoreUrl: "https://zeal.app",
|
|
60
|
+
steps: [
|
|
61
|
+
{
|
|
62
|
+
description: "wallet_connectors.zeal.extension.step1.description",
|
|
63
|
+
step: "install",
|
|
64
|
+
title: "wallet_connectors.zeal.extension.step1.title"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
description: "wallet_connectors.zeal.extension.step2.description",
|
|
68
|
+
step: "create",
|
|
69
|
+
title: "wallet_connectors.zeal.extension.step2.title"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
description: "wallet_connectors.zeal.extension.step3.description",
|
|
73
|
+
step: "refresh",
|
|
74
|
+
title: "wallet_connectors.zeal.extension.step3.title"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
80
|
+
projectId,
|
|
81
|
+
walletConnectParameters
|
|
82
|
+
}) : getInjectedConnector({ flag: "isZeal" })
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export {
|
|
87
|
+
zealWallet
|
|
88
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-PJCRXY6L.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-75A5A7MH.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/berasigWallet/berasigWallet.ts
|
|
11
|
+
var berasigWallet = ({ projectId, walletConnectParameters }) => {
|
|
12
|
+
const isBerasigWalletInjected = hasInjectedProvider({
|
|
13
|
+
namespace: "berasig.ethereum"
|
|
14
|
+
});
|
|
15
|
+
const shouldUseWalletConnect = !isBerasigWalletInjected;
|
|
16
|
+
return {
|
|
17
|
+
id: "berasig",
|
|
18
|
+
name: "BeraSig",
|
|
19
|
+
iconUrl: async () => (await import("./berasigWallet-NNBFDHFK.js")).default,
|
|
20
|
+
iconBackground: "#ffffff",
|
|
21
|
+
installed: isBerasigWalletInjected,
|
|
22
|
+
downloadUrls: {
|
|
23
|
+
android: "https://play.google.com/store/apps/details?id=io.berasig.ios",
|
|
24
|
+
ios: "https://apps.apple.com/us/app/berasig-wallet-on-berachain/id6502052535",
|
|
25
|
+
qrCode: "https://berasig.com",
|
|
26
|
+
mobile: "https://berasig.com",
|
|
27
|
+
browserExtension: "https://chromewebstore.google.com/detail/berasig/ckedkkegjbflcfblcjklibnedmfjppbj"
|
|
28
|
+
},
|
|
29
|
+
extension: {
|
|
30
|
+
instructions: {
|
|
31
|
+
steps: [
|
|
32
|
+
{
|
|
33
|
+
description: "wallet_connectors.berasig.extension.step1.description",
|
|
34
|
+
step: "install",
|
|
35
|
+
title: "wallet_connectors.berasig.extension.step1.title"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
description: "wallet_connectors.berasig.extension.step2.description",
|
|
39
|
+
step: "create",
|
|
40
|
+
title: "wallet_connectors.berasig.extension.step2.title"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
description: "wallet_connectors.berasig.extension.step3.description",
|
|
44
|
+
step: "refresh",
|
|
45
|
+
title: "wallet_connectors.berasig.extension.step3.title"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
learnMoreUrl: "https://berasig.com"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
52
|
+
projectId,
|
|
53
|
+
walletConnectParameters
|
|
54
|
+
}) : getInjectedConnector({
|
|
55
|
+
namespace: "berasig.ethereum"
|
|
56
|
+
})
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
berasigWallet
|
|
62
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-PJCRXY6L.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-75A5A7MH.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/kaikasWallet/kaikasWallet.ts
|
|
11
|
+
var kaikasWallet = ({ projectId, walletConnectParameters }) => {
|
|
12
|
+
const isKaikasWalletInjected = hasInjectedProvider({
|
|
13
|
+
namespace: "klaytn"
|
|
14
|
+
});
|
|
15
|
+
const shouldUseWalletConnect = !isKaikasWalletInjected;
|
|
16
|
+
const getUri = (uri) => {
|
|
17
|
+
return `kaikas://walletconnect?uri=${encodeURIComponent(uri)}`;
|
|
18
|
+
};
|
|
19
|
+
return {
|
|
20
|
+
id: "kaikas",
|
|
21
|
+
name: "Kaikas Wallet",
|
|
22
|
+
iconUrl: async () => (await import("./kaikasWallet-F6Z6IPWN.js")).default,
|
|
23
|
+
installed: isKaikasWalletInjected || void 0,
|
|
24
|
+
iconBackground: "#fff",
|
|
25
|
+
downloadUrls: {
|
|
26
|
+
chrome: "https://chromewebstore.google.com/detail/kaikas/jblndlipeogpafnldhgmapagcccfchpi",
|
|
27
|
+
browserExtension: "https://app.kaikas.io",
|
|
28
|
+
qrCode: "https://app.kaikas.io",
|
|
29
|
+
ios: "https://apps.apple.com/us/app/kaikas-mobile-crypto-wallet/id1626107061",
|
|
30
|
+
android: "https://play.google.com/store/apps/details?id=io.klutch.wallet",
|
|
31
|
+
mobile: "https://app.kaikas.io"
|
|
32
|
+
},
|
|
33
|
+
mobile: { getUri: shouldUseWalletConnect ? getUri : void 0 },
|
|
34
|
+
qrCode: shouldUseWalletConnect ? {
|
|
35
|
+
getUri: (uri) => uri,
|
|
36
|
+
instructions: {
|
|
37
|
+
learnMoreUrl: "https://kaikas.io",
|
|
38
|
+
steps: [
|
|
39
|
+
{
|
|
40
|
+
description: "wallet_connectors.kaikas.qr_code.step1.description",
|
|
41
|
+
step: "install",
|
|
42
|
+
title: "wallet_connectors.kaikas.qr_code.step1.title"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
description: "wallet_connectors.kaikas.qr_code.step2.description",
|
|
46
|
+
step: "create",
|
|
47
|
+
title: "wallet_connectors.kaikas.qr_code.step2.title"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
description: "wallet_connectors.kaikas.qr_code.step3.description",
|
|
51
|
+
step: "refresh",
|
|
52
|
+
title: "wallet_connectors.kaikas.qr_code.step3.title"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
} : void 0,
|
|
57
|
+
extension: {
|
|
58
|
+
instructions: {
|
|
59
|
+
learnMoreUrl: "https://kaikas.io",
|
|
60
|
+
steps: [
|
|
61
|
+
{
|
|
62
|
+
description: "wallet_connectors.kaikas.extension.step1.description",
|
|
63
|
+
step: "install",
|
|
64
|
+
title: "wallet_connectors.kaikas.extension.step1.title"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
description: "wallet_connectors.kaikas.extension.step2.description",
|
|
68
|
+
step: "create",
|
|
69
|
+
title: "wallet_connectors.kaikas.extension.step2.title"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
description: "wallet_connectors.kaikas.extension.step3.description",
|
|
73
|
+
step: "refresh",
|
|
74
|
+
title: "wallet_connectors.kaikas.extension.step3.title"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
80
|
+
projectId,
|
|
81
|
+
walletConnectParameters
|
|
82
|
+
}) : getInjectedConnector({
|
|
83
|
+
namespace: "klaytn"
|
|
84
|
+
})
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export {
|
|
89
|
+
kaikasWallet
|
|
90
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-PJCRXY6L.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-75A5A7MH.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/bybitWallet/bybitWallet.ts
|
|
11
|
+
var bybitWallet = ({ projectId, walletConnectParameters }) => {
|
|
12
|
+
const isBybitInjected = hasInjectedProvider({
|
|
13
|
+
namespace: "bybitWallet"
|
|
14
|
+
});
|
|
15
|
+
const shouldUseWalletConnect = !isBybitInjected;
|
|
16
|
+
const getUri = (uri) => {
|
|
17
|
+
return `bybitapp://open/route?targetUrl=by://web3/walletconnect/wc?uri=${encodeURIComponent(uri)}`;
|
|
18
|
+
};
|
|
19
|
+
return {
|
|
20
|
+
id: "bybit",
|
|
21
|
+
name: "Bybit Wallet",
|
|
22
|
+
rdns: "com.bybit",
|
|
23
|
+
iconUrl: async () => (await import("./bybitWallet-GR4PFINZ.js")).default,
|
|
24
|
+
installed: !shouldUseWalletConnect ? isBybitInjected : void 0,
|
|
25
|
+
iconBackground: "#000000",
|
|
26
|
+
downloadUrls: {
|
|
27
|
+
chrome: "https://chromewebstore.google.com/detail/bybit-wallet/pdliaogehgdbhbnmkklieghmmjkpigpa",
|
|
28
|
+
browserExtension: "https://www.bybit.com/en/web3",
|
|
29
|
+
android: "https://play.google.com/store/apps/details?id=com.bybit.app",
|
|
30
|
+
ios: "https://apps.apple.com/us/app/bybit-buy-trade-crypto/id1488296980",
|
|
31
|
+
mobile: "https://www.bybit.com/en/web3",
|
|
32
|
+
qrCode: "https://www.bybit.com/en/web3"
|
|
33
|
+
},
|
|
34
|
+
mobile: {
|
|
35
|
+
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
36
|
+
},
|
|
37
|
+
qrCode: shouldUseWalletConnect ? {
|
|
38
|
+
getUri: (uri) => uri,
|
|
39
|
+
instructions: {
|
|
40
|
+
learnMoreUrl: "https://www.bybit.com/en/web3",
|
|
41
|
+
steps: [
|
|
42
|
+
{
|
|
43
|
+
description: "wallet_connectors.bybit.qr_code.step1.description",
|
|
44
|
+
step: "install",
|
|
45
|
+
title: "wallet_connectors.bybit.qr_code.step1.title"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
description: "wallet_connectors.bybit.qr_code.step2.description",
|
|
49
|
+
step: "create",
|
|
50
|
+
title: "wallet_connectors.bybit.qr_code.step2.title"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
description: "wallet_connectors.bybit.qr_code.step3.description",
|
|
54
|
+
step: "scan",
|
|
55
|
+
title: "wallet_connectors.bybit.qr_code.step3.title"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
} : void 0,
|
|
60
|
+
extension: {
|
|
61
|
+
instructions: {
|
|
62
|
+
learnMoreUrl: "https://www.bybit.com/en/web3",
|
|
63
|
+
steps: [
|
|
64
|
+
{
|
|
65
|
+
description: "wallet_connectors.bybit.extension.step1.description",
|
|
66
|
+
step: "install",
|
|
67
|
+
title: "wallet_connectors.bybit.extension.step1.title"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
description: "wallet_connectors.bybit.extension.step2.description",
|
|
71
|
+
step: "create",
|
|
72
|
+
title: "wallet_connectors.bybit.extension.step2.title"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
description: "wallet_connectors.bybit.extension.step3.description",
|
|
76
|
+
step: "refresh",
|
|
77
|
+
title: "wallet_connectors.bybit.extension.step3.title"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
83
|
+
projectId,
|
|
84
|
+
walletConnectParameters
|
|
85
|
+
}) : getInjectedConnector({
|
|
86
|
+
namespace: "bybitWallet"
|
|
87
|
+
})
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
export {
|
|
92
|
+
bybitWallet
|
|
93
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
frontierWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-EU6OLW4A.js";
|
|
5
5
|
import "../chunk-RETKWSKD.js";
|
|
6
|
-
import "../chunk-75A5A7MH.js";
|
|
7
6
|
import "../chunk-PJCRXY6L.js";
|
|
7
|
+
import "../chunk-75A5A7MH.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-PE2OUMNV.js";
|
|
5
5
|
import "../chunk-RETKWSKD.js";
|
|
6
|
-
import "../chunk-75A5A7MH.js";
|
|
7
6
|
import "../chunk-PJCRXY6L.js";
|
|
7
|
+
import "../chunk-75A5A7MH.js";
|
|
8
8
|
export {
|
|
9
9
|
gateWallet
|
|
10
10
|
};
|