@vc-shell/framework 1.0.254 → 1.0.255

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.255](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.254...v1.0.255) (2024-07-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **core:** useDynamicModules fix ([b38d966](https://github.com/VirtoCommerce/vc-shell/commit/b38d9668b410d7bbb0d798f2218f2b6051416cc9))
7
+
8
+
9
+
1
10
  ## [1.0.254](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.253...v1.0.254) (2024-07-12)
2
11
 
3
12
 
@@ -35,8 +35,6 @@ function loadCSS(url: string) {
35
35
  }
36
36
 
37
37
  export function useDynamicModules(app: App, { router, appName }: { router: Router; appName: string }) {
38
- if (!appName) return;
39
-
40
38
  async function load() {
41
39
  try {
42
40
  const appsUrl = "/Modules/$(VirtoCommerce.MarketplaceVendor)/Content/apps.json";
@@ -5,5 +5,5 @@ export declare function useDynamicModules(app: App, { router, appName }: {
5
5
  appName: string;
6
6
  }): {
7
7
  load: () => Promise<void>;
8
- } | undefined;
8
+ };
9
9
  //# sourceMappingURL=loader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../../core/plugins/modularity/loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAU,MAAM,KAAK,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAmCpC,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE;;cA4DnG"}
1
+ {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../../core/plugins/modularity/loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAU,MAAM,KAAK,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAmCpC,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE;;EA0DnG"}
package/dist/framework.js CHANGED
@@ -52468,7 +52468,6 @@ function yge(t) {
52468
52468
  });
52469
52469
  }
52470
52470
  function bge(t, { router: e, appName: n }) {
52471
- if (!n) return;
52472
52471
  async function r() {
52473
52472
  try {
52474
52473
  const a = await fetch("/Modules/$(VirtoCommerce.MarketplaceVendor)/Content/apps.json").then((o) => o.json());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.254",
3
+ "version": "1.0.255",
4
4
  "type": "module",
5
5
  "main": "./dist/framework.js",
6
6
  "types": "./dist/index.d.ts",
@@ -61,9 +61,9 @@
61
61
  "devDependencies": {
62
62
  "@types/dompurify": "^3.0.5",
63
63
  "@types/quill": "^2.0.14",
64
- "@vc-shell/api-client-generator": "^1.0.254",
65
- "@vc-shell/config-generator": "^1.0.254",
66
- "@vc-shell/ts-config": "^1.0.254",
64
+ "@vc-shell/api-client-generator": "^1.0.255",
65
+ "@vc-shell/config-generator": "^1.0.255",
66
+ "@vc-shell/ts-config": "^1.0.255",
67
67
  "@vitejs/plugin-vue": "^5.0.3",
68
68
  "cypress-signalr-mock": "^1.5.0",
69
69
  "sass": "^1.69.6",