@funkit/connect 1.0.22 → 1.0.24

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 (50) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryHelp.d.ts +2 -1
  3. package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +1 -0
  4. package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +2 -0
  5. package/dist/components/FunkitProvider/FunkitMoonpayProvider.d.ts +20 -0
  6. package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +2 -2
  7. package/dist/consts/funkit.d.ts +3 -0
  8. package/dist/consts/moonpay.d.ts +3 -0
  9. package/dist/index.css +12 -0
  10. package/dist/index.js +748 -519
  11. package/dist/utils/checkout.d.ts +1 -1
  12. package/dist/utils/mesh.d.ts +9 -7
  13. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  14. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  15. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  16. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  17. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  18. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  21. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  22. package/dist/wallets/walletConnectors/index.js +54 -54
  23. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  24. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  25. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  26. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  27. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  28. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  29. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  30. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  31. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  32. package/package.json +3 -3
  33. package/dist/wallets/walletConnectors/chunk-2B3SPBRY.js +0 -100
  34. package/dist/wallets/walletConnectors/chunk-2GAW2UBU.js +0 -102
  35. package/dist/wallets/walletConnectors/chunk-7KDOXASH.js +0 -95
  36. package/dist/wallets/walletConnectors/chunk-CRSPGVPF.js +0 -105
  37. package/dist/wallets/walletConnectors/chunk-CUKVUCIP.js +0 -98
  38. package/dist/wallets/walletConnectors/chunk-DV3SI63E.js +0 -96
  39. package/dist/wallets/walletConnectors/chunk-GW6EF4G2.js +0 -92
  40. package/dist/wallets/walletConnectors/chunk-HD5VYJNC.js +0 -98
  41. package/dist/wallets/walletConnectors/chunk-IBWFKX7P.js +0 -94
  42. package/dist/wallets/walletConnectors/chunk-KGTZ6E7L.js +0 -71
  43. package/dist/wallets/walletConnectors/chunk-OKWOB3DN.js +0 -66
  44. package/dist/wallets/walletConnectors/chunk-RCWZ4KBR.js +0 -73
  45. package/dist/wallets/walletConnectors/chunk-RTW6PVQI.js +0 -107
  46. package/dist/wallets/walletConnectors/chunk-T6JVHES7.js +0 -87
  47. package/dist/wallets/walletConnectors/chunk-VSZ7PAHS.js +0 -94
  48. package/dist/wallets/walletConnectors/chunk-XNNLZXHE.js +0 -102
  49. package/dist/wallets/walletConnectors/chunk-XRMAVTK7.js +0 -178
  50. package/dist/wallets/walletConnectors/chunk-Z2HIQYVN.js +0 -96
@@ -110,7 +110,7 @@ export declare function categorizeCheckoutHistories(checkoutHistoryList: Checkou
110
110
  currentDepositAddrMap: CheckoutHistoryDepositAddrMap;
111
111
  };
112
112
  export declare function getCheckoutStateStepNumber(state: CheckoutState): 0 | 1 | 3 | 2;
