@funkit/connect 1.0.16 → 1.0.18

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 (38) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/components/FunInput/FunTwoFaInput.d.ts +2 -1
  3. package/dist/index.js +147 -97
  4. package/dist/utils/payment.d.ts +10 -0
  5. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  6. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  7. package/dist/wallets/walletConnectors/chunk-VWZEDVW6.js +27 -0
  8. package/dist/wallets/walletConnectors/chunk-YC7XNS7C.js +98 -0
  9. package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +2 -2
  10. package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +2 -2
  11. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  12. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  13. package/dist/wallets/walletConnectors/index.js +56 -56
  14. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  15. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  16. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  17. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  18. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  20. package/package.json +1 -1
  21. package/dist/wallets/walletConnectors/chunk-4FQLUQNA.js +0 -96
  22. package/dist/wallets/walletConnectors/chunk-JLQ5HJYV.js +0 -94
  23. package/dist/wallets/walletConnectors/chunk-LVRXH33E.js +0 -92
  24. package/dist/wallets/walletConnectors/chunk-MIWCKFYE.js +0 -87
  25. package/dist/wallets/walletConnectors/chunk-Q4RLUJJD.js +0 -66
  26. package/dist/wallets/walletConnectors/chunk-SYELB4QO.js +0 -107
  27. package/dist/wallets/walletConnectors/chunk-ZBAQFL6G.js +0 -102
  28. package/dist/wallets/walletConnectors/chunk-ZUAHWUEL.js +0 -98
  29. package/dist/wallets/walletConnectors/{chunk-V45EXW7A.js → chunk-2PC2XXUH.js} +4 -4
  30. package/dist/wallets/walletConnectors/{chunk-ZNXQ4V6G.js → chunk-75A2U7T7.js} +4 -4
  31. package/dist/wallets/walletConnectors/{chunk-O5NKWWEG.js → chunk-FDIIMYTB.js} +4 -4
  32. package/dist/wallets/walletConnectors/{chunk-AM4SSLAP.js → chunk-N3VZE65M.js} +4 -4
  33. package/dist/wallets/walletConnectors/{chunk-Z2DGDHHZ.js → chunk-OAEJQOAV.js} +4 -4
  34. package/dist/wallets/walletConnectors/{chunk-2UXZAUWT.js → chunk-OR3PU2W4.js} +4 -4
  35. package/dist/wallets/walletConnectors/{chunk-6LTLPR2Q.js → chunk-SL4VH23R.js} +4 -4
  36. package/dist/wallets/walletConnectors/{chunk-7CQPABJG.js → chunk-SQGFKNNZ.js} +4 -4
  37. package/dist/wallets/walletConnectors/{chunk-3WZRNEZH.js → chunk-X255T3C4.js} +4 -4
  38. package/dist/wallets/walletConnectors/{chunk-NGXIHASN.js → chunk-XSSD5ZVD.js} +4 -4
