@matchain/matchid-sdk-react 0.1.57-alpha.4 → 0.1.57-alpha.5

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/api.mjs CHANGED
@@ -2,11 +2,11 @@ import {
2
2
  bind_exports,
3
3
  poh_exports,
4
4
  user_exports
5
- } from "./chunk-EAZNOQRK.mjs";
5
+ } from "./chunk-OSJCRVYN.mjs";
6
6
  import {
7
7
  isSuccess,
8
8
  wallet_exports
9
- } from "./chunk-6RNCNC65.mjs";
9
+ } from "./chunk-N7J2GTC2.mjs";
10
10
  import "./chunk-JX73EY6V.mjs";
11
11
  import "./chunk-UA6XHZHX.mjs";
12
12
  import "./chunk-IZOOVZAD.mjs";
@@ -401,12 +401,9 @@ function StepEmail(props) {
401
401
  value: emailVal
402
402
  }
403
403
  ) }),
404
- /* @__PURE__ */ jsxs4(Button, { disabled: !canContinue, style: {
404
+ /* @__PURE__ */ jsx6(Button, { disabled: !canContinue, style: {
405
405
  marginTop: "64px"
406
- }, onClick: onContinue, size: "lg", block: true, highlight: true, children: [
407
- "99999",
408
- /* @__PURE__ */ jsx6(FormattedMessage, { id: "continue" })
409
- ] })
406
+ }, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ jsx6(FormattedMessage, { id: "continue" }) })
410
407
  ] });
411
408
  }
412
409
 
@@ -3052,7 +3049,7 @@ function CEXBindModal({
3052
3049
  });
3053
3050
  if (isSuccess(res)) {
3054
3051
  await refreshOverview();
3055
- events.onBind && events.onBind({
3052
+ events && events.onBind && events.onBind({
3056
3053
  type: "cex_" + type
3057
3054
  });
3058
3055
  eventManager_default.emit("onBind", {
@@ -4474,7 +4471,7 @@ import {
4474
4471
  okxWallet,
4475
4472
  walletConnectWallet
4476
4473
  } from "@rainbow-me/rainbowkit/wallets";
4477
- import { arbitrum, base, bsc, mainnet, optimism, polygon } from "wagmi/chains";
4474
+ import { arbitrum, base, bsc, bscTestnet, mainnet, optimism, polygon } from "wagmi/chains";
4478
4475
  import { WagmiProvider } from "wagmi";
4479
4476
  import { jsx as jsx28 } from "react/jsx-runtime";
4480
4477
  var queryClient = new QueryClient();
@@ -4493,7 +4490,7 @@ var wagmiConfig = getDefaultConfig({
4493
4490
  ]
4494
4491
  }
4495
4492
  ],
4496
- chains: [mainnet, polygon, optimism, arbitrum, base, matchMain, matchTest, bsc]
4493
+ chains: [mainnet, polygon, optimism, arbitrum, base, matchMain, matchTest, bsc, bscTestnet]
4497
4494
  });
4498
4495
  var MatchContext = createContext3(void 0);
4499
4496
  var MatchProvider = ({
@@ -6171,7 +6168,7 @@ function WalletContent({
6171
6168
  matchlog_default.log(res);
6172
6169
  setStatus("success");
6173
6170
  if (type == "bind") {
6174
- events.onBind && events.onBind({
6171
+ events && events.onBind && events.onBind({
6175
6172
  type: "evm"
6176
6173
  });
6177
6174
  eventManager_default.emit("onBind", {
@@ -6436,7 +6433,7 @@ function TRONConnectModal({
6436
6433
  setStatus("success");
6437
6434
  statusRef.current = "success";
6438
6435
  if (type == "bind") {
6439
- events.onBind && events.onBind({
6436
+ events && events.onBind && events.onBind({
6440
6437
  type: "tron"
6441
6438
  });
6442
6439
  eventManager_default.emit("onBind", {
@@ -6600,7 +6597,7 @@ function WalletContent2({
6600
6597
  setStatus("success");
6601
6598
  statusRef.current = "success";
6602
6599
  if (type == "bind") {
6603
- events.onBind && events.onBind({
6600
+ events && events.onBind && events.onBind({
6604
6601
  type: "ton"
6605
6602
  });
6606
6603
  eventManager_default.emit("onBind", {
@@ -7001,7 +6998,7 @@ function BTCConnectModal({
7001
6998
  setStatus("success");
7002
6999
  statusRef.current = "success";
7003
7000
  if (type == "bind") {
7004
- events.onBind && events.onBind({
7001
+ events && events.onBind && events.onBind({
7005
7002
  type: "btc"
7006
7003
  });
7007
7004
  eventManager_default.emit("onBind", {
@@ -7799,4 +7796,4 @@ export {
7799
7796
  MatchProvider,
7800
7797
  useMatch
7801
7798
  };
7802
- //# sourceMappingURL=chunk-6RNCNC65.mjs.map
7799
+ //# sourceMappingURL=chunk-N7J2GTC2.mjs.map