@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.
- package/dist/{chunk-ZBOW562R.mjs → chunk-GYHBGOEC.mjs} +2 -2
- package/dist/{chunk-XXZABHH6.mjs → chunk-HL5ODTAH.mjs} +4 -7
- package/dist/chunk-HL5ODTAH.mjs.map +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.d.mts +1 -1
- package/dist/hooks/api/index.d.ts +1 -1
- package/dist/hooks/api/index.js +2 -2
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/{index-mEK7Lcps.d.mts → index-CiM5L42f.d.mts} +2 -1
- package/dist/{index-DlrDrTMk.d.ts → index-DBscX8i6.d.ts} +2 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-XXZABHH6.mjs.map +0 -1
- /package/dist/{chunk-ZBOW562R.mjs.map → chunk-GYHBGOEC.mjs.map} +0 -0
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
unBindWalletApi,
|
|
10
10
|
useUserInfo,
|
|
11
11
|
verifyPohApi
|
|
12
|
-
} from "./chunk-
|
|
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-
|
|
93
|
+
//# sourceMappingURL=chunk-GYHBGOEC.mjs.map
|
|
@@ -270,11 +270,11 @@ var getBindInfoApi = () => {
|
|
|
270
270
|
method: "GET"
|
|
271
271
|
});
|
|
272
272
|
};
|
|
273
|
-
var bindCexApi = (
|
|
273
|
+
var bindCexApi = (data) => {
|
|
274
274
|
return request_default({
|
|
275
275
|
url: `/api/v1/cex/subscribe`,
|
|
276
276
|
method: "POST",
|
|
277
|
-
data
|
|
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:
|
|
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-
|
|
3920
|
+
//# sourceMappingURL=chunk-HL5ODTAH.mjs.map
|