aov-agent 1.0.16 → 1.0.19

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.
@@ -46,7 +46,6 @@ export var Assistant = function Assistant(_ref) {
46
46
  apiUrl = _ref.apiUrl,
47
47
  appName = _ref.appName,
48
48
  customToolRenderers = _ref.customToolRenderers;
49
- if (!shop.showAgentChat) return null;
50
49
  return /*#__PURE__*/React.createElement(AgentProvider, {
51
50
  contextValue: {
52
51
  appName: appName,
@@ -62,7 +62,7 @@ export var streamApi = /*#__PURE__*/function () {
62
62
  return window.shopify.idToken();
63
63
  case 1:
64
64
  idToken = _context2.v;
65
- fullUrl = apiUrl ? "".concat(apiUrl, "/api-public/chat/message") : "/api-public/chat/message";
65
+ fullUrl = apiUrl ? "".concat(apiUrl, "/public-api/v1/chat/message") : "/public-api/v1/chat/message";
66
66
  _context2.n = 2;
67
67
  return fetch(fullUrl, {
68
68
  method: method,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aov-agent",
3
- "version": "1.0.16",
3
+ "version": "1.0.19",
4
4
  "description": "AOV AI Agent - Monorepo for AI Assistant Components",
5
5
  "type": "module",
6
6
  "exports": {