113
- export declare function formatTokenAmountForMoonpay(amount: number): string;
113
+ export declare function formatTokenAmountForMoonpay(amount: number, mpCurrencyCode: string): string;
114
114
  export declare function combineChainSymbolOrAddress({ chainId, symbolOrAddress, }: {
115
115
  chainId: string;
116
116
  symbolOrAddress: string;
@@ -1,4 +1,5 @@
1
- export declare const FUNKIT_MESH_CLIENT_ID = "e1880c6d-5af8-4634-3182-08dba58a99a5";
1
+ export declare const FUNKIT_MESH_CLIENT_ID = "8132aff4-56c9-4b1d-85b4-08dbdcc6199d";
2
+ export declare const MESH_DEFAULT_USER_ID = "meshconnectkit";
2
3
  export declare enum MeshExchanges {
3
4
  Robinhood = "Robinhood",
4
5
  ETrade = "ETrade",
@@ -11,14 +12,13 @@ export declare enum MeshExchanges {
11
12
  Kraken = "Kraken",
12
13
  CoinbasePro = "CoinbasePro",
13
14
  CryptoCom = "CryptoCom",
14
- Binance = "Binance",
15
+ Binance = "Binance",// BinanceInternationalDirect
16
+ BinanceUs = "BinanceUs",
15
17
  Gemini = "Gemini",
16
18
  OkCoin = "OkCoin",
17
- Bittrex = "Bittrex",
18
19
  KuCoin = "KuCoin",
19
20
  Etoro = "Etoro",
20
21
  CexIo = "CexIo",
21
- BinanceInternational = "BinanceInternational",
22
22
  Bitstamp = "Bitstamp",
23
23
  GateIo = "GateIo",
24
24
  Acorns = "Acorns",
@@ -29,11 +29,13 @@ export declare enum MeshExchanges {
29
29
  Bitfinex = "Bitfinex",
30
30
  KrakenDirect = "KrakenDirect",
31
31
  Vanguard = "Vanguard",
32
- BinanceInternationalDirect = "BinanceInternationalDirect",
33
32
  BitfinexDirect = "BitfinexDirect",
34
33
  Bybit = "Bybit"
35
34
  }
36
- export declare function fetchMeshLinkToken(selectedExchange: MeshExchanges, funApiKey: string): Promise<any>;
35
+ export declare const EXCHANGE_NAME_TO_TYPE: {
36
+ [x: string]: string;
37
+ };
38
+ export declare function fetchMeshLinkToken(funkitUserId: string, selectedExchange: MeshExchanges, funApiKey: string): Promise<any>;
37
39
  export declare enum MeshExecuteTransferStatus {
38
40
  succeeded = "succeeded",
39
41
  failed = "failed",
@@ -56,7 +58,7 @@ export interface MeshExecuteTransferContent {
56
58
  errorMessage: string | null;
57
59
  executeTransferResult: object | null;
58
60
  }
59
- export declare function executeBrokerageDeposit(fromAuthToken: string, brokerage: string, previewId: string, apiKey: string, mfaCode?: string): Promise<MeshExecuteTransferContent>;
61
+ export declare function executeBrokerageDeposit(fromAuthToken: string, fromType: string, previewId: string, apiKey: string, mfaCode?: string): Promise<MeshExecuteTransferContent>;
60
62
  export declare function fetchMeshAccountCryptoHoldings({ authToken, apiKey, exchange, }: {
61
63
  authToken: string;
62
64
  apiKey: string;
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  bifrostWallet
4
- } from "../chunk-KGTZ6E7L.js";
4
+ } from "../chunk-6LTLPR2Q.js";
5
5
  import "../chunk-ZOLACFTK.js";
6
- import "../chunk-QII6PY2D.js";
7
6
  import "../chunk-ZDU3JFGR.js";
7
+ import "../chunk-QII6PY2D.js";
8
8
  export {
9
9
  bifrostWallet
10
10
  };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  bitgetWallet
4
- } from "../chunk-2B3SPBRY.js";
4
+ } from "../chunk-ZNXQ4V6G.js";
5
5
  import "../chunk-ZOLACFTK.js";
6
- import "../chunk-QII6PY2D.js";
7
6
  import "../chunk-ZDU3JFGR.js";
7
+ import "../chunk-QII6PY2D.js";
8
8
  export {
9
9
  bitgetWallet
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bybitWallet
4
- } from "../chunk-CUKVUCIP.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-ZUAHWUEL.js";
6
5
  import "../chunk-ZDU3JFGR.js";
6
+ import "../chunk-QII6PY2D.js";
7
7
  export {
8
8
  bybitWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  clvWallet
4
- } from "../chunk-T6JVHES7.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-MIWCKFYE.js";
6
5
  import "../chunk-ZDU3JFGR.js";
6
+ import "../chunk-QII6PY2D.js";
7
7
  export {
8
8
  clvWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coin98Wallet
4
- } from "../chunk-Z2HIQYVN.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-4FQLUQNA.js";
6
5
  import "../chunk-ZDU3JFGR.js";
6
+ import "../chunk-QII6PY2D.js";
7
7
  export {
8
8
  coin98Wallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coreWallet
4
- } from "../chunk-IBWFKX7P.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-JLQ5HJYV.js";
6
5
  import "../chunk-ZDU3JFGR.js";
6
+ import "../chunk-QII6PY2D.js";
7
7
  export {
8
8
  coreWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  foxWallet
4
- } from "../chunk-OKWOB3DN.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-Q4RLUJJD.js";
6
5
  import "../chunk-ZDU3JFGR.js";
6
+ import "../chunk-QII6PY2D.js";
7
7
  export {
8
8
  foxWallet
9
9
  };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  frontierWallet
4
- } from "../chunk-HD5VYJNC.js";
4
+ } from "../chunk-AM4SSLAP.js";
5
5
  import "../chunk-ZOLACFTK.js";
6
- import "../chunk-QII6PY2D.js";
7
6
  import "../chunk-ZDU3JFGR.js";
7
+ import "../chunk-QII6PY2D.js";
8
8
  export {
9
9
  frontierWallet
10
10
  };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  gateWallet
4
- } from "../chunk-VSZ7PAHS.js";
4
+ } from "../chunk-V45EXW7A.js";
5
5
  import "../chunk-ZOLACFTK.js";
