@funkit/connect 1.0.25 → 1.0.26

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 (55) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryContent.d.ts +8 -0
  3. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +2 -2
  4. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +2 -2
  5. package/dist/components/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +4 -2
  6. package/dist/components/FunNotification/FunCheckoutNotification.d.ts +3 -2
  7. package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +2 -0
  8. package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +60 -0
  9. package/dist/components/ProfileDetails/ActivityTraversalContext.d.ts +40 -0
  10. package/dist/components/ProfileDetails/FunProfileViews/ActivityHistory/ActivityHistory.d.ts +9 -1
  11. package/dist/components/ProfileDetails/FunProfileViews/Home/HomeCheckoutSection.d.ts +3 -2
  12. package/dist/components/ProfileDetails/FunProfileViews/Home/index.d.ts +9 -1
  13. package/dist/components/ProfileDetails/ProfileDetails.d.ts +2 -1
  14. package/dist/index.css +72 -72
  15. package/dist/index.d.ts +1 -2
  16. package/dist/index.js +9984 -9825
  17. package/dist/utils/checkoutHistory.d.ts +3 -3
  18. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +2 -2
  21. package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +2 -2
  22. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  23. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  24. package/dist/wallets/walletConnectors/index.js +80 -80
  25. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  26. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  27. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  28. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  29. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  30. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  31. package/package.json +6 -6
  32. package/dist/components/ProfileDetails/ProfileDetailsAction.d.ts +0 -10
  33. package/dist/wallets/walletConnectors/chunk-4FQLUQNA.js +0 -96
  34. package/dist/wallets/walletConnectors/chunk-AJKRYTH2.js +0 -92
  35. package/dist/wallets/walletConnectors/chunk-CVGDYGHA.js +0 -60
  36. package/dist/wallets/walletConnectors/chunk-JLQ5HJYV.js +0 -94
  37. package/dist/wallets/walletConnectors/chunk-LVRXH33E.js +0 -92
  38. package/dist/wallets/walletConnectors/chunk-MIWCKFYE.js +0 -87
  39. package/dist/wallets/walletConnectors/chunk-OKZSWAPF.js +0 -60
  40. package/dist/wallets/walletConnectors/chunk-OYKWP3N3.js +0 -60
  41. package/dist/wallets/walletConnectors/chunk-OYW4TIA3.js +0 -81
  42. package/dist/wallets/walletConnectors/chunk-Q4RLUJJD.js +0 -66
  43. package/dist/wallets/walletConnectors/chunk-SYELB4QO.js +0 -107
  44. package/dist/wallets/walletConnectors/chunk-ZBAQFL6G.js +0 -102
  45. package/dist/wallets/walletConnectors/chunk-ZUAHWUEL.js +0 -98
  46. package/dist/wallets/walletConnectors/{chunk-RYO26XSK.js → chunk-2B3SPBRY.js} +3 -3
  47. package/dist/wallets/walletConnectors/{chunk-PPFSHJTA.js → chunk-7KDOXASH.js} +3 -3
  48. package/dist/wallets/walletConnectors/{chunk-ZFXXHGAS.js → chunk-CRSPGVPF.js} +3 -3
  49. package/dist/wallets/walletConnectors/{chunk-2LY3WMXK.js → chunk-DV3SI63E.js} +3 -3
  50. package/dist/wallets/walletConnectors/{chunk-SPLW3CCH.js → chunk-HD5VYJNC.js} +3 -3
  51. package/dist/wallets/walletConnectors/{chunk-MU35GKP3.js → chunk-KGTZ6E7L.js} +3 -3
  52. package/dist/wallets/walletConnectors/{chunk-DNOEX5NF.js → chunk-RCWZ4KBR.js} +3 -3
  53. package/dist/wallets/walletConnectors/{chunk-HXYRONSJ.js → chunk-VSZ7PAHS.js} +3 -3
  54. package/dist/wallets/walletConnectors/{chunk-MCTPLICE.js → chunk-XNNLZXHE.js} +3 -3
  55. package/dist/wallets/walletConnectors/{chunk-2XQJ2NQ4.js → chunk-XRMAVTK7.js} +3 -3
