@matchain/matchid-sdk-react 0.1.55-alpha.0 → 0.1.55-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.
- package/dist/{chunk-N7NX7Q7M.mjs → chunk-LTPXS5PV.mjs} +2 -2
- package/dist/{chunk-36M5ROJI.mjs → chunk-SKA35IYC.mjs} +36 -28
- package/dist/chunk-SKA35IYC.mjs.map +1 -0
- package/dist/components/index.js +35 -27
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.js +35 -27
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/{index-Es7yJi7T.d.ts → index-6kXyNEXB.d.ts} +1 -0
- package/dist/{index-MsSYZS38.d.mts → index-CB6ZNvzn.d.mts} +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +35 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/ui/index.d.mts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +5 -3
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +1 -1
- package/example/src/pages/Wallet/index.tsx +3 -0
- package/package.json +1 -1
- package/dist/chunk-36M5ROJI.mjs.map +0 -1
- /package/dist/{chunk-N7NX7Q7M.mjs.map → chunk-LTPXS5PV.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
api_exports
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LTPXS5PV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
types_exports
|
|
6
6
|
} from "./chunk-HBOS3RBL.mjs";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
ui_exports,
|
|
14
14
|
useMatch,
|
|
15
15
|
wagmiConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SKA35IYC.mjs";
|
|
17
17
|
import "./chunk-UA6XHZHX.mjs";
|
|
18
18
|
import "./chunk-IZOOVZAD.mjs";
|
|
19
19
|
import {
|
package/dist/ui/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { B as Button, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-CBQXIlWu.mjs';
|
|
2
|
-
export { A as AlphaAvatar, D as Drawer, e as HashPanel, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from '../index-
|
|
2
|
+
export { A as AlphaAvatar, D as Drawer, e as HashPanel, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from '../index-CB6ZNvzn.mjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '../types-CXzZS0eM.mjs';
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { B as Button, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-agAVLGF5.js';
|
|
2
|
-
export { A as AlphaAvatar, D as Drawer, e as HashPanel, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from '../index-
|
|
2
|
+
export { A as AlphaAvatar, D as Drawer, e as HashPanel, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from '../index-6kXyNEXB.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '../types-CXzZS0eM.js';
|
package/dist/ui/index.js
CHANGED
|
@@ -1360,7 +1360,8 @@ function HashPanel({
|
|
|
1360
1360
|
chain,
|
|
1361
1361
|
isOpen,
|
|
1362
1362
|
onClose,
|
|
1363
|
-
zIndex
|
|
1363
|
+
zIndex,
|
|
1364
|
+
error
|
|
1364
1365
|
}) {
|
|
1365
1366
|
const [status, setStatus] = (0, import_react41.useState)("confirm");
|
|
1366
1367
|
const statusMaps = {
|
|
@@ -1385,7 +1386,7 @@ function HashPanel({
|
|
|
1385
1386
|
color: "#F14141"
|
|
1386
1387
|
}
|
|
1387
1388
|
};
|
|
1388
|
-
const statusValue = statusMaps[status];
|
|
1389
|
+
const statusValue = error ? statusMaps.fail : statusMaps[status];
|
|
1389
1390
|
const [shouldRefetch, setShouldRefetch] = (0, import_react41.useState)(true);
|
|
1390
1391
|
(0, import_react41.useEffect)(() => {
|
|
1391
1392
|
if (hash) {
|
|
@@ -1439,7 +1440,8 @@ function HashPanel({
|
|
|
1439
1440
|
hash && /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
|
|
1440
1441
|
"Hash:",
|
|
1441
1442
|
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("a", { href: link, target: "_blank", children: hash })
|
|
1442
|
-
] })
|
|
1443
|
+
] }),
|
|
1444
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-hashpanel-text", children: error })
|
|
1443
1445
|
] }),
|
|
1444
1446
|
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
|
|
1445
1447
|
] })
|