@kasko/fe-webapp-utils-lib
Advanced tools
Comparing version 2.9.0 to 2.9.1
# Changelog | ||
## [v2.9.1](https://github.com/kasko/fe-webapp-utils-lib/compare/v2.9.0...v2.9.1) (2025-02-18) | ||
## Bugfix | ||
- Skips fetching remote plugins if there are none to fetch; | ||
## [v2.9.0](https://github.com/kasko/fe-webapp-utils-lib/compare/v2.8.4...v2.9.0) (2024-11-08) | ||
@@ -4,0 +8,0 @@ ## Feature |
@@ -61,3 +61,3 @@ "use strict"; | ||
// package.json | ||
var version = "2.9.0"; | ||
var version = "2.9.1"; | ||
@@ -64,0 +64,0 @@ // src/utils/kasko-fetch.ts |
@@ -185,3 +185,3 @@ "use strict"; | ||
// package.json | ||
var version = "2.9.0"; | ||
var version = "2.9.1"; | ||
@@ -443,3 +443,3 @@ // src/utils/kasko-fetch.ts | ||
const pluginAppHost = !process.env.APP_HOST || process.env.APP_HOST === "dev" ? "eu1.kaskocloud.com" : process.env.APP_HOST; | ||
const remotePlugins = await kaskoFetch( | ||
const remotePlugins = Object.keys(plugins)?.length ? await kaskoFetch( | ||
`https://feapi.${pluginAppHost}/plugin_assets`, | ||
@@ -453,3 +453,3 @@ { | ||
} | ||
); | ||
) : []; | ||
for (const plugin of remotePlugins) { | ||
@@ -456,0 +456,0 @@ for (const { url } of plugin.files?.css || []) { |
{ | ||
"name": "@kasko/fe-webapp-utils-lib", | ||
"version": "2.9.0", | ||
"version": "2.9.1", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./dist/index.d.ts", |
922692