@sunggang/ui-lib 0.1.97 → 0.1.98

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