@talken/talkenkit 2.8.2 → 2.8.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/{AbcCredentialManager-6FBGTSSM.js → AbcCredentialManager-QM2BNLSR.js} +1 -1
- package/dist/{abcWallet-7ZZXHG7O.js → abcWallet-4PXYWHYM.js} +2 -2
- package/dist/{chunk-SUYKWM5G.js → chunk-PS5CBMY5.js} +10 -8
- package/dist/{chunk-HX6JUKSS.js → chunk-ZISAJ7BZ.js} +253 -25
- package/dist/index.d.ts +2 -0
- package/dist/index.js +192 -212
- package/dist/wallets/walletConnectors/abcWallet/AbcCredentialManager.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/AbcEvmAutoConnector.js +4 -4
- package/dist/wallets/walletConnectors/abcWallet/AbstractChainProvider.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/StorageService.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/abcBitcoinConnector.js +5 -5
- package/dist/wallets/walletConnectors/abcWallet/abcBitcoinProvider.js +6 -6
- package/dist/wallets/walletConnectors/abcWallet/abcConnector.js +21 -18
- package/dist/wallets/walletConnectors/abcWallet/abcProvider.js +9 -8
- package/dist/wallets/walletConnectors/abcWallet/abcSolanaProvider.js +21 -19
- package/dist/wallets/walletConnectors/abcWallet/abcSolanaWalletAdapter.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/abcTronProvider.js +6 -6
- package/dist/wallets/walletConnectors/abcWallet/abcWallet.js +22 -19
- package/dist/wallets/walletConnectors/abcWallet/abcXrplProvider.js +6 -6
- package/dist/wallets/walletConnectors/abcWallet/api/ConfigApi.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/api/TalkenApiClient.js +15 -13
- package/dist/wallets/walletConnectors/abcWallet/api/TokenApi.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/api/WalletscanApi.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/api/index.js +18 -16
- package/dist/wallets/walletConnectors/abcWallet/api/modules/auth.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/api/modules/bitcoin.d.ts +1 -1
- package/dist/wallets/walletConnectors/abcWallet/api/modules/bitcoin.js +13 -5
- package/dist/wallets/walletConnectors/abcWallet/api/modules/evm.d.ts +8 -5
- package/dist/wallets/walletConnectors/abcWallet/api/modules/evm.js +12 -4
- package/dist/wallets/walletConnectors/abcWallet/api/modules/signBodies.d.ts +34 -0
- package/dist/wallets/walletConnectors/abcWallet/api/modules/signBodies.js +25 -0
- package/dist/wallets/walletConnectors/abcWallet/api/modules/signingRefresh.d.ts +17 -0
- package/dist/wallets/walletConnectors/abcWallet/api/modules/signingRefresh.js +18 -0
- package/dist/wallets/walletConnectors/abcWallet/api/modules/solana.d.ts +1 -1
- package/dist/wallets/walletConnectors/abcWallet/api/modules/solana.js +9 -2
- package/dist/wallets/walletConnectors/abcWallet/api/modules/tron.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/api/modules/wallet.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/api/modules/walletscan.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/api/modules/xrp.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/constants.d.ts +6 -6
- package/dist/wallets/walletConnectors/abcWallet/constants.js +1 -1
- package/dist/wallets/walletConnectors/abcWallet/evmTxType.d.ts +20 -0
- package/dist/wallets/walletConnectors/abcWallet/evmTxType.js +8 -0
- package/dist/wallets/walletConnectors/abcWallet/index.js +36 -33
- package/dist/wallets/walletConnectors/abcWallet/kakaoAuth.d.ts +10 -21
- package/dist/wallets/walletConnectors/abcWallet/kakaoAuth.js +118 -141
- package/dist/wallets/walletConnectors/abcWallet/sessionUtils.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/types/api.types.d.ts +71 -1
- package/dist/wallets/walletConnectors/abcWallet/types.js +1 -1
- package/dist/wallets/walletConnectors/abcWallet/utils.js +4 -4
- package/dist/wallets/walletConnectors/abcWallet/walletGeneration.js +5 -5
- package/dist/wallets/walletConnectors/{chunk-3NWM24MH.js → chunk-5E7TNMON.js} +6 -3
- package/dist/wallets/walletConnectors/{chunk-YNE2UX2Z.js → chunk-5SHN7JNR.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-TYJR3KGY.js → chunk-6BHMNR5X.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-2LOET2LX.js → chunk-6HR6CEOY.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-ANBOP6A6.js → chunk-6LPMWYFM.js} +2 -2
- package/dist/wallets/walletConnectors/{chunk-L3EPZ4NZ.js → chunk-75H6DQT6.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-3Z5DO42M.js → chunk-7GBAUSQJ.js} +10 -8
- package/dist/wallets/walletConnectors/{chunk-KCB4MMIZ.js → chunk-CCUNTMLD.js} +6 -6
- package/dist/wallets/walletConnectors/{chunk-HM73RD2O.js → chunk-CIAVEXOY.js} +10 -4
- package/dist/wallets/walletConnectors/{chunk-URTS7ZIZ.js → chunk-DPYQH3WE.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-2LH53QET.js → chunk-F6AHT6K4.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-ZXG3X6PV.js → chunk-F6EG7H2O.js} +2 -2
- package/dist/wallets/walletConnectors/chunk-FLBJ7T4Q.js +44 -0
- package/dist/wallets/walletConnectors/{chunk-4DGLNUHL.js → chunk-FWKMNVWU.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-ZOBSRU6L.js → chunk-HFW2XV2R.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-M4YGDOD5.js → chunk-HMMEOZDT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-S6XEM7RM.js → chunk-HXYOWG5P.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-BF4HTXWH.js → chunk-KX3IFHJQ.js} +16 -16
- package/dist/wallets/walletConnectors/chunk-OESFVVLA.js +38 -0
- package/dist/wallets/walletConnectors/{chunk-XDNFWX2X.js → chunk-OEZE4GBQ.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-YFNVHCMA.js → chunk-QTBJ6WNZ.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-FWX2HD26.js → chunk-RQYBKCWA.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-4BG6V5TZ.js → chunk-TXB6KXPR.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-4Y7YP4IR.js → chunk-UNLWNVSN.js} +16 -6
- package/dist/wallets/walletConnectors/{chunk-6FPKKAFI.js → chunk-XQTK7NGN.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-VVXSRRXI.js → chunk-YECMDMEA.js} +2 -2
- package/dist/wallets/walletConnectors/{chunk-ICGK5DGY.js → chunk-YUBS7MJ6.js} +44 -19
- package/dist/wallets/walletConnectors/{chunk-NEMEHJ72.js → chunk-ZITVWA4X.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-ZTIRW7TR.js +161 -0
- package/dist/wallets/walletConnectors/index.js +61 -58
- package/package.json +12 -11
- package/LICENSE +0 -9
- package/dist/wallets/walletConnectors/chunk-2KHTFKPP.js +0 -186
- package/dist/wallets/walletConnectors/chunk-3LAMBKQL.js +0 -345
- package/dist/wallets/walletConnectors/chunk-3QC567QK.js +0 -94
- package/dist/wallets/walletConnectors/chunk-4V3HRM2R.js +0 -95
- package/dist/wallets/walletConnectors/chunk-55MPPI65.js +0 -492
- package/dist/wallets/walletConnectors/chunk-5QYCHHVB.js +0 -98
- package/dist/wallets/walletConnectors/chunk-63H3LXPW.js +0 -58
- package/dist/wallets/walletConnectors/chunk-6BDKSA22.js +0 -341
- package/dist/wallets/walletConnectors/chunk-7DLZKN46.js +0 -341
- package/dist/wallets/walletConnectors/chunk-7IBMHOYD.js +0 -102
- package/dist/wallets/walletConnectors/chunk-A2DZALFI.js +0 -108
- package/dist/wallets/walletConnectors/chunk-BZPKBSWY.js +0 -66
- package/dist/wallets/walletConnectors/chunk-CEOJSQAI.js +0 -66
- package/dist/wallets/walletConnectors/chunk-CXWASK7L.js +0 -370
- package/dist/wallets/walletConnectors/chunk-DHWJ3552.js +0 -93
- package/dist/wallets/walletConnectors/chunk-EJALZNAR.js +0 -101
- package/dist/wallets/walletConnectors/chunk-EQ4EX5IN.js +0 -340
- package/dist/wallets/walletConnectors/chunk-EULIVR7N.js +0 -370
- package/dist/wallets/walletConnectors/chunk-FGYJTUYV.js +0 -94
- package/dist/wallets/walletConnectors/chunk-FVA6H2VF.js +0 -95
- package/dist/wallets/walletConnectors/chunk-HALTGRQW.js +0 -87
- package/dist/wallets/walletConnectors/chunk-IONL6LMJ.js +0 -71
- package/dist/wallets/walletConnectors/chunk-KQDFRZT4.js +0 -65
- package/dist/wallets/walletConnectors/chunk-LIN3ZO63.js +0 -378
- package/dist/wallets/walletConnectors/chunk-OUVRAKVV.js +0 -3050
- package/dist/wallets/walletConnectors/chunk-PXL5G2PM.js +0 -96
- package/dist/wallets/walletConnectors/chunk-QB3QLNSL.js +0 -76
- package/dist/wallets/walletConnectors/chunk-QRU6XFHH.js +0 -110
- package/dist/wallets/walletConnectors/chunk-SKVKZ5FY.js +0 -132
- package/dist/wallets/walletConnectors/chunk-T6RB3SM7.js +0 -73
- package/dist/wallets/walletConnectors/chunk-TA4DDCKN.js +0 -96
- package/dist/wallets/walletConnectors/chunk-TWVKSPTP.js +0 -91
- package/dist/wallets/walletConnectors/chunk-V5LGED4F.js +0 -103
- package/dist/wallets/walletConnectors/chunk-VEJS7JOC.js +0 -58
- package/dist/wallets/walletConnectors/chunk-XS6GJRRA.js +0 -98
- package/dist/wallets/walletConnectors/chunk-XSX5EECZ.js +0 -96
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-PONHGUSY.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-PODFK4OS.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/kaiaWallet/kaiaWallet.ts
|
|
11
|
-
var kaiaWallet = ({
|
|
12
|
-
projectId,
|
|
13
|
-
walletConnectParameters
|
|
14
|
-
}) => {
|
|
15
|
-
const isKaiaWalletInjected = hasInjectedProvider({
|
|
16
|
-
namespace: "klaytn"
|
|
17
|
-
});
|
|
18
|
-
const shouldUseWalletConnect = !isKaiaWalletInjected;
|
|
19
|
-
const getUri = (uri) => {
|
|
20
|
-
return `kaikas://walletconnect?uri=${encodeURIComponent(uri)}`;
|
|
21
|
-
};
|
|
22
|
-
return {
|
|
23
|
-
id: "kaia",
|
|
24
|
-
name: "Kaia Wallet",
|
|
25
|
-
rdns: "io.kaiawallet",
|
|
26
|
-
iconUrl: async () => (await import("./kaiaWallet-5K6WZ3AH.js")).default,
|
|
27
|
-
installed: isKaiaWalletInjected || void 0,
|
|
28
|
-
iconBackground: "#fff",
|
|
29
|
-
downloadUrls: {
|
|
30
|
-
chrome: "https://chromewebstore.google.com/detail/kaia-wallet/jblndlipeogpafnldhgmapagcccfchpi",
|
|
31
|
-
browserExtension: "https://app.kaiawallet.io",
|
|
32
|
-
qrCode: "https://app.kaiawallet.io",
|
|
33
|
-
ios: "https://apps.apple.com/us/app/kaia-wallet/id6502896387",
|
|
34
|
-
android: "https://play.google.com/store/apps/details?id=io.klutch.wallet",
|
|
35
|
-
mobile: "https://app.kaiawallet.io"
|
|
36
|
-
},
|
|
37
|
-
mobile: { getUri: shouldUseWalletConnect ? getUri : void 0 },
|
|
38
|
-
qrCode: shouldUseWalletConnect ? {
|
|
39
|
-
getUri: (uri) => uri,
|
|
40
|
-
instructions: {
|
|
41
|
-
learnMoreUrl: "https://kaiawallet.io",
|
|
42
|
-
steps: [
|
|
43
|
-
{
|
|
44
|
-
description: "wallet_connectors.kaia.qr_code.step1.description",
|
|
45
|
-
step: "install",
|
|
46
|
-
title: "wallet_connectors.kaia.qr_code.step1.title"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
description: "wallet_connectors.kaia.qr_code.step2.description",
|
|
50
|
-
step: "create",
|
|
51
|
-
title: "wallet_connectors.kaia.qr_code.step2.title"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
description: "wallet_connectors.kaia.qr_code.step3.description",
|
|
55
|
-
step: "refresh",
|
|
56
|
-
title: "wallet_connectors.kaia.qr_code.step3.title"
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
} : void 0,
|
|
61
|
-
extension: {
|
|
62
|
-
instructions: {
|
|
63
|
-
learnMoreUrl: "https://kaiawallet.io",
|
|
64
|
-
steps: [
|
|
65
|
-
{
|
|
66
|
-
description: "wallet_connectors.kaia.extension.step1.description",
|
|
67
|
-
step: "install",
|
|
68
|
-
title: "wallet_connectors.kaia.extension.step1.title"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
description: "wallet_connectors.kaia.extension.step2.description",
|
|
72
|
-
step: "create",
|
|
73
|
-
title: "wallet_connectors.kaia.extension.step2.title"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
description: "wallet_connectors.kaia.extension.step3.description",
|
|
77
|
-
step: "refresh",
|
|
78
|
-
title: "wallet_connectors.kaia.extension.step3.title"
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
84
|
-
projectId,
|
|
85
|
-
walletConnectParameters
|
|
86
|
-
}) : getInjectedConnector({
|
|
87
|
-
namespace: "klaytn"
|
|
88
|
-
})
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
export {
|
|
93
|
-
kaiaWallet
|
|
94
|
-
};
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-PONHGUSY.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-PODFK4OS.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/coreWallet/coreWallet.ts
|
|
11
|
-
var coreWallet = ({
|
|
12
|
-
projectId,
|
|
13
|
-
walletConnectParameters
|
|
14
|
-
}) => {
|
|
15
|
-
const isCoreInjected = hasInjectedProvider({
|
|
16
|
-
namespace: "avalanche",
|
|
17
|
-
flag: "isAvalanche"
|
|
18
|
-
});
|
|
19
|
-
const shouldUseWalletConnect = !isCoreInjected;
|
|
20
|
-
return {
|
|
21
|
-
id: "core",
|
|
22
|
-
name: "Core",
|
|
23
|
-
rdns: "app.core.extension",
|
|
24
|
-
iconUrl: async () => (await import("./coreWallet-52SXITOT.js")).default,
|
|
25
|
-
iconBackground: "#1A1A1C",
|
|
26
|
-
installed: !shouldUseWalletConnect ? isCoreInjected : void 0,
|
|
27
|
-
downloadUrls: {
|
|
28
|
-
android: "https://play.google.com/store/apps/details?id=com.avaxwallet",
|
|
29
|
-
ios: "https://apps.apple.com/us/app/core-wallet/id6443685999",
|
|
30
|
-
mobile: "https://core.app/?downloadCoreMobile=1",
|
|
31
|
-
qrCode: "https://core.app/?downloadCoreMobile=1",
|
|
32
|
-
chrome: "https://chrome.google.com/webstore/detail/core-crypto-wallet-nft-ex/agoakfejjabomempkjlepdflaleeobhb",
|
|
33
|
-
browserExtension: "https://extension.core.app/"
|
|
34
|
-
},
|
|
35
|
-
mobile: {
|
|
36
|
-
getUri: shouldUseWalletConnect ? (uri) => uri : void 0
|
|
37
|
-
},
|
|
38
|
-
qrCode: shouldUseWalletConnect ? {
|
|
39
|
-
getUri: (uri) => uri,
|
|
40
|
-
instructions: {
|
|
41
|
-
learnMoreUrl: "https://support.avax.network/en/articles/6115608-core-mobile-how-to-add-the-core-mobile-to-my-phone",
|
|
42
|
-
steps: [
|
|
43
|
-
{
|
|
44
|
-
description: "wallet_connectors.core.qr_code.step1.description",
|
|
45
|
-
step: "install",
|
|
46
|
-
title: "wallet_connectors.core.qr_code.step1.title"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
description: "wallet_connectors.core.qr_code.step2.description",
|
|
50
|
-
step: "create",
|
|
51
|
-
title: "wallet_connectors.core.qr_code.step2.title"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
description: "wallet_connectors.core.qr_code.step3.description",
|
|
55
|
-
step: "scan",
|
|
56
|
-
title: "wallet_connectors.core.qr_code.step3.title"
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
} : void 0,
|
|
61
|
-
extension: {
|
|
62
|
-
instructions: {
|
|
63
|
-
learnMoreUrl: "https://extension.core.app/",
|
|
64
|
-
steps: [
|
|
65
|
-
{
|
|
66
|
-
description: "wallet_connectors.core.extension.step1.description",
|
|
67
|
-
step: "install",
|
|
68
|
-
title: "wallet_connectors.core.extension.step1.title"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
description: "wallet_connectors.core.extension.step2.description",
|
|
72
|
-
step: "create",
|
|
73
|
-
title: "wallet_connectors.core.extension.step2.title"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
description: "wallet_connectors.core.extension.step3.description",
|
|
77
|
-
step: "refresh",
|
|
78
|
-
title: "wallet_connectors.core.extension.step3.title"
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
84
|
-
projectId,
|
|
85
|
-
walletConnectParameters
|
|
86
|
-
}) : getInjectedConnector({
|
|
87
|
-
namespace: "avalanche",
|
|
88
|
-
flag: "isAvalanche"
|
|
89
|
-
})
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
export {
|
|
94
|
-
coreWallet
|
|
95
|
-
};
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-PONHGUSY.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-PODFK4OS.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-ZIMSRU5J.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
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
isAndroid
|
|
4
|
-
} from "./chunk-RETKWSKD.js";
|
|
5
|
-
import {
|
|
6
|
-
getInjectedConnector,
|
|
7
|
-
hasInjectedProvider
|
|
8
|
-
} from "./chunk-PONHGUSY.js";
|
|
9
|
-
import {
|
|
10
|
-
getWalletConnectConnector
|
|
11
|
-
} from "./chunk-PODFK4OS.js";
|
|
12
|
-
|
|
13
|
-
// src/wallets/walletConnectors/bifrostWallet/bifrostWallet.ts
|
|
14
|
-
var bifrostWallet = ({
|
|
15
|
-
projectId,
|
|
16
|
-
walletConnectParameters
|
|
17
|
-
}) => {
|
|
18
|
-
const isBifrostInjected = hasInjectedProvider({ flag: "isBifrost" });
|
|
19
|
-
const shouldUseWalletConnect = !isBifrostInjected;
|
|
20
|
-
const getUri = (uri) => {
|
|
21
|
-
return isAndroid() ? uri : `https://app.bifrostwallet.com/wc?uri=${encodeURIComponent(uri)}`;
|
|
22
|
-
};
|
|
23
|
-
return {
|
|
24
|
-
id: "bifrostWallet",
|
|
25
|
-
name: "Bifrost Wallet",
|
|
26
|
-
iconUrl: async () => (await import("./bifrostWallet-ORF3DABG.js")).default,
|
|
27
|
-
iconBackground: "#fff",
|
|
28
|
-
installed: !shouldUseWalletConnect ? isBifrostInjected : void 0,
|
|
29
|
-
downloadUrls: {
|
|
30
|
-
android: "https://play.google.com/store/apps/details?id=com.bifrostwallet.app",
|
|
31
|
-
ios: "https://apps.apple.com/us/app/bifrost-wallet/id1577198351",
|
|
32
|
-
qrCode: "https://bifrostwallet.com/#download-app"
|
|
33
|
-
},
|
|
34
|
-
mobile: {
|
|
35
|
-
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
36
|
-
},
|
|
37
|
-
qrCode: shouldUseWalletConnect ? {
|
|
38
|
-
getUri: (uri) => uri,
|
|
39
|
-
instructions: {
|
|
40
|
-
learnMoreUrl: "https://support.bifrostwallet.com/en/articles/6886814-how-to-use-walletconnect",
|
|
41
|
-
steps: [
|
|
42
|
-
{
|
|
43
|
-
description: "wallet_connectors.bifrost.qr_code.step1.description",
|
|
44
|
-
step: "install",
|
|
45
|
-
title: "wallet_connectors.bifrost.qr_code.step1.title"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
description: "wallet_connectors.bifrost.qr_code.step2.description",
|
|
49
|
-
step: "create",
|
|
50
|
-
title: "wallet_connectors.bifrost.qr_code.step2.title"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
description: "wallet_connectors.bifrost.qr_code.step3.description",
|
|
54
|
-
step: "scan",
|
|
55
|
-
title: "wallet_connectors.bifrost.qr_code.step3.title"
|
|
56
|
-
}
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
} : void 0,
|
|
60
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
61
|
-
projectId,
|
|
62
|
-
walletConnectParameters
|
|
63
|
-
}) : getInjectedConnector({
|
|
64
|
-
flag: "isBifrost"
|
|
65
|
-
})
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
export {
|
|
70
|
-
bifrostWallet
|
|
71
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-PONHGUSY.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-PODFK4OS.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/berasigWallet/berasigWallet.ts
|
|
11
|
-
var berasigWallet = ({
|
|
12
|
-
projectId,
|
|
13
|
-
walletConnectParameters
|
|
14
|
-
}) => {
|
|
15
|
-
const isBerasigWalletInjected = hasInjectedProvider({
|
|
16
|
-
namespace: "berasig.ethereum"
|
|
17
|
-
});
|
|
18
|
-
const shouldUseWalletConnect = !isBerasigWalletInjected;
|
|
19
|
-
return {
|
|
20
|
-
id: "berasig",
|
|
21
|
-
name: "BeraSig",
|
|
22
|
-
iconUrl: async () => (await import("./berasigWallet-NNBFDHFK.js")).default,
|
|
23
|
-
iconBackground: "#ffffff",
|
|
24
|
-
installed: isBerasigWalletInjected,
|
|
25
|
-
downloadUrls: {
|
|
26
|
-
android: "https://play.google.com/store/apps/details?id=io.berasig.ios",
|
|
27
|
-
ios: "https://apps.apple.com/us/app/berasig-wallet-on-berachain/id6502052535",
|
|
28
|
-
qrCode: "https://berasig.com",
|
|
29
|
-
mobile: "https://berasig.com",
|
|
30
|
-
browserExtension: "https://chromewebstore.google.com/detail/berasig/ckedkkegjbflcfblcjklibnedmfjppbj"
|
|
31
|
-
},
|
|
32
|
-
extension: {
|
|
33
|
-
instructions: {
|
|
34
|
-
steps: [
|
|
35
|
-
{
|
|
36
|
-
description: "wallet_connectors.berasig.extension.step1.description",
|
|
37
|
-
step: "install",
|
|
38
|
-
title: "wallet_connectors.berasig.extension.step1.title"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
description: "wallet_connectors.berasig.extension.step2.description",
|
|
42
|
-
step: "create",
|
|
43
|
-
title: "wallet_connectors.berasig.extension.step2.title"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
description: "wallet_connectors.berasig.extension.step3.description",
|
|
47
|
-
step: "refresh",
|
|
48
|
-
title: "wallet_connectors.berasig.extension.step3.title"
|
|
49
|
-
}
|
|
50
|
-
],
|
|
51
|
-
learnMoreUrl: "https://berasig.com"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
55
|
-
projectId,
|
|
56
|
-
walletConnectParameters
|
|
57
|
-
}) : getInjectedConnector({
|
|
58
|
-
namespace: "berasig.ethereum"
|
|
59
|
-
})
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
export {
|
|
64
|
-
berasigWallet
|
|
65
|
-
};
|