@sunggang/ui-lib 0.1.96 → 0.1.97

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 -1
  2. package/package.json +1 -1
package/index.esm2.js CHANGED
@@ -123452,7 +123452,10 @@ var useLiff = function(publickLiffId, localStorageToken, loginFunc, checkTokenUr
123452
123452
  return _ref.apply(this, arguments);
123453
123453
  };
123454
123454
  }();
123455
- checkAndInitialize();
123455
+ if (typeof window !== "undefined") {
123456
+ // Only execute client-side logic
123457
+ checkAndInitialize();
123458
+ }
123456
123459
  }, []);
123457
123460
  return {
123458
123461
  liffObject: liffObject,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunggang/ui-lib",
3
- "version": "0.1.96",
3
+ "version": "0.1.97",
4
4
  "dependencies": {
5
5
  "@iconify/react": "^4.1.1",
6
6
  "@mdx-js/react": "^3.0.1",