@funkit/connect 5.1.0 → 5.1.2

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 (87) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/{chunk-2T4ZDGAO.js → chunk-A7G4HZZY.js} +9 -4
  3. package/dist/{chunk-DYPSSLLL.js → chunk-ELA2ZIK4.js} +7 -9
  4. package/dist/{chunk-5HIKBJTA.js → chunk-TTI2Q45P.js} +7 -9
  5. package/dist/components/Box/Box.d.ts +50 -50
  6. package/dist/components/Dropdown/BaseActiveDropdownItem.d.ts +3 -2
  7. package/dist/components/Dropdown/BaseDropdown.d.ts +3 -9
  8. package/dist/components/Dropdown/BaseDropdownItem.d.ts +1 -1
  9. package/dist/components/FunAlert/FunAlert.d.ts +3 -1
  10. package/dist/components/FunAsset/FunAssetItem.d.ts +1 -3
  11. package/dist/components/FunBadge/FunBadge.d.ts +14 -4
  12. package/dist/components/FunCheckoutHistory/FunCheckoutHistoryContent.d.ts +1 -2
  13. package/dist/components/FunCheckoutHistory/FunCheckoutHistoryDetail.d.ts +1 -2
  14. package/dist/components/FunCheckoutHistory/FunCheckoutHistoryTransaction.d.ts +7 -1
  15. package/dist/components/FunCheckoutHistory/FunCheckoutStatus.d.ts +2 -0
  16. package/dist/components/FunCheckoutHistory/FunDirectExecutionHistoryDetail.d.ts +7 -0
  17. package/dist/components/FunTooltip/FunTooltip.d.ts +2 -2
  18. package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +1 -1
  19. package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +2 -1
  20. package/dist/components/Icons/New/PercentageIcon.d.ts +2 -0
  21. package/dist/components/SolanaDepositAlert/SolanaDepositAlert.d.ts +6 -0
  22. package/dist/components/TransferTokenDetails/TransferTokenDetails.d.ts +4 -3
  23. package/dist/consts/checkout.d.ts +7 -1
  24. package/dist/css/cssObjectFromTheme.d.ts +1 -1
  25. package/dist/css/sprinkles.css.d.ts +62 -64
  26. package/dist/domains/asset.d.ts +12 -2
  27. package/dist/domains/checkoutRecipient.d.ts +6 -0
  28. package/dist/domains/quote.d.ts +8 -0
  29. package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +1 -1
  30. package/dist/hooks/useTokenTransfer.d.ts +3 -2
  31. package/dist/index.css +2515 -2677
  32. package/dist/index.d.ts +7 -2
  33. package/dist/index.js +1993 -1588
  34. package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +2 -1
  35. package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +0 -1
  36. package/dist/modals/CheckoutModal/SelectAsset.d.ts +2 -0
  37. package/dist/modals/CheckoutModal/TransferToken/TransferToken.d.ts +8 -2
  38. package/dist/providers/AuthenticationContext.d.ts +1 -2
  39. package/dist/providers/FunkitCheckoutContext.d.ts +3 -3
  40. package/dist/providers/FunkitHistoryContext.d.ts +2 -1
  41. package/dist/providers/FunkitThemeProvider.d.ts +18 -21
  42. package/dist/providers/GeneralWalletProvider.d.ts +8 -8
  43. package/dist/themes/baseTheme.js +1 -1
  44. package/dist/themes/darkTheme.js +2 -2
  45. package/dist/themes/lightTheme.js +2 -2
  46. package/dist/utils/checkout.d.ts +10 -2
  47. package/dist/utils/flags/config.d.ts +12 -0
  48. package/dist/utils/signature.d.ts +1 -0
  49. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  50. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  51. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  52. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  53. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  54. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  55. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  56. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  57. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  58. package/dist/wallets/walletConnectors/index.js +60 -60
  59. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  60. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  61. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  62. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  63. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  64. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  65. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  66. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  67. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  68. package/package.json +17 -17
  69. package/dist/components/FunAsset/FunAssetBadge.d.ts +0 -16
  70. package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +0 -92
  71. package/dist/wallets/walletConnectors/chunk-3NC26XLM.js +0 -92
  72. package/dist/wallets/walletConnectors/chunk-3U3BMEH5.js +0 -94
  73. package/dist/wallets/walletConnectors/chunk-4UM4GTKZ.js +0 -103
  74. package/dist/wallets/walletConnectors/chunk-545L7Y4M.js +0 -69
  75. package/dist/wallets/walletConnectors/chunk-6LPM6LUQ.js +0 -110
  76. package/dist/wallets/walletConnectors/chunk-7GSNBOD3.js +0 -99
  77. package/dist/wallets/walletConnectors/chunk-ETTNDQQG.js +0 -100
  78. package/dist/wallets/walletConnectors/chunk-FRGSRLTS.js +0 -93
  79. package/dist/wallets/walletConnectors/chunk-HKV7EMYZ.js +0 -96
  80. package/dist/wallets/walletConnectors/chunk-IPOC2VJX.js +0 -106
  81. package/dist/wallets/walletConnectors/chunk-JXP2QPW7.js +0 -95
  82. package/dist/wallets/walletConnectors/chunk-KFFJPS5R.js +0 -96
  83. package/dist/wallets/walletConnectors/chunk-LEXSM5KI.js +0 -87
  84. package/dist/wallets/walletConnectors/chunk-MOOBCMMB.js +0 -70
  85. package/dist/wallets/walletConnectors/chunk-N2NIIUW6.js +0 -146
  86. package/dist/wallets/walletConnectors/chunk-W5O4YSZN.js +0 -98
  87. package/dist/wallets/walletConnectors/chunk-XYBEMO3C.js +0 -66
