@equinor/fusion-framework-module-context
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -6,2 +6,8 @@ # Change Log | ||
## [3.0.1](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@3.0.0...@equinor/fusion-framework-module-context@3.0.1) (2023-04-17) | ||
### Bug Fixes | ||
- **context:** handle promise rejection of setting context ([96a0054](https://github.com/equinor/fusion-framework/commit/96a0054f6b4e9f3250a2b09493efabe96bf1e2ba)) | ||
## 3.0.0 (2023-04-16) | ||
@@ -8,0 +14,0 @@ |
@@ -97,6 +97,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
})), filter((x) => !x.canceled), map(({ next }) => next)) | ||
.subscribe((next) => { | ||
.subscribe((next) => __awaiter(this, void 0, void 0, function* () { | ||
if (next) { | ||
try { | ||
this.setCurrentContext(next, { | ||
yield this.setCurrentContext(next, { | ||
validate: true, | ||
@@ -113,3 +113,3 @@ resolve: true, | ||
} | ||
})); | ||
}))); | ||
} | ||
@@ -116,0 +116,0 @@ } |
{ | ||
"name": "@equinor/fusion-framework-module-context", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "", | ||
@@ -47,3 +47,3 @@ "main": "./dist/esm/index.js", | ||
}, | ||
"gitHead": "3462d21feac22290eec2dce3b00602da22a7a74d" | ||
"gitHead": "f372db4cbee1e6a61491e331efd38fdf3460ab89" | ||
} |
@@ -150,6 +150,6 @@ import { lastValueFrom, Observable, Subscription, throwError } from 'rxjs'; | ||
) | ||
.subscribe((next) => { | ||
.subscribe(async (next) => { | ||
if (next) { | ||
try { | ||
this.setCurrentContext(next, { | ||
await this.setCurrentContext(next, { | ||
validate: true, | ||
@@ -156,0 +156,0 @@ resolve: true, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
230930