@budibase/server 2.4.44-alpha.3 → 2.4.44-alpha.5

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/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.4.44-alpha.3",
4
+ "version": "2.4.44-alpha.5",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -44,12 +44,12 @@
44
44
  "license": "GPL-3.0",
45
45
  "dependencies": {
46
46
  "@apidevtools/swagger-parser": "10.0.3",
47
- "@budibase/backend-core": "2.4.44-alpha.3",
48
- "@budibase/client": "2.4.44-alpha.3",
49
- "@budibase/pro": "2.4.44-alpha.2",
50
- "@budibase/shared-core": "2.4.44-alpha.3",
51
- "@budibase/string-templates": "2.4.44-alpha.3",
52
- "@budibase/types": "2.4.44-alpha.3",
47
+ "@budibase/backend-core": "2.4.44-alpha.5",
48
+ "@budibase/client": "2.4.44-alpha.5",
49
+ "@budibase/pro": "2.4.44-alpha.4",
50
+ "@budibase/shared-core": "2.4.44-alpha.5",
51
+ "@budibase/string-templates": "2.4.44-alpha.5",
52
+ "@budibase/types": "2.4.44-alpha.5",
53
53
  "@bull-board/api": "3.7.0",
54
54
  "@bull-board/koa": "3.9.4",
55
55
  "@elastic/elasticsearch": "7.10.0",
@@ -99,7 +99,7 @@
99
99
  "node-fetch": "2.6.7",
100
100
  "open": "8.4.0",
101
101
  "pg": "8.5.1",
102
- "pino-pretty": "4.0.0",
102
+ "pino-pretty": "5.1.3",
103
103
  "posthog-node": "1.3.0",
104
104
  "pouchdb": "7.3.0",
105
105
  "pouchdb-adapter-memory": "7.2.2",
@@ -176,5 +176,5 @@
176
176
  "optionalDependencies": {
177
177
  "oracledb": "5.3.0"
178
178
  },
179
- "gitHead": "e6449a30351b2c3ffe9fe3d8b5e5fa02861b3ae3"
179
+ "gitHead": "68a3f6f075c9fbea115278fdae880ce095deee71"
180
180
  }
@@ -151,6 +151,9 @@ class RestIntegration implements IntegrationBase {
151
151
  data = data[keys[0]]
152
152
  }
153
153
  raw = rawXml
154
+ } else if (contentType.includes("application/pdf")) {
155
+ data = await response.arrayBuffer() // Save PDF as ArrayBuffer
156
+ raw = Buffer.from(data)
154
157
  } else {
155
158
  data = await response.text()
156
159
  raw = data