From 9934077711048d15981db7a38f7ea8797a764be7 Mon Sep 17 00:00:00 2001 From: Anton Date: Wed, 5 Aug 2020 20:42:42 +0300 Subject: [PATCH] header connection / version bump --- package.json | 8 ++++---- src/header/Header.svelte | 19 +++++++++++-------- yarn.lock | 34 +++++++++++++++++----------------- 3 files changed, 32 insertions(+), 29 deletions(-) diff --git a/package.json b/package.json index baab8ba..77b2499 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Elastron", - "version": "1.2.2", + "version": "1.2.3", "description": "Full featured elasticsearch client", "main": "main.js", "scripts": { @@ -61,7 +61,7 @@ "@storeon/router": "^1.2.0", "@storeon/svelte": "^1.0.0", "axios": "^0.19.2", - "elasticdump": "^6.33.1", + "elasticdump": "^6.33.2", "electron-log": "^4.2.2", "electron-updater": "^4.3.4", "jsoneditor": "^9.0.3", @@ -87,8 +87,8 @@ "rollup-plugin-replace": "^2.2.0", "rollup-plugin-svelte": "^5.2.3", "rollup-plugin-terser": "^6.1.0", - "svelte": "^3.24.0", - "svelte-preprocess": "^4.0.9" + "svelte": "^3.24.1", + "svelte-preprocess": "^4.0.10" }, "prettier": { "trailingComma": "es5", diff --git a/src/header/Header.svelte b/src/header/Header.svelte index f979169..9e80739 100644 --- a/src/header/Header.svelte +++ b/src/header/Header.svelte @@ -29,7 +29,7 @@ ) } - const { [routerKey]: route } = useStoreon(routerKey) + const { [routerKey]: route, connection } = useStoreon(routerKey, 'connection')