@equinor/fusion-framework-module-app 8.1.0 → 8.1.2

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.
Files changed (52) hide show
  1. package/dist/esm/AppConfigurator.js +3 -1
  2. package/dist/esm/AppConfigurator.js.map +1 -1
  3. package/dist/esm/__tests__/actions.test.js +27 -0
  4. package/dist/esm/__tests__/actions.test.js.map +1 -0
  5. package/dist/esm/app/actions.js +1 -1
  6. package/dist/esm/app/actions.js.map +1 -1
  7. package/dist/esm/version.js +1 -1
  8. package/dist/tsconfig.tsbuildinfo +1 -1
  9. package/dist/types/AppConfigurator.d.ts +7 -1
  10. package/dist/types/__tests__/actions.test.d.ts +1 -0
  11. package/dist/types/version.d.ts +1 -1
  12. package/package.json +12 -9
  13. package/CHANGELOG.md +0 -1469
  14. package/src/AppClient.ts +0 -409
  15. package/src/AppConfig.ts +0 -99
  16. package/src/AppConfigSelector.ts +0 -25
  17. package/src/AppConfigurator.ts +0 -145
  18. package/src/AppModuleProvider.ts +0 -283
  19. package/src/__tests__/AppModuleProvider.test.ts +0 -47
  20. package/src/__tests__/MockAppClient.test.ts +0 -97
  21. package/src/app/App.ts +0 -984
  22. package/src/app/actions.ts +0 -112
  23. package/src/app/create-reducer.ts +0 -62
  24. package/src/app/create-state.ts +0 -52
  25. package/src/app/events.ts +0 -108
  26. package/src/app/filter-empty.ts +0 -11
  27. package/src/app/flows/handle-fetch-config.ts +0 -48
  28. package/src/app/flows/handle-fetch-manifest.ts +0 -53
  29. package/src/app/flows/handle-fetch-settings.ts +0 -50
  30. package/src/app/flows/handle-import-application.ts +0 -37
  31. package/src/app/flows/handle-update-settings.ts +0 -39
  32. package/src/app/flows/index.ts +0 -5
  33. package/src/app/index.ts +0 -10
  34. package/src/app/types.ts +0 -51
  35. package/src/enable-app-module.ts +0 -40
  36. package/src/errors/AppBuildError.ts +0 -47
  37. package/src/errors/AppConfigError.ts +0 -47
  38. package/src/errors/AppManifestError.ts +0 -47
  39. package/src/errors/AppScriptModuleError.ts +0 -20
  40. package/src/errors/AppSettingsError.ts +0 -47
  41. package/src/errors/app-error-type.ts +0 -9
  42. package/src/errors.ts +0 -6
  43. package/src/events.ts +0 -18
  44. package/src/index.ts +0 -40
  45. package/src/mock/MockAppClient.ts +0 -77
  46. package/src/mock/index.ts +0 -13
  47. package/src/module.ts +0 -59
  48. package/src/schemas.ts +0 -181
  49. package/src/types.ts +0 -263
  50. package/src/version.ts +0 -2
  51. package/tsconfig.json +0 -30
  52. package/vitest.config.ts +0 -11
@@ -31,6 +31,10 @@ export interface IAppConfigurator {
31
31
  /**
32
32
  * Sets the base URI used to proxy-load application script bundles.
33
33
  *
34
+ * Use this when the host exposes app resources through a proxy: the configured URI is
35
+ * prepended to each bundle path before the module imports it. A callback can resolve the
36
+ * proxy URI from the module initializer when it is not known statically.
37
+ *
34
38
  * @param base_or_cb - A static URI string or a callback returning one.
35
39
  */
36
40
  setAssetUri: (base_or_cb: string | ConfigBuilderCallback<string>) => void;
@@ -64,7 +68,9 @@ export declare class AppConfigurator extends BaseConfigBuilder<AppModuleConfig>
64
68
  /**
65
69
  * Sets the base URI used to proxy-load application script bundles.
66
70
  *
67
- * TODO(#5132) - explain why, used in import of resources aka proxy url
71
+ * Use this when the host exposes app resources through a proxy: the configured URI is
72
+ * prepended to each bundle path before the module imports it. A callback can resolve the
73
+ * proxy URI from the module initializer when it is not known statically.
68
74
  *
69
75
  * @param base_or_cb - A static URI string or a callback returning one.
70
76
  */
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1 @@
1
- export declare const version = "8.1.0";
1
+ export declare const version = "8.1.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-module-app",
3
- "version": "8.1.0",
3
+ "version": "8.1.2",
4
4
  "description": "",
5
5
  "main": "dist/esm/index.js",
6
6
  "exports": {
@@ -54,6 +54,9 @@
54
54
  "keywords": [],
55
55
  "author": "",
56
56
  "license": "ISC",
57
+ "files": [
58
+ "dist"
59
+ ],
57
60
  "publishConfig": {
58
61
  "access": "public"
59
62
  },
@@ -68,18 +71,18 @@
68
71
  "rxjs": "^7.8.1",
69
72
  "uuid": "^14.0.0",
70
73
  "zod": "^4.4.3",
71
- "@equinor/fusion-observable": "^9.2.1",
72
- "@equinor/fusion-query": "^7.0.4"
74
+ "@equinor/fusion-observable": "^9.2.2",
75
+ "@equinor/fusion-query": "^7.0.5"
73
76
  },
74
77
  "devDependencies": {
75
78
  "typescript": "^7.0.2",
76
79
  "vitest": "^4.1.10",
77
- "@equinor/fusion-framework-module-event": "^6.1.0",
78
- "@equinor/fusion-framework-module": "^6.1.3",
79
- "@equinor/fusion-framework-module-http": "^8.1.0",
80
- "@equinor/fusion-framework-module-msal": "^11.0.0",
81
- "@equinor/fusion-framework-module-service-discovery": "^10.1.0",
82
- "@equinor/fusion-framework": "^8.1.0"
80
+ "@equinor/fusion-framework": "^8.1.2",
81
+ "@equinor/fusion-framework-module-event": "^6.1.1",
82
+ "@equinor/fusion-framework-module-msal": "^11.0.2",
83
+ "@equinor/fusion-framework-module-service-discovery": "^10.1.1",
84
+ "@equinor/fusion-framework-module-http": "^8.1.1",
85
+ "@equinor/fusion-framework-module": "^6.1.4"
83
86
  },
84
87
  "scripts": {
85
88
  "build": "tsc -b",