@sunggang/ui-lib 0.3.32 → 0.3.34

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 +1 -2
  2. package/package.json +1 -1
package/index.esm2.js CHANGED
@@ -78563,10 +78563,9 @@ var LiffProvider = function(param) {
78563
78563
  lineToken = liff === null || liff === void 0 ? void 0 : liff.getAccessToken();
78564
78564
  // 未登入先進行登入
78565
78565
  if (!liff.isLoggedIn()) {
78566
- // const redirectUri = customerRedirectUrl || `${window.location.href}`;
78567
78566
  currentPath = window.location.pathname + window.location.search || customerRedirectUrl || "";
78568
78567
  origin = window.location.origin;
78569
- redirectUri = "".concat(origin, "?liff.state=").concat(encodeURIComponent(currentPath));
78568
+ redirectUri = "".concat(origin).concat(currentPath);
78570
78569
  if (loginByUser || ignoreRoute) return [
78571
78570
  2
78572
78571
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunggang/ui-lib",
3
- "version": "0.3.32",
3
+ "version": "0.3.34",
4
4
  "dependencies": {
5
5
  "@emotion/react": "^11.14.0",
6
6
  "@emotion/styled": "^11.14.0",