@nocobase/server 1.5.0-beta.22 → 1.5.0-beta.24

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.
@@ -173,26 +173,6 @@ const _WSServer = class _WSServer extends import_events.default {
173
173
  if (!hasApp) {
174
174
  import_app_supervisor.AppSupervisor.getInstance().bootStrapApp(handleAppName);
175
175
  }
176
- const appStatus = import_app_supervisor.AppSupervisor.getInstance().getAppStatus(handleAppName, "initializing");
177
- if (appStatus === "not_found") {
178
- this.sendMessageToConnection(client, {
179
- type: "maintaining",
180
- payload: getPayloadByErrorCode("APP_NOT_FOUND", { appName: handleAppName })
181
- });
182
- return;
183
- }
184
- if (appStatus === "initializing") {
185
- this.sendMessageToConnection(client, {
186
- type: "maintaining",
187
- payload: getPayloadByErrorCode("APP_INITIALIZING", { appName: handleAppName })
188
- });
189
- return;
190
- }
191
- const app = await import_app_supervisor.AppSupervisor.getInstance().getApp(handleAppName);
192
- this.sendMessageToConnection(client, {
193
- type: "maintaining",
194
- payload: getPayloadByErrorCode(appStatus, { app })
195
- });
196
176
  }
197
177
  removeConnection(id) {
198
178
  console.log(`client disconnected ${id}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/server",
3
- "version": "1.5.0-beta.22",
3
+ "version": "1.5.0-beta.24",
4
4
  "main": "lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "license": "AGPL-3.0",
@@ -10,19 +10,19 @@
10
10
  "@koa/cors": "^3.1.0",
11
11
  "@koa/multer": "^3.0.2",
12
12
  "@koa/router": "^9.4.0",
13
- "@nocobase/acl": "1.5.0-beta.22",
14
- "@nocobase/actions": "1.5.0-beta.22",
15
- "@nocobase/auth": "1.5.0-beta.22",
16
- "@nocobase/cache": "1.5.0-beta.22",
17
- "@nocobase/data-source-manager": "1.5.0-beta.22",
18
- "@nocobase/database": "1.5.0-beta.22",
19
- "@nocobase/evaluators": "1.5.0-beta.22",
20
- "@nocobase/lock-manager": "1.5.0-beta.22",
21
- "@nocobase/logger": "1.5.0-beta.22",
22
- "@nocobase/resourcer": "1.5.0-beta.22",
23
- "@nocobase/sdk": "1.5.0-beta.22",
24
- "@nocobase/telemetry": "1.5.0-beta.22",
25
- "@nocobase/utils": "1.5.0-beta.22",
13
+ "@nocobase/acl": "1.5.0-beta.24",
14
+ "@nocobase/actions": "1.5.0-beta.24",
15
+ "@nocobase/auth": "1.5.0-beta.24",
16
+ "@nocobase/cache": "1.5.0-beta.24",
17
+ "@nocobase/data-source-manager": "1.5.0-beta.24",
18
+ "@nocobase/database": "1.5.0-beta.24",
19
+ "@nocobase/evaluators": "1.5.0-beta.24",
20
+ "@nocobase/lock-manager": "1.5.0-beta.24",
21
+ "@nocobase/logger": "1.5.0-beta.24",
22
+ "@nocobase/resourcer": "1.5.0-beta.24",
23
+ "@nocobase/sdk": "1.5.0-beta.24",
24
+ "@nocobase/telemetry": "1.5.0-beta.24",
25
+ "@nocobase/utils": "1.5.0-beta.24",
26
26
  "@types/decompress": "4.2.7",
27
27
  "@types/ini": "^1.3.31",
28
28
  "@types/koa-send": "^4.1.3",
@@ -56,5 +56,5 @@
56
56
  "@types/serve-handler": "^6.1.1",
57
57
  "@types/ws": "^8.5.5"
58
58
  },
59
- "gitHead": "81dd79a3da82e56f18691b66235fccadc440e360"
59
+ "gitHead": "382214bc5d774743b6ecf27eadc530fed3d9954b"
60
60
  }