@overmap-ai/core 1.0.65-error-message-fix.6 → 1.0.65-error-message-fix.7
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/overmap-core.js +17 -12
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +17 -12
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -4056,18 +4056,23 @@ var __publicField = (obj, key, value) => {
|
|
|
4056
4056
|
}
|
|
4057
4057
|
async initAuth(payload) {
|
|
4058
4058
|
const uuid$1 = uuid.v4();
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4059
|
+
try {
|
|
4060
|
+
const result = await this.enqueueRequest({
|
|
4061
|
+
uuid: uuid$1,
|
|
4062
|
+
description: "Get token pair",
|
|
4063
|
+
method: HttpMethod.POST,
|
|
4064
|
+
url: this.initTokensUrl,
|
|
4065
|
+
payload,
|
|
4066
|
+
isAuthNeeded: false,
|
|
4067
|
+
checkAuth: false,
|
|
4068
|
+
blockers: [],
|
|
4069
|
+
blocks: []
|
|
4070
|
+
});
|
|
4071
|
+
this.setTokens(parseTokens(result));
|
|
4072
|
+
} catch (e) {
|
|
4073
|
+
this.dispatch(markForDeletion(uuid$1));
|
|
4074
|
+
throw e;
|
|
4075
|
+
}
|
|
4071
4076
|
}
|
|
4072
4077
|
}
|
|
4073
4078
|
class BaseApiService extends BaseService {
|