@@ -0,0 +1,27 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-QII6PY2D.js";
6
+ import {
7
+ isIOS
8
+ } from "./chunk-ZOLACFTK.js";
9
+
10
+ // src/wallets/walletConnectors/dawnWallet/dawnWallet.ts
11
+ var dawnWallet = () => ({
12
+ id: "dawn",
13
+ name: "Dawn",
14
+ iconUrl: async () => (await import("./dawnWallet-MN7QMTX3.js")).default,
15
+ iconBackground: "#000000",
16
+ installed: hasInjectedProvider({ flag: "isDawn" }),
17
+ hidden: () => !isIOS(),
18
+ downloadUrls: {
19
+ ios: "https://apps.apple.com/us/app/dawn-ethereum-wallet/id1673143782",
20
+ mobile: "https://dawnwallet.xyz"
21
+ },
22
+ createConnector: getInjectedConnector({ flag: "isDawn" })
23
+ });
24
+
25
+ export {
26
+ dawnWallet
27
+ };
@@ -0,0 +1,98 @@
1
+ "use client";
2
+ import {
3
+ hasInjectedProvider
4
+ } from "./chunk-QII6PY2D.js";
5
+ import {
6
+ isIOS
7
+ } from "./chunk-ZOLACFTK.js";
8
+
9
+ // src/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.ts
10
+ import { createConnector } from "wagmi";
11
+ import { coinbaseWallet as coinbaseWagmiWallet } from "wagmi/connectors";
12
+ var coinbaseWallet = ({
13
+ appName,
14
+ appIcon
15
+ }) => {
16
+ const isCoinbaseWalletInjected = hasInjectedProvider({
17
+ flag: "isCoinbaseWallet"
18
+ });
19
+ const getUri = (uri) => uri;
20
+ const ios = isIOS();
21
+ return {
22
+ id: "coinbase",
23
+ name: "Coinbase Wallet",
24
+ shortName: "Coinbase",
25
+ rdns: "com.coinbase.wallet",
26
+ iconUrl: async () => (await import("./coinbaseWallet-2OUR5TUP.js")).default,
27
+ iconAccent: "#2c5ff6",
28
+ iconBackground: "#2c5ff6",
29
+ installed: isCoinbaseWalletInjected || void 0,
30
+ downloadUrls: {
31
+ android: "https://play.google.com/store/apps/details?id=org.toshi",
32
+ ios: "https://apps.apple.com/us/app/coinbase-wallet-store-crypto/id1278383455",
33
+ mobile: "https://coinbase.com/wallet/downloads",
34
+ qrCode: "https://coinbase-wallet.onelink.me/q5Sx/fdb9b250",
35
+ chrome: "https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad",
36
+ browserExtension: "https://coinbase.com/wallet"
37
+ },
38
+ ...ios ? {} : {
39
+ qrCode: {
40
+ getUri,
41
+ instructions: {
42
+ learnMoreUrl: "https://coinbase.com/wallet/articles/getting-started-mobile",
43
+ steps: [
44
+ {
45
+ description: "wallet_connectors.coinbase.qr_code.step1.description",
46
+ step: "install",
47
+ title: "wallet_connectors.coinbase.qr_code.step1.title"
48
+ },
49
+ {
50
+ description: "wallet_connectors.coinbase.qr_code.step2.description",
51
+ step: "create",
52
+ title: "wallet_connectors.coinbase.qr_code.step2.title"
53
+ },
54
+ {
55
+ description: "wallet_connectors.coinbase.qr_code.step3.description",
56
+ step: "scan",
57
+ title: "wallet_connectors.coinbase.qr_code.step3.title"
58
+ }
59
+ ]
60
+ }
61
+ },
62
+ extension: {
63
+ instructions: {
64
+ learnMoreUrl: "https://coinbase.com/wallet/articles/getting-started-extension",
65
+ steps: [
66
+ {
67
+ description: "wallet_connectors.coinbase.extension.step1.description",
68
+ step: "install",
69
+ title: "wallet_connectors.coinbase.extension.step1.title"
70
+ },
71
+ {
72
+ description: "wallet_connectors.coinbase.extension.step2.description",
73
+ step: "create",
74
+ title: "wallet_connectors.coinbase.extension.step2.title"
75
+ },
76
+ {
77
+ description: "wallet_connectors.coinbase.extension.step3.description",
78
+ step: "refresh",
79
+ title: "wallet_connectors.coinbase.extension.step3.title"
80
+ }
81
+ ]
82
+ }
83
+ }
84
+ },
85
+ createConnector: (walletDetails) => createConnector((config) => ({
86
+ ...coinbaseWagmiWallet({
87
+ appName,
88
+ appLogoUrl: appIcon,
89
+ headlessMode: true
90
+ })(config),
91
+ ...walletDetails
92
+ }))
93
+ };
94
+ };
95
+
96
+ export {
97
+ coinbaseWallet
98
+ };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coinbaseWallet
4
- } from "../chunk-XBUTWYE4.js";
5
- import "../chunk-ZOLACFTK.js";
4
+ } from "../chunk-YC7XNS7C.js";
6
5
  import "../chunk-QII6PY2D.js";
6
+ import "../chunk-ZOLACFTK.js";
7
7
  export {
8
8
  coinbaseWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  dawnWallet
4
- } from "../chunk-4XQDKOGF.js";
5
- import "../chunk-ZOLACFTK.js";
4
+ } from "../chunk-VWZEDVW6.js";
6
5
  import "../chunk-QII6PY2D.js";
6
+ import "../chunk-ZOLACFTK.js";
7
7
  export {
8
8
  dawnWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  frontierWallet
4
- } from "../chunk-HD5VYJNC.js";
5
- import "../chunk-ZOLACFTK.js";
4
+ } from "../chunk-N3VZE65M.js";
6
5
  import "../chunk-QII6PY2D.js";
6
+ import "../chunk-ZOLACFTK.js";
7
7
  import "../chunk-ZDU3JFGR.js";
8
8
  export {
9
9
  frontierWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  gateWallet
4
- } from "../chunk-VSZ7PAHS.js";
5
- import "../chunk-ZOLACFTK.js";
4
+ } from "../chunk-2PC2XXUH.js";
6
5
  import "../chunk-QII6PY2D.js";
