@iankibetsh/shframework 5.7.0 → 5.7.5

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/dist/library.js CHANGED
@@ -2107,7 +2107,7 @@ const selectedCountry = vue.ref({
2107
2107
  flag: 'https://www.countryflags.io/KE/flat/64.png'
2108
2108
  });
2109
2109
  const flag = vue.computed(()=> {
2110
- const homeUrl = undefined.VITE_APP_HOME_URL;
2110
+ const homeUrl = undefined.VITE_APP_HOME_URL ?? '/';
2111
2111
  if (selectedCountry.value) {
2112
2112
  return homeUrl + 'flags/' + selectedCountry.value.isoCode.toLowerCase() + '.svg';
2113
2113
  }
package/dist/library.mjs CHANGED
@@ -2096,7 +2096,7 @@ const selectedCountry = ref({
2096
2096
  flag: 'https://www.countryflags.io/KE/flat/64.png'
2097
2097
  });
2098
2098
  const flag = computed(()=> {
2099
- const homeUrl = import.meta.env.VITE_APP_HOME_URL;
2099
+ const homeUrl = import.meta.env.VITE_APP_HOME_URL ?? '/';
2100
2100
  if (selectedCountry.value) {
2101
2101
  return homeUrl + 'flags/' + selectedCountry.value.isoCode.toLowerCase() + '.svg';
2102
2102
  }
package/package.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "5.7.0",
3
+ "version": "5.7.5",
4
4
  "description": "Vue library for handling laravel backend",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/iankibet/shframework.git"
8
+ },
5
9
  "main": "dist/library.js",
6
10
  "module": "dist/library.mjs",
7
11
  "files": [