@@ -3,71 +3,77 @@ import {
3
3
  zealWallet
4
4
  } from "./chunk-JROWU5BP.js";
5
5
  import {
6
- trustWallet
7
- } from "./chunk-IPOC2VJX.js";
6
+ xdefiWallet
7
+ } from "./chunk-NO7XMBB5.js";
8
8
  import {
9
9
  zerionWallet
10
- } from "./chunk-ETTNDQQG.js";
10
+ } from "./chunk-AXWP3GD4.js";
11
+ import {
12
+ safeheronWallet
13
+ } from "./chunk-R6RWZRFF.js";
11
14
  import {
12
15
  tahoWallet
13
16
  } from "./chunk-6P2EMPZI.js";
17
+ import {
18
+ tokenaryWallet
19
+ } from "./chunk-SLOIIJGP.js";
14
20
  import {
15
21
  talismanWallet
16
22
  } from "./chunk-ABFSXBE6.js";
17
23
  import {
18
24
  tokenPocketWallet
19
- } from "./chunk-FRGSRLTS.js";
25
+ } from "./chunk-IDKVN5CF.js";
20
26
  import {
21
- tokenaryWallet
22
- } from "./chunk-SLOIIJGP.js";
23
- import {
24
- subWallet
25
- } from "./chunk-4UM4GTKZ.js";
27
+ trustWallet
28
+ } from "./chunk-ISIBREBO.js";
26
29
  import {
27
30
  uniswapWallet
28
31
  } from "./chunk-LH7BMNFZ.js";
29
32
  import {
30
33
  walletConnectWallet
31
34
  } from "./chunk-NP5QGWNL.js";
32
- import {
33
- xdefiWallet
34
- } from "./chunk-NO7XMBB5.js";
35
35
  import {
36
36
  phantomWallet
37
37
  } from "./chunk-ZSVTX6EK.js";
38
38
  import {
39
- rainbowWallet
40
- } from "./chunk-MOOBCMMB.js";
41
- import {
42
- ramperWallet
43
- } from "./chunk-PIUNLQJG.js";
39
+ rabbyWallet
40
+ } from "./chunk-BVX4XGNP.js";
44
41
  import {
45
42
  roninWallet
46
- } from "./chunk-25VW5TZP.js";
43
+ } from "./chunk-63YLN6R5.js";
47
44
  import {
48
45
  safeWallet
49
46
  } from "./chunk-BQQQL6UD.js";
