@funkit/connect 6.0.4 → 6.0.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/index.css +4 -4
  3. package/dist/index.js +82 -60
  4. package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +2 -1
  5. package/dist/modals/CheckoutModal/InputAmount/state.d.ts +6 -1
  6. package/dist/utils/flags/config.d.ts +3 -26
  7. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  8. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  9. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  10. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  11. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  12. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  13. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  14. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  15. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  16. package/dist/wallets/walletConnectors/index.js +54 -54
  17. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  18. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  21. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  22. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  23. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  24. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  25. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  26. package/package.json +4 -4
  27. package/dist/wallets/walletConnectors/chunk-2GJQ4XZQ.js +0 -87
  28. package/dist/wallets/walletConnectors/chunk-3CICVJUN.js +0 -70
  29. package/dist/wallets/walletConnectors/chunk-5W7VDOCL.js +0 -99
  30. package/dist/wallets/walletConnectors/chunk-AFXHGWBH.js +0 -94
  31. package/dist/wallets/walletConnectors/chunk-CJGUM55H.js +0 -92
  32. package/dist/wallets/walletConnectors/chunk-CNPKISHN.js +0 -66
  33. package/dist/wallets/walletConnectors/chunk-EC6CHBSZ.js +0 -110
  34. package/dist/wallets/walletConnectors/chunk-J3LI3FYZ.js +0 -93
  35. package/dist/wallets/walletConnectors/chunk-JCHN6A47.js +0 -95
  36. package/dist/wallets/walletConnectors/chunk-KIDC67XJ.js +0 -96
  37. package/dist/wallets/walletConnectors/chunk-LNEC5RNX.js +0 -98
  38. package/dist/wallets/walletConnectors/chunk-Q3H3TRBS.js +0 -100
  39. package/dist/wallets/walletConnectors/chunk-QLVVUKYB.js +0 -92
  40. package/dist/wallets/walletConnectors/chunk-RKPCWHXL.js +0 -106
  41. package/dist/wallets/walletConnectors/chunk-UIASLGLV.js +0 -69
  42. package/dist/wallets/walletConnectors/chunk-UYGJO62F.js +0 -218
  43. package/dist/wallets/walletConnectors/chunk-VWCLFMWJ.js +0 -96
  44. package/dist/wallets/walletConnectors/chunk-ZSI5N4VV.js +0 -103