@@ -1,14 +1,14 @@
1
- export declare enum HistoryModalPages {
1
+ export declare enum HistoryContentPages {
2
2
  DETAIL = "detail",
3
3
  HELP = "help"
4
4
  }
5
5
  export declare const combineDepositAddressAndInitialPage: ({ depositAddress, initialPage, }: {
6
6
  depositAddress: string;
7
- initialPage: HistoryModalPages;
7
+ initialPage: HistoryContentPages;
8
8
  }) => string;
9
9
  export declare const deconstructDepositAddressAndInitialPage: (combined: string) => {
10
10
  depositAddress: `0x${string}`;
11
- initialPage: HistoryModalPages;
11
+ initialPage: HistoryContentPages;
12
12
  };
13
13
  export declare function getLatestReportSubmitTime(): number;
14
14
  export declare function setLatestReportSubmitTime(timeMs: number): void;
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bifrostWallet
4
- } from "../chunk-SL4VH23R.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-KGTZ6E7L.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-QII6PY2D.js";
7
7
  import "../chunk-ZDU3JFGR.js";
8
8
  export {
9
9
  bifrostWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bitgetWallet
4
- } from "../chunk-75A2U7T7.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-2B3SPBRY.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-QII6PY2D.js";
7
7
  import "../chunk-ZDU3JFGR.js";
8
8
  export {
9
9
  bitgetWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coinbaseWallet
4
- } from "../chunk-YC7XNS7C.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-XBUTWYE4.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-QII6PY2D.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-VWZEDVW6.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-4XQDKOGF.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-QII6PY2D.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-N3VZE65M.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-HD5VYJNC.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-QII6PY2D.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-2PC2XXUH.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-VSZ7PAHS.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-QII6PY2D.js";
7
7
  import "../chunk-ZDU3JFGR.js";
8
8
  export {
9
9
  gateWallet
@@ -1,153 +1,153 @@
1
1
  "use client";
2
+ import {
3
+ zerionWallet
4
+ } from "./chunk-XNNLZXHE.js";
2
5
  import {
3
6
  zealWallet
4
7
  } from "./chunk-DPXMP5KS.js";
5
8
  import {
6
- zerionWallet
7
- } from "./chunk-SQGFKNNZ.js";
9
+ xdefiWallet
10
+ } from "./chunk-L734HTUS.js";
8
11
  import {
9
- walletConnectWallet
10
- } from "./chunk-ASPRR7T3.js";
12
+ subWallet
13
+ } from "./chunk-2GAW2UBU.js";
11
14
  import {
12
- tahoWallet
13
- } from "./chunk-H76YCX2M.js";
15
+ safepalWallet
16
+ } from "./chunk-RTW6PVQI.js";
14
17
  import {
15
18
  talismanWallet
16
19
  } from "./chunk-H273OTQA.js";
17
20
  import {
18
- tokenaryWallet
19
- } from "./chunk-ENZLEAG2.js";
21
+ uniswapWallet
22
+ } from "./chunk-XRSY4JVH.js";
20
23
  import {
21
24
  tokenPocketWallet
22
- } from "./chunk-OR3PU2W4.js";
25
+ } from "./chunk-7KDOXASH.js";
23
26
  import {
24
27
  trustWallet
25
- } from "./chunk-OAEJQOAV.js";
28
+ } from "./chunk-CRSPGVPF.js";
26
29
  import {
27
- subWallet
28
- } from "./chunk-2GAW2UBU.js";
30
+ walletConnectWallet
31
+ } from "./chunk-ASPRR7T3.js";
29
32
  import {
30
- xdefiWallet
31
- } from "./chunk-L734HTUS.js";
33
+ tokenaryWallet
34
+ } from "./chunk-ENZLEAG2.js";
32
35
  import {
33
- uniswapWallet
34
- } from "./chunk-XRSY4JVH.js";
36
+ roninWallet
37
+ } from "./chunk-GW6EF4G2.js";
35
38
  import {
36
- rabbyWallet
37
- } from "./chunk-XPEBP6XV.js";
39
+ oneKeyWallet
40
+ } from "./chunk-4WOV4ITL.js";
38
41
  import {
39
42
  rainbowWallet
40
- } from "./chunk-FDIIMYTB.js";
41
- import {
42
- ramperWallet
43
- } from "./chunk-ZOL6ZMTJ.js";
43
+ } from "./chunk-RCWZ4KBR.js";
44
44
  import {
45
- roninWallet
46
- } from "./chunk-GW6EF4G2.js";
45
+ rabbyWallet
46
+ } from "./chunk-XPEBP6XV.js";
47
47
  import {
48
- oktoWallet
49
- } from "./chunk-WKHTUEF5.js";
48
+ safeheronWallet
49
+ } from "./chunk-63NPZXAL.js";
50
50
  import {
51
51
  safeWallet
52
52
  } from "./chunk-D3DCQ72J.js";
