@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,67 +1,67 @@
1
1
  "use client";
2
- import {
3
- xdefiWallet
4
- } from "./chunk-BOU4WKRZ.js";
5
- import {
6
- zealWallet
7
- } from "./chunk-RNBEDQHF.js";
8
2
  import {
9
3
  zerionWallet
10
- } from "./chunk-Q3H3TRBS.js";
4
+ } from "./chunk-SULRQO27.js";
11
5
  import {
12
- subWallet
13
- } from "./chunk-ZSI5N4VV.js";
6
+ walletConnectWallet
7
+ } from "./chunk-NP5QGWNL.js";
8
+ import {
9
+ xdefiWallet
10
+ } from "./chunk-BOU4WKRZ.js";
14
11
  import {
15
12
  tahoWallet
16
13
  } from "./chunk-ZZZRUXZE.js";
17
- import {
18
- talismanWallet
19
- } from "./chunk-DRO6WYMM.js";
20
14
  import {
21
15
  tokenPocketWallet
22
- } from "./chunk-J3LI3FYZ.js";
16
+ } from "./chunk-2L43XSW3.js";
17
+ import {
18
+ subWallet
19
+ } from "./chunk-JWFF4AAL.js";
23
20
  import {
24
21
  tokenaryWallet
25
22
  } from "./chunk-D6AOOO5F.js";
26
23
  import {
27
24
  trustWallet
28
- } from "./chunk-RKPCWHXL.js";
25
+ } from "./chunk-VYBAYMP3.js";
26
+ import {
27
+ talismanWallet
28
+ } from "./chunk-DRO6WYMM.js";
29
29
  import {
30
30
  uniswapWallet
31
31
  } from "./chunk-LH7BMNFZ.js";
32
32
  import {
33
- walletConnectWallet
34
- } from "./chunk-NP5QGWNL.js";
35
- import {
36
- phantomWallet
37
- } from "./chunk-362NXNTM.js";
33
+ zealWallet
34
+ } from "./chunk-RNBEDQHF.js";
38
35
  import {
39
- rabbyWallet
40
- } from "./chunk-BBOM42DL.js";
36
+ omniWallet
37
+ } from "./chunk-7CUY5G6R.js";
41
38
  import {
42
39
  rainbowWallet
43
- } from "./chunk-3CICVJUN.js";
40
+ } from "./chunk-2KUBG3S6.js";
44
41
  import {
45
- roninWallet
46
- } from "./chunk-QLVVUKYB.js";
42
+ rabbyWallet
43
+ } from "./chunk-BBOM42DL.js";
47
44
  import {
48
45
  ramperWallet
49
46
  } from "./chunk-BYXPFMI7.js";
50
- import {
51
- safepalWallet
52
- } from "./chunk-EC6CHBSZ.js";
53
47
  import {
54
48
  safeWallet
55
49
  } from "./chunk-BQQQL6UD.js";
56
50
  import {
57
51
  safeheronWallet
58
52
  } from "./chunk-RZIO5TFF.js";
53
+ import {
54
+ roninWallet
55
+ } from "./chunk-NWIQNBJU.js";
56
+ import {
57
+ safepalWallet
58
+ } from "./chunk-NT2HYJKW.js";
59
59
  import {
60
60
  ledgerWallet
61
61
  } from "./chunk-BRBKM4PW.js";
62
62
  import {
63
63
  metaMaskWallet
64
- } from "./chunk-UYGJO62F.js";
64
+ } from "./chunk-2HYNUNAS.js";
65
65
  import {
66
66
  mewWallet
67
67
  } from "./chunk-OL5ZO7E4.js";
@@ -70,31 +70,31 @@ import {
70
70
  } from "./chunk-ADIXAKUL.js";
71
71
  import {
72
72
  okxWallet
73
- } from "./chunk-AFXHGWBH.js";
73
+ } from "./chunk-TDIEHTMB.js";
74
74
  import {
75
- omniWallet
76
- } from "./chunk-7CUY5G6R.js";
75
+ oneKeyWallet
76
+ } from "./chunk-SHBUZ7U7.js";
77
77
  import {
78
78
  oneInchWallet
79
79
  } from "./chunk-OESTDX6I.js";
