@matchain/matchid-sdk-react 0.1.40-alpha.3 → 0.1.40-alpha.4

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.
@@ -9,7 +9,7 @@ import {
9
9
  unBindWalletApi,
10
10
  useUserInfo,
11
11
  verifyPohApi
12
- } from "./chunk-XXZABHH6.mjs";
12
+ } from "./chunk-HL5ODTAH.mjs";
13
13
  import {
14
14
  __export
15
15
  } from "./chunk-J5LGTIGS.mjs";
@@ -90,4 +90,4 @@ export {
90
90
  user_exports,
91
91
  api_exports
92
92
  };
93
- //# sourceMappingURL=chunk-ZBOW562R.mjs.map
93
+ //# sourceMappingURL=chunk-GYHBGOEC.mjs.map
@@ -270,11 +270,11 @@ var getBindInfoApi = () => {
270
270
  method: "GET"
271
271
  });
272
272
  };
273
- var bindCexApi = ({ cex, api_key, api_secret }) => {
273
+ var bindCexApi = (data) => {
274
274
  return request_default({
275
275
  url: `/api/v1/cex/subscribe`,
276
276
  method: "POST",
277
- data: { cex, api_key, api_secret }
277
+ data
278
278
  });
279
279
  };
280
280
  var unBindApi = ({ type }) => {
@@ -2607,7 +2607,7 @@ function CEXBindModal({
2607
2607
  ) }),
2608
2608
  /* @__PURE__ */ jsx23(Field, { label: intl.formatMessage({
2609
2609
  id: "CEXBindApiSecretKey"
2610
- }), error: type != "OKX" && error, children: /* @__PURE__ */ jsx23(
2610
+ }), error: !needPassphrase && error, children: /* @__PURE__ */ jsx23(
2611
2611
  Input,
2612
2612
  {
2613
2613
  value: secret,
@@ -2885,9 +2885,6 @@ function useWalletInit({
2885
2885
  document.body.insertBefore(iframe, document.body.firstChild);
2886
2886
  window.sendMatchWalletMessage = (method, data, retry = 5, times = 0) => {
2887
2887
  try {
2888
- if (!walletInited) {
2889
- throw new Error("Wallet not inited");
2890
- }
2891
2888
  if (!document.getElementById("match-wallet")) {
2892
2889
  throw new Error("Wallet not found");
2893
2890
  }
@@ -3920,4 +3917,4 @@ export {
3920
3917
  MatchProvider,
3921
3918
  useMatch
3922
3919
  };
3923
- //# sourceMappingURL=chunk-XXZABHH6.mjs.map
3920
+ //# sourceMappingURL=chunk-HL5ODTAH.mjs.map