6
- import "../chunk-QII6PY2D.js";
7
6
  import "../chunk-ZDU3JFGR.js";
7
+ import "../chunk-QII6PY2D.js";
8
8
  export {
9
9
  gateWallet
10
10
  };
@@ -1,61 +1,67 @@
1
1
  "use client";
2
+ import {
3
+ xdefiWallet
4
+ } from "./chunk-L734HTUS.js";
5
+ import {
6
+ zerionWallet
7
+ } from "./chunk-7CQPABJG.js";
2
8
  import {
3
9
  zealWallet
4
10
  } from "./chunk-DPXMP5KS.js";
5
11
  import {
6
- coinbaseWallet
7
- } from "./chunk-XBUTWYE4.js";
12
+ subWallet
13
+ } from "./chunk-ZBAQFL6G.js";
8
14
  import {
9
- zerionWallet
10
- } from "./chunk-XNNLZXHE.js";
15
+ tahoWallet
16
+ } from "./chunk-H76YCX2M.js";
11
17
  import {
12
18
  talismanWallet
13
19
  } from "./chunk-H273OTQA.js";
14
20
  import {
15
21
  tokenPocketWallet
16
- } from "./chunk-7KDOXASH.js";
22
+ } from "./chunk-2UXZAUWT.js";
17
23
  import {
18
24
  tokenaryWallet
19
25
  } from "./chunk-ENZLEAG2.js";
20
26
  import {
21
27
  trustWallet
22
- } from "./chunk-CRSPGVPF.js";
28
+ } from "./chunk-Z2DGDHHZ.js";
23
29
  import {
24
30
  uniswapWallet
25
31
  } from "./chunk-XRSY4JVH.js";
26
- import {
27
- braveWallet
28
- } from "./chunk-ABYQAXUX.js";
29
32
  import {
30
33
  walletConnectWallet
31
34
  } from "./chunk-ASPRR7T3.js";
32
35
  import {
33
- xdefiWallet
34
- } from "./chunk-L734HTUS.js";
36
+ phantomWallet
37
+ } from "./chunk-KGBLSE7L.js";
38
+ import {
39
+ rabbyWallet
40
+ } from "./chunk-XPEBP6XV.js";
35
41
  import {
36
42
  rainbowWallet
37
- } from "./chunk-RCWZ4KBR.js";
43
+ } from "./chunk-O5NKWWEG.js";
38
44
  import {
39
45
  ramperWallet
40
46
  } from "./chunk-ZOL6ZMTJ.js";
41
47
  import {
42
48
  roninWallet
43
- } from "./chunk-GW6EF4G2.js";
49
+ } from "./chunk-LVRXH33E.js";
44
50
  import {
45
51
  safeWallet
46
52
  } from "./chunk-D3DCQ72J.js";
47
53
  import {
48
54
  safepalWallet
49
- } from "./chunk-RTW6PVQI.js";
55
+ } from "./chunk-SYELB4QO.js";
50
56
  import {
51
57
  safeheronWallet
52
58
  } from "./chunk-63NPZXAL.js";
