@sunggang/ui-lib 0.4.48 → 0.4.49

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.
@@ -746,6 +746,12 @@ var LiffProvider = function(param) {
746
746
  }
747
747
  return originalFetch(url, options);
748
748
  };
749
+ if (!liffId) {
750
+ console.warn("liffId 未提供,無法初始化 LIFF");
751
+ return [
752
+ 2
753
+ ];
754
+ }
749
755
  return [
750
756
  4,
751
757
  Promise.resolve().then(function () { return require('./index.cjs3.js'); })
@@ -742,6 +742,12 @@ var LiffProvider = function(param) {
742
742
  }
743
743
  return originalFetch(url, options);
744
744
  };
745
+ if (!liffId) {
746
+ console.warn("liffId 未提供,無法初始化 LIFF");
747
+ return [
748
+ 2
749
+ ];
750
+ }
745
751
  return [
746
752
  4,
747
753
  import('./index.esm3.js')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunggang/ui-lib",
3
- "version": "0.4.48",
3
+ "version": "0.4.49",
4
4
  "sideEffects": [
5
5
  "*.css",
6
6
  "./src/style.css",