@vc-shell/framework 1.0.76 → 1.0.77

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [1.0.77](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.76...v1.0.77) (2023-06-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * base url ([848feb7](https://github.com/VirtoCommerce/vc-shell/commit/848feb7e607cdfc6eb230e3c392ed4ca92457596))
7
+
8
+
9
+
1
10
  ## [1.0.76](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.75...v1.0.76) (2023-06-22)
2
11
 
3
12
 
@@ -49231,7 +49231,7 @@ const O3 = wj, _j = { class: "vc-app tw-w-full tw-h-full tw-box-border tw-flex t
49231
49231
  }, k = () => {
49232
49232
  v.value = !v.value, v.value && (h.value = !1, E.loginOrEmail = "", l.value.error = "");
49233
49233
  }, L = async () => {
49234
- await c("AzureAD", window.location.origin), await a();
49234
+ await c("AzureAD", "/"), await a();
49235
49235
  };
49236
49236
  return console.debug("Init login-page"), (R, N) => {
49237
49237
  const B = Ye("VcInput"), D = Ye("VcButton"), P = Ye("vc-button"), M = Ye("VcForm"), U = Ye("VcHint"), F = Ye("VcLoginForm");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.76",
3
+ "version": "1.0.77",
4
4
  "main": "./dist/framework.mjs",
5
5
  "module": "./dist/framework.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -56,8 +56,8 @@
56
56
  "whatwg-fetch": "^3.6.2"
57
57
  },
58
58
  "devDependencies": {
59
- "@vc-shell/api-client-generator": "^1.0.76",
60
- "@vc-shell/config-generator": "^1.0.76",
59
+ "@vc-shell/api-client-generator": "^1.0.77",
60
+ "@vc-shell/config-generator": "^1.0.77",
61
61
  "@vitejs/plugin-vue": "^4.2.3",
62
62
  "sass": "^1.62.1",
63
63
  "typescript": "~5.0.4",
@@ -286,7 +286,7 @@ const togglePassRequest = () => {
286
286
  };
287
287
 
288
288
  const azureSignOn = async () => {
289
- await externalSignIn("AzureAD", window.location.origin);
289
+ await externalSignIn("AzureAD", import.meta.env.BASE_URL);
290
290
  await loadUser();
291
291
  };
292
292