@steedos/webapp 3.0.0-beta.132 → 3.0.0-beta.133

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.
@@ -40433,7 +40433,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
40433
40433
  __publicField(this, "clusterId", "");
40434
40434
  __publicField(this, "token", "");
40435
40435
  __publicField(this, "csrf", "");
40436
- __publicField(this, "url", "http://localhost:5100");
40436
+ __publicField(this, "url", "");
40437
40437
  __publicField(this, "urlVersion", "");
40438
40438
  __publicField(this, "userAgent", null);
40439
40439
  __publicField(this, "enableLogging", false);
@@ -53487,7 +53487,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
53487
53487
  if (this.props.settings.tenant.enable_open_geetest != true) {
53488
53488
  return;
53489
53489
  }
53490
- const url2 = "http://localhost:5100";
53490
+ const url2 = "";
53491
53491
  fetch(url2 + "/accounts/geetest/geetest-init", {
53492
53492
  method: "POST"
53493
53493
  }).then((response) => {
@@ -54004,7 +54004,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
54004
54004
  if (this.props.settings.tenant.enable_open_geetest != true) {
54005
54005
  return;
54006
54006
  }
54007
- const url2 = "http://localhost:5100";
54007
+ const url2 = "";
54008
54008
  fetch(url2 + "/accounts/geetest/geetest-init", {
54009
54009
  method: "POST"
54010
54010
  }).then((response) => {
@@ -55664,7 +55664,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
55664
55664
  if (this.props.settings.tenant.enable_open_geetest != true) {
55665
55665
  return;
55666
55666
  }
55667
- const url2 = "http://localhost:5100";
55667
+ const url2 = "";
55668
55668
  fetch(url2 + "/accounts/geetest/geetest-init", {
55669
55669
  method: "POST"
55670
55670
  }).then((response) => {
@@ -79011,7 +79011,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
79011
79011
  const { chatbotId } = useParams();
79012
79012
  const { messages, sendMessage, status } = useChat({
79013
79013
  transport: new DefaultChatTransport({
79014
- api: `${"http://localhost:5100"}/api/v6/ai/chatbot/${chatbotId}/stream`
79014
+ api: `${""}/api/v6/ai/chatbot/${chatbotId}/stream`
79015
79015
  })
79016
79016
  });
79017
79017
  const [input, setInput] = reactExports.useState("");
@@ -79021,7 +79021,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
79021
79021
  const fetchChatbot = async () => {
79022
79022
  try {
79023
79023
  const res = await fetch(
79024
- `${"http://localhost:5100"}/api/v6/data/ai_chatbots/${chatbotId}`
79024
+ `${""}/api/v6/data/ai_chatbots/${chatbotId}`
79025
79025
  );
79026
79026
  const data2 = await res.json();
79027
79027
  setChatbot(data2 ?? null);
@@ -79134,7 +79134,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
79134
79134
  const navigate = useNavigate();
79135
79135
  const { messages, sendMessage, status } = useChat({
79136
79136
  transport: new DefaultChatTransport({
79137
- api: `${"http://localhost:5100"}/api/v6/ai/chat/${chatId}/stream`
79137
+ api: `${""}/api/v6/ai/chat/${chatId}/stream`
79138
79138
  })
79139
79139
  });
79140
79140
  const [input, setInput] = reactExports.useState("");
@@ -79150,7 +79150,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
79150
79150
  const fetchChat = async () => {
79151
79151
  try {
79152
79152
  const res = await fetch(
79153
- `${"http://localhost:5100"}/api/v6/data/ai_chats/${chatId}`
79153
+ `${""}/api/v6/data/ai_chats/${chatId}`
79154
79154
  );
79155
79155
  const data2 = await res.json();
79156
79156
  setChat(data2 ?? null);
@@ -85845,7 +85845,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
85845
85845
  super(props);
85846
85846
  __publicField(this, "fetchSettings", async (retryCount = 0, maxRetries = 20) => {
85847
85847
  try {
85848
- const response = await axios.get(`${"http://localhost:5100"}/api/v6/amis/public_settings`);
85848
+ const response = await axios.get(`${""}/api/v6/amis/public_settings`);
85849
85849
  const settingsData = response.data;
85850
85850
  if (settingsData.serverStatus === "starting") {
85851
85851
  if (retryCount < maxRetries) {
@@ -85860,7 +85860,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
85860
85860
  const Builder2 = window.Builder;
85861
85861
  Builder2.settings.appId = "-";
85862
85862
  Builder2.settings.context = {
85863
- rootUrl: `${"http://localhost:5100"}`,
85863
+ rootUrl: `${""}`,
85864
85864
  userId: localStorage.getItem("steedos:userId"),
85865
85865
  tenantId: localStorage.getItem("steedos:spaceId"),
85866
85866
  authToken: localStorage.getItem("steedos:token"),
@@ -85886,7 +85886,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
85886
85886
  const self2 = this;
85887
85887
  _window2.lodash = _window2._;
85888
85888
  _window2.loadJs("/steedos-init.js", () => {
85889
- _window2.loadJs(`${"http://localhost:5100"}/client_scripts.js`, () => {
85889
+ _window2.loadJs(`${""}/client_scripts.js`, () => {
85890
85890
  self2.setState({ settings: settingsData, loading: false });
85891
85891
  });
85892
85892
  });
@@ -87282,7 +87282,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
87282
87282
  // not needed for react as it escapes by default
87283
87283
  },
87284
87284
  backend: {
87285
- loadPath: `${"http://localhost:5100"}/locales/{{lng}}/{{ns}}`
87285
+ loadPath: `${""}/locales/{{lng}}/{{ns}}`
87286
87286
  }
87287
87287
  });
87288
87288
  const container = document.getElementById("root");
package/dist/index.html CHANGED
@@ -63,7 +63,7 @@
63
63
 
64
64
  </script>
65
65
  <link rel="stylesheet" type="text/css" href="/tailwind/tailwind-steedos.css">
66
- <script type="module" crossorigin src="/assets/index-9rd0ug9a.js"></script>
66
+ <script type="module" crossorigin src="/assets/index-B9r0cWml.js"></script>
67
67
  </head>
68
68
  <body class="skin-blue-light fixed steedos sidebar-mini three-columns" >
69
69
  <div id="root" class="steedos skin-blue-light creator h-full flex flex-col relative overflow-hidden bg-slate-50"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/webapp",
3
- "version": "3.0.0-beta.132",
3
+ "version": "3.0.0-beta.133",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -75,5 +75,5 @@
75
75
  "access": "public"
76
76
  },
77
77
  "repository": "https://github.com/steedos/app-builder/tree/master/apps/accounts",
78
- "gitHead": "05796ec397bb0d51fd437722d24e3821dba5da02"
78
+ "gitHead": "31ae90031b62c49f733ca7cf1cd232cfba1b77b4"
79
79
  }