@budibase/worker 2.12.12 → 2.13.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/worker",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.12.12",
4
+ "version": "2.13.2",
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": "2.12.12",
41
- "@budibase/pro": "2.12.12",
42
- "@budibase/string-templates": "2.12.12",
43
- "@budibase/types": "2.12.12",
40
+ "@budibase/backend-core": "2.13.2",
41
+ "@budibase/pro": "2.13.2",
42
+ "@budibase/string-templates": "2.13.2",
43
+ "@budibase/types": "2.13.2",
44
44
  "@koa/router": "8.0.8",
45
45
  "@techpass/passport-openidconnect": "0.3.2",
46
46
  "@types/global-agent": "2.1.1",
@@ -107,5 +107,5 @@
107
107
  }
108
108
  }
109
109
  },
110
- "gitHead": "2129bb1e573773ad660e68f95c353bd58cbbe997"
110
+ "gitHead": "06a7f67e1f9d52ae3e4cf981468d45d107e3c6de"
111
111
  }
@@ -19,7 +19,7 @@
19
19
  }
20
20
 
21
21
  a {
22
- color: #3869D4 !important;
22
+ color: #6E56FF !important;
23
23
  }
24
24
 
25
25
  a img {
@@ -109,11 +109,11 @@
109
109
  /* Buttons ------------------------------ */
110
110
 
111
111
  .button {
112
- background-color: #3869D4;
113
- border-top: 10px solid #3869D4;
114
- border-right: 18px solid #3869D4;
115
- border-bottom: 10px solid #3869D4;
116
- border-left: 18px solid #3869D4;
112
+ background-color: #6E56FF;
113
+ border-top: 10px solid #6E56FF;
114
+ border-right: 18px solid #6E56FF;
115
+ border-bottom: 10px solid #6E56FF;
116
+ border-left: 18px solid #6E56FF;
117
117
  display: inline-block;
118
118
  color: #FFF !important;
119
119
  text-decoration: none !important;
@@ -16,15 +16,11 @@
16
16
  cellspacing="0"
17
17
  >
18
18
  <img
19
- width="32"
20
19
  height="32"
21
20
  style="margin-right:16px; vertical-align: middle;"
22
21
  alt="Budibase Logo"
23
- src="https://i.imgur.com/Xhdt1YP.png"
22
+ src="https://res.cloudinary.com/daog6scxm/image/upload/v1696521007/Branding/Assets/Logo/RGB/Full%20Colour/Budibase_Logo_RGB_FullColour_Negative_e9yziz_1_u6oxzg.png"
24
23
  />
25
- <strong style="vertical-align: middle; font-size: 1.1em">
26
- Budibase
27
- </strong>
28
24
  </td>
29
25
  </tr>
30
26
  </tbody>
package/src/index.ts CHANGED
@@ -31,10 +31,6 @@ import destroyable from "server-destroy"
31
31
  import { initPro } from "./initPro"
32
32
  import { handleScimBody } from "./middleware/handleScimBody"
33
33
 
34
- // configure events to use the pro audit log write
35
- // can't integrate directly into backend-core due to cyclic issues
36
- events.processors.init(proSdk.auditLogs.write)
37
-
38
34
  if (coreEnv.ENABLE_SSO_MAINTENANCE_MODE) {
39
35
  console.warn(
40
36
  "Warning: ENABLE_SSO_MAINTENANCE_MODE is set. It is recommended this flag is disabled if maintenance is not in progress"
@@ -93,6 +89,9 @@ export default server.listen(parseInt(env.PORT || "4002"), async () => {
93
89
  console.log(`Worker running on ${JSON.stringify(server.address())}`)
94
90
  await initPro()
95
91
  await redis.init()
92
+ // configure events to use the pro audit log write
93
+ // can't integrate directly into backend-core due to cyclic issues
94
+ await events.processors.init(proSdk.auditLogs.write)
96
95
  })
97
96
 
98
97
  process.on("uncaughtException", err => {