Merge branch 'master' of github.com:Budibase/budibase into develop

This commit is contained in:
Andrew Kingston 2021-07-07 13:16:26 +01:00
commit bf6762dd66
12 changed files with 36 additions and 25 deletions

View File

@ -1,5 +1,5 @@
{
"version": "0.9.70",
"version": "0.9.71",
"npmClient": "yarn",
"packages": [
"packages/*"

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/auth",
"version": "0.9.70",
"version": "0.9.71",
"description": "Authentication middlewares for budibase builder and apps",
"main": "src/index.js",
"author": "Budibase",

View File

@ -1,7 +1,7 @@
{
"name": "@budibase/bbui",
"description": "A UI solution used in the different Budibase projects.",
"version": "0.9.70",
"version": "0.9.71",
"license": "AGPL-3.0",
"svelte": "src/index.js",
"module": "dist/bbui.es.js",

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/builder",
"version": "0.9.70",
"version": "0.9.71",
"license": "AGPL-3.0",
"private": true,
"scripts": {
@ -65,10 +65,10 @@
}
},
"dependencies": {
"@budibase/bbui": "^0.9.70",
"@budibase/client": "^0.9.70",
"@budibase/bbui": "^0.9.71",
"@budibase/client": "^0.9.71",
"@budibase/colorpicker": "1.1.2",
"@budibase/string-templates": "^0.9.70",
"@budibase/string-templates": "^0.9.71",
"@sentry/browser": "5.19.1",
"@spectrum-css/page": "^3.0.1",
"@spectrum-css/vars": "^3.0.1",

View File

@ -74,7 +74,17 @@
// Initialise the app when mounted
iframe.contentWindow.addEventListener(
"ready",
() => refreshContent(strippedJson),
() => {
loading = false
refreshContent(strippedJson)
},
{ once: true }
)
// Use iframe loading event to support old client versions
iframe.contentWindow.addEventListener(
"iframe-loaded",
() => (loading = false),
{ once: true }
)
@ -99,7 +109,7 @@
idToDelete = data.id
confirmDeleteDialog.show()
} else if (type === "preview-loaded") {
loading = false
// loading = false
} else {
console.warning(`Client sent unknown event type: ${type}`)
}

View File

@ -72,6 +72,7 @@ export default `
if (window.loadBudibase) {
window.loadBudibase()
document.documentElement.classList.add("loaded")
window.dispatchEvent(new Event("iframe-loaded"))
} else {
throw "The client library couldn't be loaded"
}

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/cli",
"version": "0.9.70",
"version": "0.9.71",
"description": "Budibase CLI, for developers, self hosting and migrations.",
"main": "src/index.js",
"bin": {

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/client",
"version": "0.9.70",
"version": "0.9.71",
"license": "MPL-2.0",
"module": "dist/budibase-client.js",
"main": "dist/budibase-client.js",
@ -18,9 +18,9 @@
"dev:builder": "rollup -cw"
},
"dependencies": {
"@budibase/bbui": "^0.9.70",
"@budibase/standard-components": "^0.9.70",
"@budibase/string-templates": "^0.9.70",
"@budibase/bbui": "^0.9.71",
"@budibase/standard-components": "^0.9.71",
"@budibase/string-templates": "^0.9.71",
"regexparam": "^1.3.0",
"shortid": "^2.2.15",
"svelte-spa-router": "^3.0.5"

View File

@ -1,7 +1,7 @@
{
"name": "@budibase/server",
"email": "hi@budibase.com",
"version": "0.9.70",
"version": "0.9.71",
"description": "Budibase Web Server",
"main": "src/index.js",
"repository": {
@ -59,9 +59,9 @@
"author": "Budibase",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@budibase/auth": "^0.9.70",
"@budibase/client": "^0.9.70",
"@budibase/string-templates": "^0.9.70",
"@budibase/auth": "^0.9.71",
"@budibase/client": "^0.9.71",
"@budibase/string-templates": "^0.9.71",
"@elastic/elasticsearch": "7.10.0",
"@koa/router": "8.0.0",
"@sendgrid/mail": "7.1.1",
@ -114,7 +114,7 @@
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.4",
"@budibase/standard-components": "^0.9.70",
"@budibase/standard-components": "^0.9.71",
"@jest/test-sequencer": "^24.8.0",
"@types/bull": "^3.15.1",
"@types/jest": "^26.0.23",

View File

@ -29,11 +29,11 @@
"keywords": [
"svelte"
],
"version": "0.9.70",
"version": "0.9.71",
"license": "MIT",
"gitHead": "d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc",
"dependencies": {
"@budibase/bbui": "^0.9.70",
"@budibase/bbui": "^0.9.71",
"@spectrum-css/card": "^3.0.3",
"@spectrum-css/link": "^3.1.3",
"@spectrum-css/page": "^3.0.1",

View File

@ -1,6 +1,6 @@
{
"name": "@budibase/string-templates",
"version": "0.9.70",
"version": "0.9.71",
"description": "Handlebars wrapper for Budibase templating.",
"main": "src/index.cjs",
"module": "dist/bundle.mjs",

View File

@ -1,7 +1,7 @@
{
"name": "@budibase/worker",
"email": "hi@budibase.com",
"version": "0.9.70",
"version": "0.9.71",
"description": "Budibase background service",
"main": "src/index.js",
"repository": {
@ -21,8 +21,8 @@
"author": "Budibase",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@budibase/auth": "^0.9.70",
"@budibase/string-templates": "^0.9.70",
"@budibase/auth": "^0.9.71",
"@budibase/string-templates": "^0.9.71",
"@koa/router": "^8.0.0",
"aws-sdk": "^2.811.0",
"bcryptjs": "^2.4.3",