@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.
- package/CHANGELOG.md +28 -0
- package/dist/esm/ContextProvider.js +6 -2
- package/dist/esm/ContextProvider.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +5 -5
- package/src/ContextProvider.ts +6 -2
- package/src/version.ts +1 -1
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "7.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.
|
|
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": "^
|
|
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": "^
|
|
56
|
-
"@equinor/fusion-framework-module
|
|
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.
|
|
60
|
+
"@equinor/fusion-framework-module": "^5.0.3"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build": "tsc -b"
|
package/src/ContextProvider.ts
CHANGED
|
@@ -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
|
-
|
|
391
|
-
|
|
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.
|
|
2
|
+
export const version = '7.0.1';
|