6
+ import "../chunk-ZOLACFTK.js";
7
7
  import "../chunk-ZDU3JFGR.js";
8
8
  export {
9
9
  gateWallet
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import {
3
- xdefiWallet
4
- } from "./chunk-L734HTUS.js";
5
2
  import {
6
3
  zealWallet
7
4
  } from "./chunk-DPXMP5KS.js";
5
+ import {
6
+ xdefiWallet
7
+ } from "./chunk-L734HTUS.js";
8
8
  import {
9
9
  zerionWallet
10
- } from "./chunk-XNNLZXHE.js";
10
+ } from "./chunk-SQGFKNNZ.js";
11
11
  import {
12
12
  subWallet
13
13
  } from "./chunk-2GAW2UBU.js";
@@ -17,39 +17,39 @@ import {
17
17
  import {
18
18
  talismanWallet
19
19
  } from "./chunk-H273OTQA.js";
20
- import {
21
- tokenPocketWallet
22
- } from "./chunk-7KDOXASH.js";
23
20
  import {
24
21
  tokenaryWallet
25
22
  } from "./chunk-ENZLEAG2.js";
23
+ import {
24
+ tokenPocketWallet
25
+ } from "./chunk-OR3PU2W4.js";
26
26
  import {
27
27
  uniswapWallet
28
28
  } from "./chunk-XRSY4JVH.js";
29
29
  import {
30
30
  trustWallet
31
- } from "./chunk-CRSPGVPF.js";
31
+ } from "./chunk-OAEJQOAV.js";
32
32
  import {
33
33
  walletConnectWallet
34
34
  } from "./chunk-ASPRR7T3.js";
35
+ import {
36
+ rabbyWallet
37
+ } from "./chunk-XPEBP6XV.js";
35
38
  import {
36
39
  rainbowWallet
37
- } from "./chunk-RCWZ4KBR.js";
40
+ } from "./chunk-FDIIMYTB.js";
41
+ import {
42
+ phantomWallet
43
+ } from "./chunk-KGBLSE7L.js";
38
44
  import {
39
45
  ramperWallet
40
46
  } from "./chunk-ZOL6ZMTJ.js";
41
47
  import {
42
48
  roninWallet
43
49
  } from "./chunk-GW6EF4G2.js";
44
- import {
45
- clvWallet
46
- } from "./chunk-T6JVHES7.js";
47
50
  import {
48
51
  safeWallet
49
52
  } from "./chunk-D3DCQ72J.js";
50
- import {
51
- imTokenWallet
52
- } from "./chunk-5MVV7OVS.js";
53
53
  import {
54
54
  safeheronWallet
55
55
  } from "./chunk-63NPZXAL.js";
@@ -57,41 +57,44 @@ import {
57
57
  safepalWallet
58
58
  } from "./chunk-RTW6PVQI.js";
59
59
  import {
60
- mewWallet
61
- } from "./chunk-PWYTDYBE.js";
60
+ metaMaskWallet
61
+ } from "./chunk-X255T3C4.js";
62
+ import {
63
+ okxWallet
64
+ } from "./chunk-XSSD5ZVD.js";
62
65
  import {
63
66
  oktoWallet
64
67
  } from "./chunk-WKHTUEF5.js";
65
68
  import {
66
- okxWallet
67
- } from "./chunk-DV3SI63E.js";
69
+ injectedWallet
70
+ } from "./chunk-KIHCNUU3.js";
68
71
  import {
69
72
  omniWallet
70
73
  } from "./chunk-SVN7OEQR.js";
74
+ import {
75
+ mewWallet
76
+ } from "./chunk-PWYTDYBE.js";
71
77
  import {
72
78
  oneInchWallet
73
79
  } from "./chunk-LCPIZUR3.js";
74
80
  import {
75
81
  oneKeyWallet
76
82
  } from "./chunk-4WOV4ITL.js";
77
- import {
78
- phantomWallet
79
- } from "./chunk-KGBLSE7L.js";
80
- import {
81
- rabbyWallet
82
- } from "./chunk-XPEBP6XV.js";
83
83
  import {
84
84
  frameWallet
85
85
  } from "./chunk-XXFJVY73.js";