80
80
  import {
81
- oneKeyWallet
82
- } from "./chunk-SHBUZ7U7.js";
81
+ phantomWallet
82
+ } from "./chunk-362NXNTM.js";
83
83
  import {
84
84
  foxWallet
85
- } from "./chunk-CNPKISHN.js";
85
+ } from "./chunk-7QONTUXT.js";
86
86
  import {
87
87
  frameWallet
88
88
  } from "./chunk-IFON7E6U.js";
89
89
  import {
90
90
  frontierWallet
91
- } from "./chunk-VWCLFMWJ.js";
91
+ } from "./chunk-TCAGNB4B.js";
92
92
  import {
93
93
  imTokenWallet
94
94
  } from "./chunk-COZ7MIQS.js";
95
95
  import {
96
96
  gateWallet
97
- } from "./chunk-CJGUM55H.js";
97
+ } from "./chunk-FKJJQNKX.js";
98
98
  import {
99
99
  injectedWallet
100
100
  } from "./chunk-XWUJE7MW.js";
@@ -102,52 +102,52 @@ import {
102
102
  kresusWallet
103
103
  } from "./chunk-MJXPRJZT.js";
104
104
  import {
105
- clvWallet
106
- } from "./chunk-2GJQ4XZQ.js";
105
+ bybitWallet
106
+ } from "./chunk-2STUC6QL.js";
107
107
  import {
108
- braveWallet
109
- } from "./chunk-BPZ2XJO2.js";
108
+ clvWallet
109
+ } from "./chunk-M3NZ6R2E.js";
110
110
  import {
111
111
  coin98Wallet
112
- } from "./chunk-KIDC67XJ.js";
112
+ } from "./chunk-OBOVHCEI.js";
113
+ import {
114
+ coreWallet
115
+ } from "./chunk-VR4TBQ6S.js";
113
116
  import {
114
117
  coinbaseWallet
115
118
  } from "./chunk-H4IRCEZN.js";
116
119
  import {
117
- coreWallet
118
- } from "./chunk-JCHN6A47.js";
120
+ desigWallet
121
+ } from "./chunk-OPAZMNA7.js";
119
122
  import {
120
123
  dawnWallet
121
124
  } from "./chunk-HWPKCIBE.js";
122
125
  import {
123
126
  enkryptWallet
124
127
  } from "./chunk-OLOIXTYS.js";
125
- import {
126
- desigWallet
127
- } from "./chunk-OPAZMNA7.js";
128
128
  import {
129
129
  argentWallet
130
130
  } from "./chunk-WSQ2YJO2.js";
131
131
  import {
132
132
  bifrostWallet
133
- } from "./chunk-UIASLGLV.js";
134
- import {
135
- bitskiWallet
136
- } from "./chunk-HS3C7OQV.js";
133
+ } from "./chunk-A5N6B5UW.js";
137
134
  import {
138
135
  bitgetWallet
139
- } from "./chunk-5W7VDOCL.js";
136
+ } from "./chunk-TDAVGY5F.js";
140
137
  import {
141
138
  bitverseWallet
142
139
  } from "./chunk-3HZRRP4Y.js";
140
+ import {
141
+ bitskiWallet
142
+ } from "./chunk-HS3C7OQV.js";
143
143
  import {
144
144
  bloomWallet
145
145
  } from "./chunk-S27IADFU.js";
146
+ import "./chunk-23WIEY36.js";
146
147
  import {
147
- bybitWallet
148
- } from "./chunk-LNEC5RNX.js";
148
+ braveWallet
149
+ } from "./chunk-BPZ2XJO2.js";
149
150
  import "./chunk-DNSG5Q7V.js";
