@budibase/worker 2.4.16 → 2.4.18

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.4.16",
4
+ "version": "2.4.18",
5
5
  "description": "Budibase background service",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -36,10 +36,10 @@
36
36
  "author": "Budibase",
37
37
  "license": "GPL-3.0",
38
38
  "dependencies": {
39
- "@budibase/backend-core": "^2.4.16",
40
- "@budibase/pro": "2.4.15",
41
- "@budibase/string-templates": "^2.4.16",
42
- "@budibase/types": "^2.4.16",
39
+ "@budibase/backend-core": "^2.4.18",
40
+ "@budibase/pro": "2.4.17",
41
+ "@budibase/string-templates": "^2.4.18",
42
+ "@budibase/types": "^2.4.18",
43
43
  "@koa/router": "8.0.8",
44
44
  "@sentry/node": "6.17.7",
45
45
  "@techpass/passport-openidconnect": "0.3.2",
@@ -101,5 +101,5 @@
101
101
  "typescript": "4.7.3",
102
102
  "update-dotenv": "1.1.1"
103
103
  },
104
- "gitHead": "199f09a76852b2bea120c5525b19e411d7977b14"
104
+ "gitHead": "e73b6d3cded7b7ec40fb31e0665c4e1a43423202"
105
105
  }
@@ -287,7 +287,7 @@ export async function publicSettings(
287
287
 
288
288
  // google
289
289
  const googleConfig = await configs.getGoogleConfig()
290
- const preActivated = googleConfig?.activated == null
290
+ const preActivated = googleConfig && googleConfig.activated == null
291
291
  const google = preActivated || !!googleConfig?.activated
292
292
  const _googleCallbackUrl = await googleCallbackUrl(googleConfig)
293
293
 
@@ -288,7 +288,7 @@ describe("configs", () => {
288
288
  company: "Budibase",
289
289
  logoUrl: "",
290
290
  analyticsEnabled: false,
291
- google: true,
291
+ google: false,
292
292
  googleCallbackUrl: `http://localhost:10000/api/global/auth/${config.tenantId}/google/callback`,
293
293
  isSSOEnforced: false,
294
294
  oidc: false,