@funkit/connect 4.0.3 → 4.1.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 (83) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/{chunk-LTOE4GIY.js → chunk-2QK6Y7FR.js} +2 -9
  3. package/dist/{chunk-3F3EYDDR.js → chunk-JFHTYZ23.js} +2 -9
  4. package/dist/{chunk-OMAXDH7G.js → chunk-TKJVOYWW.js} +5 -3
  5. package/dist/components/Box/Box.d.ts +51 -51
  6. package/dist/components/FunOptionBox/FunOptionBox.css.d.ts +1 -1
  7. package/dist/components/FunPayments/FunPaymentMethods.d.ts +2 -1
  8. package/dist/components/HelpAlert/HelpAlert.d.ts +6 -0
  9. package/dist/config/getDefaultConfig.d.ts +34 -34
  10. package/dist/consts/customers.d.ts +1 -0
  11. package/dist/consts/funkit.d.ts +0 -1
  12. package/dist/css/sprinkles.css.d.ts +53 -83
  13. package/dist/domains/checkoutFees.d.ts +1 -1
  14. package/dist/domains/quote.d.ts +2 -6
  15. package/dist/hooks/useMountEffect.d.ts +8 -0
  16. package/dist/index.css +1849 -2397
  17. package/dist/index.js +1848 -1594
  18. package/dist/modals/CheckoutModal/ConfirmationStep/ConfirmationStep.d.ts +1 -0
  19. package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +6 -0
  20. package/dist/modals/CheckoutModal/stepTransition.d.ts +1 -0
  21. package/dist/providers/FunkitCheckoutContext.d.ts +2 -3
  22. package/dist/providers/FunkitConfigContext.d.ts +0 -7
  23. package/dist/providers/FunkitHistoryContext.d.ts +1 -1
  24. package/dist/providers/FunkitMeshProvider.d.ts +2 -0
  25. package/dist/providers/FunkitThemeProvider.d.ts +3 -48
  26. package/dist/providers/ModalContext.d.ts +0 -4
  27. package/dist/{scroll-G557LOXM.js → scroll-G3S4ZVYZ.js} +1 -1
  28. package/dist/themes/baseTheme.d.ts +2 -1
  29. package/dist/themes/baseTheme.js +1 -1
  30. package/dist/themes/darkTheme.js +2 -2
  31. package/dist/themes/lightTheme.js +2 -2
  32. package/dist/types/utils.d.ts +0 -6
  33. package/dist/utils/checkout.d.ts +8 -39
  34. package/dist/utils/checkoutHistory.d.ts +7 -0
  35. package/dist/utils/flags/config.d.ts +21 -7
  36. package/dist/utils/mesh.d.ts +3 -2
  37. package/dist/wallets/groupedWallets.d.ts +0 -1
  38. package/dist/wallets/latestWalletId.d.ts +0 -2
  39. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  40. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  41. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  42. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  43. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  44. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  45. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  46. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  47. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  48. package/dist/wallets/walletConnectors/index.js +50 -50
  49. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  50. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  51. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  52. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  53. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  54. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  55. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  56. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  57. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  58. package/package.json +6 -6
  59. package/dist/components/FunButton/FunViewTxButton.d.ts +0 -5
  60. package/dist/components/FunProgressBar/FunHorizontalStepper.d.ts +0 -7
  61. package/dist/hooks/useChainId.d.ts +0 -1
  62. package/dist/hooks/useCheckoutChains.d.ts +0 -1
  63. package/dist/hooks/useCheckoutType.d.ts +0 -5
  64. package/dist/hooks/useWindowSize.d.ts +0 -4
  65. package/dist/modals/DevTest/FunDevTestModal.d.ts +0 -6
  66. package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +0 -92
  67. package/dist/wallets/walletConnectors/chunk-3NC26XLM.js +0 -92
  68. package/dist/wallets/walletConnectors/chunk-3U3BMEH5.js +0 -94
  69. package/dist/wallets/walletConnectors/chunk-4UM4GTKZ.js +0 -103
  70. package/dist/wallets/walletConnectors/chunk-545L7Y4M.js +0 -69
  71. package/dist/wallets/walletConnectors/chunk-6LPM6LUQ.js +0 -110
  72. package/dist/wallets/walletConnectors/chunk-7GSNBOD3.js +0 -99
  73. package/dist/wallets/walletConnectors/chunk-ETTNDQQG.js +0 -100
  74. package/dist/wallets/walletConnectors/chunk-FRGSRLTS.js +0 -93
  75. package/dist/wallets/walletConnectors/chunk-HKV7EMYZ.js +0 -96
  76. package/dist/wallets/walletConnectors/chunk-IPOC2VJX.js +0 -106
  77. package/dist/wallets/walletConnectors/chunk-JXP2QPW7.js +0 -95
  78. package/dist/wallets/walletConnectors/chunk-KFFJPS5R.js +0 -96
  79. package/dist/wallets/walletConnectors/chunk-LEXSM5KI.js +0 -87
  80. package/dist/wallets/walletConnectors/chunk-MOOBCMMB.js +0 -70
  81. package/dist/wallets/walletConnectors/chunk-N2NIIUW6.js +0 -146
  82. package/dist/wallets/walletConnectors/chunk-W5O4YSZN.js +0 -98
  83. package/dist/wallets/walletConnectors/chunk-XYBEMO3C.js +0 -66
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  gateWallet
4
- } from "../chunk-3NC26XLM.js";
5
- import "../chunk-WRA2DVJ7.js";
4
+ } from "../chunk-GSOYKKIS.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-WRA2DVJ7.js";
7
7
  export {
8
8
  gateWallet
9
9
  };
