@budibase/worker 1.0.105-alpha.33 → 1.0.105-alpha.36
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 +7 -5
- package/src/index.ts +4 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/worker",
|
|
3
3
|
"email": "hi@budibase.com",
|
|
4
|
-
"version": "1.0.105-alpha.
|
|
4
|
+
"version": "1.0.105-alpha.36",
|
|
5
5
|
"description": "Budibase background service",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -31,15 +31,17 @@
|
|
|
31
31
|
"author": "Budibase",
|
|
32
32
|
"license": "GPL-3.0",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@budibase/backend-core": "^1.0.105-alpha.
|
|
35
|
-
"@budibase/pro": "
|
|
36
|
-
"@budibase/string-templates": "^1.0.105-alpha.
|
|
34
|
+
"@budibase/backend-core": "^1.0.105-alpha.36",
|
|
35
|
+
"@budibase/pro": "1.0.105-alpha.34",
|
|
36
|
+
"@budibase/string-templates": "^1.0.105-alpha.36",
|
|
37
37
|
"@koa/router": "^8.0.0",
|
|
38
38
|
"@sentry/node": "6.17.7",
|
|
39
39
|
"@techpass/passport-openidconnect": "^0.3.0",
|
|
40
|
+
"@types/global-agent": "^2.1.1",
|
|
40
41
|
"aws-sdk": "^2.811.0",
|
|
41
42
|
"bcryptjs": "^2.4.3",
|
|
42
43
|
"dotenv": "^8.2.0",
|
|
44
|
+
"global-agent": "^3.0.0",
|
|
43
45
|
"got": "^11.8.1",
|
|
44
46
|
"joi": "^17.4.0",
|
|
45
47
|
"koa": "^2.7.0",
|
|
@@ -87,5 +89,5 @@
|
|
|
87
89
|
"./scripts/jestSetup.js"
|
|
88
90
|
]
|
|
89
91
|
},
|
|
90
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "bdeb4c4b4226479c2c51eaf1518474811738bb9d"
|
|
91
93
|
}
|
package/src/index.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { Scope } from "@sentry/node"
|
|
3
3
|
import { Event } from "@sentry/types/dist/event"
|
|
4
4
|
import Application from "koa"
|
|
5
|
+
import { bootstrap } from "global-agent"
|
|
5
6
|
|
|
6
7
|
const env = require("./environment")
|
|
7
8
|
const CouchDB = require("./db")
|
|
@@ -17,6 +18,9 @@ const api = require("./api")
|
|
|
17
18
|
const redis = require("./utilities/redis")
|
|
18
19
|
const Sentry = require("@sentry/node")
|
|
19
20
|
|
|
21
|
+
// this will setup http and https proxies form env variables
|
|
22
|
+
bootstrap()
|
|
23
|
+
|
|
20
24
|
const app: Application = new Koa()
|
|
21
25
|
|
|
22
26
|
app.keys = ["secret", "key"]
|