150
- import "./chunk-23WIEY36.js";
151
151
  export {
152
152
  argentWallet,
153
153
  bifrostWallet,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  metaMaskWallet
4
- } from "../chunk-UYGJO62F.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-2HYNUNAS.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  metaMaskWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  okxWallet
4
- } from "../chunk-AFXHGWBH.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-TDIEHTMB.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  okxWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  rainbowWallet
4
- } from "../chunk-3CICVJUN.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-2KUBG3S6.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  rainbowWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  roninWallet
4
- } from "../chunk-QLVVUKYB.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-NWIQNBJU.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  roninWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  safepalWallet
4
- } from "../chunk-EC6CHBSZ.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-NT2HYJKW.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  safepalWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  subWallet
4
- } from "../chunk-ZSI5N4VV.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-JWFF4AAL.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  subWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  tokenPocketWallet
4
- } from "../chunk-J3LI3FYZ.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-2L43XSW3.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  tokenPocketWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  trustWallet
4
- } from "../chunk-RKPCWHXL.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-VYBAYMP3.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  trustWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  zerionWallet
4
- } from "../chunk-Q3H3TRBS.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-SULRQO27.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  zerionWallet
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "6.0.4",
3
+ "version": "6.0.5",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -90,11 +90,11 @@
90
90
  "use-debounce": "^10.0.5",
91
91
  "uuid": "^9.0.1",
92
92
  "@funkit/api-base": "1.9.13",
93
- "@funkit/core": "2.3.37",
94
- "@funkit/chains": "0.3.7",
95
93
  "@funkit/fun-relay": "1.0.1",
94
+ "@funkit/chains": "0.3.7",
95
+ "@funkit/wagmi-tools": "3.0.59",
96
96
  "@funkit/utils": "1.1.8",
97
- "@funkit/wagmi-tools": "3.0.59"
97
+ "@funkit/core": "2.3.37"
98
98
  },
