@matchain/matchid-sdk-react 0.1.54 → 0.1.55-alpha.0
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.
- package/dist/assets/icon/index.d.mts +2 -2
- package/dist/assets/icon/index.d.ts +2 -2
- package/dist/{chunk-ZPBHHXEE.mjs → chunk-36M5ROJI.mjs} +6543 -6897
- package/dist/chunk-36M5ROJI.mjs.map +1 -0
- package/dist/chunk-N7NX7Q7M.mjs +97 -0
- package/dist/chunk-N7NX7Q7M.mjs.map +1 -0
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +0 -354
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +2 -6
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +45 -215
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +6 -6
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +186 -203
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/{index-91BdMYDA.d.ts → index-6-oVBXRP.d.mts} +2 -5
- package/dist/{index-CkHDxE7B.d.mts → index-CBQXIlWu.d.mts} +1 -1
- package/dist/{index-ChHJD4NZ.d.mts → index-CMH6Jesl.d.ts} +2 -5
- package/dist/{index-Dj1K-UdZ.d.ts → index-CNH7a3bx.d.ts} +5 -18
- package/dist/{index-CZu_8fKl.d.ts → index-CPPDmmz8.d.ts} +1 -1
- package/dist/{index-DX1vzCrM.d.mts → index-CqKohtvj.d.mts} +1 -1
- package/dist/{index-CPk553v5.d.mts → index-D0Psl8Ue.d.mts} +1 -1
- package/dist/{index-DFBrN7dx.d.ts → index-DbQn4z1l.d.ts} +1 -1
- package/dist/{index-D5geEbXf.d.ts → index-Es7yJi7T.d.ts} +2 -2
- package/dist/{index-DjwwXNp4.d.mts → index-G15A08DI.d.mts} +3 -40
- package/dist/{index-DSvRdAyZ.d.mts → index-MsSYZS38.d.mts} +2 -2
- package/dist/{index-Vxvd14yW.d.ts → index-Y5WRoqzn.d.ts} +3 -40
- package/dist/{index-CPwcm70o.d.mts → index-a_Qt7NXk.d.mts} +5 -18
- package/dist/{index-SRHVQn5G.d.ts → index-agAVLGF5.d.ts} +1 -1
- package/dist/index.css +0 -120
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +570 -853
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -5
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-Bi9iq57H.d.mts → types-CXzZS0eM.d.mts} +1 -20
- package/dist/{types-Bi9iq57H.d.ts → types-CXzZS0eM.d.ts} +1 -20
- package/dist/ui/index.d.mts +3 -3
- package/dist/ui/index.d.ts +3 -3
- package/dist/ui/index.js +52 -69
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +2 -2
- package/example/src/App.tsx +0 -8
- package/example/src/pages/Wallet/index.tsx +1 -1
- package/package.json +1 -1
- package/dist/chunk-ZPBHHXEE.mjs.map +0 -1
- package/example/src/pages/Contact/index.tsx +0 -90
package/dist/ui/index.mjs
CHANGED
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
Skeleton_default,
|
|
16
16
|
Switch,
|
|
17
17
|
Tabs
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-36M5ROJI.mjs";
|
|
19
19
|
import "../chunk-UA6XHZHX.mjs";
|
|
20
20
|
import "../chunk-IZOOVZAD.mjs";
|
|
21
|
-
import "../chunk-JX73EY6V.mjs";
|
|
22
21
|
import "../chunk-FKXS2XRG.mjs";
|
|
22
|
+
import "../chunk-JX73EY6V.mjs";
|
|
23
23
|
import "../chunk-J5LGTIGS.mjs";
|
|
24
24
|
export {
|
|
25
25
|
AlphaAvatar,
|
package/example/src/App.tsx
CHANGED
|
@@ -14,7 +14,6 @@ import useLocalStore from "@/store/useLocalStore";
|
|
|
14
14
|
import {LoginButton} from "@matchain/matchid-sdk-react/components";
|
|
15
15
|
import UI from "@/pages/UI";
|
|
16
16
|
import TgApp from "@/pages/TgApp";
|
|
17
|
-
import Contact from "./pages/Contact";
|
|
18
17
|
import {WagmiProvider} from "wagmi";
|
|
19
18
|
|
|
20
19
|
|
|
@@ -54,12 +53,6 @@ function Nav() {
|
|
|
54
53
|
onActive: location.pathname === '/wallet',
|
|
55
54
|
hidden: !isLogin
|
|
56
55
|
},
|
|
57
|
-
{
|
|
58
|
-
name: 'Contact',
|
|
59
|
-
url: '/contact',
|
|
60
|
-
onActive: location.pathname === '/contact',
|
|
61
|
-
hidden: !isLogin
|
|
62
|
-
},
|
|
63
56
|
]
|
|
64
57
|
return list
|
|
65
58
|
}, [location.pathname, isLogin])
|
|
@@ -150,7 +143,6 @@ function RouterApp() {
|
|
|
150
143
|
<Route element={<RoutePrivate/>}>
|
|
151
144
|
<Route path="/user" element={<User/>}/>
|
|
152
145
|
<Route path="/wallet" element={<Wallet/>}/>
|
|
153
|
-
<Route path="/contact" element={<Contact/>}/>
|
|
154
146
|
</Route>
|
|
155
147
|
</Routes>
|
|
156
148
|
</div>
|
|
@@ -432,7 +432,7 @@ function ERC20() {
|
|
|
432
432
|
return <div className="mt-[20px]">
|
|
433
433
|
<ButtonGroup title={"ERC20"}></ButtonGroup>
|
|
434
434
|
<ButtonGroup title={"Contract Address"}>
|
|
435
|
-
<input className="border px-[8px]" type={'text'} placeholder={'
|
|
435
|
+
<input className="border px-[8px]" type={'text'} placeholder={'contract'} value={erc20Address}
|
|
436
436
|
onChange={(e) => setErc20Address(e.target.value)}/>
|
|
437
437
|
</ButtonGroup>
|
|
438
438
|
<ButtonGroup title={"Info"}>
|