@funkit/connect 9.11.0-next.0 → 9.11.0

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 (94) hide show
  1. package/CHANGELOG.md +15 -4
  2. package/dist/__generated__/default_feature_gates.d.ts +1 -0
  3. package/dist/clients/fanatics.css +1 -1
  4. package/dist/clients/fanatics.js +1 -1
  5. package/dist/clients/lighter.css +1 -1
  6. package/dist/clients/lighter.js +1 -1
  7. package/dist/clients/polymarket.js +74 -27
  8. package/dist/components/FunSelectBrokerage/FunSelectBrokerage.d.ts +5 -4
  9. package/dist/consts/bluvo.d.ts +27 -0
  10. package/dist/domains/swapped.d.ts +1 -1
  11. package/dist/hooks/useTokenTransfer.d.ts +2 -1
  12. package/dist/index.css +10 -10
  13. package/dist/index.js +2662 -2343
  14. package/dist/modals/CheckoutModal/Brokerage/SelectBrokerage.d.ts +1 -1
  15. package/dist/modals/CheckoutModal/InputAmount/useMeld.d.ts +1 -1
  16. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  17. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  18. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  21. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  22. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  23. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  24. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  25. package/dist/wallets/walletConnectors/index.js +68 -68
  26. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  27. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  28. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  29. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  30. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  31. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  32. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  33. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  34. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  35. package/package.json +5 -5
  36. package/dist/chunk-64NZSUGQ.js +0 -368
  37. package/dist/chunk-B2B6HDIE.js +0 -238
  38. package/dist/chunk-OQNN7EMQ.js +0 -238
  39. package/dist/chunk-S65TG73G.js +0 -247
  40. package/dist/chunk-VLAOBEJN.js +0 -247
  41. package/dist/clients/chunk-3LSYVQXK.js +0 -289
  42. package/dist/clients/chunk-5HU2XDR2.js +0 -289
  43. package/dist/clients/chunk-DKWYHSW3.js +0 -225
  44. package/dist/clients/chunk-IPK5DVIL.js +0 -229
  45. package/dist/clients/chunk-PVOHWTSR.js +0 -289
  46. package/dist/clients/chunk-SBQ2UUPK.js +0 -214
  47. package/dist/components/Dropdown/TokenAndChainDropdown.css.d.ts +0 -1
  48. package/dist/hooks/statsig/checkFeatureGate.d.ts +0 -19
  49. package/dist/hooks/track/CheckoutTrackingContext.d.ts +0 -60
  50. package/dist/hooks/useTokenChain.d.ts +0 -21
  51. package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframeContainer.d.ts +0 -17
  52. package/dist/modals/WithdrwalModal/WithdrawalCallbackSuccess.d.ts +0 -10
  53. package/dist/modals/WithdrwalModal/WithdrawalContent.d.ts +0 -11
  54. package/dist/modals/WithdrwalModal/WithdrawalModal.d.ts +0 -9
  55. package/dist/modals/WithdrwalModal/WithdrawalSuccess.d.ts +0 -15
  56. package/dist/modals/WithdrwalModal/types.d.ts +0 -5
  57. package/dist/modals/WithdrwalModal/useWithdrawal.d.ts +0 -24
  58. package/dist/wallets/walletConnectors/chunk-3ZJN3PXP.js +0 -87
  59. package/dist/wallets/walletConnectors/chunk-4C7ER452.js +0 -93
  60. package/dist/wallets/walletConnectors/chunk-53VYSPXK.js +0 -66
  61. package/dist/wallets/walletConnectors/chunk-55VS2NKG.js +0 -95
  62. package/dist/wallets/walletConnectors/chunk-6UCI7GM6.js +0 -98
  63. package/dist/wallets/walletConnectors/chunk-6YO27XOM.js +0 -96
  64. package/dist/wallets/walletConnectors/chunk-7IEUTLHY.js +0 -98
  65. package/dist/wallets/walletConnectors/chunk-7OARWILZ.js +0 -92
  66. package/dist/wallets/walletConnectors/chunk-AZYMJ4C6.js +0 -70
  67. package/dist/wallets/walletConnectors/chunk-CJJT7LMT.js +0 -96
  68. package/dist/wallets/walletConnectors/chunk-EKJHJFRN.js +0 -69
  69. package/dist/wallets/walletConnectors/chunk-FWM4KTOV.js +0 -106
  70. package/dist/wallets/walletConnectors/chunk-GH4M6FTK.js +0 -95
  71. package/dist/wallets/walletConnectors/chunk-GSHSWVEG.js +0 -70
  72. package/dist/wallets/walletConnectors/chunk-GVOQTORD.js +0 -87
  73. package/dist/wallets/walletConnectors/chunk-HETS3KKI.js +0 -218
  74. package/dist/wallets/walletConnectors/chunk-HOPH3TQ3.js +0 -99
  75. package/dist/wallets/walletConnectors/chunk-IICWJWGZ.js +0 -110
  76. package/dist/wallets/walletConnectors/chunk-IMNI4AGV.js +0 -99
  77. package/dist/wallets/walletConnectors/chunk-IRHK6SOW.js +0 -218
  78. package/dist/wallets/walletConnectors/chunk-J3PJOMO7.js +0 -96
  79. package/dist/wallets/walletConnectors/chunk-KO56HCTI.js +0 -106
  80. package/dist/wallets/walletConnectors/chunk-LEAZMT5Y.js +0 -92
  81. package/dist/wallets/walletConnectors/chunk-LI6QY2B5.js +0 -94
  82. package/dist/wallets/walletConnectors/chunk-OD6B2ISG.js +0 -69
  83. package/dist/wallets/walletConnectors/chunk-OSOB6QYX.js +0 -92
  84. package/dist/wallets/walletConnectors/chunk-PKMAPNN6.js +0 -92
  85. package/dist/wallets/walletConnectors/chunk-RZQ4B4Z7.js +0 -96
  86. package/dist/wallets/walletConnectors/chunk-TTHM3WUR.js +0 -100
  87. package/dist/wallets/walletConnectors/chunk-UFYNHHDU.js +0 -100
  88. package/dist/wallets/walletConnectors/chunk-UYW6MV74.js +0 -93
  89. package/dist/wallets/walletConnectors/chunk-VMMROPXK.js +0 -110
  90. package/dist/wallets/walletConnectors/chunk-XBLHZICW.js +0 -103
  91. package/dist/wallets/walletConnectors/chunk-YGMU5VWD.js +0 -66
  92. package/dist/wallets/walletConnectors/chunk-ZJJWGKB6.js +0 -103
  93. package/dist/wallets/walletConnectors/chunk-ZL6XCMV5.js +0 -94
  94. /package/dist/clients/{chunk-GCAV3VTB.js → chunk-LMEQD56M.js} +0 -0
