@matchain/matchid-sdk-react 0.1.56-alpha.17 → 0.1.56-alpha.18

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/ui.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  Skeleton_default,
18
18
  Switch,
19
19
  Tabs
20
- } from "./chunk-ZLTIMO57.mjs";
20
+ } from "./chunk-QMV4FDUH.mjs";
21
21
  import "./chunk-JX73EY6V.mjs";
22
22
  import "./chunk-UA6XHZHX.mjs";
23
23
  import "./chunk-IZOOVZAD.mjs";
@@ -8,7 +8,7 @@ import "@matchain/matchid-sdk-react/index.css"
8
8
  import Wallet from "@/pages/Wallet";
9
9
  import { LocaleList } from "@/config";
10
10
  import { LocaleType } from "@matchain/matchid-sdk-react/types";
11
- import { useUserInfo } from "@matchain/matchid-sdk-react/hooks";
11
+ import { useMatchEvents, useUserInfo } from "@matchain/matchid-sdk-react/hooks";
12
12
  import RoutePrivate from "@/components/RoutePrivate";
13
13
  import useLocalStore from "@/store/useLocalStore";
14
14
  import { LoginButton } from "@matchain/matchid-sdk-react/components";
@@ -159,6 +159,11 @@ function RouterApp() {
159
159
  function App() {
160
160
  const { appid, locale, endpoints, walletType, backgroundColor, color } = useLocalStore()
161
161
 
162
+ useMatchEvents({
163
+ onBind() {
164
+ console.log("bind event");
165
+ },
166
+ });
162
167
  return <div style={{
163
168
  backgroundColor: backgroundColor,
164
169
  color: color
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matchain/matchid-sdk-react",
3
- "version": "0.1.56-alpha.17",
3
+ "version": "0.1.56-alpha.18",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {