@sunggang/ui-lib 0.2.36 → 0.2.37
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/index.esm2.js +3 -0
- package/package.json +1 -1
package/index.esm2.js
CHANGED
|
@@ -43698,6 +43698,9 @@ var LiffProvider = function(param) {
|
|
|
43698
43698
|
setLoginData(response);
|
|
43699
43699
|
window.localStorage.setItem(loginStorageKey, JSON.stringify(response));
|
|
43700
43700
|
loginToken = response === null || response === void 0 ? void 0 : (_response_data = response.data) === null || _response_data === void 0 ? void 0 : _response_data.access_token;
|
|
43701
|
+
if (!loginToken.startsWith("Bearer ")) {
|
|
43702
|
+
loginToken = "Bearer ".concat(loginToken);
|
|
43703
|
+
}
|
|
43701
43704
|
if (loginToken) {
|
|
43702
43705
|
setAccessToken(loginToken);
|
|
43703
43706
|
if (memberInfoUrl) fetchMemberInfo(loginToken);
|