@@ -1,52 +1,49 @@
1
1
  "use client";
2
- import {
3
- xdefiWallet
4
- } from "./chunk-NO7XMBB5.js";
5
2
  import {
6
3
  zealWallet
7
4
  } from "./chunk-JROWU5BP.js";
5
+ import {
6
+ frameWallet
7
+ } from "./chunk-ZMYVTWDF.js";
8
8
  import {
9
9
  zerionWallet
10
- } from "./chunk-ETTNDQQG.js";
10
+ } from "./chunk-AXWP3GD4.js";
11
11
  import {
12
- subWallet
13
- } from "./chunk-4UM4GTKZ.js";
12
+ tahoWallet
13
+ } from "./chunk-6P2EMPZI.js";
14
14
  import {
15
15
  talismanWallet
16
16
  } from "./chunk-ABFSXBE6.js";
17
17
  import {
18
18
  tokenPocketWallet
19
- } from "./chunk-FRGSRLTS.js";
19
+ } from "./chunk-IDKVN5CF.js";
20
20
  import {
21
21
  tokenaryWallet
22
22
  } from "./chunk-SLOIIJGP.js";
23
23
  import {
24
24
  trustWallet
25
- } from "./chunk-IPOC2VJX.js";
25
+ } from "./chunk-ISIBREBO.js";
26
26
  import {
27
27
  uniswapWallet
28
28
  } from "./chunk-LH7BMNFZ.js";
29
29
  import {
30
- tahoWallet
31
- } from "./chunk-6P2EMPZI.js";
30
+ xdefiWallet
31
+ } from "./chunk-NO7XMBB5.js";
32
32
  import {
33
33
  walletConnectWallet
34
34
  } from "./chunk-NP5QGWNL.js";
35
- import {
36
- phantomWallet
37
- } from "./chunk-ZSVTX6EK.js";
38
35
  import {
39
36
  rabbyWallet
40
37
  } from "./chunk-BVX4XGNP.js";
41
38
  import {
42
39
  rainbowWallet
43
- } from "./chunk-MOOBCMMB.js";
40
+ } from "./chunk-2UCNRD7H.js";
44
41
  import {
45
42
  ramperWallet
46
43
  } from "./chunk-PIUNLQJG.js";
47
44
  import {
48
45
  roninWallet
49
- } from "./chunk-25VW5TZP.js";
46
+ } from "./chunk-63YLN6R5.js";
50
47
  import {
51
48
  safeWallet
52
49
  } from "./chunk-BQQQL6UD.js";
