@funkit/connect 3.5.0 → 3.5.1

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 (41) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/index.js +1 -2
  3. package/dist/providers/FunkitCheckoutContext.d.ts +1 -1
  4. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  5. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  6. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  7. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  8. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  9. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  10. package/dist/wallets/walletConnectors/foxWallet/foxWallet.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 +78 -78
  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/roninWallet/roninWallet.js +2 -2
  18. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  21. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  22. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  23. package/package.json +1 -1
  24. package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +0 -92
  25. package/dist/wallets/walletConnectors/chunk-4UM4GTKZ.js +0 -103
  26. package/dist/wallets/walletConnectors/chunk-6LPM6LUQ.js +0 -110
  27. package/dist/wallets/walletConnectors/chunk-C7PUODSS.js +0 -94
  28. package/dist/wallets/walletConnectors/chunk-DWOWRRNZ.js +0 -73
  29. package/dist/wallets/walletConnectors/chunk-HA5KAB4M.js +0 -71
  30. package/dist/wallets/walletConnectors/chunk-JXP2QPW7.js +0 -95
  31. package/dist/wallets/walletConnectors/chunk-KFFJPS5R.js +0 -96
  32. package/dist/wallets/walletConnectors/chunk-LEXSM5KI.js +0 -87
  33. package/dist/wallets/walletConnectors/chunk-N2UFM6FI.js +0 -95
  34. package/dist/wallets/walletConnectors/chunk-NMB62FCH.js +0 -108
  35. package/dist/wallets/walletConnectors/chunk-QQEO4YQS.js +0 -149
  36. package/dist/wallets/walletConnectors/chunk-R6TLOQL3.js +0 -98
  37. package/dist/wallets/walletConnectors/chunk-RMNN2RIV.js +0 -102
  38. package/dist/wallets/walletConnectors/chunk-SIPHIY4F.js +0 -101
  39. package/dist/wallets/walletConnectors/chunk-VU6B3HMD.js +0 -96
  40. package/dist/wallets/walletConnectors/chunk-W5O4YSZN.js +0 -98
  41. package/dist/wallets/walletConnectors/chunk-XYBEMO3C.js +0 -66
