@matchain/matchid-sdk-react 0.1.44-alpha.3 → 0.1.44-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-7PMDBILL.mjs → chunk-24AMOG53.mjs} +2 -2
- package/dist/{chunk-YYO4X2NB.mjs → chunk-RAX4G26O.mjs} +6 -6
- package/dist/chunk-RAX4G26O.mjs.map +1 -0
- package/dist/components/index.js +5 -5
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js +5 -5
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.js +5 -5
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-YYO4X2NB.mjs.map +0 -1
- /package/dist/{chunk-7PMDBILL.mjs.map → chunk-24AMOG53.mjs.map} +0 -0
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
unBindWalletApi,
|
|
10
10
|
useUserInfo,
|
|
11
11
|
verifyPohApi
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RAX4G26O.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-24AMOG53.mjs.map
|
|
@@ -241,13 +241,13 @@ var retryRequest = async (config) => {
|
|
|
241
241
|
try {
|
|
242
242
|
const endpoints = getEndpoints();
|
|
243
243
|
const token = getToken();
|
|
244
|
-
|
|
245
|
-
|
|
244
|
+
retryInstance.defaults.baseURL = `${endpoints.back}`;
|
|
245
|
+
retryInstance.defaults.headers.common["Appid"] = getAppid();
|
|
246
246
|
if (token) {
|
|
247
|
-
|
|
247
|
+
retryInstance.defaults.headers.common["Authorization"] = token;
|
|
248
248
|
}
|
|
249
|
-
|
|
250
|
-
const { data } = await
|
|
249
|
+
retryInstance.defaults.headers.common["Accept-Language"] = getLocale();
|
|
250
|
+
const { data } = await retryInstance.request(config);
|
|
251
251
|
matchlog_default.log("api", data);
|
|
252
252
|
if (data.code == 401001) {
|
|
253
253
|
localStore.getState().logout();
|
|
@@ -4800,4 +4800,4 @@ export {
|
|
|
4800
4800
|
MatchProvider,
|
|
4801
4801
|
useMatch
|
|
4802
4802
|
};
|
|
4803
|
-
//# sourceMappingURL=chunk-
|
|
4803
|
+
//# sourceMappingURL=chunk-RAX4G26O.mjs.map
|