@animuz/embed 0.2.2-rc1 → 0.2.2-rc2

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/dist/iframe.html +2 -2
  2. package/package.json +1 -1
package/dist/iframe.html CHANGED
@@ -23,8 +23,8 @@
23
23
  return params;
24
24
  }
25
25
  const params = getQueryParams();
26
- // Show error if embedID is not provided
27
- if (!params.embedID) {
26
+ // Show error if embedId is not provided
27
+ if (!params.embedId) {
28
28
  document.body.innerHTML = '<div style="color:red;font-family:sans-serif;padding:2em;text-align:center;">Error: <b>embedID</b> is required in the iframe URL query string.</div>';
29
29
  } else {
30
30
  // Optionally, parse query params for config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@animuz/embed",
3
- "version": "0.2.2-rc1",
3
+ "version": "0.2.2-rc2",
4
4
  "description": "Embeddable chat widget for Rudi by Animuz",
5
5
  "type": "module",
6
6
  "main": "dist/animuz-chat-widget.min.js",