@@ -54,14 +51,14 @@ import {
54
51
  safeheronWallet
55
52
  } from "./chunk-R6RWZRFF.js";
56
53
  import {
57
- safepalWallet
58
- } from "./chunk-6LPM6LUQ.js";
54
+ subWallet
55
+ } from "./chunk-AD2KIJB6.js";
59
56
  import {
60
- ledgerWallet
61
- } from "./chunk-BRBKM4PW.js";
57
+ safepalWallet
58
+ } from "./chunk-MSFKSQBY.js";
62
59
  import {
63
60
  metaMaskWallet
64
- } from "./chunk-N2NIIUW6.js";
61
+ } from "./chunk-G73C6P5P.js";
65
62
  import {
66
63
  mewWallet
67
64
  } from "./chunk-V57WLZEE.js";
@@ -70,7 +67,7 @@ import {
70
67
  } from "./chunk-ADIXAKUL.js";
71
68
  import {
72
69
  okxWallet
73
- } from "./chunk-3U3BMEH5.js";
70
+ } from "./chunk-4WEHDI4Y.js";
74
71
  import {
75
72
  omniWallet
76
73
  } from "./chunk-7CUY5G6R.js";
@@ -81,62 +78,62 @@ import {
81
78
  oneKeyWallet
82
79
  } from "./chunk-4AD7VI2P.js";
83
80
  import {
84
- foxWallet
85
- } from "./chunk-XYBEMO3C.js";
86
- import {
87
- frameWallet
88
- } from "./chunk-ZMYVTWDF.js";
81
+ phantomWallet
82
+ } from "./chunk-ZSVTX6EK.js";
89
83
  import {
90
84
  frontierWallet
91
- } from "./chunk-HKV7EMYZ.js";
85
+ } from "./chunk-3S2U24BJ.js";
92
86
  import {
93
- gateWallet
94
- } from "./chunk-3NC26XLM.js";
87
+ foxWallet
88
+ } from "./chunk-LMZMXEXL.js";
95
89
  import {
96
- imTokenWallet
97
- } from "./chunk-COZ7MIQS.js";
90
+ gateWallet
91
+ } from "./chunk-GSOYKKIS.js";
98
92
  import {
99
93
  injectedWallet
100
94
  } from "./chunk-VCVVV2K7.js";
95
+ import {
96
+ imTokenWallet
97
+ } from "./chunk-COZ7MIQS.js";
101
98
  import {
102
99
  kresusWallet
103
100
  } from "./chunk-MJXPRJZT.js";
104
101
  import {
105
- braveWallet
106
- } from "./chunk-PB254NQ4.js";
102
+ ledgerWallet
103
+ } from "./chunk-BRBKM4PW.js";
104
+ import {
105
+ bybitWallet
106
+ } from "./chunk-6ONTSPEY.js";
107
+ import {
108
+ coreWallet
109
+ } from "./chunk-HBA36GW3.js";
107
110
  import {
108
111
  coin98Wallet
109
- } from "./chunk-KFFJPS5R.js";
112
+ } from "./chunk-DTRYS3MO.js";
110
113
  import {
111
114
  coinbaseWallet
112
115
  } from "./chunk-H4IRCEZN.js";
113
- import {
114
- clvWallet
115
- } from "./chunk-LEXSM5KI.js";
116
- import {
117
- coreWallet
118
- } from "./chunk-JXP2QPW7.js";
119
116
  import {
120
117
  dawnWallet
121
118
  } from "./chunk-LN7OD5EC.js";
122
119
  import {
123
120
  desigWallet
124
121
  } from "./chunk-CTU6JCOK.js";
122
+ import {
123
+ bitskiWallet
124
+ } from "./chunk-P74YPRF6.js";
125
125
  import {
126
126
  enkryptWallet
127
127
  } from "./chunk-SJTXS4ZW.js";
128
+ import {
129
+ bifrostWallet
130
+ } from "./chunk-W6N74MS3.js";
128
131
  import {
129
132
  argentWallet
130
133
  } from "./chunk-WSQ2YJO2.js";
