@equinor/fusion-framework-vite-plugin-spa 1.0.0-next.7 → 1.0.0-next.8

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.
@@ -15,5 +15,5 @@
15
15
  * @constant
16
16
  * @type {string}
17
17
  */
18
- export declare const html = "\n <!DOCTYPE html>\n <html>\n <head>\n <title>%FUSION_SPA_TITLE%</title>\n <meta name=\"mode\" content=\"%MODE%\">\n <meta name=\"fusion-spa-plugin-version\" content=\"1.0.0-next.7\">\n <link rel=\"stylesheet\" href=\"https://cdn.eds.equinor.com/font/equinor-font.css\" />\n <script type=\"module\" src=\"%FUSION_SPA_BOOTSTRAP%\"></script>\n <script>\n // suppress console error for custom elements already defined. \n // WebComponents should be added by the portal, but not removed from application\n const _customElementsDefine = window.customElements.define;\n window.customElements.define = (name, cl, conf) => {\n if (!customElements.get(name)) {\n _customElementsDefine.call(window.customElements, name, cl, conf);\n }\n };\n </script>\n <style>\n html, body {\n margin: 0;\n padding: 0;\n height: 100%;\n font-family: 'EquinorFont', sans-serif;\n }\n </style>\n </head>\n <body></body>\n </html>\n";
18
+ export declare const html = "\n <!DOCTYPE html>\n <html>\n <head>\n <title>%FUSION_SPA_TITLE%</title>\n <meta name=\"mode\" content=\"%MODE%\">\n <meta name=\"fusion-spa-plugin-version\" content=\"1.0.0-next.8\">\n <link rel=\"stylesheet\" href=\"https://cdn.eds.equinor.com/font/equinor-font.css\" />\n <script type=\"module\" src=\"%FUSION_SPA_BOOTSTRAP%\"></script>\n <script>\n // suppress console error for custom elements already defined. \n // WebComponents should be added by the portal, but not removed from application\n const _customElementsDefine = window.customElements.define;\n window.customElements.define = (name, cl, conf) => {\n if (!customElements.get(name)) {\n _customElementsDefine.call(window.customElements, name, cl, conf);\n }\n };\n </script>\n <style>\n html, body {\n margin: 0;\n padding: 0;\n height: 100%;\n font-family: 'EquinorFont', sans-serif;\n }\n </style>\n </head>\n <body></body>\n </html>\n";
19
19
  export default html;
@@ -1 +1 @@
1
- export declare const version = "1.0.0-next.7";
1
+ export declare const version = "1.0.0-next.8";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-vite-plugin-spa",
3
- "version": "1.0.0-next.7",
3
+ "version": "1.0.0-next.8",
4
4
  "description": "Vite plugin for SPA development",
5
5
  "type": "module",
6
6
  "types": "dist/types/index.d.ts",
@@ -47,9 +47,9 @@
47
47
  "rollup": "^4.39.0",
48
48
  "typescript": "^5.5.4",
49
49
  "vite": "^6.3.5",
50
+ "@equinor/fusion-framework-module": "^4.4.3-next.1",
50
51
  "@equinor/fusion-framework-module-http": "^6.3.3-next.2",
51
52
  "@equinor/fusion-framework-module-msal": "^4.0.7-next.1",
52
- "@equinor/fusion-framework-module": "^4.4.3-next.1",
53
53
  "@equinor/fusion-framework-module-service-discovery": "^8.0.15-next.2"
54
54
  },
55
55
  "scripts": {
@@ -64,7 +64,7 @@ enableMSAL(configurator, (builder) => {
64
64
  await registerServiceWorker(ref);
65
65
 
66
66
  // create a client for the portal service - this is used to fetch the portal manifest
67
- const portalClient = await ref.serviceDiscovery.createClient('portals');
67
+ const portalClient = await ref.serviceDiscovery.createClient('portal-config');
68
68
 
69
69
  // fetch the portal manifest - this is used to load the portal template
70
70
  const portalId = import.meta.env.FUSION_SPA_PORTAL_ID;
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.0.0-next.7';
2
+ export const version = '1.0.0-next.8';