@budibase/worker 3.2.3 → 3.2.4

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/worker",
3
3
  "email": "hi@budibase.com",
4
- "version": "3.2.3",
4
+ "version": "3.2.4",
5
5
  "description": "Budibase background service",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -37,10 +37,10 @@
37
37
  "author": "Budibase",
38
38
  "license": "GPL-3.0",
39
39
  "dependencies": {
40
- "@budibase/backend-core": "3.2.3",
41
- "@budibase/pro": "3.2.3",
42
- "@budibase/string-templates": "3.2.3",
43
- "@budibase/types": "3.2.3",
40
+ "@budibase/backend-core": "3.2.4",
41
+ "@budibase/pro": "3.2.4",
42
+ "@budibase/string-templates": "3.2.4",
43
+ "@budibase/types": "3.2.4",
44
44
  "@koa/router": "8.0.8",
45
45
  "@techpass/passport-openidconnect": "0.3.3",
46
46
  "@types/global-agent": "2.1.1",
@@ -107,5 +107,5 @@
107
107
  }
108
108
  }
109
109
  },
110
- "gitHead": "8f3bc76ea5c253dba658b505d1e12eb82a3e8a40"
110
+ "gitHead": "16c33bbc03034d8a21c989f49bb9edb4e6aa8627"
111
111
  }
@@ -1,6 +1,6 @@
1
- import { Ctx, MaintenanceType, FeatureFlag } from "@budibase/types"
1
+ import { Ctx, MaintenanceType } from "@budibase/types"
2
2
  import env from "../../../environment"
3
- import { env as coreEnv, db as dbCore, features } from "@budibase/backend-core"
3
+ import { env as coreEnv, db as dbCore } from "@budibase/backend-core"
4
4
  import nodeFetch from "node-fetch"
5
5
  import { helpers } from "@budibase/shared-core"
6
6
 
@@ -35,10 +35,7 @@ async function isSqsAvailable() {
35
35
  }
36
36
 
37
37
  async function isSqsMissing() {
38
- return (
39
- (await features.flags.isEnabled(FeatureFlag.SQS)) &&
40
- !(await isSqsAvailable())
41
- )
38
+ return !(await isSqsAvailable())
42
39
  }
43
40
 
44
41
  export const fetch = async (ctx: Ctx) => {
@@ -1,5 +1,5 @@
1
1
  import { mocks, structures } from "@budibase/backend-core/tests"
2
- import { context, events, features } from "@budibase/backend-core"
2
+ import { context, events } from "@budibase/backend-core"
3
3
  import { Event, IdentityType } from "@budibase/types"
4
4
  import { TestConfiguration } from "../../../../tests"
5
5
 
@@ -12,19 +12,14 @@ const BASE_IDENTITY = {
12
12
  const USER_AUDIT_LOG_COUNT = 3
13
13
  const APP_ID = "app_1"
14
14
 
15
- describe.each(["lucene", "sql"])("/api/global/auditlogs (%s)", method => {
15
+ describe("/api/global/auditlogs (%s)", () => {
16
16
  const config = new TestConfiguration()
17
- let envCleanup: (() => void) | undefined
18
17
 
19
18
  beforeAll(async () => {
20
- envCleanup = features.testutils.setFeatureFlags("*", {
21
- SQS: method === "sql",
22
- })
23
19
  await config.beforeAll()
24
20
  })
25
21
 
26
22
  afterAll(async () => {
27
- envCleanup?.()
28
23
  await config.afterAll()
29
24
  })
30
25