53
59
  import {
54
- subWallet
55
- } from "./chunk-2GAW2UBU.js";
60
+ ledgerWallet
61
+ } from "./chunk-Y6VY6E3L.js";
56
62
  import {
57
- tahoWallet
58
- } from "./chunk-H76YCX2M.js";
63
+ metaMaskWallet
64
+ } from "./chunk-3WZRNEZH.js";
59
65
  import {
60
66
  mewWallet
61
67
  } from "./chunk-PWYTDYBE.js";
@@ -67,7 +73,7 @@ import {
67
73
  } from "./chunk-SVN7OEQR.js";
68
74
  import {
69
75
  okxWallet
70
- } from "./chunk-DV3SI63E.js";
76
+ } from "./chunk-NGXIHASN.js";
71
77
  import {
72
78
  oneInchWallet
73
79
  } from "./chunk-LCPIZUR3.js";
@@ -75,20 +81,20 @@ import {
75
81
  oneKeyWallet
76
82
  } from "./chunk-4WOV4ITL.js";
77
83
  import {
78
- phantomWallet
79
- } from "./chunk-KGBLSE7L.js";
80
- import {
81
- rabbyWallet
82
- } from "./chunk-XPEBP6XV.js";
84
+ frameWallet
85
+ } from "./chunk-XXFJVY73.js";
83
86
  import {
84
87
  frontierWallet
85
- } from "./chunk-HD5VYJNC.js";
88
+ } from "./chunk-AM4SSLAP.js";
89
+ import {
90
+ gateWallet
91
+ } from "./chunk-V45EXW7A.js";
92
+ import {
93
+ argentWallet
94
+ } from "./chunk-NZ5G23JP.js";
86
95
  import {
87
96
  imTokenWallet
88
97
  } from "./chunk-5MVV7OVS.js";
89
- import {
90
- gateWallet
91
- } from "./chunk-VSZ7PAHS.js";
92
98
  import {
93
99
  injectedWallet
94
100
  } from "./chunk-KIHCNUU3.js";
@@ -96,17 +102,17 @@ import {
96
102
  kresusWallet
97
103
  } from "./chunk-X6T3CICZ.js";
98
104
  import {
99
- ledgerWallet
100
- } from "./chunk-Y6VY6E3L.js";
105
+ clvWallet
106
+ } from "./chunk-MIWCKFYE.js";
101
107
  import {
102
- metaMaskWallet
103
- } from "./chunk-XRMAVTK7.js";
108
+ coin98Wallet
109
+ } from "./chunk-4FQLUQNA.js";
104
110
  import {
105
- bitverseWallet
106
- } from "./chunk-NL4I7WOT.js";
111
+ coinbaseWallet
112
+ } from "./chunk-XBUTWYE4.js";
107
113
  import {
108
114
  coreWallet
109
- } from "./chunk-IBWFKX7P.js";
115
+ } from "./chunk-JLQ5HJYV.js";
110
116
  import {
111
117
  dawnWallet
112
118
  } from "./chunk-4XQDKOGF.js";
@@ -118,37 +124,31 @@ import {
118
124
  } from "./chunk-FLY7F4XA.js";
119
125
  import {
120
126
  foxWallet
121
- } from "./chunk-OKWOB3DN.js";
122
- import {
123
- bitgetWallet
124
- } from "./chunk-2B3SPBRY.js";
125
- import {
126
- frameWallet
127
- } from "./chunk-XXFJVY73.js";
128
- import {
129
- argentWallet
130
- } from "./chunk-NZ5G23JP.js";
127
+ } from "./chunk-Q4RLUJJD.js";
131
128
  import {
132
129
  bifrostWallet
133
- } from "./chunk-KGTZ6E7L.js";
130
+ } from "./chunk-6LTLPR2Q.js";
131
+ import {
132
+ bitgetWallet
133
+ } from "./chunk-ZNXQ4V6G.js";
134
134
  import {
135
135
  bitskiWallet
136
136
  } from "./chunk-C67TQJ6W.js";