53
53
  import {
54
- safeheronWallet
55
- } from "./chunk-63NPZXAL.js";
54
+ tahoWallet
55
+ } from "./chunk-H76YCX2M.js";
56
56
  import {
57
- safepalWallet
58
- } from "./chunk-RTW6PVQI.js";
57
+ oneInchWallet
58
+ } from "./chunk-LCPIZUR3.js";
59
59
  import {
60
60
  mewWallet
61
61
  } from "./chunk-PWYTDYBE.js";
62
62
  import {
63
- ledgerWallet
64
- } from "./chunk-Y6VY6E3L.js";
63
+ metaMaskWallet
64
+ } from "./chunk-XRMAVTK7.js";
65
65
  import {
66
- okxWallet
67
- } from "./chunk-XSSD5ZVD.js";
66
+ kresusWallet
67
+ } from "./chunk-X6T3CICZ.js";
68
68
  import {
69
- oneKeyWallet
70
- } from "./chunk-4WOV4ITL.js";
69
+ phantomWallet
70
+ } from "./chunk-KGBLSE7L.js";
71
71
  import {
72
- oneInchWallet
73
- } from "./chunk-LCPIZUR3.js";
72
+ oktoWallet
73
+ } from "./chunk-WKHTUEF5.js";
74
74
  import {
75
- kresusWallet
76
- } from "./chunk-X6T3CICZ.js";
75
+ okxWallet
76
+ } from "./chunk-DV3SI63E.js";
77
77
  import {
78
78
  omniWallet
79
79
  } from "./chunk-SVN7OEQR.js";
80
80
  import {
81
- phantomWallet
82
- } from "./chunk-KGBLSE7L.js";
81
+ ramperWallet
82
+ } from "./chunk-ZOL6ZMTJ.js";
83
83
  import {
84
- foxWallet
85
- } from "./chunk-OKWOB3DN.js";
84
+ frontierWallet
85
+ } from "./chunk-HD5VYJNC.js";
86
86
  import {
87
87
  coreWallet
88
88
  } from "./chunk-IBWFKX7P.js";
89
89
  import {
90
- frameWallet
91
- } from "./chunk-XXFJVY73.js";
90
+ coin98Wallet
91
+ } from "./chunk-Z2HIQYVN.js";
92
92
  import {
93
93
  gateWallet
94
- } from "./chunk-2PC2XXUH.js";
94
+ } from "./chunk-VSZ7PAHS.js";
95
+ import {
96
+ injectedWallet
97
+ } from "./chunk-KIHCNUU3.js";
98
+ import {
99
+ ledgerWallet
100
+ } from "./chunk-Y6VY6E3L.js";
95
101
  import {
96
102
  imTokenWallet
97
103
  } from "./chunk-5MVV7OVS.js";