86
86
  import {
87
- frontierWallet
88
- } from "./chunk-HD5VYJNC.js";
87
+ foxWallet
88
+ } from "./chunk-OKWOB3DN.js";
89
+ import {
90
+ enkryptWallet
91
+ } from "./chunk-FLY7F4XA.js";
89
92
  import {
90
93
  gateWallet
91
- } from "./chunk-VSZ7PAHS.js";
94
+ } from "./chunk-2PC2XXUH.js";
92
95
  import {
93
- injectedWallet
94
- } from "./chunk-KIHCNUU3.js";
96
+ imTokenWallet
97
+ } from "./chunk-5MVV7OVS.js";
95
98
  import {
96
99
  kresusWallet
97
100
  } from "./chunk-X6T3CICZ.js";
@@ -99,55 +102,52 @@ import {
99
102
  ledgerWallet
100
103
  } from "./chunk-Y6VY6E3L.js";
101
104
  import {
102
- metaMaskWallet
103
- } from "./chunk-XRMAVTK7.js";
105
+ clvWallet
106
+ } from "./chunk-T6JVHES7.js";
104
107
  import {
105
- braveWallet
106
- } from "./chunk-ABYQAXUX.js";
108
+ argentWallet
109
+ } from "./chunk-NZ5G23JP.js";
107
110
  import {
108
- coin98Wallet
109
- } from "./chunk-Z2HIQYVN.js";
111
+ bybitWallet
112
+ } from "./chunk-CUKVUCIP.js";
113
+ import {
114
+ dawnWallet
115
+ } from "./chunk-VWZEDVW6.js";
110
116
  import {
111
117
  coinbaseWallet
112
- } from "./chunk-XBUTWYE4.js";
118
+ } from "./chunk-YC7XNS7C.js";
113
119
  import {
114
120
  coreWallet
115
121
  } from "./chunk-IBWFKX7P.js";
116
122
  import {
117
- dawnWallet
118
- } from "./chunk-4XQDKOGF.js";
123
+ frontierWallet
124
+ } from "./chunk-N3VZE65M.js";
119
125
  import {
120
126
  desigWallet
121
127
  } from "./chunk-P4JLZ42R.js";
122
128
  import {
123
- enkryptWallet
124
- } from "./chunk-FLY7F4XA.js";
125
- import {
126
- foxWallet
127
- } from "./chunk-OKWOB3DN.js";
129
+ bitgetWallet
130
+ } from "./chunk-75A2U7T7.js";
128
131
  import {
129
- argentWallet
130
- } from "./chunk-NZ5G23JP.js";
132
+ bitverseWallet
133
+ } from "./chunk-NL4I7WOT.js";
131
134
  import {
132
135
  bifrostWallet
133
- } from "./chunk-KGTZ6E7L.js";
136
+ } from "./chunk-SL4VH23R.js";
134
137
  import {
135
- bitgetWallet
136
- } from "./chunk-2B3SPBRY.js";
138
+ braveWallet
139
+ } from "./chunk-ABYQAXUX.js";
140
+ import {
141
+ coin98Wallet
142
+ } from "./chunk-Z2HIQYVN.js";
137
143
  import {
138
144
  bitskiWallet
139
145
  } from "./chunk-C67TQJ6W.js";
140
- import {
141
- bitverseWallet
142
- } from "./chunk-NL4I7WOT.js";
146
+ import "./chunk-QII6PY2D.js";
143
147
  import {
144
148
  bloomWallet
145
149
  } from "./chunk-NTGZF5BY.js";
146
150
  import "./chunk-ZOLACFTK.js";
147
- import {
148
- bybitWallet
149
- } from "./chunk-CUKVUCIP.js";
150
- import "./chunk-QII6PY2D.js";
151
151
  import "./chunk-ZDU3JFGR.js";
152
152
  export {
153
153
  argentWallet,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  metaMaskWallet
4
- } from "../chunk-XRMAVTK7.js";
5
- import "../chunk-ZOLACFTK.js";
4
+ } from "../chunk-X255T3C4.js";
6
5
  import "../chunk-QII6PY2D.js";
6
+ import "../chunk-ZOLACFTK.js";
7
7
  import "../chunk-ZDU3JFGR.js";
8
8
  export {
9
9
  metaMaskWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  okxWallet
4
- } from "../chunk-DV3SI63E.js";
5
- import "../chunk-ZOLACFTK.js";
4
+ } from "../chunk-XSSD5ZVD.js";
6
5
  import "../chunk-QII6PY2D.js";
6
+ import "../chunk-ZOLACFTK.js";
7
7
  import "../chunk-ZDU3JFGR.js";
8
8
  export {
9
9
  okxWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  rainbowWallet
4
- } from "../chunk-RCWZ4KBR.js";
5
- import "../chunk-ZOLACFTK.js";
4
+ } from "../chunk-FDIIMYTB.js";
6
5
  import "../chunk-QII6PY2D.js";
