@steedos/webapp 3.0.0-beta.123 → 3.0.0-beta.126

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.
package/README.md CHANGED
@@ -21,4 +21,4 @@ yarn dev
21
21
  yarn build
22
22
  ```
23
23
 
24
- 访问 `http://localhost:5000` 查看效果。
24
+ 访问 `http://localhost:5100` 查看效果。
@@ -52954,6 +52954,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
52954
52954
  }
52955
52955
  Builder$1.settings.context.user = user;
52956
52956
  if (user) {
52957
+ Builder$1.settings.context.authToken = user.authToken;
52957
52958
  Steedos.Connection(
52958
52959
  Builder$1.settings.context.rootUrl,
52959
52960
  `${user.spaceId},${user.authToken}`
@@ -54313,9 +54314,10 @@ Try polyfilling it using "@formatjs/intl-displaynames"
54313
54314
  return;
54314
54315
  }
54315
54316
  dispatch2(validate()).then((me) => {
54316
- var _a2;
54317
+ var _a2, _b2;
54317
54318
  Builder.settings.context.user = me.data;
54318
- if ((_a2 = me.data) == null ? void 0 : _a2.password_expired) {
54319
+ Builder.settings.context.authToken = (_a2 = me.data) == null ? void 0 : _a2.authToken;
54320
+ if ((_b2 = me.data) == null ? void 0 : _b2.password_expired) {
54319
54321
  goResetPassword(navigate);
54320
54322
  } else {
54321
54323
  let redirect_uri = new URLSearchParams(location ? location.search : "").get("redirect_uri");
@@ -79019,7 +79021,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
79019
79021
  const fetchChatbot = async () => {
79020
79022
  try {
79021
79023
  const res = await fetch(
79022
- `${""}/api/v6/data/chatbots/${chatbotId}`
79024
+ `${""}/api/v6/data/ai_chatbots/${chatbotId}`
79023
79025
  );
79024
79026
  const data2 = await res.json();
79025
79027
  setChatbot(data2 ?? null);
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-qkcwUtuZ.js"></script>
66
+ <script type="module" crossorigin src="/assets/index-DkIvS6rg.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.123",
3
+ "version": "3.0.0-beta.126",
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": "6a325cca301fe0d4ad64bcac6173db2ff4c86731"
78
+ "gitHead": "1e2ca759f9ea0d865ca505fafbafbea919163721"
79
79
  }