@budibase/server 2.3.18-alpha.13 → 2.3.18-alpha.15

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/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.3.18-alpha.12",
4
+ "version": "2.3.18-alpha.14",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -43,11 +43,11 @@
43
43
  "license": "GPL-3.0",
44
44
  "dependencies": {
45
45
  "@apidevtools/swagger-parser": "10.0.3",
46
- "@budibase/backend-core": "2.3.18-alpha.12",
47
- "@budibase/client": "2.3.18-alpha.12",
48
- "@budibase/pro": "2.3.18-alpha.12",
49
- "@budibase/string-templates": "2.3.18-alpha.12",
50
- "@budibase/types": "2.3.18-alpha.12",
46
+ "@budibase/backend-core": "2.3.18-alpha.14",
47
+ "@budibase/client": "2.3.18-alpha.14",
48
+ "@budibase/pro": "2.3.18-alpha.14",
49
+ "@budibase/string-templates": "2.3.18-alpha.14",
50
+ "@budibase/types": "2.3.18-alpha.14",
51
51
  "@bull-board/api": "3.7.0",
52
52
  "@bull-board/koa": "3.9.4",
53
53
  "@elastic/elasticsearch": "7.10.0",
@@ -87,6 +87,7 @@
87
87
  "koa-send": "5.0.0",
88
88
  "koa-session": "5.12.0",
89
89
  "koa-static": "5.0.0",
90
+ "koa-useragent": "^4.1.0",
90
91
  "koa2-ratelimit": "1.1.1",
91
92
  "lodash": "4.17.21",
92
93
  "memorystream": "0.3.1",
package/dist/startup.js CHANGED
@@ -141,6 +141,9 @@ function startup(app, server) {
141
141
  // get the references to the queue promises, don't await as
142
142
  // they will never end, unless the processing stops
143
143
  let queuePromises = [];
144
+ // configure events to use the pro audit log write
145
+ // can't integrate directly into backend-core due to cyclic issues
146
+ queuePromises.push(backend_core_1.events.processors.init(pro.sdk.auditLogs.write));
144
147
  queuePromises.push(automations.init());
145
148
  queuePromises.push(initPro());
146
149
  if (app) {