@equinor/fusion-framework 7.3.4 → 7.3.6

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,5 +1,23 @@
1
1
  # Change Log
2
2
 
3
+ ## 7.3.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`134863f`](https://github.com/equinor/fusion-framework/commit/134863fa96bcd5f799bc621f755b1605d0c1255c)]:
8
+ - @equinor/fusion-framework-module-services@5.1.3
9
+ - @equinor/fusion-framework-module-context@5.1.1
10
+ - @equinor/fusion-framework-module-service-discovery@8.0.10
11
+
12
+ ## 7.3.5
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [[`e164abc`](https://github.com/equinor/fusion-framework/commit/e164abcf52ff84d181ed5406d2a28441d54da9a8)]:
17
+ - @equinor/fusion-framework-module-http@6.2.4
18
+ - @equinor/fusion-framework-module-service-discovery@8.0.9
19
+ - @equinor/fusion-framework-module-services@5.1.2
20
+
3
21
  ## 7.3.4
4
22
 
5
23
  ### Patch Changes
package/dist/esm/init.js CHANGED
@@ -1,12 +1,3 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
1
  /**
11
2
  *
12
3
  * @template TModules addition modules
@@ -16,14 +7,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
16
7
  * @param ref optional references
17
8
  * @returns instance of framework modules
18
9
  */
19
- export const init = (configurator, ref) => __awaiter(void 0, void 0, void 0, function* () {
20
- const modules = yield configurator.initialize(ref);
10
+ export const init = async (configurator, ref) => {
11
+ const modules = await configurator.initialize(ref);
21
12
  const fusion = {
22
13
  modules,
23
14
  };
24
15
  window.Fusion = fusion;
25
16
  modules.event.dispatchEvent('onFrameworkLoaded', { detail: fusion });
26
17
  return fusion;
27
- });
18
+ };
28
19
  export default init;
29
20
  //# sourceMappingURL=init.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"init.js","sourceRoot":"","sources":["../../src/init.ts"],"names":[],"mappings":";;;;;;;;;AAKA;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,CAClB,YAA6C,EAC7C,GAAU,EACiB,EAAE;IAC7B,MAAM,OAAO,GAAG,MAAM,YAAY,CAAC,UAAU,CAAgB,GAAG,CAAC,CAAC;IAClE,MAAM,MAAM,GAAG;QACb,OAAO;KACR,CAAC;IACF,MAAM,CAAC,MAAM,GAAG,MAA2B,CAAC;IAC5C,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,mBAAmB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAErE,OAAO,MAAqC,CAAC;AAC/C,CAAC,CAAA,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"init.js","sourceRoot":"","sources":["../../src/init.ts"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,EACvB,YAA6C,EAC7C,GAAU,EACiB,EAAE;IAC7B,MAAM,OAAO,GAAG,MAAM,YAAY,CAAC,UAAU,CAAgB,GAAG,CAAC,CAAC;IAClE,MAAM,MAAM,GAAG;QACb,OAAO;KACR,CAAC;IACF,MAAM,CAAC,MAAM,GAAG,MAA2B,CAAC;IAC5C,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,mBAAmB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAErE,OAAO,MAAqC,CAAC;AAC/C,CAAC,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '7.3.4';
2
+ export const version = '7.3.6';
3
3
  //# sourceMappingURL=version.js.map