@@ -1,106 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-MAPXJUOO.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-BAVE62IL.js";
9
-
10
- // src/wallets/walletConnectors/trustWallet/trustWallet.ts
11
- import { isMobile } from "@funkit/utils";
12
- var trustWallet = ({
13
- projectId,
14
- walletConnectParameters
15
- }) => {
16
- const isTrustWalletInjected = isMobile() ? hasInjectedProvider({ flag: "isTrust" }) : hasInjectedProvider({ flag: "isTrustWallet" });
17
- const shouldUseWalletConnect = !isTrustWalletInjected;
18
- const getUriMobile = (uri) => {
19
- return `trust://wc?uri=${encodeURIComponent(uri)}`;
20
- };
21
- const getUriQR = (uri) => {
22
- return uri;
23
- };
24
- const mobileConnector = {
25
- getUri: shouldUseWalletConnect ? getUriMobile : void 0
26
- };
27
- let qrConnector = void 0;
28
- if (shouldUseWalletConnect) {
29
- qrConnector = {
30
- getUri: getUriQR,
31
- instructions: {
32
- learnMoreUrl: "https://trustwallet.com/",
33
- steps: [
34
- {
35
- description: "wallet_connectors.trust.qr_code.step1.description",
36
- step: "install",
37
- title: "wallet_connectors.trust.qr_code.step1.title"
38
- },
39
- {
40
- description: "wallet_connectors.trust.qr_code.step2.description",
41
- step: "create",
42
- title: "wallet_connectors.trust.qr_code.step2.title"
43
- },
44
- {
45
- description: "wallet_connectors.trust.qr_code.step3.description",
46
- step: "scan",
47
- title: "wallet_connectors.trust.qr_code.step3.title"
48
- }
49
- ]
50
- }
51
- };
52
- }
53
- const extensionConnector = {
54
- instructions: {
55
- learnMoreUrl: "https://trustwallet.com/browser-extension",
56
- steps: [
57
- {
58
- description: "wallet_connectors.trust.extension.step1.description",
59
- step: "install",
60
- title: "wallet_connectors.trust.extension.step1.title"
61
- },
62
- {
63
- description: "wallet_connectors.trust.extension.step2.description",
64
- step: "create",
65
- title: "wallet_connectors.trust.extension.step2.title"
66
- },
67
- {
68
- description: "wallet_connectors.trust.extension.step3.description",
69
- step: "refresh",
70
- title: "wallet_connectors.trust.extension.step3.title"
71
- }
72
- ]
73
- }
74
- };
75
- return {
76
- id: "trust",
77
- name: "Trust Wallet",
78
- rdns: "com.trustwallet.app",
79
- iconUrl: async () => (await import("./trustWallet-2N5TZJGC.js")).default,
80
- // Note that we never resolve `installed` to `false` because the
81
- // Trust Wallet provider falls back to other connection methods if
82
- // the injected connector isn't available
83
- installed: isTrustWalletInjected || void 0,
84
- iconAccent: "#3375BB",
85
- iconBackground: "#fff",
86
- downloadUrls: {
87
- android: "https://play.google.com/store/apps/details?id=com.wallet.crypto.trustapp",
88
- ios: "https://apps.apple.com/us/app/trust-crypto-bitcoin-wallet/id1288339409",
89
- mobile: "https://trustwallet.com/download",
90
- qrCode: "https://trustwallet.com/download",
91
- chrome: "https://chrome.google.com/webstore/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph",
92
- browserExtension: "https://trustwallet.com/browser-extension"
93
- },
94
- mobile: mobileConnector,
95
- qrCode: qrConnector,
96
- extension: extensionConnector,
97
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
98
- projectId,
99
- walletConnectParameters
100
- }) : isMobile() ? getInjectedConnector({ flag: "isTrust" }) : getInjectedConnector({ flag: "isTrustWallet" })
101
- };
102
- };
103
-
104
- export {
105
- trustWallet
106
- };
@@ -1,92 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-FMVNQKZL.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-YYYRPQHB.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,94 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-MAPXJUOO.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-BAVE62IL.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,69 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-FMVNQKZL.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-YYYRPQHB.js";
9
-
10
- // src/wallets/walletConnectors/bifrostWallet/bifrostWallet.ts
11
- import { isAndroid } from "@funkit/utils";
12
- var bifrostWallet = ({
13
- projectId,
14
- walletConnectParameters
15
- }) => {
16
- const isBifrostInjected = hasInjectedProvider({ flag: "isBifrost" });
17
- const shouldUseWalletConnect = !isBifrostInjected;
18
- const getUri = (uri) => {
19
- return isAndroid() ? uri : `https://app.bifrostwallet.com/wc?uri=${encodeURIComponent(uri)}`;
20
- };
21
- return {
22
- id: "bifrostWallet",
23
- name: "Bifrost Wallet",
24
- iconUrl: async () => (await import("./bifrostWallet-5NQVDZ5P.js")).default,
25
- iconBackground: "#fff",
26
- installed: !shouldUseWalletConnect ? isBifrostInjected : void 0,
27
- downloadUrls: {
28
- android: "https://play.google.com/store/apps/details?id=com.bifrostwallet.app",
29
- ios: "https://apps.apple.com/us/app/bifrost-wallet/id1577198351",
30
- qrCode: "https://bifrostwallet.com/#download-app"
31
- },
32
- mobile: {
33
- getUri: shouldUseWalletConnect ? getUri : void 0
34
- },
35
- qrCode: shouldUseWalletConnect ? {
36
- getUri: (uri) => uri,
37
- instructions: {
38
- learnMoreUrl: "https://support.bifrostwallet.com/en/articles/6886814-how-to-use-walletconnect",
39
- steps: [
40
- {
41
- description: "wallet_connectors.bifrost.qr_code.step1.description",
42
- step: "install",
43
- title: "wallet_connectors.bifrost.qr_code.step1.title"
44
- },
45
- {
46
- description: "wallet_connectors.bifrost.qr_code.step2.description",
47
- step: "create",
48
- title: "wallet_connectors.bifrost.qr_code.step2.title"
49
- },
50
- {
51
- description: "wallet_connectors.bifrost.qr_code.step3.description",
52
- step: "scan",
53
- title: "wallet_connectors.bifrost.qr_code.step3.title"
54
- }
55
- ]
56
- }
57
- } : void 0,
58
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
59
- projectId,
60
- walletConnectParameters
61
- }) : getInjectedConnector({
62
- flag: "isBifrost"
63
- })
64
- };
65
- };
66
-
67
- export {
68
- bifrostWallet
69
- };
@@ -1,92 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-FMVNQKZL.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-YYYRPQHB.js";
9
-
10
- // src/wallets/walletConnectors/roninWallet/roninWallet.ts
11
- var roninWallet = ({
12
- projectId,
13
- walletConnectParameters
14
- }) => {
15
- const isRoninInjected = hasInjectedProvider({
16
- namespace: "ronin.provider"
17
- });
18
- return {
19
- id: "ronin",
20
- name: "Ronin Wallet",
21
- iconUrl: async () => (await import("./roninWallet-SAB5ESVK.js")).default,
22
- iconBackground: "#ffffff",
23
- rdns: "com.roninchain.wallet",
24
- installed: isRoninInjected || void 0,
25
- downloadUrls: {
26
- android: "https://play.google.com/store/apps/details?id=com.skymavis.genesis",
27
- ios: "https://apps.apple.com/us/app/ronin-wallet/id1592675001",
28
- mobile: "https://wallet.roninchain.com",
29
- chrome: "https://chrome.google.com/webstore/detail/ronin-wallet/fnjhmkhhmkbjkkabndcnnogagogbneec",
30
- edge: "https://microsoftedge.microsoft.com/addons/detail/ronin-wallet/kjmoohlgokccodicjjfebfomlbljgfhk",
31
- firefox: "https://addons.mozilla.org/firefox/addon/ronin-wallet",
32
- browserExtension: "https://wallet.roninchain.com/",
33
- qrCode: "https://wallet.roninchain.com/"
34
- },
35
- mobile: {
36
- getUri: (uri) => `roninwallet://wc?uri=${encodeURIComponent(uri)}`
37
- },
38
- qrCode: {
39
- getUri: (uri) => uri,
40
- instructions: {
41
- learnMoreUrl: "https://wallet.roninchain.com/",
42
- steps: [
43
- {
44
- description: "wallet_connectors.ronin.qr_code.step1.description",
45
- step: "install",
46
- title: "wallet_connectors.ronin.qr_code.step1.title"
47
- },
48
- {
49
- description: "wallet_connectors.ronin.qr_code.step2.description",
50
- step: "create",
51
- title: "wallet_connectors.ronin.qr_code.step2.title"
52
- },
53
- {
54
- description: "wallet_connectors.ronin.qr_code.step3.description",
55
- step: "scan",
56
- title: "wallet_connectors.ronin.qr_code.step3.title"
57
- }
58
- ]
59
- }
60
- },
61
- extension: {
62
- instructions: {
63
- learnMoreUrl: "https://wallet.roninchain.com/",
64
- steps: [
65
- {
66
- description: "wallet_connectors.ronin.extension.step1.description",
67
- step: "install",
68
- title: "wallet_connectors.ronin.extension.step1.title"
69
- },
70
- {
71
- description: "wallet_connectors.ronin.extension.step2.description",
72
- step: "create",
73
- title: "wallet_connectors.ronin.extension.step2.title"
74
- },
75
- {
76
- description: "wallet_connectors.ronin.extension.step3.description",
77
- step: "refresh",
78
- title: "wallet_connectors.ronin.extension.step3.title"
79
- }
80
- ]
81
- }
82
- },
83
- createConnector: isRoninInjected ? getInjectedConnector({ namespace: "ronin.provider" }) : getWalletConnectConnector({
84
- projectId,
85
- walletConnectParameters
86
- })
87
- };
88
- };
89
-
90
- export {
91
- roninWallet
92
- };
@@ -1,92 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-MAPXJUOO.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-BAVE62IL.js";
9
-
10
- // src/wallets/walletConnectors/roninWallet/roninWallet.ts
11
- var roninWallet = ({
12
- projectId,
13
- walletConnectParameters
14
- }) => {
15
- const isRoninInjected = hasInjectedProvider({
16
- namespace: "ronin.provider"
17
- });
18
- return {
19
- id: "ronin",
20
- name: "Ronin Wallet",
21
- iconUrl: async () => (await import("./roninWallet-SAB5ESVK.js")).default,
22
- iconBackground: "#ffffff",
23
- rdns: "com.roninchain.wallet",
24
- installed: isRoninInjected || void 0,
25
- downloadUrls: {
26
- android: "https://play.google.com/store/apps/details?id=com.skymavis.genesis",
27
- ios: "https://apps.apple.com/us/app/ronin-wallet/id1592675001",
28
- mobile: "https://wallet.roninchain.com",
29
- chrome: "https://chrome.google.com/webstore/detail/ronin-wallet/fnjhmkhhmkbjkkabndcnnogagogbneec",
30
- edge: "https://microsoftedge.microsoft.com/addons/detail/ronin-wallet/kjmoohlgokccodicjjfebfomlbljgfhk",
31
- firefox: "https://addons.mozilla.org/firefox/addon/ronin-wallet",
32
- browserExtension: "https://wallet.roninchain.com/",
33
- qrCode: "https://wallet.roninchain.com/"
34
- },
35
- mobile: {
36
- getUri: (uri) => `roninwallet://wc?uri=${encodeURIComponent(uri)}`
37
- },
38
- qrCode: {
39
- getUri: (uri) => uri,
40
- instructions: {
41
- learnMoreUrl: "https://wallet.roninchain.com/",
42
- steps: [
43
- {
44
- description: "wallet_connectors.ronin.qr_code.step1.description",
45
- step: "install",
46
- title: "wallet_connectors.ronin.qr_code.step1.title"
47
- },
48
- {
49
- description: "wallet_connectors.ronin.qr_code.step2.description",
50
- step: "create",
51
- title: "wallet_connectors.ronin.qr_code.step2.title"
52
- },
53
- {
54
- description: "wallet_connectors.ronin.qr_code.step3.description",
55
- step: "scan",
56
- title: "wallet_connectors.ronin.qr_code.step3.title"
57
- }
58
- ]
59
- }
60
- },
61
- extension: {
62
- instructions: {
63
- learnMoreUrl: "https://wallet.roninchain.com/",
64
- steps: [
65
- {
66
- description: "wallet_connectors.ronin.extension.step1.description",
67
- step: "install",
68
- title: "wallet_connectors.ronin.extension.step1.title"
69
- },
70
- {
71
- description: "wallet_connectors.ronin.extension.step2.description",
72
- step: "create",
73
- title: "wallet_connectors.ronin.extension.step2.title"
74
- },
75
- {
76
- description: "wallet_connectors.ronin.extension.step3.description",
77
- step: "refresh",
78
- title: "wallet_connectors.ronin.extension.step3.title"
79
- }
80
- ]
81
- }
82
- },
83
- createConnector: isRoninInjected ? getInjectedConnector({ namespace: "ronin.provider" }) : getWalletConnectConnector({
84
- projectId,
85
- walletConnectParameters
86
- })
87
- };
88
- };
89
-
90
- export {
91
- roninWallet
92
- };
@@ -1,96 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-FMVNQKZL.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-YYYRPQHB.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
- };