50
47
  import {
51
- rabbyWallet
52
- } from "./chunk-BVX4XGNP.js";
48
+ ramperWallet
49
+ } from "./chunk-PIUNLQJG.js";
53
50
  import {
54
- safeheronWallet
55
- } from "./chunk-R6RWZRFF.js";
51
+ rainbowWallet
52
+ } from "./chunk-2UCNRD7H.js";
56
53
  import {
57
54
  safepalWallet
58
- } from "./chunk-6LPM6LUQ.js";
55
+ } from "./chunk-MSFKSQBY.js";
56
+ import {
57
+ subWallet
58
+ } from "./chunk-AD2KIJB6.js";
59
+ import {
60
+ ledgerWallet
61
+ } from "./chunk-BRBKM4PW.js";
59
62
  import {
60
63
  mewWallet
61
64
  } from "./chunk-V57WLZEE.js";
62
65
  import {
63
66
  oktoWallet
64
67
  } from "./chunk-ADIXAKUL.js";
68
+ import {
69
+ okxWallet
70
+ } from "./chunk-4WEHDI4Y.js";
65
71
  import {
66
72
  metaMaskWallet
67
- } from "./chunk-N2NIIUW6.js";
73
+ } from "./chunk-G73C6P5P.js";
68
74
  import {
69
- okxWallet
70
- } from "./chunk-3U3BMEH5.js";
75
+ omniWallet
76
+ } from "./chunk-7CUY5G6R.js";
71
77
  import {
72
78
  oneKeyWallet
73
79
  } from "./chunk-4AD7VI2P.js";
@@ -75,17 +81,14 @@ import {
75
81
  oneInchWallet
76
82
  } from "./chunk-OESTDX6I.js";
77
83
  import {
78
- omniWallet
79
- } from "./chunk-7CUY5G6R.js";
84
+ enkryptWallet
85
+ } from "./chunk-SJTXS4ZW.js";
80
86
  import {
81
87
  foxWallet
82
- } from "./chunk-XYBEMO3C.js";
83
- import {
84
- frameWallet
85
- } from "./chunk-ZMYVTWDF.js";
88
+ } from "./chunk-LMZMXEXL.js";
86
89
  import {
87
90
  frontierWallet
88
- } from "./chunk-HKV7EMYZ.js";
91
+ } from "./chunk-3S2U24BJ.js";
89
92
  import {
90
93
  imTokenWallet
91
94
  } from "./chunk-COZ7MIQS.js";
@@ -94,43 +97,43 @@ import {
94
97
  } from "./chunk-VCVVV2K7.js";
95
98
  import {
96
99
  gateWallet
97
- } from "./chunk-3NC26XLM.js";
100
+ } from "./chunk-GSOYKKIS.js";
98
101
  import {
99
102
  kresusWallet
100
103
  } from "./chunk-MJXPRJZT.js";
101
104
  import {
102
- ledgerWallet
103
- } from "./chunk-BRBKM4PW.js";
105
+ bloomWallet
106
+ } from "./chunk-S27IADFU.js";
104
107
  import {
105
- bitgetWallet
106
- } from "./chunk-7GSNBOD3.js";
108
+ clvWallet
109
+ } from "./chunk-KR6JBW5E.js";
107
110
  import {
108
111
  coin98Wallet
109
- } from "./chunk-KFFJPS5R.js";
112
+ } from "./chunk-DTRYS3MO.js";
110
113
  import {
111
- dawnWallet
112
- } from "./chunk-LN7OD5EC.js";
113
- import {
114
- coreWallet
115
- } from "./chunk-JXP2QPW7.js";
114
+ desigWallet
115
+ } from "./chunk-CTU6JCOK.js";
116
116
  import {
117
117
  coinbaseWallet
118
118
  } from "./chunk-H4IRCEZN.js";
119
119
  import {
120
- braveWallet
121
- } from "./chunk-PB254NQ4.js";
122
- import {
123
- enkryptWallet
124
- } from "./chunk-SJTXS4ZW.js";
120
+ dawnWallet
121
+ } from "./chunk-LN7OD5EC.js";
125
122
  import {
126
- desigWallet
127
- } from "./chunk-CTU6JCOK.js";
123
+ coreWallet
124
+ } from "./chunk-HBA36GW3.js";
128
125
  import {
129
- bifrostWallet
130
- } from "./chunk-545L7Y4M.js";
126
+ frameWallet
127
+ } from "./chunk-ZMYVTWDF.js";
131
128
  import {
132
129
  argentWallet
133
130
  } from "./chunk-WSQ2YJO2.js";