@@ -1,94 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-DNSG5Q7V.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-23WIEY36.js";
9
-
10
- // src/wallets/walletConnectors/okxWallet/okxWallet.ts
11
- import { isAndroid } from "@funkit/utils";
12
- var okxWallet = ({
13
- projectId,
14
- walletConnectParameters
15
- }) => {
16
- const isOKXInjected = hasInjectedProvider({ namespace: "okxwallet" });
17
- const shouldUseWalletConnect = !isOKXInjected;
18
- return {
19
- id: "okx",
20
- name: "OKX Wallet",
21
- rdns: "com.okex.wallet",
22
- iconUrl: async () => (await import("./okxWallet-GJMKZIND.js")).default,
23
- iconAccent: "#000",
24
- iconBackground: "#000",
25
- downloadUrls: {
26
- android: "https://play.google.com/store/apps/details?id=com.okinc.okex.gp",
27
- ios: "https://itunes.apple.com/app/id1327268470?mt=8",
28
- mobile: "https://okx.com/download",
29
- qrCode: "https://okx.com/download",
30
- chrome: "https://chrome.google.com/webstore/detail/okx-wallet/mcohilncbfahbmgdjkbpemcciiolgcge",
31
- edge: "https://microsoftedge.microsoft.com/addons/detail/okx-wallet/pbpjkcldjiffchgbbndmhojiacbgflha",
32
- firefox: "https://addons.mozilla.org/firefox/addon/okexwallet/",
33
- browserExtension: "https://okx.com/download"
34
- },
35
- mobile: {
36
- getUri: shouldUseWalletConnect ? (uri) => {
37
- return isAndroid() ? uri : `okex://main/wc?uri=${encodeURIComponent(uri)}`;
38
- } : void 0
39
- },
40
- qrCode: shouldUseWalletConnect ? {
41
- getUri: (uri) => uri,
42
- instructions: {
43
- learnMoreUrl: "https://okx.com/web3/",
44
- steps: [
45
- {
46
- description: "wallet_connectors.okx.qr_code.step1.description",
47
- step: "install",
48
- title: "wallet_connectors.okx.qr_code.step1.title"
49
- },
50
- {
51
- description: "wallet_connectors.okx.qr_code.step2.description",
52
- step: "create",
53
- title: "wallet_connectors.okx.qr_code.step2.title"
54
- },
55
- {
56
- description: "wallet_connectors.okx.qr_code.step3.description",
57
- step: "scan",
58
- title: "wallet_connectors.okx.qr_code.step3.title"
59
- }
60
- ]
61
- }
62
- } : void 0,
63
- extension: {
64
- instructions: {
65
- learnMoreUrl: "https://okx.com/web3/",
66
- steps: [
67
- {
68
- description: "wallet_connectors.okx.extension.step1.description",
69
- step: "install",
70
- title: "wallet_connectors.okx.extension.step1.title"
71
- },
72
- {
73
- description: "wallet_connectors.okx.extension.step2.description",
74
- step: "create",
75
- title: "wallet_connectors.okx.extension.step2.title"
76
- },
77
- {
78
- description: "wallet_connectors.okx.extension.step3.description",
79
- step: "refresh",
80
- title: "wallet_connectors.okx.extension.step3.title"
81
- }
82
- ]
83
- }
84
- },
85
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
86
- projectId,
87
- walletConnectParameters
88
- }) : getInjectedConnector({ namespace: "okxwallet" })
89
- };
90
- };
91
-
92
- export {
93
- okxWallet
94
- };
@@ -1,92 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-DNSG5Q7V.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-23WIEY36.js";
9
-
10
- // src/wallets/walletConnectors/gateWallet/gateWallet.ts
11
- import { isAndroid } from "@funkit/utils";
12
- var gateWallet = ({
13
- projectId,
14
- walletConnectParameters
15
- }) => {
16
- const isGateInjected = hasInjectedProvider({ namespace: "gatewallet" });
17
- const shouldUseWalletConnect = !isGateInjected;
18
- return {
19
- id: "gate",
20
- name: "Gate Wallet",
21
- rdns: "io.gate.wallet",
22
- iconUrl: async () => (await import("./gateWallet-CJNGQQCV.js")).default,
23
- iconAccent: "#fff",
24
- iconBackground: "#fff",
25
- downloadUrls: {
26
- android: "https://play.google.com/store/apps/details?id=com.gateio.gateio",
27
- ios: "https://apps.apple.com/us/app/gate-io-buy-bitcoin-crypto/id1294998195",
28
- mobile: "https://www.gate.io/mobileapp",
29
- qrCode: "https://www.gate.io/web3",
30
- chrome: "https://chromewebstore.google.com/detail/gate-wallet/cpmkedoipcpimgecpmgpldfpohjplkpp",
31
- browserExtension: "https://www.gate.io/web3"
32
- },
33
- mobile: {
34
- getUri: shouldUseWalletConnect ? (uri) => {
35
- return isAndroid() ? uri : `gtweb3wallet://wc?uri=${encodeURIComponent(uri)}`;
36
- } : void 0
37
- },
38
- qrCode: shouldUseWalletConnect ? {
39
- getUri: (uri) => uri,
40
- instructions: {
41
- learnMoreUrl: "https://www.gate.io/learn",
42
- steps: [
43
- {
44
- description: "wallet_connectors.gate.qr_code.step1.description",
45
- step: "install",
46
- title: "wallet_connectors.gate.qr_code.step1.title"
47
- },
48
- {
49
- description: "wallet_connectors.gate.qr_code.step2.description",
50
- step: "create",
51
- title: "wallet_connectors.gate.qr_code.step2.title"
52
- },
53
- {
54
- description: "wallet_connectors.gate.qr_code.step3.description",
55
- step: "scan",
56
- title: "wallet_connectors.gate.qr_code.step3.title"
57
- }
58
- ]
59
- }
60
- } : void 0,
61
- extension: {
62
- instructions: {
63
- learnMoreUrl: "https://www.gate.io/learn",
64
- steps: [
65
- {
66
- description: "wallet_connectors.gate.extension.step1.description",
67
- step: "install",
68
- title: "wallet_connectors.gate.extension.step1.title"
69
- },
70
- {
71
- description: "wallet_connectors.gate.extension.step2.description",
72
- step: "create",
73
- title: "wallet_connectors.gate.extension.step2.title"
74
- },
75
- {
76
- description: "wallet_connectors.gate.extension.step3.description",
77
- step: "refresh",
78
- title: "wallet_connectors.gate.extension.step3.title"
79
- }
80
- ]
81
- }
82
- },
83
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
84
- projectId,
85
- walletConnectParameters
86
- }) : getInjectedConnector({ namespace: "gatewallet" })
87
- };
88
- };
89
-
90
- export {
91
- gateWallet
92
- };
@@ -1,66 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-DNSG5Q7V.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-23WIEY36.js";
9
-
10
- // src/wallets/walletConnectors/foxWallet/foxWallet.ts
11
- var foxWallet = ({
12
- projectId,
13
- walletConnectParameters
14
- }) => {
15
- const isFoxInjected = hasInjectedProvider({
16
- namespace: "foxwallet.ethereum"
17
- });
18
- const shouldUseWalletConnect = !isFoxInjected;
19
- return {
20
- id: "foxwallet",
21
- name: "FoxWallet",
22
- iconUrl: async () => (await import("./foxWallet-I7D5KIW4.js")).default,
23
- iconBackground: "#fff",
24
- downloadUrls: {
25
- android: "https://play.google.com/store/apps/details?id=com.foxwallet.play",
26
- ios: "https://apps.apple.com/app/foxwallet-crypto-web3/id1590983231",
27
- qrCode: "https://foxwallet.com/download"
28
- },
29
- mobile: {
30
- getUri: shouldUseWalletConnect ? (uri) => {
31
- return `foxwallet://wc?uri=${encodeURIComponent(uri)}`;
32
- } : void 0
33
- },
34
- qrCode: shouldUseWalletConnect ? {
35
- getUri: (uri) => uri,
36
- instructions: {
37
- learnMoreUrl: "https://foxwallet.com",
38
- steps: [
39
- {
40
- description: "wallet_connectors.fox.qr_code.step1.description",
41
- step: "install",
42
- title: "wallet_connectors.fox.qr_code.step1.title"
43
- },
44
- {
45
- description: "wallet_connectors.fox.qr_code.step2.description",
46
- step: "create",
47
- title: "wallet_connectors.fox.qr_code.step2.title"
48
- },
49
- {
50
- description: "wallet_connectors.fox.qr_code.step3.description",
51
- step: "scan",
52
- title: "wallet_connectors.fox.qr_code.step3.title"
53
- }
54
- ]
55
- }
56
- } : void 0,
57
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
58
- projectId,
59
- walletConnectParameters
60
- }) : getInjectedConnector({ namespace: "foxwallet.ethereum" })
61
- };
62
- };
63
-
64
- export {
65
- foxWallet
66
- };
@@ -1,110 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-DNSG5Q7V.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-23WIEY36.js";
9
-
10
- // src/wallets/walletConnectors/safepalWallet/safepalWallet.ts
11
- var safepalWallet = ({
12
- projectId,
13
- walletConnectParameters
14
- }) => {
15
- const isSafePalWalletInjected = hasInjectedProvider({
16
- namespace: "safepalProvider",
17
- flag: "isSafePal"
18
- });
19
- const shouldUseWalletConnect = !isSafePalWalletInjected;
20
- const getUriMobile = (uri) => {
21
- return `safepalwallet://wc?uri=${encodeURIComponent(uri)}`;
22
- };
23
- const getUriQR = async (uri) => {
24
- return uri;
25
- };
26
- const mobileConnector = {
27
- getUri: shouldUseWalletConnect ? getUriMobile : void 0
28
- };
29
- let qrConnector = void 0;
30
- if (shouldUseWalletConnect) {
31
- qrConnector = {
32
- getUri: getUriQR,
33
- instructions: {
34
- learnMoreUrl: "https://safepal.com/",
35
- steps: [
36
- {
37
- description: "wallet_connectors.safepal.qr_code.step1.description",
38
- step: "install",
39
- title: "wallet_connectors.safepal.qr_code.step1.title"
40
- },
41
- {
42
- description: "wallet_connectors.safepal.qr_code.step2.description",
43
- step: "create",
44
- title: "wallet_connectors.safepal.qr_code.step2.title"
45
- },
46
- {
47
- description: "wallet_connectors.safepal.qr_code.step3.description",
48
- step: "scan",
49
- title: "wallet_connectors.safepal.qr_code.step3.title"
50
- }
51
- ]
52
- }
53
- };
54
- }
55
- const extensionConnector = {
56
- instructions: {
57
- learnMoreUrl: "https://www.safepal.com/download?product=2",
58
- steps: [
59
- {
60
- description: "wallet_connectors.safepal.extension.step1.description",
61
- step: "install",
62
- title: "wallet_connectors.safepal.extension.step1.title"
63
- },
64
- {
65
- description: "wallet_connectors.safepal.extension.step2.description",
66
- step: "create",
67
- title: "wallet_connectors.safepal.extension.step2.title"
68
- },
69
- {
70
- description: "wallet_connectors.safepal.extension.step3.description",
71
- step: "refresh",
72
- title: "wallet_connectors.safepal.extension.step3.title"
73
- }
74
- ]
75
- }
76
- };
77
- return {
78
- id: "safepal",
79
- name: "SafePal Wallet",
80
- iconUrl: async () => (await import("./safepalWallet-7YULGM2L.js")).default,
81
- // Note that we never resolve `installed` to `false` because the
82
- // SafePal Wallet provider falls back to other connection methods if
83
- // the injected connector isn't available
84
- installed: isSafePalWalletInjected,
85
- iconAccent: "#3375BB",
86
- iconBackground: "#fff",
87
- downloadUrls: {
88
- android: "https://play.google.com/store/apps/details?id=io.safepal.wallet&referrer=utm_source%3Drainbowkit%26utm_medium%3Ddisplay%26utm_campaign%3Ddownload",
89
- ios: "https://apps.apple.com/app/apple-store/id1548297139?pt=122504219&ct=rainbowkit&mt=8",
90
- mobile: "https://www.safepal.com/en/download",
91
- qrCode: "https://www.safepal.com/en/download",
92
- chrome: "https://chrome.google.com/webstore/detail/safepal-extension-wallet/lgmpcpglpngdoalbgeoldeajfclnhafa",
93
- browserExtension: "https://www.safepal.com/download?product=2"
94
- },
95
- mobile: mobileConnector,
96
- ...qrConnector ? qrConnector : {},
97
- extension: extensionConnector,
98
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
99
- projectId,
100
- walletConnectParameters
101
- }) : getInjectedConnector({
102
- namespace: "safepalProvider",
103
- flag: "isSafePal"
104
- })
105
- };
106
- };
107
-
108
- export {
109
- safepalWallet
110
- };
@@ -1,93 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-DNSG5Q7V.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-23WIEY36.js";
9
-
10
- // src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
11
- import { isMobile } from "@funkit/utils";
12
- var tokenPocketWallet = ({
13
- projectId,
14
- walletConnectParameters
15
- }) => {
16
- const isTokenPocketInjected = hasInjectedProvider({ flag: "isTokenPocket" });
17
- const shouldUseWalletConnect = !isTokenPocketInjected;
18
- const getUri = (uri) => {
19
- return isMobile() ? `tpoutside://wc?uri=${encodeURIComponent(uri)}` : uri;
20
- };
21
- return {
22
- id: "tokenPocket",
23
- name: "TokenPocket",
24
- rdns: "pro.tokenpocket",
25
- iconUrl: async () => (await import("./tokenPocketWallet-FLFG3JUQ.js")).default,
26
- iconBackground: "#2980FE",
27
- installed: !shouldUseWalletConnect ? isTokenPocketInjected : void 0,
28
- downloadUrls: {
29
- chrome: "https://chrome.google.com/webstore/detail/tokenpocket/mfgccjchihfkkindfppnaooecgfneiii",
30
- browserExtension: "https://extension.tokenpocket.pro/",
31
- android: "https://play.google.com/store/apps/details?id=vip.mytokenpocket",
32
- ios: "https://apps.apple.com/us/app/tp-global-wallet/id6444625622",
33
- qrCode: "https://tokenpocket.pro/en/download/app",
34
- mobile: "https://tokenpocket.pro/en/download/app"
35
- },
36
- mobile: {
37
- getUri: shouldUseWalletConnect ? getUri : void 0
38
- },
39
- qrCode: shouldUseWalletConnect ? {
40
- getUri,
41
- instructions: {
42
- learnMoreUrl: "https://help.tokenpocket.pro/en/",
43
- steps: [
44
- {
45
- description: "wallet_connectors.token_pocket.qr_code.step1.description",
46
- step: "install",
47
- title: "wallet_connectors.token_pocket.qr_code.step1.title"
48
- },
49
- {
50
- description: "wallet_connectors.token_pocket.qr_code.step2.description",
51
- step: "create",
52
- title: "wallet_connectors.token_pocket.qr_code.step2.title"
53
- },
54
- {
55
- description: "wallet_connectors.token_pocket.qr_code.step3.description",
56
- step: "scan",
57
- title: "wallet_connectors.token_pocket.qr_code.step3.title"
58
- }
59
- ]
60
- }
61
- } : void 0,
62
- extension: {
63
- instructions: {
64
- learnMoreUrl: "https://help.tokenpocket.pro/en/extension-wallet/faq/installation-tutorial",
65
- steps: [
66
- {
67
- description: "wallet_connectors.token_pocket.extension.step1.description",
68
- step: "install",
69
- title: "wallet_connectors.token_pocket.extension.step1.title"
70
- },
71
- {
72
- description: "wallet_connectors.token_pocket.extension.step2.description",
73
- step: "create",
74
- title: "wallet_connectors.token_pocket.extension.step2.title"
75
- },
76
- {
77
- description: "wallet_connectors.token_pocket.extension.step3.description",
78
- step: "refresh",
79
- title: "wallet_connectors.token_pocket.extension.step3.title"
80
- }
81
- ]
82
- }
83
- },
84
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
85
- projectId,
86
- walletConnectParameters
87
- }) : getInjectedConnector({ flag: "isTokenPocket" })
88
- };
89
- };
90
-
91
- export {
92
- tokenPocketWallet
93
- };
@@ -1,95 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-DNSG5Q7V.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-23WIEY36.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-RFVUHOVE.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,96 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-DNSG5Q7V.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-23WIEY36.js";
9
-
10
- // src/wallets/walletConnectors/coin98Wallet/coin98Wallet.ts
11
- var coin98Wallet = ({
12
- projectId,
13
- walletConnectParameters
14
- }) => {
15
- const isCoin98WalletInjected = hasInjectedProvider({
16
- namespace: "coin98.provider",
17
- flag: "isCoin98"
18
- });
19
- const shouldUseWalletConnect = !isCoin98WalletInjected;
20
- return {
21
- id: "coin98",
22
- name: "Coin98 Wallet",
23
- iconUrl: async () => (await import("./coin98Wallet-I5CP5KYZ.js")).default,
24
- installed: isCoin98WalletInjected,
25
- iconAccent: "#CDA349",
26
- iconBackground: "#fff",
27
- rdns: "coin98.com",
28
- downloadUrls: {
29
- android: "https://play.google.com/store/apps/details?id=coin98.crypto.finance.media",
30
- ios: "https://apps.apple.com/vn/app/coin98-super-app/id1561969966",
31
- mobile: "https://coin98.com/wallet",
32
- qrCode: "https://coin98.com/wallet",
33
- chrome: "https://chrome.google.com/webstore/detail/coin98-wallet/aeachknmefphepccionboohckonoeemg",
34
- browserExtension: "https://coin98.com/wallet"
35
- },
36
- mobile: {
37
- getUri: shouldUseWalletConnect ? (uri) => uri : void 0
38
- },
39
- qrCode: shouldUseWalletConnect ? {
40
- getUri: (uri) => uri,
41
- instructions: {
42
- learnMoreUrl: "https://coin98.com/wallet",
43
- steps: [
44
- {
45
- description: "wallet_connectors.coin98.qr_code.step1.description",
46
- step: "install",
47
- title: "wallet_connectors.coin98.qr_code.step1.title"
48
- },
49
- {
50
- description: "wallet_connectors.coin98.qr_code.step2.description",
51
- step: "create",
52
- title: "wallet_connectors.coin98.qr_code.step2.title"
53
- },
54
- {
55
- description: "wallet_connectors.coin98.qr_code.step3.description",
56
- step: "scan",
57
- title: "wallet_connectors.coin98.qr_code.step3.title"
58
- }
59
- ]
60
- }
61
- } : void 0,
62
- extension: {
63
- instructions: {
64
- learnMoreUrl: "https://coin98.com/wallet",
65
- steps: [
66
- {
67
- description: "wallet_connectors.coin98.extension.step1.description",
68
- step: "install",
69
- title: "wallet_connectors.coin98.extension.step1.title"
70
- },
71
- {
72
- description: "wallet_connectors.coin98.extension.step2.description",
73
- step: "create",
74
- title: "wallet_connectors.coin98.extension.step2.title"
75
- },
76
- {
77
- description: "wallet_connectors.coin98.extension.step3.description",
78
- step: "refresh",
79
- title: "wallet_connectors.coin98.extension.step3.title"
80
- }
81
- ]
82
- }
83
- },
84
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
85
- projectId,
86
- walletConnectParameters
87
- }) : getInjectedConnector({
88
- namespace: "coin98Wallet",
89
- flag: "isCoin98"
90
- })
91
- };
92
- };
93
-
94
- export {
95
- coin98Wallet
96
- };