@equinor/fusion-framework-module-context 7.0.0 → 7.0.1

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.
@@ -1 +1 @@
1
- export declare const version = "7.0.0";
1
+ export declare const version = "7.0.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-module-context",
3
- "version": "7.0.0",
3
+ "version": "7.0.1",
4
4
  "description": "",
5
5
  "main": "./dist/esm/index.js",
6
6
  "exports": {
@@ -45,19 +45,19 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "fast-deep-equal": "^3.1.3",
48
- "@equinor/fusion-query": "^5.2.11"
48
+ "@equinor/fusion-query": "^6.0.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "rxjs": "^7.8.1",
52
52
  "typescript": "^5.8.2",
53
53
  "@equinor/fusion-framework-module-event": "^4.3.7",
54
54
  "@equinor/fusion-framework-module-navigation": "^6.0.0",
55
- "@equinor/fusion-framework-module": "^5.0.0",
56
- "@equinor/fusion-framework-module-services": "^7.0.0"
55
+ "@equinor/fusion-framework-module-services": "^7.1.2",
56
+ "@equinor/fusion-framework-module": "^5.0.3"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "rxjs": "^7.8.1",
60
- "@equinor/fusion-framework-module": "^5.0.0"
60
+ "@equinor/fusion-framework-module": "^5.0.3"
61
61
  },
62
62
  "scripts": {
63
63
  "build": "tsc -b"
@@ -387,8 +387,12 @@ export class ContextProvider implements IContextProvider {
387
387
  this.#event = event;
388
388
 
389
389
  // set the resolve and validate context functions
390
- config.resolveContext && (this.resolveContext = config.resolveContext?.bind(this));
391
- config.validateContext && (this.validateContext = config.validateContext?.bind(this));
390
+ if (config.resolveContext) {
391
+ this.resolveContext = config.resolveContext?.bind(this);
392
+ }
393
+ if (config.validateContext) {
394
+ this.validateContext = config.validateContext?.bind(this);
395
+ }
392
396
 
393
397
  if (config.extractContextIdFromPath) {
394
398
  // @ts-ignore
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '7.0.0';
2
+ export const version = '7.0.1';