131
+ import {
132
+ bifrostWallet
133
+ } from "./chunk-W6N74MS3.js";
134
+ import {
135
+ bitgetWallet
136
+ } from "./chunk-A5APNTGL.js";
134
137
  import {
135
138
  bitskiWallet
136
139
  } from "./chunk-P74YPRF6.js";
@@ -138,16 +141,13 @@ import {
138
141
  bitverseWallet
139
142
  } from "./chunk-3HZRRP4Y.js";
140
143
  import {
141
- bloomWallet
142
- } from "./chunk-S27IADFU.js";
144
+ braveWallet
145
+ } from "./chunk-PB254NQ4.js";
143
146
  import {
144
147
  bybitWallet
145
- } from "./chunk-W5O4YSZN.js";
146
- import {
147
- clvWallet
148
- } from "./chunk-LEXSM5KI.js";
149
- import "./chunk-WRA2DVJ7.js";
148
+ } from "./chunk-6ONTSPEY.js";
150
149
  import "./chunk-23WIEY36.js";
150
+ import "./chunk-WRA2DVJ7.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-N2NIIUW6.js";
5
- import "../chunk-WRA2DVJ7.js";
4
+ } from "../chunk-G73C6P5P.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-WRA2DVJ7.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-3U3BMEH5.js";
5
- import "../chunk-WRA2DVJ7.js";
4
+ } from "../chunk-4WEHDI4Y.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-WRA2DVJ7.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-MOOBCMMB.js";
5
- import "../chunk-WRA2DVJ7.js";
4
+ } from "../chunk-2UCNRD7H.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-WRA2DVJ7.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-25VW5TZP.js";
5
- import "../chunk-WRA2DVJ7.js";
4
+ } from "../chunk-63YLN6R5.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-WRA2DVJ7.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-6LPM6LUQ.js";
5
- import "../chunk-WRA2DVJ7.js";
4
+ } from "../chunk-MSFKSQBY.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-WRA2DVJ7.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-4UM4GTKZ.js";
5
- import "../chunk-WRA2DVJ7.js";
4
+ } from "../chunk-AD2KIJB6.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-WRA2DVJ7.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-FRGSRLTS.js";
5
- import "../chunk-WRA2DVJ7.js";
4
+ } from "../chunk-IDKVN5CF.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-WRA2DVJ7.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-IPOC2VJX.js";
5
- import "../chunk-WRA2DVJ7.js";
4
+ } from "../chunk-ISIBREBO.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-WRA2DVJ7.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-ETTNDQQG.js";
5
- import "../chunk-WRA2DVJ7.js";
4
+ } from "../chunk-AXWP3GD4.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-WRA2DVJ7.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": "5.1.0",
3
+ "version": "5.1.2",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -45,15 +45,15 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@aws-sdk/client-s3": "^3.600.0",
48
- "@chromatic-com/storybook": "^3.2.4",
48
+ "@chromatic-com/storybook": "^3.2.6",
49
49
  "@meshconnect/node-api": "2.0.14",
50
- "@storybook/addon-essentials": "^8.5.3",
51
- "@storybook/addon-interactions": "^8.5.3",
52
- "@storybook/addon-links": "^8.5.3",
53
- "@storybook/blocks": "^8.5.3",
54
- "@storybook/react": "^8.5.3",
55
- "@storybook/react-vite": "^8.5.3",
56
- "@storybook/test": "^8.5.3",
50
+ "@storybook/addon-essentials": "^8.6.7",
51
+ "@storybook/addon-interactions": "^8.6.7",
52
+ "@storybook/addon-links": "^8.6.7",
53
+ "@storybook/blocks": "^8.6.7",
54
+ "@storybook/react": "^8.6.7",
55
+ "@storybook/react-vite": "^8.6.7",
56
+ "@storybook/test": "^8.6.7",
57
57
  "@testing-library/jest-dom": "^6.2.0",
58
58
  "@testing-library/react": "^16.0.1",
59
59
  "@testing-library/user-event": "^14.5.2",
@@ -61,15 +61,15 @@
61
61
  "@types/ua-parser-js": "^0.7.39",
62
62
  "@vanilla-extract/css-utils": "0.1.4",
63
63
  "@vanilla-extract/private": "^1.0.3",
64
- "@vanilla-extract/vite-plugin": "^4.0.13",
64
+ "@vanilla-extract/vite-plugin": "^5.0.1",
65
65
  "@vitejs/plugin-react": "^4.3.1",