137
+ import {
138
+ bitverseWallet
139
+ } from "./chunk-NL4I7WOT.js";
137
140
  import {
138
141
  bloomWallet
139
142
  } from "./chunk-NTGZF5BY.js";
140
143
  import "./chunk-ZOLACFTK.js";
141
144
  import {
142
- bybitWallet
143
- } from "./chunk-CUKVUCIP.js";
144
- import {
145
- clvWallet
146
- } from "./chunk-T6JVHES7.js";
145
+ braveWallet
146
+ } from "./chunk-ABYQAXUX.js";
147
147
  import {
148
- coin98Wallet
149
- } from "./chunk-Z2HIQYVN.js";
150
- import "./chunk-QII6PY2D.js";
148
+ bybitWallet
149
+ } from "./chunk-ZUAHWUEL.js";
151
150
  import "./chunk-ZDU3JFGR.js";
151
+ import "./chunk-QII6PY2D.js";
152
152
  export {
153
153
  argentWallet,
154
154
  bifrostWallet,
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  metaMaskWallet
4
- } from "../chunk-XRMAVTK7.js";
4
+ } from "../chunk-3WZRNEZH.js";
5
5
  import "../chunk-ZOLACFTK.js";
6
- import "../chunk-QII6PY2D.js";
7
6
  import "../chunk-ZDU3JFGR.js";
7
+ import "../chunk-QII6PY2D.js";
8
8
  export {
9
9
  metaMaskWallet
10
10
  };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  okxWallet
4
- } from "../chunk-DV3SI63E.js";
4
+ } from "../chunk-NGXIHASN.js";
5
5
  import "../chunk-ZOLACFTK.js";
6
- import "../chunk-QII6PY2D.js";
7
6
  import "../chunk-ZDU3JFGR.js";
7
+ import "../chunk-QII6PY2D.js";
8
8
  export {
9
9
  okxWallet
10
10
  };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  rainbowWallet
4
- } from "../chunk-RCWZ4KBR.js";
4
+ } from "../chunk-O5NKWWEG.js";
5
5
  import "../chunk-ZOLACFTK.js";
6
- import "../chunk-QII6PY2D.js";
7
6
  import "../chunk-ZDU3JFGR.js";
7
+ import "../chunk-QII6PY2D.js";
8
8
  export {
9
9
  rainbowWallet
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  roninWallet
4
- } from "../chunk-GW6EF4G2.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-LVRXH33E.js";
6
5
  import "../chunk-ZDU3JFGR.js";
6
+ import "../chunk-QII6PY2D.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-RTW6PVQI.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-SYELB4QO.js";
6
5
  import "../chunk-ZDU3JFGR.js";
6
+ import "../chunk-QII6PY2D.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-2GAW2UBU.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-ZBAQFL6G.js";
6
5
  import "../chunk-ZDU3JFGR.js";
6
+ import "../chunk-QII6PY2D.js";
7
7
  export {
8
8
  subWallet
9
9
  };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  tokenPocketWallet
4
- } from "../chunk-7KDOXASH.js";
4
+ } from "../chunk-2UXZAUWT.js";
5
5
  import "../chunk-ZOLACFTK.js";
6
- import "../chunk-QII6PY2D.js";
7
6
  import "../chunk-ZDU3JFGR.js";
7
+ import "../chunk-QII6PY2D.js";
8
8
  export {
9
9
  tokenPocketWallet
10
10
  };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  trustWallet
4
- } from "../chunk-CRSPGVPF.js";
4
+ } from "../chunk-Z2DGDHHZ.js";
5
5
  import "../chunk-ZOLACFTK.js";
6
- import "../chunk-QII6PY2D.js";
7
6
  import "../chunk-ZDU3JFGR.js";
7
+ import "../chunk-QII6PY2D.js";
8
8
  export {
9
9
  trustWallet
10
10
  };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  zerionWallet
4
- } from "../chunk-XNNLZXHE.js";
4
+ } from "../chunk-7CQPABJG.js";
5
5
  import "../chunk-ZOLACFTK.js";
