@sunggang/ui-lib 0.3.41 → 0.3.42

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.
Files changed (2) hide show
  1. package/index.esm2.js +3 -3
  2. package/package.json +1 -1
package/index.esm2.js CHANGED
@@ -78695,7 +78695,7 @@ var LiffProvider = function(param) {
78695
78695
  }();
78696
78696
  var accountLogin = function() {
78697
78697
  var _ref = _async_to_generator(function(username, password) {
78698
- var response, _response_data, _response_data1, token, tokenType, finalToken, err;
78698
+ var response, token, tokenType, finalToken, err;
78699
78699
  return _ts_generator(this, function(_state) {
78700
78700
  switch(_state.label){
78701
78701
  case 0:
@@ -78724,8 +78724,8 @@ var LiffProvider = function(param) {
78724
78724
  3,
78725
78725
  3
78726
78726
  ];
78727
- token = response === null || response === void 0 ? void 0 : (_response_data = response.data) === null || _response_data === void 0 ? void 0 : _response_data.access_token;
78728
- tokenType = response === null || response === void 0 ? void 0 : (_response_data1 = response.data) === null || _response_data1 === void 0 ? void 0 : _response_data1.token_type;
78727
+ token = response === null || response === void 0 ? void 0 : response.access_token;
78728
+ tokenType = response === null || response === void 0 ? void 0 : response.token_type;
78729
78729
  finalToken = "".concat(tokenType, " ").concat(token);
78730
78730
  setAccessToken(finalToken);
78731
78731
  setLoginType("account");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunggang/ui-lib",
3
- "version": "0.3.41",
3
+ "version": "0.3.42",
4
4
  "dependencies": {
5
5
  "@emotion/react": "^11.14.0",
6
6
  "@emotion/styled": "^11.14.0",