66
66
  "autoprefixer": "^10.4.16",
67
67
  "jsdom": "^25.0.1",
68
68
  "postcss": "^8.4.32",
69
69
  "react": "^18.3.0",
70
- "storybook": "^8.5.3",
70
+ "storybook": "^8.6.7",
71
71
  "tsx": "^4.19.2",
72
- "vitest": "^2.0.5"
72
+ "vitest": "^3.0.9"
73
73
  },
74
74
  "dependencies": {
75
75
  "@datadog/browser-logs": "5.22.0",
@@ -90,11 +90,11 @@
90
90
  "react-virtuoso": "4.10.1",
91
91
  "ua-parser-js": "^1.0.37",
92
92
  "uuid": "^9.0.1",
93
- "@funkit/chains": "0.2.0",
94
- "@funkit/api-base": "1.6.0",
95
- "@funkit/utils": "1.0.9",
96
- "@funkit/core": "2.3.12",
97
- "@funkit/wagmi-tools": "3.0.34"
93
+ "@funkit/api-base": "1.6.1",
94
+ "@funkit/chains": "0.2.1",
95
+ "@funkit/core": "2.3.13",
96
+ "@funkit/utils": "1.0.10",
97
+ "@funkit/wagmi-tools": "3.0.35"
98
98
  },