6
+ import "../chunk-ZOLACFTK.js";
7
7
  import "../chunk-ZDU3JFGR.js";
8
8
  export {
9
9
  rainbowWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  tokenPocketWallet
4
- } from "../chunk-7KDOXASH.js";
5
- import "../chunk-ZOLACFTK.js";
4
+ } from "../chunk-OR3PU2W4.js";
6
5
  import "../chunk-QII6PY2D.js";
6
+ import "../chunk-ZOLACFTK.js";
7
7
  import "../chunk-ZDU3JFGR.js";
8
8
  export {
9
9
  tokenPocketWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  trustWallet
4
- } from "../chunk-CRSPGVPF.js";
5
- import "../chunk-ZOLACFTK.js";
4
+ } from "../chunk-OAEJQOAV.js";
6
5
  import "../chunk-QII6PY2D.js";
6
+ import "../chunk-ZOLACFTK.js";
7
7
  import "../chunk-ZDU3JFGR.js";
8
8
  export {
9
9
  trustWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  zerionWallet
4
- } from "../chunk-XNNLZXHE.js";
5
- import "../chunk-ZOLACFTK.js";
4
+ } from "../chunk-SQGFKNNZ.js";
6
5
  import "../chunk-QII6PY2D.js";
6
+ import "../chunk-ZOLACFTK.js";
7
7
  import "../chunk-ZDU3JFGR.js";
8
8
  export {
9
9
  zerionWallet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -1,96 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-ZDU3JFGR.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-QII6PY2D.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-7Q4WNBWR.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
- };
@@ -1,94 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-ZDU3JFGR.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-QII6PY2D.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
- iconUrl: async () => (await import("./coreWallet-HRVLR2XS.js")).default,
24
- iconBackground: "#1A1A1C",
25
- installed: !shouldUseWalletConnect ? isCoreInjected : void 0,
26
- downloadUrls: {
27
- android: "https://play.google.com/store/apps/details?id=com.avaxwallet",
28
- ios: "https://apps.apple.com/us/app/core-wallet/id6443685999",
29
- mobile: "https://core.app/?downloadCoreMobile=1",
30
- qrCode: "https://core.app/?downloadCoreMobile=1",
31
- chrome: "https://chrome.google.com/webstore/detail/core-crypto-wallet-nft-ex/agoakfejjabomempkjlepdflaleeobhb",
32
- browserExtension: "https://extension.core.app/"
33
- },
34
- mobile: {
35
- getUri: shouldUseWalletConnect ? (uri) => uri : void 0
36
- },
37
- qrCode: shouldUseWalletConnect ? {
38
- getUri: (uri) => uri,
39
- instructions: {
40
- learnMoreUrl: "https://support.avax.network/en/articles/6115608-core-mobile-how-to-add-the-core-mobile-to-my-phone",
41
- steps: [
42
- {
43
- description: "wallet_connectors.core.qr_code.step1.description",
44
- step: "install",
45
- title: "wallet_connectors.core.qr_code.step1.title"
46
- },
47
- {
48
- description: "wallet_connectors.core.qr_code.step2.description",
49
- step: "create",
50
- title: "wallet_connectors.core.qr_code.step2.title"
51
- },
52
- {
53
- description: "wallet_connectors.core.qr_code.step3.description",
54
- step: "scan",
55
- title: "wallet_connectors.core.qr_code.step3.title"
56
- }
57
- ]
58
- }
59
- } : void 0,
60
- extension: {
61
- instructions: {
62
- learnMoreUrl: "https://extension.core.app/",
63
- steps: [
64
- {
65
- description: "wallet_connectors.core.extension.step1.description",
66
- step: "install",
67
- title: "wallet_connectors.core.extension.step1.title"
68
- },
69
- {
70
- description: "wallet_connectors.core.extension.step2.description",
71
- step: "create",
72
- title: "wallet_connectors.core.extension.step2.title"
73
- },
74
- {
75
- description: "wallet_connectors.core.extension.step3.description",
76
- step: "refresh",
77
- title: "wallet_connectors.core.extension.step3.title"
78
- }
79
- ]
80
- }
81
- },
82
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
83
- projectId,
84
- walletConnectParameters
85
- }) : getInjectedConnector({
86
- namespace: "avalanche",
87
- flag: "isAvalanche"
88
- })
89
- };
90
- };
91
-
92
- export {
93
- coreWallet
94
- };