98
104
  import {
99
- metaMaskWallet
100
- } from "./chunk-X255T3C4.js";
105
+ desigWallet
106
+ } from "./chunk-P4JLZ42R.js";
101
107
  import {
102
- injectedWallet
103
- } from "./chunk-KIHCNUU3.js";
108
+ braveWallet
109
+ } from "./chunk-ABYQAXUX.js";
104
110
  import {
105
- coin98Wallet
106
- } from "./chunk-Z2HIQYVN.js";
111
+ enkryptWallet
112
+ } from "./chunk-FLY7F4XA.js";
107
113
  import {
108
- bybitWallet
109
- } from "./chunk-CUKVUCIP.js";
114
+ frameWallet
115
+ } from "./chunk-XXFJVY73.js";
110
116
  import {
111
- dawnWallet
112
- } from "./chunk-VWZEDVW6.js";
117
+ coinbaseWallet
118
+ } from "./chunk-XBUTWYE4.js";
113
119
  import {
114
- bitskiWallet
115
- } from "./chunk-C67TQJ6W.js";
120
+ foxWallet
121
+ } from "./chunk-OKWOB3DN.js";
116
122
  import {
117
- coinbaseWallet
118
- } from "./chunk-YC7XNS7C.js";
123
+ clvWallet
124
+ } from "./chunk-T6JVHES7.js";
119
125
  import {
120
- desigWallet
121
- } from "./chunk-P4JLZ42R.js";
126
+ dawnWallet
127
+ } from "./chunk-4XQDKOGF.js";
122
128
  import {
123
- frontierWallet
124
- } from "./chunk-N3VZE65M.js";
129
+ bitskiWallet
130
+ } from "./chunk-C67TQJ6W.js";
125
131
  import {
126
- enkryptWallet
127
- } from "./chunk-FLY7F4XA.js";
132
+ bloomWallet
133
+ } from "./chunk-NTGZF5BY.js";
128
134
  import {
129
- bifrostWallet
130
- } from "./chunk-SL4VH23R.js";
135
+ bitgetWallet
136
+ } from "./chunk-2B3SPBRY.js";
131
137
  import {
132
138
  argentWallet
133
139
  } from "./chunk-NZ5G23JP.js";
134
- import {
135
- bitgetWallet
136
- } from "./chunk-75A2U7T7.js";
137
140
  import {
138
141
  bitverseWallet
139
142
  } from "./chunk-NL4I7WOT.js";
140
143
  import {
141
- braveWallet
142
- } from "./chunk-ABYQAXUX.js";
144
+ bifrostWallet
145
+ } from "./chunk-KGTZ6E7L.js";
146
+ import "./chunk-ZOLACFTK.js";
143
147
  import {
144
- clvWallet
145
- } from "./chunk-T6JVHES7.js";
148
+ bybitWallet
149
+ } from "./chunk-CUKVUCIP.js";
146
150
  import "./chunk-QII6PY2D.js";
147
- import {
148
- bloomWallet
149
- } from "./chunk-NTGZF5BY.js";
150
- import "./chunk-ZOLACFTK.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-X255T3C4.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-XRMAVTK7.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-QII6PY2D.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-XSSD5ZVD.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-DV3SI63E.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-QII6PY2D.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-FDIIMYTB.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-RCWZ4KBR.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-QII6PY2D.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-OR3PU2W4.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-7KDOXASH.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-QII6PY2D.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-OAEJQOAV.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-CRSPGVPF.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-QII6PY2D.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-SQGFKNNZ.js";
5
- import "../chunk-QII6PY2D.js";
4
+ } from "../chunk-XNNLZXHE.js";
6
5
  import "../chunk-ZOLACFTK.js";
6
+ import "../chunk-QII6PY2D.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.25",
3
+ "version": "1.0.26",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -49,8 +49,8 @@
49
49
  "author": "https://fun.xyz/",
50
50
  "license": "MIT",
51
51
  "peerDependencies": {
52
- "react": ">=17",
53
- "react-dom": ">=17",
52
+ "react": ">=18",
53
+ "react-dom": ">=18",
54
54
  "viem": "2.x",
55
55
  "wagmi": "2.x"
56
56
  },
@@ -68,13 +68,13 @@
68
68
  "jsdom": "^23.0.1",
69
69
  "nock": "^13.4.0",
