@dogeos/dogeos-sdk 1.0.5-beta.0 → 1.0.6-alpha.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 (72) hide show
  1. package/README.md +183 -0
  2. package/dist/{chunk-QVWJRUFG.js → chunk-4QQWBTY6.js} +2 -0
  3. package/dist/{chunk-C5Q6FMMU.js → chunk-GTSOSA32.js} +2 -0
  4. package/dist/components/AccountModal/AccountModal.d.ts.map +1 -1
  5. package/dist/components/ActionModal/ActionModal.d.ts.map +1 -1
  6. package/dist/components/AllChainsAddressModal/AllChainsAddressModal.d.ts +9 -0
  7. package/dist/components/AllChainsAddressModal/AllChainsAddressModal.d.ts.map +1 -0
  8. package/dist/components/AllChainsAddressModal/EvmChainItem.d.ts +21 -0
  9. package/dist/components/AllChainsAddressModal/EvmChainItem.d.ts.map +1 -0
  10. package/dist/components/Box/Box.d.ts +12 -12
  11. package/dist/components/ConnectModal/CodeInput.d.ts +8 -0
  12. package/dist/components/ConnectModal/CodeInput.d.ts.map +1 -0
  13. package/dist/components/ConnectModal/TomoConnectModal.d.ts.map +1 -1
  14. package/dist/components/ConnectModal/VerifyPasskey.d.ts +8 -0
  15. package/dist/components/ConnectModal/VerifyPasskey.d.ts.map +1 -0
  16. package/dist/components/ConnectModal/VerifyTotp.d.ts +8 -0
  17. package/dist/components/ConnectModal/VerifyTotp.d.ts.map +1 -0
  18. package/dist/components/ConnectOptions/ConnectOptions.d.ts.map +1 -1
  19. package/dist/components/FaucetModal/FaucetModal.d.ts +1 -9
  20. package/dist/components/FaucetModal/FaucetModal.d.ts.map +1 -1
  21. package/dist/components/QRCode/QRCode.d.ts +2 -4
  22. package/dist/components/QRCode/QRCode.d.ts.map +1 -1
  23. package/dist/components/RainbowKitProvider/ModalContext.d.ts.map +1 -1
  24. package/dist/components/RainbowKitProvider/RainbowKitProvider.d.ts.map +1 -1
  25. package/dist/components/RainbowKitProvider/provideRainbowKitChains.d.ts +11 -0
  26. package/dist/components/RainbowKitProvider/provideRainbowKitChains.d.ts.map +1 -1
  27. package/dist/components/useNetworkOptions/index.d.ts +2 -2
  28. package/dist/components/useNetworkOptions/index.d.ts.map +1 -1
  29. package/dist/config/getDefaultConfig.d.ts +7 -3
  30. package/dist/config/getDefaultConfig.d.ts.map +1 -1
  31. package/dist/css/reset.css.d.ts.map +1 -1
  32. package/dist/css/sprinkles.css.d.ts +16 -12
  33. package/dist/css/sprinkles.css.d.ts.map +1 -1
  34. package/dist/index.css +1005 -923
  35. package/dist/index.d.ts +1 -1
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/index.js +1091 -1464
  38. package/dist/themes/darkTheme.d.ts.map +1 -1
  39. package/dist/themes/darkTheme.js +1 -1
  40. package/dist/themes/lightTheme.d.ts.map +1 -1
  41. package/dist/themes/lightTheme.js +1 -1
  42. package/dist/utils/customChains.d.ts +1628 -0
  43. package/dist/utils/customChains.d.ts.map +1 -0
  44. package/dist/utils/getAddressByChainId.d.ts +2 -0
  45. package/dist/utils/getAddressByChainId.d.ts.map +1 -0
  46. package/dist/wallets/walletConnectors/index.js +32 -32
  47. package/package.json +7 -5
  48. package/dist/avalanche-MXEFEDSW.js +0 -7
  49. package/dist/berachain-5CWJ6ANK.js +0 -7
  50. package/dist/blast-TN2WIMWF.js +0 -7
  51. package/dist/celo-E6XU57FO.js +0 -7
  52. package/dist/components/FaucetModal/CurrentAccountDogeBalance.d.ts +0 -7
  53. package/dist/components/FaucetModal/CurrentAccountDogeBalance.d.ts.map +0 -1
  54. package/dist/cronos-ROYR77VZ.js +0 -7
  55. package/dist/flow-NBCRNYVF.js +0 -7
  56. package/dist/gnosis-T7U5EW2Q.js +0 -7
  57. package/dist/hardhat-NEEC6JX7.js +0 -7
  58. package/dist/hooks/useDogeOSBalance.d.ts +0 -7830
  59. package/dist/hooks/useDogeOSBalance.d.ts.map +0 -1
  60. package/dist/incSepolia-S5JYGQC6.js +0 -7
  61. package/dist/klaytn-QTDBZIB3.js +0 -7
  62. package/dist/manta-5V6W5D7G.js +0 -7
  63. package/dist/mantle-KBL3OIYT.js +0 -7
  64. package/dist/reddio-EM5W5KAD.js +0 -7
  65. package/dist/ronin-PNHX5V6H.js +0 -7
  66. package/dist/scroll-NMZWDUQH.js +0 -7
  67. package/dist/story-3V2DS7IG.js +0 -7
  68. package/dist/xLayerMainnet-HFA3QTJU.js +0 -7
  69. package/dist/xdc-X7V4QFNF.js +0 -7
  70. package/dist/zetachain-BMJKVYBN.js +0 -7
  71. package/dist/zkSync-JL26RB7U.js +0 -7
  72. package/dist/zora-YZH32HP3.js +0 -7
