@returningai/widget-sdk 1.6.1 → 1.6.2

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.
@@ -13917,7 +13917,7 @@ class CustomWidget extends BaseWidget {
13917
13917
  }
13918
13918
  }
13919
13919
  }
13920
- console.log(`[rai-widget] v${"1.6.1"}`);
13920
+ console.log(`[rai-widget] v${"1.6.2"}`);
13921
13921
  class StoreWidgetCompat extends StoreWidget {
13922
13922
  }
13923
13923
  const WIDGET_REGISTRY = [
@@ -13981,7 +13981,7 @@ function exposePublicApi() {
13981
13981
  })();
13982
13982
  const widget = container == null ? void 0 : container.querySelector(ALL_WIDGET_SELECTOR);
13983
13983
  window.ReturningAIWidget = {
13984
- version: "1.6.1",
13984
+ version: "1.6.2",
13985
13985
  reload: () => (widget == null ? void 0 : widget.reload()) ?? Promise.resolve(),
13986
13986
  logout: () => (widget == null ? void 0 : widget.logoutPublic()) ?? Promise.resolve(),
13987
13987
  isAuthenticated: () => (widget == null ? void 0 : widget.isAuthenticated()) ?? false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@returningai/widget-sdk",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Shadow DOM isolated widget SDK for ReturningAI",
5
5
  "main": "dist/rai-widget.iife.js",
6
6
  "module": "dist/rai-widget.js",