@sunggang/ui-lib 0.2.79 → 0.2.81

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 +4 -7
  2. package/package.json +1 -1
package/index.esm2.js CHANGED
@@ -59034,9 +59034,6 @@ var LiffProvider = function(param) {
59034
59034
  _state.sent();
59035
59035
  console.log("LIFF init succeeded.");
59036
59036
  setLiffObject(liff);
59037
- if (isValid) return [
59038
- 2
59039
- ];
59040
59037
  lineToken = liff === null || liff === void 0 ? void 0 : liff.getAccessToken();
59041
59038
  // 未登入先進行登入
59042
59039
  if (!liff.isLoggedIn()) {
@@ -59048,6 +59045,10 @@ var LiffProvider = function(param) {
59048
59045
  redirectUri: redirectUri
59049
59046
  });
59050
59047
  }
59048
+ if (!lineToken) return [
59049
+ 3,
59050
+ 8
59051
+ ];
59051
59052
  _state.label = 3;
59052
59053
  case 3:
59053
59054
  _state.trys.push([
@@ -59079,10 +59080,6 @@ var LiffProvider = function(param) {
59079
59080
  if (isFriendship && isValid) return [
59080
59081
  2
59081
59082
  ];
59082
- if (!lineToken) return [
59083
- 3,
59084
- 8
59085
- ];
59086
59083
  return [
59087
59084
  4,
59088
59085
  loginInit(lineToken)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunggang/ui-lib",
3
- "version": "0.2.79",
3
+ "version": "0.2.81",
4
4
  "dependencies": {
5
5
  "@iconify/react": "^4.1.1",
6
6
  "@material-ui/core": "^4.12.4",