easea-app-widget 1.1.9 → 1.1.12

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.
package/README.md CHANGED
@@ -36,7 +36,7 @@ window.EaseaWidget?.init({
36
36
 
37
37
  ```html
38
38
  <!-- Use any public CDN; example with jsDelivr -->
39
- <script src="https://cdn.jsdelivr.net/npm/easea-app-widget/dist/widget.umd.js" defer></script>
39
+ <script src="https://cdn.jsdelivr.net/npm/easea-app-widget/dist/widget/index.umd.js" defer></script>
40
40
  <script>
41
41
  window.addEventListener('DOMContentLoaded', function () {
42
42
  window.EaseaWidget && window.EaseaWidget.init({
@@ -44,7 +44,7 @@ window.EaseaWidget?.init({
44
44
  });
45
45
  });
46
46
  // Alternatively, load as ES module:
47
- // <script type="module" src="https://cdn.jsdelivr.net/npm/easea-app-widget/dist/widget.es.js"></script>
47
+ // <script type="module" src="https://cdn.jsdelivr.net/npm/easea-app-widget/dist/widget/index.es.js"></script>
48
48
  // and then call window.EaseaWidget.init(...)
49
49
  </script>
50
50
  ```
@@ -60,7 +60,7 @@ window.EaseaWidget?.init({
60
60
  <meta charset="utf-8" />
61
61
  <meta name="viewport" content="width=device-width, initial-scale=1" />
62
62
  <title>Easea App Widget</title>
63
- <script src="https://cdn.jsdelivr.net/npm/easea-app-widget/dist/widget.umd.js" defer></script>
63
+ <script src="https://cdn.jsdelivr.net/npm/easea-app-widget/dist/widget/index.umd.js" defer></script>
64
64
  </head>
65
65
  <body>
66
66
  <!-- The widget creates its own host and Shadow DOM -->