70
70
  "postcss": "^8.4.32",
71
- "react": "^18.2.0",
71
+ "react": "^18.3.0",
72
72
  "vitest": "^0.33.0"
73
73
  },
74
74
  "dependencies": {
75
75
  "@datadog/browser-logs": "^5.12.0",
76
- "@funkit/core": "^1.0.9",
77
- "@funkit/wagmi-tools": "^1.0.10",
76
+ "@funkit/core": "^1.0.10",
77
+ "@funkit/wagmi-tools": "^1.0.11",
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,10 +0,0 @@
1
- import React from 'react';
2
- interface ProfileDetailsActionProps {
3
- label: string;
4
- action?: () => void;
5
- icon: JSX.Element;
6
- url?: string;
7
- testId?: string;
8
- }
9
- export declare function ProfileDetailsAction({ action, icon, label, testId, url, }: ProfileDetailsActionProps): React.JSX.Element;
10
- export {};
@@ -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,92 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-ZDU3JFGR.js";
5
- import {
6
- isAndroid
7
- } from "./chunk-ZOLACFTK.js";
8
-
9
- // src/wallets/walletConnectors/ledgerWallet/ledgerWallet.ts
10
- var ledgerWallet = ({
11
- projectId,
12
- walletConnectParameters
13
- }) => ({
14
- id: "ledger",
15
- iconBackground: "#000",
16
- iconAccent: "#000",
17
- name: "Ledger",
18
- iconUrl: async () => (await import("./ledgerWallet-DIS4VM6H.js")).default,
19
- downloadUrls: {
20
- android: "https://play.google.com/store/apps/details?id=com.ledger.live",
21
- ios: "https://apps.apple.com/us/app/ledger-live-web3-wallet/id1361671700",
22
- mobile: "https://www.ledger.com/ledger-live",
23
- qrCode: "https://r354.adj.st/?adj_t=t2esmlk",
24
- windows: "https://www.ledger.com/ledger-live/download",
25
- macos: "https://www.ledger.com/ledger-live/download",
26
- linux: "https://www.ledger.com/ledger-live/download",
27
- desktop: "https://www.ledger.com/ledger-live"
28
- },
29
- mobile: {
30
- getUri: (uri) => {
31
- return isAndroid() ? uri : `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
32
- }
33
- },
34
- desktop: {
35
- getUri: (uri) => {
36
- return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
37
- },
38
- instructions: {
39
- learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
40
- steps: [
41
- {
42
- description: "wallet_connectors.ledger.desktop.step1.description",
43
- step: "install",
44
- title: "wallet_connectors.ledger.desktop.step1.title"
45
- },
46
- {
47
- description: "wallet_connectors.ledger.desktop.step2.description",
48
- step: "create",
49
- title: "wallet_connectors.ledger.desktop.step2.title"
50
- },
51
- {
52
- description: "wallet_connectors.ledger.desktop.step3.description",
53
- step: "connect",
54
- title: "wallet_connectors.ledger.desktop.step3.title"
55
- }
56
- ]
57
- }
58
- },
59
- qrCode: {
60
- getUri: (uri) => {
61
- return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
62
- },
63
- instructions: {
64
- learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
65
- steps: [
66
- {
67
- description: "wallet_connectors.ledger.qr_code.step1.description",
68
- step: "install",
69
- title: "wallet_connectors.ledger.qr_code.step1.title"
70
- },
71
- {
72
- description: "wallet_connectors.ledger.qr_code.step2.description",
73
- step: "create",
74
- title: "wallet_connectors.ledger.qr_code.step2.title"
75
- },
76
- {
77
- description: "wallet_connectors.ledger.qr_code.step3.description",
78
- step: "scan",
79
- title: "wallet_connectors.ledger.qr_code.step3.title"
80
- }
81
- ]
82
- }
83
- },
84
- createConnector: getWalletConnectConnector({
85
- projectId,
86
- walletConnectParameters
87
- })
88
- });
89
-
90
- export {
91
- ledgerWallet
92
- };