99
99
  "repository": {
100
100
  "type": "git",
@@ -1,87 +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/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-VVMLP7BK.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,70 +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/rainbowWallet/rainbowWallet.ts
11
- import { isAndroid, isIOS } from "@funkit/utils";
12
- var rainbowWallet = ({
13
- projectId,
14
- walletConnectParameters
15
- }) => {
16
- const isRainbowInjected = hasInjectedProvider({ flag: "isRainbow" });
17
- const shouldUseWalletConnect = !isRainbowInjected;
18
- const getUri = (uri) => {
19
- return isAndroid() ? uri : isIOS() ? `rainbow://wc?uri=${encodeURIComponent(uri)}&connector=rainbowkit` : `https://rnbwapp.com/wc?uri=${encodeURIComponent(
20
- uri
21
- )}&connector=rainbowkit`;
22
- };
23
- return {
24
- id: "rainbow",
25
- name: "Rainbow",
26
- rdns: "me.rainbow",
27
- iconUrl: async () => (await import("./rainbowWallet-MFJQCICF.js")).default,
28
- iconBackground: "#0c2f78",
29
- installed: !shouldUseWalletConnect ? isRainbowInjected : void 0,
30
- downloadUrls: {
31
- android: "https://play.google.com/store/apps/details?id=me.rainbow&referrer=utm_source%3Drainbowkit&utm_source=rainbowkit",
32
- ios: "https://apps.apple.com/app/apple-store/id1457119021?pt=119997837&ct=rainbowkit&mt=8",
33
- mobile: "https://rainbow.download?utm_source=rainbowkit",
34
- qrCode: "https://rainbow.download?utm_source=rainbowkit&utm_medium=qrcode",
35
- browserExtension: "https://rainbow.me/extension?utm_source=rainbowkit"
36
- },
37
- mobile: { getUri: shouldUseWalletConnect ? getUri : void 0 },
38
- qrCode: shouldUseWalletConnect ? {
39
- getUri,
40
- instructions: {
41
- learnMoreUrl: "https://learn.rainbow.me/connect-to-a-website-or-app?utm_source=rainbowkit&utm_medium=connector&utm_campaign=learnmore",
42
- steps: [
43
- {
44
- description: "wallet_connectors.rainbow.qr_code.step1.description",
45
- step: "install",
46
- title: "wallet_connectors.rainbow.qr_code.step1.title"
47
- },
48
- {
49
- description: "wallet_connectors.rainbow.qr_code.step2.description",
50
- step: "create",
51
- title: "wallet_connectors.rainbow.qr_code.step2.title"
52
- },
53
- {
54
- description: "wallet_connectors.rainbow.qr_code.step3.description",
55
- step: "scan",
56
- title: "wallet_connectors.rainbow.qr_code.step3.title"
57
- }
58
- ]
59
- }
60
- } : void 0,
61
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
62
- projectId,
63
- walletConnectParameters
64
- }) : getInjectedConnector({ flag: "isRainbow" })
65
- };
66
- };
67
-
68
- export {
69
- rainbowWallet
70
- };
@@ -1,99 +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/bitgetWallet/bitgetWallet.ts
11
- import { isAndroid } from "@funkit/utils";
12
- var bitgetWallet = ({
13
- projectId,
14
- walletConnectParameters
15
- }) => {
16
- const isBitKeepInjected = hasInjectedProvider({
17
- namespace: "bitkeep.ethereum",
18
- flag: "isBitKeep"
19
- });
20
- const shouldUseWalletConnect = !isBitKeepInjected;
21
- return {
22
- id: "bitget",
23
- name: "Bitget Wallet",
24
- rdns: "com.bitget.web3",
25
- iconUrl: async () => (await import("./bitgetWallet-CBQAJOIK.js")).default,
26
- iconAccent: "#f6851a",
27
- iconBackground: "#fff",
28
- installed: !shouldUseWalletConnect ? isBitKeepInjected : void 0,
29
- downloadUrls: {
30
- android: "https://web3.bitget.com/en/wallet-download?type=0",
31
- ios: "https://apps.apple.com/app/bitkeep/id1395301115",
32
- mobile: "https://web3.bitget.com/en/wallet-download?type=2",
33
- qrCode: "https://web3.bitget.com/en/wallet-download",
34
- chrome: "https://chrome.google.com/webstore/detail/bitkeep-crypto-nft-wallet/jiidiaalihmmhddjgbnbgdfflelocpak",
35
- browserExtension: "https://web3.bitget.com/en/wallet-download"
36
- },
37
- extension: {
38
- instructions: {
39
- learnMoreUrl: "https://web3.bitget.com/en/academy",
40
- steps: [
41
- {
42
- description: "wallet_connectors.bitget.extension.step1.description",
43
- step: "install",
44
- title: "wallet_connectors.bitget.extension.step1.title"
45
- },
46
- {
47
- description: "wallet_connectors.bitget.extension.step2.description",
48
- step: "create",
49
- title: "wallet_connectors.bitget.extension.step2.title"
50
- },
51
- {
52
- description: "wallet_connectors.bitget.extension.step3.description",
53
- step: "refresh",
54
- title: "wallet_connectors.bitget.extension.step3.description"
55
- }
56
- ]
57
- }
58
- },
59
- mobile: {
60
- getUri: shouldUseWalletConnect ? (uri) => {
61
- return isAndroid() ? uri : `bitkeep://wc?uri=${encodeURIComponent(uri)}`;
62
- } : void 0
63
- },
64
- qrCode: shouldUseWalletConnect ? {
65
- getUri: (uri) => uri,
66
- instructions: {
67
- learnMoreUrl: "https://web3.bitget.com/en/academy",
68
- steps: [
69
- {
70
- description: "wallet_connectors.bitget.qr_code.step1.description",
71
- step: "install",
72
- title: "wallet_connectors.bitget.qr_code.step1.title"
73
- },
74
- {
75
- description: "wallet_connectors.bitget.qr_code.step2.description",
76
- step: "create",
77
- title: "wallet_connectors.bitget.qr_code.step2.title"
78
- },
79
- {
80
- description: "wallet_connectors.bitget.qr_code.step3.description",
81
- step: "scan",
82
- title: "wallet_connectors.bitget.qr_code.step3.title"
83
- }
84
- ]
85
- }
86
- } : void 0,
87
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
88
- projectId,
89
- walletConnectParameters
90
- }) : getInjectedConnector({
91
- namespace: "bitkeep.ethereum",
92
- flag: "isBitKeep"
93
- })
94
- };
95
- };
96
-
97
- export {
98
- bitgetWallet
99
- };