@@ -1,101 +0,0 @@
1
- "use client";
2
- import {
3
- isAndroid
4
- } from "./chunk-RETKWSKD.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-WRA2DVJ7.js";
9
- import {
10
- getWalletConnectConnector
11
- } from "./chunk-23WIEY36.js";
12
-
13
- // src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
14
- var bitgetWallet = ({
15
- projectId,
16
- walletConnectParameters
17
- }) => {
18
- const isBitKeepInjected = hasInjectedProvider({
19
- namespace: "bitkeep.ethereum",
20
- flag: "isBitKeep"
21
- });
22
- const shouldUseWalletConnect = !isBitKeepInjected;
23
- return {
24
- id: "bitget",
25
- name: "Bitget Wallet",
26
- rdns: "com.bitget.web3",
27
- iconUrl: async () => (await import("./bitgetWallet-CBQAJOIK.js")).default,
28
- iconAccent: "#f6851a",
29
- iconBackground: "#fff",
30
- installed: !shouldUseWalletConnect ? isBitKeepInjected : void 0,
31
- downloadUrls: {
32
- android: "https://web3.bitget.com/en/wallet-download?type=0",
33
- ios: "https://apps.apple.com/app/bitkeep/id1395301115",
34
- mobile: "https://web3.bitget.com/en/wallet-download?type=2",
35
- qrCode: "https://web3.bitget.com/en/wallet-download",
36
- chrome: "https://chrome.google.com/webstore/detail/bitkeep-crypto-nft-wallet/jiidiaalihmmhddjgbnbgdfflelocpak",
37
- browserExtension: "https://web3.bitget.com/en/wallet-download"
38
- },
39
- extension: {
40
- instructions: {
41
- learnMoreUrl: "https://web3.bitget.com/en/academy",
42
- steps: [
43
- {
44
- description: "wallet_connectors.bitget.extension.step1.description",
45
- step: "install",
46
- title: "wallet_connectors.bitget.extension.step1.title"
47
- },
48
- {
49
- description: "wallet_connectors.bitget.extension.step2.description",
50
- step: "create",
51
- title: "wallet_connectors.bitget.extension.step2.title"
52
- },
53
- {
54
- description: "wallet_connectors.bitget.extension.step3.description",
55
- step: "refresh",
56
- title: "wallet_connectors.bitget.extension.step3.description"
57
- }
58
- ]
59
- }
60
- },
61
- mobile: {
62
- getUri: shouldUseWalletConnect ? (uri) => {
63
- return isAndroid() ? uri : `bitkeep://wc?uri=${encodeURIComponent(uri)}`;
64
- } : void 0
65
- },
66
- qrCode: shouldUseWalletConnect ? {
67
- getUri: (uri) => uri,
68
- instructions: {
69
- learnMoreUrl: "https://web3.bitget.com/en/academy",
70
- steps: [
71
- {
72
- description: "wallet_connectors.bitget.qr_code.step1.description",
73
- step: "install",
74
- title: "wallet_connectors.bitget.qr_code.step1.title"
75
- },
76
- {
77
- description: "wallet_connectors.bitget.qr_code.step2.description",
78
- step: "create",
79
- title: "wallet_connectors.bitget.qr_code.step2.title"
80
- },
81
- {
82
- description: "wallet_connectors.bitget.qr_code.step3.description",
83
- step: "scan",
84
- title: "wallet_connectors.bitget.qr_code.step3.title"
85
- }
86
- ]
87
- }
88
- } : void 0,
89
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
90
- projectId,
91
- walletConnectParameters
92
- }) : getInjectedConnector({
93
- namespace: "bitkeep.ethereum",
94
- flag: "isBitKeep"
95
- })
96
- };
97
- };
98
-
99
- export {
100
- bitgetWallet
101
- };
@@ -1,96 +0,0 @@
1
- "use client";
2
- import {
3
- isAndroid
4
- } from "./chunk-RETKWSKD.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-WRA2DVJ7.js";
9
- import {
10
- getWalletConnectConnector
11
- } from "./chunk-23WIEY36.js";
12
-
13
- // src/wallets/walletConnectors/okxWallet/okxWallet.ts
14
- var okxWallet = ({
15
- projectId,
16
- walletConnectParameters
17
- }) => {
18
- const isOKXInjected = hasInjectedProvider({ namespace: "okxwallet" });
19
- const shouldUseWalletConnect = !isOKXInjected;
20
- return {
21
- id: "okx",
22
- name: "OKX Wallet",
23
- rdns: "com.okex.wallet",
24
- iconUrl: async () => (await import("./okxWallet-GJMKZIND.js")).default,
25
- iconAccent: "#000",
26
- iconBackground: "#000",
27
- downloadUrls: {
28
- android: "https://play.google.com/store/apps/details?id=com.okinc.okex.gp",
29
- ios: "https://itunes.apple.com/app/id1327268470?mt=8",
30
- mobile: "https://okx.com/download",
31
- qrCode: "https://okx.com/download",
32
- chrome: "https://chrome.google.com/webstore/detail/okx-wallet/mcohilncbfahbmgdjkbpemcciiolgcge",
33
- edge: "https://microsoftedge.microsoft.com/addons/detail/okx-wallet/pbpjkcldjiffchgbbndmhojiacbgflha",
34
- firefox: "https://addons.mozilla.org/firefox/addon/okexwallet/",
35
- browserExtension: "https://okx.com/download"
36
- },
37
- mobile: {
38
- getUri: shouldUseWalletConnect ? (uri) => {
39
- return isAndroid() ? uri : `okex://main/wc?uri=${encodeURIComponent(uri)}`;
40
- } : void 0
41
- },
42
- qrCode: shouldUseWalletConnect ? {
43
- getUri: (uri) => uri,
44
- instructions: {
45
- learnMoreUrl: "https://okx.com/web3/",
46
- steps: [
47
- {
48
- description: "wallet_connectors.okx.qr_code.step1.description",
49
- step: "install",
50
- title: "wallet_connectors.okx.qr_code.step1.title"
51
- },
52
- {
53
- description: "wallet_connectors.okx.qr_code.step2.description",
54
- step: "create",
55
- title: "wallet_connectors.okx.qr_code.step2.title"
56
- },
57
- {
58
- description: "wallet_connectors.okx.qr_code.step3.description",
59
- step: "scan",
60
- title: "wallet_connectors.okx.qr_code.step3.title"
61
- }
62
- ]
63
- }
64
- } : void 0,
65
- extension: {
66
- instructions: {
67
- learnMoreUrl: "https://okx.com/web3/",
68
- steps: [
69
- {
70
- description: "wallet_connectors.okx.extension.step1.description",
71
- step: "install",
72
- title: "wallet_connectors.okx.extension.step1.title"
73
- },
74
- {
75
- description: "wallet_connectors.okx.extension.step2.description",
76
- step: "create",
77
- title: "wallet_connectors.okx.extension.step2.title"
78
- },
79
- {
80
- description: "wallet_connectors.okx.extension.step3.description",
81
- step: "refresh",
82
- title: "wallet_connectors.okx.extension.step3.title"
83
- }
84
- ]
85
- }
86
- },
87
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
88
- projectId,
89
- walletConnectParameters
90
- }) : getInjectedConnector({ namespace: "okxwallet" })
91
- };
92
- };
93
-
94
- export {
95
- okxWallet
96
- };
@@ -1,98 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-WRA2DVJ7.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-23WIEY36.js";
9
-
10
- // src/wallets/walletConnectors/bybitWallet/bybitWallet.ts
11
- var bybitWallet = ({
12
- projectId,
13
- walletConnectParameters
14
- }) => {
15
- const isBybitInjected = hasInjectedProvider({
16
- namespace: "bybitWallet"
17
- });
18
- const shouldUseWalletConnect = !isBybitInjected;
19
- const getUri = (uri) => {
20
- return `bybitapp://open/route?targetUrl=by://web3/walletconnect/wc?uri=${encodeURIComponent(
21
- uri
22
- )}`;
23
- };
24
- return {
25
- id: "bybit",
26
- name: "Bybit Wallet",
27
- rdns: "com.bybit",
28
- iconUrl: async () => (await import("./bybitWallet-GOPAS32Q.js")).default,
29
- installed: !shouldUseWalletConnect ? isBybitInjected : void 0,
30
- iconBackground: "#000000",
31
- downloadUrls: {
32
- chrome: "https://chromewebstore.google.com/detail/bybit-wallet/pdliaogehgdbhbnmkklieghmmjkpigpa",
33
- browserExtension: "https://www.bybit.com/en/web3",
34
- android: "https://play.google.com/store/apps/details?id=com.bybit.app",
35
- ios: "https://apps.apple.com/us/app/bybit-buy-trade-crypto/id1488296980",
36
- mobile: "https://www.bybit.com/en/web3",
37
- qrCode: "https://www.bybit.com/en/web3"
38
- },
39
- mobile: {
40
- getUri: shouldUseWalletConnect ? getUri : void 0
41
- },
42
- qrCode: shouldUseWalletConnect ? {
43
- getUri: (uri) => uri,
44
- instructions: {
45
- learnMoreUrl: "https://www.bybit.com/en/web3",
46
- steps: [
47
- {
48
- description: "wallet_connectors.bybit.qr_code.step1.description",
49
- step: "install",
50
- title: "wallet_connectors.bybit.qr_code.step1.title"
51
- },
52
- {
53
- description: "wallet_connectors.bybit.qr_code.step2.description",
54
- step: "create",
55
- title: "wallet_connectors.bybit.qr_code.step2.title"
56
- },
57
- {
58
- description: "wallet_connectors.bybit.qr_code.step3.description",
59
- step: "scan",
60
- title: "wallet_connectors.bybit.qr_code.step3.title"
61
- }
62
- ]
63
- }
64
- } : void 0,
65
- extension: {
66
- instructions: {
67
- learnMoreUrl: "https://www.bybit.com/en/web3",
68
- steps: [
69
- {
70
- description: "wallet_connectors.bybit.extension.step1.description",
71
- step: "install",
72
- title: "wallet_connectors.bybit.extension.step1.title"
73
- },
74
- {
75
- description: "wallet_connectors.bybit.extension.step2.description",
76
- step: "create",
77
- title: "wallet_connectors.bybit.extension.step2.title"
78
- },
79
- {
80
- description: "wallet_connectors.bybit.extension.step3.description",
81
- step: "refresh",
82
- title: "wallet_connectors.bybit.extension.step3.title"
83
- }
84
- ]
85
- }
86
- },
87
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
88
- projectId,
89
- walletConnectParameters
90
- }) : getInjectedConnector({
91
- namespace: "bybitWallet"
92
- })
93
- };
94
- };
95
-
96
- export {
97
- bybitWallet
98
- };
@@ -1,66 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-WRA2DVJ7.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
- };