131
- import {
132
- bitskiWallet
133
- } from "./chunk-P74YPRF6.js";
134
134
  import {
135
135
  bitgetWallet
136
- } from "./chunk-7GSNBOD3.js";
137
- import {
138
- bifrostWallet
139
- } from "./chunk-545L7Y4M.js";
136
+ } from "./chunk-A5APNTGL.js";
140
137
  import {
141
138
  bitverseWallet
142
139
  } from "./chunk-3HZRRP4Y.js";
@@ -144,10 +141,13 @@ import {
144
141
  bloomWallet
145
142
  } from "./chunk-S27IADFU.js";
146
143
  import {
147
- bybitWallet
148
- } from "./chunk-W5O4YSZN.js";
149
- import "./chunk-WRA2DVJ7.js";
144
+ clvWallet
145
+ } from "./chunk-KR6JBW5E.js";
150
146
  import "./chunk-23WIEY36.js";
147
+ import {
148
+ braveWallet
149
+ } from "./chunk-PB254NQ4.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": "4.0.3",
3
+ "version": "4.1.1",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -46,7 +46,7 @@
46
46
  "devDependencies": {
47
47
  "@aws-sdk/client-s3": "^3.600.0",
48
48
  "@chromatic-com/storybook": "^3.2.2",
49
- "@meshconnect/node-api": "2.0.9",
49
+ "@meshconnect/node-api": "2.0.14",
50
50
  "@storybook/addon-essentials": "^8.4.4",
51
51
  "@storybook/addon-interactions": "^8.4.4",
52
52
  "@storybook/addon-links": "^8.4.4",
@@ -90,10 +90,10 @@
90
90
  "react-virtuoso": "4.10.1",
91
91
  "ua-parser-js": "^1.0.37",
92
92
  "uuid": "^9.0.1",
93
- "@funkit/api-base": "1.4.2",
94
- "@funkit/utils": "1.0.3",
95
- "@funkit/core": "2.2.9",
96
- "@funkit/wagmi-tools": "3.0.20"
93
+ "@funkit/core": "2.3.0",
94
+ "@funkit/api-base": "1.5.0",
95
+ "@funkit/wagmi-tools": "3.0.21",
96
+ "@funkit/utils": "1.0.3"
97
97
  },
98
98
  "repository": {
99
99
  "type": "git",
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export declare function FunViewTxButton({ text, onClick, }: {
3
- text?: string;
4
- onClick: () => void;
5
- }): React.JSX.Element;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- interface FunHorizontalStepperProps {
3
- step: number;
4
- totalSteps: number;
5
- }
6
- export declare function FunHorizontalStepper(props: FunHorizontalStepperProps): React.JSX.Element;
7
- export {};
@@ -1 +0,0 @@
1
- export declare function useChainId(): number | null;
@@ -1 +0,0 @@
1
- export declare const useFunkitCheckoutChainsById: () => Record<number, import("..").Chain>;
@@ -1,5 +0,0 @@
1
- import type { FunkitActiveCheckoutItem, FunkitCheckoutActionParams, FunkitCheckoutConfig, ServerCheckoutConfig } from '../providers/FunkitCheckoutContext';
2
- export declare function evaluateCheckoutGenerateActionsParams(config: FunkitCheckoutConfig | ServerCheckoutConfig): FunkitCheckoutActionParams[];
3
- export declare function isCheckoutCrFlow(checkoutItem: FunkitActiveCheckoutItem): boolean;
4
- export declare function isCheckoutDirectCrFlow(checkoutItem: FunkitActiveCheckoutItem): boolean;
5
- export declare function isCheckoutPostActionRequired(config: FunkitCheckoutConfig | ServerCheckoutConfig): boolean;
@@ -1,4 +0,0 @@
1
- export declare const useWindowSize: () => {
2
- width: number | undefined;
3
- height: number | undefined;
4
- };
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export interface ChainModalProps {
3
- open: boolean;
4
- onClose: () => void;
5
- }
6
- export declare function FunDevTestModal({ onClose, open }: ChainModalProps): React.JSX.Element;
@@ -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
- };