@chatsystem/client 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -13017,7 +13017,7 @@ const rm = (e) => e.charCodeAt(e.length - 1) === 10, im = (e) => {
13017
13017
  constructor() {
13018
13018
  }
13019
13019
  };
13020
- ln(It, "getApiUrl", () => process.env.NODE_ENV === "development" ? "localhost:3001" : "https://www.api.chatsystem.ai"), ln(It, "getHeaders", ({ contentType: t = "text/plain" }) => ({
13020
+ ln(It, "getApiUrl", () => process.env.NODE_ENV === "development" ? "http://localhost:3001" : "https://www.api.chatsystem.ai"), ln(It, "getHeaders", ({ contentType: t = "text/plain" }) => ({
13021
13021
  "Content-Type": t
13022
13022
  })), ln(It, "getFetchConfig", ({
13023
13023
  contentType: t = "text/plain",
@@ -13413,7 +13413,7 @@ const pm = "languageSettings", xs = we.createContext({
13413
13413
  };
13414
13414
  function Tm({ appToken: e }) {
13415
13415
  const [t, n] = Le(!1);
13416
- return console.log("appToken", e), e || console.warn(
13416
+ return e || console.warn(
13417
13417
  "appToken not defined in ai-client. Please see the documentation at URL_ERROR_IN_DOC"
13418
13418
  ), /* @__PURE__ */ Y.jsxs(km, { children: [
13419
13419
  /* @__PURE__ */ Y.jsx(wm, { isWidgetOpen: t, setIsWidgetOpen: n }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chatsystem/client",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {