@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.
@@ -9,7 +9,7 @@ import {
9
9
  unBindWalletApi,
10
10
  useUserInfo,
11
11
  verifyPohApi
12
- } from "./chunk-YYO4X2NB.mjs";
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-7PMDBILL.mjs.map
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
- instance.defaults.baseURL = `${endpoints.back}`;
245
- instance.defaults.headers.common["Appid"] = getAppid();
244
+ retryInstance.defaults.baseURL = `${endpoints.back}`;
245
+ retryInstance.defaults.headers.common["Appid"] = getAppid();
246
246
  if (token) {
247
- instance.defaults.headers.common["Authorization"] = token;
247
+ retryInstance.defaults.headers.common["Authorization"] = token;
248
248
  }
249
- instance.defaults.headers.common["Accept-Language"] = getLocale();
250
- const { data } = await instance.request(config);
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-YYO4X2NB.mjs.map
4803
+ //# sourceMappingURL=chunk-RAX4G26O.mjs.map