6
- import "../chunk-QII6PY2D.js";
7
6
  import "../chunk-ZDU3JFGR.js";
7
+ import "../chunk-QII6PY2D.js";
8
8
  export {
9
9
  zerionWallet
10
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -73,8 +73,8 @@
73
73
  },
74
74
  "dependencies": {
75
75
  "@datadog/browser-logs": "^5.12.0",
76
- "@funkit/core": "^1.0.8",
77
- "@funkit/wagmi-tools": "^1.0.9",
76
+ "@funkit/core": "^1.0.9",
77
+ "@funkit/wagmi-tools": "^1.0.10",
78
78
  "@meshconnect/web-link-sdk": "^2.0.1",
79
79
  "@moonpay/moonpay-react": "^1.6.1",
80
80
  "@privy-io/js-sdk-core": "^0.18.1",
@@ -1,100 +0,0 @@
1
- "use client";
2
- import {
3
- isAndroid
4
- } from "./chunk-ZOLACFTK.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-QII6PY2D.js";
9
- import {
10
- getWalletConnectConnector
11
- } from "./chunk-ZDU3JFGR.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
- iconUrl: async () => (await import("./bitgetWallet-JVNCB4EB.js")).default,
27
- iconAccent: "#f6851a",
28
- iconBackground: "#fff",
29
- installed: !shouldUseWalletConnect ? isBitKeepInjected : void 0,
30
- downloadUrls: {
31
- android: "https://web3.bitget.com/en/wallet-download?type=0",
32
- ios: "https://apps.apple.com/app/bitkeep/id1395301115",
33
- mobile: "https://web3.bitget.com/en/wallet-download?type=2",
34
- qrCode: "https://web3.bitget.com/en/wallet-download",
35
- chrome: "https://chrome.google.com/webstore/detail/bitkeep-crypto-nft-wallet/jiidiaalihmmhddjgbnbgdfflelocpak",
36
- browserExtension: "https://web3.bitget.com/en/wallet-download"
37
- },
38
- extension: {
39
- instructions: {
40
- learnMoreUrl: "https://web3.bitget.com/en/academy",
41
- steps: [
42
- {
43
- description: "wallet_connectors.bitget.extension.step1.description",
44
- step: "install",
45
- title: "wallet_connectors.bitget.extension.step1.title"
46
- },
47
- {
48
- description: "wallet_connectors.bitget.extension.step2.description",
49
- step: "create",
50
- title: "wallet_connectors.bitget.extension.step2.title"
51
- },
52
- {
53
- description: "wallet_connectors.bitget.extension.step3.description",
54
- step: "refresh",
55
- title: "wallet_connectors.bitget.extension.step3.description"
56
- }
57
- ]
58
- }
59
- },
60
- mobile: {
61
- getUri: shouldUseWalletConnect ? (uri) => {
62
- return isAndroid() ? uri : `bitkeep://wc?uri=${encodeURIComponent(uri)}`;
63
- } : void 0
64
- },
65
- qrCode: shouldUseWalletConnect ? {
66
- getUri: (uri) => uri,
67
- instructions: {
68
- learnMoreUrl: "https://web3.bitget.com/en/academy",
69
- steps: [
70
- {
71
- description: "wallet_connectors.bitget.qr_code.step1.description",
72
- step: "install",
73
- title: "wallet_connectors.bitget.qr_code.step1.title"
74
- },
75
- {
76
- description: "wallet_connectors.bitget.qr_code.step2.description",
77
- step: "create",
78
- title: "wallet_connectors.bitget.qr_code.step2.title"
79
- },
80
- {
81
- description: "wallet_connectors.bitget.qr_code.step3.description",
82
- step: "scan",
83
- title: "wallet_connectors.bitget.qr_code.step3.title"
84
- }
85
- ]
86
- }
87
- } : void 0,
88
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
89
- projectId,
90
- walletConnectParameters
91
- }) : getInjectedConnector({
92
- namespace: "bitkeep.ethereum",
93
- flag: "isBitKeep"
94
- })
95
- };
96
- };
97
-
98
- export {
99
- bitgetWallet
100
- };