99
99
  "repository": {
100
100
  "type": "git",
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { type BoxProps } from '../Box/Box';
3
- interface FunAssetBadgeProps {
4
- text: React.ReactNode;
5
- background?: BoxProps['background'];
6
- borderColor?: BoxProps['borderColor'];
7
- color?: BoxProps['color'];
8
- }
9
- export interface BadgeColors {
10
- background: BoxProps['background'];
11
- border: BoxProps['borderColor'];
12
- text: BoxProps['color'];
13
- }
14
- export declare const defaultBadgeColors: BadgeColors;
15
- export declare function FunAssetBadge({ text, background, borderColor, color, }: FunAssetBadgeProps): React.JSX.Element;
16
- export {};
@@ -1,92 +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/roninWallet/roninWallet.ts
11
- var roninWallet = ({
12
- projectId,
13
- walletConnectParameters
14
- }) => {
15
- const isRoninInjected = hasInjectedProvider({
16
- namespace: "ronin.provider"
17
- });
18
- return {
19
- id: "ronin",
20
- name: "Ronin Wallet",
21
- iconUrl: async () => (await import("./roninWallet-SAB5ESVK.js")).default,
22
- iconBackground: "#ffffff",
23
- rdns: "com.roninchain.wallet",
24
- installed: isRoninInjected || void 0,
25
- downloadUrls: {
26
- android: "https://play.google.com/store/apps/details?id=com.skymavis.genesis",
27
- ios: "https://apps.apple.com/us/app/ronin-wallet/id1592675001",
28
- mobile: "https://wallet.roninchain.com",
29
- chrome: "https://chrome.google.com/webstore/detail/ronin-wallet/fnjhmkhhmkbjkkabndcnnogagogbneec",
30
- edge: "https://microsoftedge.microsoft.com/addons/detail/ronin-wallet/kjmoohlgokccodicjjfebfomlbljgfhk",
31
- firefox: "https://addons.mozilla.org/firefox/addon/ronin-wallet",
32
- browserExtension: "https://wallet.roninchain.com/",
33
- qrCode: "https://wallet.roninchain.com/"
34
- },
35
- mobile: {
36
- getUri: (uri) => `roninwallet://wc?uri=${encodeURIComponent(uri)}`
37
- },
38
- qrCode: {
39
- getUri: (uri) => uri,
40
- instructions: {
41
- learnMoreUrl: "https://wallet.roninchain.com/",
42
- steps: [
43
- {
44
- description: "wallet_connectors.ronin.qr_code.step1.description",
45
- step: "install",
46
- title: "wallet_connectors.ronin.qr_code.step1.title"
47
- },
48
- {
49
- description: "wallet_connectors.ronin.qr_code.step2.description",
50
- step: "create",
51
- title: "wallet_connectors.ronin.qr_code.step2.title"
52
- },
53
- {
54
- description: "wallet_connectors.ronin.qr_code.step3.description",
55
- step: "scan",
56
- title: "wallet_connectors.ronin.qr_code.step3.title"
57
- }
58
- ]
59
- }
60
- },
61
- extension: {
62
- instructions: {
63
- learnMoreUrl: "https://wallet.roninchain.com/",
64
- steps: [
65
- {
66
- description: "wallet_connectors.ronin.extension.step1.description",
67
- step: "install",
68
- title: "wallet_connectors.ronin.extension.step1.title"
69
- },
70
- {
71
- description: "wallet_connectors.ronin.extension.step2.description",
72
- step: "create",
73
- title: "wallet_connectors.ronin.extension.step2.title"
74
- },
75
- {
76
- description: "wallet_connectors.ronin.extension.step3.description",
77
- step: "refresh",
78
- title: "wallet_connectors.ronin.extension.step3.title"
79
- }
80
- ]
81
- }
82
- },
83
- createConnector: isRoninInjected ? getInjectedConnector({ namespace: "ronin.provider" }) : getWalletConnectConnector({
84
- projectId,
85
- walletConnectParameters
86
- })
87
- };
88
- };
89
-
90
- export {
91
- roninWallet
92
- };
@@ -1,92 +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/gateWallet/gateWallet.ts
11
- import { isAndroid } from "@funkit/utils";
12
- var gateWallet = ({
13
- projectId,
14
- walletConnectParameters
15
- }) => {
16
- const isGateInjected = hasInjectedProvider({ namespace: "gatewallet" });
17
- const shouldUseWalletConnect = !isGateInjected;
18
- return {
19
- id: "gate",
20
- name: "Gate Wallet",
21
- rdns: "io.gate.wallet",
22
- iconUrl: async () => (await import("./gateWallet-CJNGQQCV.js")).default,
23
- iconAccent: "#fff",
24
- iconBackground: "#fff",
25
- downloadUrls: {
26
- android: "https://play.google.com/store/apps/details?id=com.gateio.gateio",
27
- ios: "https://apps.apple.com/us/app/gate-io-buy-bitcoin-crypto/id1294998195",
28
- mobile: "https://www.gate.io/mobileapp",
29
- qrCode: "https://www.gate.io/web3",
30
- chrome: "https://chromewebstore.google.com/detail/gate-wallet/cpmkedoipcpimgecpmgpldfpohjplkpp",
31
- browserExtension: "https://www.gate.io/web3"
32
- },
33
- mobile: {
34
- getUri: shouldUseWalletConnect ? (uri) => {
35
- return isAndroid() ? uri : `gtweb3wallet://wc?uri=${encodeURIComponent(uri)}`;
36
- } : void 0
37
- },
38
- qrCode: shouldUseWalletConnect ? {
39
- getUri: (uri) => uri,
40
- instructions: {
41
- learnMoreUrl: "https://www.gate.io/learn",
42
- steps: [
43
- {
44
- description: "wallet_connectors.gate.qr_code.step1.description",
45
- step: "install",
46
- title: "wallet_connectors.gate.qr_code.step1.title"
47
- },
48
- {
49
- description: "wallet_connectors.gate.qr_code.step2.description",
50
- step: "create",
51
- title: "wallet_connectors.gate.qr_code.step2.title"
52
- },
53
- {
54
- description: "wallet_connectors.gate.qr_code.step3.description",
55
- step: "scan",
56
- title: "wallet_connectors.gate.qr_code.step3.title"
57
- }
58
- ]
59
- }
60
- } : void 0,
61
- extension: {
62
- instructions: {
63
- learnMoreUrl: "https://www.gate.io/learn",
64
- steps: [
65
- {
66
- description: "wallet_connectors.gate.extension.step1.description",
67
- step: "install",
68
- title: "wallet_connectors.gate.extension.step1.title"
69
- },
70
- {
71
- description: "wallet_connectors.gate.extension.step2.description",
72
- step: "create",
73
- title: "wallet_connectors.gate.extension.step2.title"
74
- },
75
- {
76
- description: "wallet_connectors.gate.extension.step3.description",
77
- step: "refresh",
78
- title: "wallet_connectors.gate.extension.step3.title"
79
- }
80
- ]
81
- }
82
- },
83
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
84
- projectId,
85
- walletConnectParameters
86
- }) : getInjectedConnector({ namespace: "gatewallet" })
87
- };
88
- };
89
-
90
- export {
91
- gateWallet
92
- };