package/README.md ADDED
@@ -0,0 +1,183 @@
1
+ # DogeOS SDK
2
+
3
+ ## Installation
4
+
5
+ ```bash
6
+ npm install @dogeos/dogeos-sdk
7
+ # or
8
+ yarn add @dogeos/dogeos-sdk
9
+ # or
10
+ pnpm add @dogeos/dogeos-sdk
11
+ ```
12
+
13
+ ## Quick Start
14
+
15
+ ### 1. Import Styles
16
+
17
+ Import the SDK styles in your app entry file:
18
+
19
+ ```tsx
20
+ import "@dogeos/dogeos-sdk/styles.css";
21
+ ```
22
+
23
+ ### 2. Configure Wagmi
24
+
25
+ Create a Wagmi configuration using `getDefaultConfig`:
26
+
27
+ ```tsx
28
+ import { getDefaultConfig } from "@dogeos/dogeos-sdk";
29
+ import { mainnet, polygon, optimism, arbitrum, base } from "wagmi/chains";
30
+ import { http } from "viem";
31
+
32
+ const projectId = "YOUR_WALLETCONNECT_PROJECT_ID";
33
+ const clientId = "YOUR_TOMO_CLIENT_ID";
34
+
35
+ const chains = [mainnet, polygon, optimism, arbitrum, base] as const;
36
+
37
+ export const config = getDefaultConfig({
38
+ appName: "My App",
39
+ projectId,
40
+ clientId,
41
+ chains,
42
+ transports: Object.fromEntries(chains.map((chain) => [chain.id, http()])),
43
+ ssr: true, // Enable server-side rendering support
44
+ });
45
+ ```
46
+
47
+ ### 3. Wrap Your App
48
+
49
+ Wrap your application with the required providers:
50
+
51
+ ```tsx
52
+ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
53
+ import { WagmiProvider } from "wagmi";
54
+ import { DogeEVMKitProvider } from "@dogeos/dogeos-sdk";
55
+ import { config } from "./wagmi";
56
+
57
+ const queryClient = new QueryClient();
58
+
59
+ function App() {
60
+ return (
61
+ <WagmiProvider config={config}>
62
+ <QueryClientProvider client={queryClient}>
63
+ <DogeEVMKitProvider
64
+ appInfo={{
65
+ appName: "My App",
66
+ }}
67
+ >
68
+ {/* Your app content */}
69
+ </DogeEVMKitProvider>
70
+ </QueryClientProvider>
71
+ </WagmiProvider>
72
+ );
73
+ }
74
+ ```
75
+
76
+ ### 4. Add Connect Button
77
+
78
+ Use the connect modal hooks in your components:
79
+
80
+ ```tsx
81
+ import { useConnectModal } from "@dogeos/dogeos-sdk";
82
+
83
+ function ConnectButton() {
84
+ const { openConnectModal } = useConnectModal();
85
+
86
+ return <button onClick={openConnectModal}>Connect Wallet</button>;
87
+ }
88
+ ```
89
+
90
+ ## Configuration Options
91
+
92
+ ### DogeEVMKitProvider Props
93
+
94
+ ```tsx
95
+ <DogeEVMKitProvider
96
+ appInfo={{
97
+ appName: "My App",
98
+ disclaimer: DisclaimerComponent, // Optional custom disclaimer
99
+ }}
100
+ avatar={CustomAvatarComponent} // Optional custom avatar
101
+ locale="en-US" // Optional locale
102
+ initialChain={1} // Optional initial chain ID
103
+ socialsFirst={true} // Show social logins first
104
+ theme={{
105
+ lightMode: lightTheme({
106
+ accentColor: "#7D5DFF",
107
+ accentColorForeground: "white",
108
+ }),
109
+ darkMode: darkTheme({
110
+ accentColor: "#7D5DFF",
111
+ accentColorForeground: "white",
112
+ }),
113
+ }}
114
+ >
115
+ {/* Your app */}
116
+ </DogeEVMKitProvider>
117
+ ```
118
+
119
+ ## Available Hooks
120
+
121
+ - `useConnectModal()` - Open the connect wallet modal
122
+ - `useAccountModal()` - Open the account management modal
123
+ - `useChainModal()` - Open the chain selection modal
124
+
125
+ ## Themes
126
+
127
+ The SDK includes built-in themes:
128
+
129
+ ```tsx
130
+ import { lightTheme, darkTheme, midnightTheme } from "@dogeos/dogeos-sdk";
131
+ ```
132
+
133
+ ## Wallets
134
+
135
+ Import wallet connectors from the SDK:
136
+
137
+ ```tsx
138
+ import {
139
+ metaMaskWallet,
140
+ coinbaseWallet,
141
+ walletConnectWallet,
142
+ rainbowWallet,
143
+ // ... and many more
144
+ } from "@dogeos/dogeos-sdk/wallets";
145
+ ```
146
+
147
+ Configure wallets in `getDefaultConfig`:
148
+
149
+ ```tsx
150
+ const config = getDefaultConfig({
151
+ // ... other config
152
+ wallets: [
153
+ {
154
+ groupName: "Popular",
155
+ wallets: [metaMaskWallet, coinbaseWallet, walletConnectWallet],
156
+ },
157
+ ],
158
+ });
159
+ ```
160
+
161
+ ## Environment Configuration
162
+
163
+ For different environments (dev, staging, production), you can pass environment-specific options:
164
+
165
+ ```tsx
166
+ const config = getDefaultConfig({
167
+ // ... base config
168
+ envConfig: {
169
+ tomoStage: "prod", // "dev" | "pre" | "prod"
170
+ xClientId: "YOUR_X_CLIENT_ID",
171
+ googleClientId: "YOUR_GOOGLE_CLIENT_ID",
172
+ },
173
+ devOption: {
174
+ connect: "https://api.example.com",
175
+ relayBase: "https://relay.example.com",
176
+ walletDomain: "https://wallet.example.com",
177
+ },
178
+ });
179
+ ```
180
+
181
+ ## License
182
+
183
+ MIT
@@ -56,6 +56,7 @@ var darkTheme = ({
56
56
  textT3: "rgba(255, 255, 255, 0.5)",
57
57
  textT4: "rgba(255, 255, 255, 0.4)",
58
58
  textT5: "rgba(255, 255, 255, 0.4)",
59
+ textT6: "rgba(255, 255, 255, 0.6)",
59
60
  bg1: "#121214",
60
61
  bg2: "#121214",
61
62
  buttonBg1: "#FED70B",
@@ -65,6 +66,7 @@ var darkTheme = ({
65
66
  bgL1: "rgba(252, 237, 149, 0.1)",
66
67
  bgL2: "rgba(255, 255, 255, 0.1)",
67
68
  bgL3: "#2F2F2F",
69
+ bgL4: "rgba(255, 255, 255, 0.05)",
68
70
  bgYellow: "rgba(252, 237, 149, 0.4)",
69
71
  bg3: "#6e6e6e",
70
72
  borderBg1: "rgba(255, 255, 255, 0.1)",
@@ -55,6 +55,7 @@ var lightTheme = ({
55
55
  textT3: "rgba(30, 20, 5, 0.6)",
56
56
  textT4: "#A6A6A6",
57
57
  textT5: "rgba(30, 20, 5, 0.2)",
58
+ textT6: "#616184",
58
59
  bg1: "#FFFFFF",
59
60
  bg2: "#F6F7F9",
60
61
  buttonBg1: "#FED70B",
@@ -64,6 +65,7 @@ var lightTheme = ({
64
65
  bgL1: "#FFFAD9",
65
66
  bgL2: "#FFFFFF",
66
67
  bgL3: "#FFFFFF",
68
+ bgL4: "#F3F4F8",
67
69
  bgYellow: "#FFFAD9",
68
70
  bg3: "#F5F5FA",
69
71
  borderBg1: "rgba(246, 247, 249, 1)",
@@ -1 +1 @@
1
- {"version":3,"file":"AccountModal.d.ts","sourceRoot":"","sources":["../../../src/components/AccountModal/AccountModal.tsx"],"names":[],"mappings":"AAKA,OAAO,qCAAqC,CAAC;AAE7C,OAAO,KAAwE,MAAM,OAAO,CAAC;AAiB7F,OAAO,oBAAoB,CAAC;AAE5B,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAUD,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,iBAAiB,4BA4RhE"}
1
+ {"version":3,"file":"AccountModal.d.ts","sourceRoot":"","sources":["../../../src/components/AccountModal/AccountModal.tsx"],"names":[],"mappings":"AAKA,OAAO,qCAAqC,CAAC;AAE7C,OAAO,KAAwE,MAAM,OAAO,CAAC;AAmB7F,OAAO,oBAAoB,CAAC;AAC5B,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAUD,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,iBAAiB,4BAqThE"}
@@ -1 +1 @@
1
- {"version":3,"file":"ActionModal.d.ts","sourceRoot":"","sources":["../../../src/components/ActionModal/ActionModal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA0E,MAAM,OAAO,CAAC;AAG/F,OAAO,aAAa,CAAC;AAErB,QAAA,MAAM,WAAW;YAML,OAAO;eACJ,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI;iBACvB,OAAO;iCA4DtB,CAAC;AAEH,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ActionModal.d.ts","sourceRoot":"","sources":["../../../src/components/ActionModal/ActionModal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA0E,MAAM,OAAO,CAAC;AAG/F,OAAO,aAAa,CAAC;AAErB,QAAA,MAAM,WAAW;YAML,OAAO;eACJ,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI;iBACvB,OAAO;iCA2DtB,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import "./index.css";
3
+ export interface AllChainsAddressModalProps {
4
+ open: boolean;
5
+ onClose: () => void;
6
+ userInfo: any;
7
+ }
8
+ export declare function AllChainsAddressModal({ open, onClose, userInfo }: AllChainsAddressModalProps): React.JSX.Element;
9
+ //# sourceMappingURL=AllChainsAddressModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AllChainsAddressModal.d.ts","sourceRoot":"","sources":["../../../src/components/AllChainsAddressModal/AllChainsAddressModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,OAAO,aAAa,CAAC;AAErB,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,GAAG,CAAC;CACf;AA0ED,wBAAgB,qBAAqB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,0BAA0B,qBAsD5F"}
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ interface EvmChainItemProps {
3
+ chain: {
4
+ id: number;
5
+ name: string;
6
+ };
7
+ userInfo: any;
8
+ onCopy: (address: string) => void;
9
+ ChainItem: React.ComponentType<{
10
+ chain: {
11
+ id: number;
12
+ name: string;
13
+ logo: React.ReactNode | string;
14
+ };
15
+ address: string;
16
+ onCopy: (address: string) => void;
17
+ }>;
18
+ }
19
+ export declare const EvmChainItem: ({ chain, userInfo, onCopy, ChainItem }: EvmChainItemProps) => React.JSX.Element | null;
20
+ export {};
21
+ //# sourceMappingURL=EvmChainItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EvmChainItem.d.ts","sourceRoot":"","sources":["../../../src/components/AllChainsAddressModal/EvmChainItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,UAAU,iBAAiB;IACzB,KAAK,EAAE;QACL,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,QAAQ,EAAE,GAAG,CAAC;IACd,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC;QAC7B,KAAK,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAA;SAAE,CAAC;QACpE,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;KACnC,CAAC,CAAC;CACJ;AAED,eAAO,MAAM,YAAY,GAAI,wCAAwC,iBAAiB,6BAmBrF,CAAC"}
@@ -2,25 +2,25 @@ import { type ClassValue } from "clsx";
2
2
  import React from "react";
3
3
  type HTMLProperties<T = HTMLElement> = Omit<React.AllHTMLAttributes<T>, "as" | "className" | "color" | "height" | "width">;
4
4
  export declare const Box: React.ForwardRefExoticComponent<{
5
- background?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | {
6
- base?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
7
- hover?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
8
- active?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
5
+ background?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "textT6" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgL4" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | {
6
+ base?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "textT6" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgL4" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
7
+ hover?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "textT6" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgL4" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
8
+ active?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "textT6" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgL4" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
9
9
  } | undefined;
10
- borderColor?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | {
11
- base?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
12
- hover?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
13
- active?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
10
+ borderColor?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "textT6" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgL4" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | {
11
+ base?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "textT6" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgL4" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
12
+ hover?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "textT6" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgL4" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
13
+ active?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "textT6" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgL4" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
14
14
  } | undefined;
15
15
  boxShadow?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | {
16
16
  base?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
17
17
  hover?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
18
18
  active?: "connectButton" | "dialog" | "profileDetailsAction" | "selectedOption" | "selectedWallet" | "walletLogo" | undefined;
19
19
  } | undefined;
20
- color?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | {
21
- base?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
22
- hover?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
23
- active?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
20
+ color?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "textT6" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgL4" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | {
21
+ base?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "textT6" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgL4" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
22
+ hover?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "textT6" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgL4" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
23
+ active?: "accentColor" | "accentColorForeground" | "actionButtonBorder" | "actionButtonBorderMobile" | "actionButtonSecondaryBackground" | "closeButton" | "closeButtonBackground" | "connectButtonBackground" | "connectButtonBackgroundError" | "connectButtonInnerBackground" | "connectButtonText" | "connectButtonTextError" | "connectionIndicator" | "downloadBottomCardBackground" | "downloadTopCardBackground" | "error" | "generalBorder" | "generalBorderDim" | "menuItemBackground" | "modalBackdrop" | "modalBackground" | "modalBorder" | "modalText" | "modalTextDim" | "modalTextSecondary" | "profileAction" | "profileActionHover" | "profileForeground" | "selectedOptionBorder" | "standby" | "textT1" | "textT3" | "textT4" | "textT5" | "textT6" | "bg1" | "bg2" | "buttonBg1" | "buttonBg3" | "dividerLine" | "dividerLine2" | "bgL1" | "bgL2" | "bgL3" | "bgL4" | "bgYellow" | "bg3" | "borderBg1" | "borderL2" | "hoverBg1" | "hoverBg2" | "tagBg1" | "tagText1" | undefined;
24
24
  } | undefined;
25
25
  } & {
26
26
  alignItems?: "center" | "flex-end" | "flex-start" | {
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ interface CodeInputProps {
3
+ length?: number;
4
+ onComplete: (code: string) => void;
5
+ }
6
+ export declare const CodeInput: React.FC<CodeInputProps>;
7
+ export {};
8
+ //# sourceMappingURL=CodeInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeInput.d.ts","sourceRoot":"","sources":["../../../src/components/ConnectModal/CodeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0D,MAAM,OAAO,CAAC;AAE/E,UAAU,cAAc;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAiH9C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TomoConnectModal.d.ts","sourceRoot":"","sources":["../../../src/components/ConnectModal/TomoConnectModal.tsx"],"names":[],"mappings":"AAYA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAmChF,OAAO,aAAa,CAAC;AAUrB,UAAU,KAAK;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,GAAG,CAAC;CACpB;AAED,wBAAgB,qBAAqB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,KAAK,qBAurB/D;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,4BAE5C"}
1
+ {"version":3,"file":"TomoConnectModal.d.ts","sourceRoot":"","sources":["../../../src/components/ConnectModal/TomoConnectModal.tsx"],"names":[],"mappings":"AAYA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAmChF,OAAO,aAAa,CAAC;AAUrB,UAAU,KAAK;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,GAAG,CAAC;CACpB;AAED,wBAAgB,qBAAqB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,KAAK,qBAyqB/D;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,4BAE5C"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ interface VerifyPasskeyProps {
3
+ onVerify: () => Promise<void>;
4
+ onBack?: () => void;
5
+ }
6
+ export declare const VerifyPasskey: React.FC<VerifyPasskeyProps>;
7
+ export {};
8
+ //# sourceMappingURL=VerifyPasskey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyPasskey.d.ts","sourceRoot":"","sources":["../../../src/components/ConnectModal/VerifyPasskey.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAkCtD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ interface VerifyTotpProps {
3
+ onVerify: (code: string) => Promise<boolean>;
4
+ onBack?: () => void;
5
+ }
6
+ export declare const VerifyTotp: React.FC<VerifyTotpProps>;
7
+ export {};
8
+ //# sourceMappingURL=VerifyTotp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyTotp.d.ts","sourceRoot":"","sources":["../../../src/components/ConnectModal/VerifyTotp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,UAAU,eAAe;IACvB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC7C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkFhD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ConnectOptions.d.ts","sourceRoot":"","sources":["../../../src/components/ConnectOptions/ConnectOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,qBAa1E"}
1
+ {"version":3,"file":"ConnectOptions.d.ts","sourceRoot":"","sources":["../../../src/components/ConnectOptions/ConnectOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,qBAY1E"}
@@ -1,16 +1,8 @@
1
- import React from "react";
2
1
  import "./index.css";
2
+ import React from "react";
3
3
  declare function FaucetModal({ opened, onClose }: {
4
4
  opened: boolean;
5
5
  onClose: () => void;
6
6
  }): React.JSX.Element;
7
- declare global {
8
- interface Window {
9
- grecaptcha: any;
10
- faucetRecaptchaCallback?: (token: string) => void;
11
- faucetRecaptchaExpired?: () => void;
12
- faucetRecaptchaError?: () => void;
13
- }
14
- }
15
7
  export default FaucetModal;
16
8
  //# sourceMappingURL=FaucetModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FaucetModal.d.ts","sourceRoot":"","sources":["../../../src/components/FaucetModal/FaucetModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAS3D,OAAO,aAAa,CAAC;AAErB,iBAAS,WAAW,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,qBAoSjF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,UAAU,EAAE,GAAG,CAAC;QAChB,uBAAuB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QAClD,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;QACpC,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;KACnC;CACF;AAED,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"FaucetModal.d.ts","sourceRoot":"","sources":["../../../src/components/FaucetModal/FaucetModal.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AACrB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,iBAAS,WAAW,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,qBA6BjF;AAED,eAAe,WAAW,CAAC"}
@@ -1,14 +1,12 @@
1
- import QRCodeUtil from "qrcode";
2
1
  import React from "react";
3
2
  type Props = {
4
- ecl?: QRCodeUtil.QRCodeErrorCorrectionLevel;
3
+ ecl?: "L" | "M" | "Q" | "H";
5
4
  logoBackground?: string;
6
5
  logoUrl?: string | (() => Promise<string>);
7
- logoMargin?: number;
8
6
  logoSize?: number;
9
7
  size?: number;
10
8
  uri: string;
11
9
  };
12
- export declare function QRCode({ ecl, logoBackground, logoMargin, logoSize, logoUrl, size: sizeProp, uri, }: Props): React.JSX.Element;
10
+ export declare function QRCode({ ecl, logoBackground: _logoBackground, logoSize, logoUrl, size: sizeProp, uri, }: Props): React.JSX.Element;
13
11
  export {};
14
12
  //# sourceMappingURL=QRCode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QRCode.d.ts","sourceRoot":"","sources":["../../../src/components/QRCode/QRCode.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,QAAQ,CAAC;AAChC,OAAO,KAAqC,MAAM,OAAO,CAAC;AAc1D,KAAK,KAAK,GAAG;IACX,GAAG,CAAC,EAAE,UAAU,CAAC,0BAA0B,CAAC;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,wBAAgB,MAAM,CAAC,EACrB,GAAS,EACT,cAAc,EACd,UAAe,EACf,QAAa,EACb,OAAO,EACP,IAAI,EAAE,QAAc,EACpB,GAAG,GACJ,EAAE,KAAK,qBA0HP"}
1
+ {"version":3,"file":"QRCode.d.ts","sourceRoot":"","sources":["../../../src/components/QRCode/QRCode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,KAAK,KAAK,GAAG;IACX,GAAG,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,wBAAgB,MAAM,CAAC,EACrB,GAAS,EACT,cAAc,EAAE,eAA2B,EAC3C,QAAa,EACb,OAAO,EACP,IAAI,EAAE,QAAc,EACpB,GAAG,GACJ,EAAE,KAAK,qBA0EP"}
@@ -1 +1 @@
1
- {"version":3,"file":"ModalContext.d.ts","sourceRoot":"","sources":["../../../src/components/RainbowKitProvider/ModalContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAwE,MAAM,OAAO,CAAC;AAqCpH,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,kBAAkB,qBAwF7D;AAED,wBAAgB,aAAa;;;;EAQ5B;AAED,wBAAgB,eAAe;;6BAvHJ,IAAI;EA0H9B;AAED,wBAAgB,aAAa;;2BA3HJ,IAAI;EA8H5B;AAED,wBAAgB,yBAAyB;;4DA7HiB,OAAO,KAAK,IAAI;EAiIzE;AAED,wBAAgB,eAAe;;6BArIJ,IAAI;EA6I9B"}
1
+ {"version":3,"file":"ModalContext.d.ts","sourceRoot":"","sources":["../../../src/components/RainbowKitProvider/ModalContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAwE,MAAM,OAAO,CAAC;AAqCpH,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,kBAAkB,qBAuF7D;AAED,wBAAgB,aAAa;;;;EAQ5B;AAED,wBAAgB,eAAe;;6BAtHJ,IAAI;EAyH9B;AAED,wBAAgB,aAAa;;2BA1HJ,IAAI;EA6H5B;AAED,wBAAgB,yBAAyB;;4DA5HiB,OAAO,KAAK,IAAI;EAgIzE;AAED,wBAAgB,eAAe;;6BApIJ,IAAI;EA4I9B"}
@@ -1 +1 @@
1
- {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AC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAID,eAAO,MAAM,gBAAgB,0BAA+C,CAAC;AAC7E,eAAO,MAAM,mBAAmB;sBACZ,OAAO;qBACR,OAAO;mBACT,OAAO;EAClB,CAAC;AAEP,wBAAgB,mBAAmB,CAAC,EAClC,KAAK,EAAE,SAAS,EAChB,QAAQ,EACR,EAAE,GACH,EAAE;IACD,KAAK,EAAE,KAAK,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,GAAG,iBAAiB,qBA6EpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,OAAO,EACP,MAAM,EACN,QAAQ,EACR,QAAgB,EAChB,EAAE,EACF,YAAY,EAEZ,SAAiC,EACjC,sBAA8B,EAC9B,KAAoB,EACpB,cAAqB,EACrB,eAAuB,EACvB,YAAmB,GACpB,EAAE,uBAAuB,qBA0EzB"}
1
+ {"version":3,"file":"RainbowKitProvider.d.ts","sourceRoot":"","sources":["../../../src/components/RainbowKitProvider/RainbowKitProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,iBAAiB,EACjB,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,EAAc,KAAK,mBAAmB,EAAkB,MAAM,cAAc,CAAC;AACpF,OAAO,EAAE,KAAK,eAAe,EAAgC,MAAM,iBAAiB,CAAC;AAIrF,OAAO,EAAuC,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AA6B1F,eAAO,MAAM,iBAAiB;;CAG7B,CAAC;AAEF,MAAM,MAAM,KAAK,GACb,SAAS,GACT;IACE,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,S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um" | "base" | "bsc" | "mainnet" | "optimism" | "polygon" | "dogeOSTestnet";
3
+ type IconMetadata = {
4
+ iconUrl: () => Promise<string>;
5
+ iconBackground: string;
6
+ };
7
+ type ChainMetadata = {
8
+ chainId: number;
9
+ name?: string;
10
+ } & IconMetadata;
11
+ export declare const chainMetadataByName: Record<ChainName, ChainMetadata | null>;
2
12
  /** @description Decorates an array of wagmi `Chain` objects with RainbowKitChain property overrides */
3
13
  export declare const provideRainbowKitChains: <Chain extends RainbowKitChain>(chains: readonly [Chain, ...Chain[]]) => Chain[];
14
+ export {};
4
15
  //# sourceMappingURL=provideRainbowKitChains.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provideRainbowKitChains.d.ts","sourceRoot":"","sources":["../../../src/components/RainbowKitProvider/provideRainbowKitChains.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAgShE,uGAAuG;AACvG,eAAO,MAAM,uBAAuB,GAAI,KAAK,SAAS,eAAe,EAAE,QAAQ,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,KAAG,KAAK,EAS/G,CAAC"}
1
+ {"version":3,"file":"provideRainbowKitChains.d.ts","sourceRoot":"","sources":["../../../src/components/RainbowKitProvider/provideRainbowKitChains.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAIhE,KAAK,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,eAAe,CAAC;AAEpG,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,YAAY,CAAC;AAqCjB,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,SAAS,EAAE,aAAa,GAAG,IAAI,CAQvE,CAAC;AAQF,uGAAuG;AACvG,eAAO,MAAM,uBAAuB,GAAI,KAAK,SAAS,eAAe,EAAE,QAAQ,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,KAAG,KAAK,EAS/G,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
- export declare function useNetworkOptions(setIsAll: (isAll: boolean) => void): {
2
+ export declare function useNetworkOptions(setCustomChainId: (customChainId: number | null) => void): {
3
+ onClick: () => any;
3
4
  id: number;
4
5
  name: string;
5
6
  logo: React.JSX.Element;
6
- onClick: () => Promise<void>;
7
7
  }[];
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/useNetworkOptions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI;;;;;IA6DnE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/useNetworkOptions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,wBAAgB,iBAAiB,CAAC,gBAAgB,EAAE,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI;;;;;IAoEzF"}
@@ -2,7 +2,6 @@ import type { Transport } from "viem";
2
2
  import { type CreateConfigParameters } from "wagmi";
3
3
  import type { RainbowKitChain } from "../components/RainbowKitProvider/RainbowKitChainContext";
4
4
  import type { WalletList } from "../wallets/Wallet";
5
- import { WebWalletSDKType } from "@tomo-inc/shared-type";
6
5
  export type _chains = readonly [RainbowKitChain, ...RainbowKitChain[]];
7
6
  export type _transports = Record<_chains[number]["id"], Transport>;
8
7
  interface GetDefaultConfigParameters<chains extends _chains, transports extends _transports> extends Omit<CreateConfigParameters<chains, transports>, "client" | "connectors"> {
@@ -18,9 +17,14 @@ interface GetDefaultConfigParameters<chains extends _chains, transports extends
18
17
  relayBase?: string;
19
18
  walletDomain?: string;
20
19
  };
20
+ envConfig?: {
21
+ xClientId?: string;
22
+ googleClientId?: string;
23
+ tomoStage?: "dev" | "pre" | "prod";
24
+ };
21
25
  }
22
- export declare const MYDOGE_SDK_TYPE = WebWalletSDKType.DOGE;
26
+ export declare const MYDOGE_SDK_TYPE: any;
23
27
  export declare const GOOGLE_RECAPTCHA_SITE_KEY = "6LcKSe4qAAAAAKsAzMIWQNd5JBhpv5lX4dPVaMyb";
24
- export declare const getDefaultConfig: <chains extends _chains, transports extends _transports>({ appName, appDescription, appUrl, appIcon, wallets, projectId, clientId, devOption: { connect, relayBase, walletDomain }, ...wagmiParameters }: GetDefaultConfigParameters<chains, transports>) => import("wagmi").Config<chains, transports, import("wagmi").CreateConnectorFn[]>;
28
+ export declare const getDefaultConfig: <chains extends _chains, transports extends _transports>({ appName, appDescription, appUrl, appIcon, wallets, projectId, clientId, devOption: { connect, relayBase, walletDomain }, envConfig, ...wagmiParameters }: GetDefaultConfigParameters<chains, transports>) => import("wagmi").Config<readonly [import("viem").Chain, ...import("viem").Chain[]], transports, import("wagmi").CreateConnectorFn[]>;
25
29
  export {};
26
30
  //# sourceMappingURL=getDefaultConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDefaultConfig.d.ts","sourceRoot":"","sources":["../../src/config/getDefaultConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EAAuC,KAAK,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAEzF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yDAAyD,CAAC;AAC/F,OAAO,KAAK,EAAU,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG5D,OAAO,EAAE,gBA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@ -1 +1 @@
1
- {"version":3,"file":"reset.css.d.ts","sourceRoot":"","sources":["../../src/css/reset.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,QAUf,CAAC;AA2HH,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC"}
1
+ {"version":3,"file":"reset.css.d.ts","sourceRoot":"","sources":["../../src/css/reset.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,QAUf,CAAC;AAqIH,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC"}