@equinor/fusion-framework-react-module-context 6.0.20 → 6.1.0

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,141 +1,179 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1760](https://github.com/equinor/fusion-framework/pull/1760) [`6e6ee6b`](https://github.com/equinor/fusion-framework/commit/6e6ee6b7ce280820111e8b98ac8377efb15808ef) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - - Add FusionContextSearchError.
8
+
9
+ - Potential _BREAKING_:
10
+ - Error in `ContextProvider.ts` are now unwrapped if the thrown error is
11
+ `QueryClientError`.
12
+
13
+ ```diff
14
+ index 114f430b1..2640c9a55 100644
15
+ --- a/packages/modules/context/src/ContextProvider.ts
16
+ +++ b/packages/modules/context/src/ContextProvider.ts
17
+ @@ -406,7 +407,15 @@ export class ContextProvider implements IContextProvider {
18
+ /* @ts-ignore */
19
+ this.#contextParameterFn({ search, type: this.#contextType }),
20
+ )
21
+ - .pipe(map((x) => x.value));
22
+ + .pipe(
23
+ + catchError((err) => {
24
+ + if (err.name === 'QueryClientError') {
25
+ + throw err.cause;
26
+ + }
27
+ + throw err;
28
+ + }),
29
+ + map((x) => x.value),
30
+ + );
31
+
32
+ return this.#contextFilter ? query$.pipe(map(this.#contextFilter)) : query$;
33
+ }
34
+ ```
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies [[`6e6ee6b`](https://github.com/equinor/fusion-framework/commit/6e6ee6b7ce280820111e8b98ac8377efb15808ef)]:
39
+ - @equinor/fusion-framework-module-context@4.1.0
40
+
3
41
  ## 6.0.20
4
42
 
5
43
  ### Patch Changes
6
44
 
7
- - Updated dependencies []:
8
- - @equinor/fusion-framework-module-context@4.0.21
9
- - @equinor/fusion-framework-react-module@3.0.8
45
+ - Updated dependencies []:
46
+ - @equinor/fusion-framework-module-context@4.0.21
47
+ - @equinor/fusion-framework-react-module@3.0.8
10
48
 
11
49
  ## 6.0.19
12
50
 
13
51
  ### Patch Changes
14
52
 
15
- - Updated dependencies [[`036546f`](https://github.com/equinor/fusion-framework/commit/036546f2e3d9c0d289c7145da84e940673027b5e), [`d0c0c6a`](https://github.com/equinor/fusion-framework/commit/d0c0c6a971a478e3f447663bf50b4e3a7cb1517e)]:
16
- - @equinor/fusion-observable@8.1.5
17
- - @equinor/fusion-query@4.0.6
18
- - @equinor/fusion-framework-module-context@4.0.20
53
+ - Updated dependencies [[`036546f`](https://github.com/equinor/fusion-framework/commit/036546f2e3d9c0d289c7145da84e940673027b5e), [`d0c0c6a`](https://github.com/equinor/fusion-framework/commit/d0c0c6a971a478e3f447663bf50b4e3a7cb1517e)]:
54
+ - @equinor/fusion-observable@8.1.5
55
+ - @equinor/fusion-query@4.0.6
56
+ - @equinor/fusion-framework-module-context@4.0.20
19
57
 
20
58
  ## 6.0.18
21
59
 
22
60
  ### Patch Changes
23
61
 
24
- - Updated dependencies [[`6ffaabf`](https://github.com/equinor/fusion-framework/commit/6ffaabf120704f2f4f4074a0fa0a17faf77fe22a)]:
25
- - @equinor/fusion-observable@8.1.4
26
- - @equinor/fusion-query@4.0.5
27
- - @equinor/fusion-framework-module-context@4.0.19
62
+ - Updated dependencies [[`6ffaabf`](https://github.com/equinor/fusion-framework/commit/6ffaabf120704f2f4f4074a0fa0a17faf77fe22a)]:
63
+ - @equinor/fusion-observable@8.1.4
64
+ - @equinor/fusion-query@4.0.5
65
+ - @equinor/fusion-framework-module-context@4.0.19
28
66
 
29
67
  ## 6.0.17
30
68
 
31
69
  ### Patch Changes
32
70
 
33
- - [#1595](https://github.com/equinor/fusion-framework/pull/1595) [`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125) Thanks [@Gustav-Eikaas](https://github.com/Gustav-Eikaas)! - support for module resolution NodeNext & Bundler
71
+ - [#1595](https://github.com/equinor/fusion-framework/pull/1595) [`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125) Thanks [@Gustav-Eikaas](https://github.com/Gustav-Eikaas)! - support for module resolution NodeNext & Bundler
34
72
 
35
- - Updated dependencies [[`4ab2df5`](https://github.com/equinor/fusion-framework/commit/4ab2df5c83439f7fe3fe0846c005427e1793b576), [`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
36
- - @equinor/fusion-framework-module-context@4.0.18
37
- - @equinor/fusion-observable@8.1.3
38
- - @equinor/fusion-query@4.0.4
39
- - @equinor/fusion-framework-react-module@3.0.7
73
+ - Updated dependencies [[`4ab2df5`](https://github.com/equinor/fusion-framework/commit/4ab2df5c83439f7fe3fe0846c005427e1793b576), [`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
74
+ - @equinor/fusion-framework-module-context@4.0.18
75
+ - @equinor/fusion-observable@8.1.3
76
+ - @equinor/fusion-query@4.0.4
77
+ - @equinor/fusion-framework-react-module@3.0.7
40
78
 
41
79
  ## 6.0.16
42
80
 
43
81
  ### Patch Changes
44
82
 
45
- - Updated dependencies [[`446b63ce`](https://github.com/equinor/fusion-framework/commit/446b63ce44b59a3aaab4399c0d877d3a1b560a0e)]:
46
- - @equinor/fusion-query@4.0.3
47
- - @equinor/fusion-framework-module-context@4.0.17
83
+ - Updated dependencies [[`446b63ce`](https://github.com/equinor/fusion-framework/commit/446b63ce44b59a3aaab4399c0d877d3a1b560a0e)]:
84
+ - @equinor/fusion-query@4.0.3
85
+ - @equinor/fusion-framework-module-context@4.0.17
48
86
 
49
87
  ## 6.0.15
50
88
 
51
89
  ### Patch Changes
52
90
 
53
- - Updated dependencies [[`7ad31761`](https://github.com/equinor/fusion-framework/commit/7ad3176102f92da108b67ede6fdf29b76149bed9)]:
54
- - @equinor/fusion-query@4.0.2
55
- - @equinor/fusion-framework-module-context@4.0.16
91
+ - Updated dependencies [[`7ad31761`](https://github.com/equinor/fusion-framework/commit/7ad3176102f92da108b67ede6fdf29b76149bed9)]:
92
+ - @equinor/fusion-query@4.0.2
93
+ - @equinor/fusion-framework-module-context@4.0.16
56
94
 
57
95
  ## 6.0.14
58
96
 
59
97
  ### Patch Changes
60
98
 
61
- - [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
99
+ - [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
62
100
 
63
- - Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
64
- - @equinor/fusion-framework-module-context@4.0.15
65
- - @equinor/fusion-framework-react-module@3.0.6
66
- - @equinor/fusion-observable@8.1.2
67
- - @equinor/fusion-query@4.0.1
101
+ - Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
102
+ - @equinor/fusion-framework-module-context@4.0.15
103
+ - @equinor/fusion-framework-react-module@3.0.6
104
+ - @equinor/fusion-observable@8.1.2
105
+ - @equinor/fusion-query@4.0.1
68
106
 
69
107
  ## 6.0.13
70
108
 
71
109
  ### Patch Changes
72
110
 
73
- - Updated dependencies [[`ebcabd0e`](https://github.com/equinor/fusion-framework/commit/ebcabd0e6945e1420a0a9a7d82bd9255da1b8578), [`8739a5a6`](https://github.com/equinor/fusion-framework/commit/8739a5a65d8aaa46ce9ef56cce013efeeb006e8a)]:
74
- - @equinor/fusion-query@4.0.0
75
- - @equinor/fusion-framework-module-context@4.0.14
111
+ - Updated dependencies [[`ebcabd0e`](https://github.com/equinor/fusion-framework/commit/ebcabd0e6945e1420a0a9a7d82bd9255da1b8578), [`8739a5a6`](https://github.com/equinor/fusion-framework/commit/8739a5a65d8aaa46ce9ef56cce013efeeb006e8a)]:
112
+ - @equinor/fusion-query@4.0.0
113
+ - @equinor/fusion-framework-module-context@4.0.14
76
114
 
77
115
  ## 6.0.12
78
116
 
79
117
  ### Patch Changes
80
118
 
81
- - Updated dependencies [[`6f64d1aa`](https://github.com/equinor/fusion-framework/commit/6f64d1aa5e44af37f0abd76cef36e87761134760), [`758eaaf4`](https://github.com/equinor/fusion-framework/commit/758eaaf436ae28d180e7d91818b41abe0d9624c4)]:
82
- - @equinor/fusion-observable@8.1.1
83
- - @equinor/fusion-query@3.0.7
84
- - @equinor/fusion-framework-module-context@4.0.13
85
- - @equinor/fusion-framework-react-module@3.0.5
119
+ - Updated dependencies [[`6f64d1aa`](https://github.com/equinor/fusion-framework/commit/6f64d1aa5e44af37f0abd76cef36e87761134760), [`758eaaf4`](https://github.com/equinor/fusion-framework/commit/758eaaf436ae28d180e7d91818b41abe0d9624c4)]:
120
+ - @equinor/fusion-observable@8.1.1
121
+ - @equinor/fusion-query@3.0.7
122
+ - @equinor/fusion-framework-module-context@4.0.13
123
+ - @equinor/fusion-framework-react-module@3.0.5
86
124
 
87
125
  ## 6.0.11
88
126
 
89
127
  ### Patch Changes
90
128
 
91
- - Updated dependencies [[`066d843c`](https://github.com/equinor/fusion-framework/commit/066d843c88cb974150f23f4fb9e7d0b066c93594)]:
92
- - @equinor/fusion-query@3.0.6
93
- - @equinor/fusion-framework-module-context@4.0.12
129
+ - Updated dependencies [[`066d843c`](https://github.com/equinor/fusion-framework/commit/066d843c88cb974150f23f4fb9e7d0b066c93594)]:
130
+ - @equinor/fusion-query@3.0.6
131
+ - @equinor/fusion-framework-module-context@4.0.12
94
132
 
95
133
  ## 6.0.10
96
134
 
97
135
  ### Patch Changes
98
136
 
99
- - [#1109](https://github.com/equinor/fusion-framework/pull/1109) [`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862) Thanks [@odinr](https://github.com/odinr)! - Change packaged manager from yarn to pnpm
137
+ - [#1109](https://github.com/equinor/fusion-framework/pull/1109) [`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862) Thanks [@odinr](https://github.com/odinr)! - Change packaged manager from yarn to pnpm
100
138
 
101
- conflicts of `@types/react` made random outcomes when using `yarn`
139
+ conflicts of `@types/react` made random outcomes when using `yarn`
102
140
 
103
- this change should not affect consumer of the packages, but might conflict dependent on local package manager.
141
+ this change should not affect consumer of the packages, but might conflict dependent on local package manager.
104
142
 
105
- - [#1125](https://github.com/equinor/fusion-framework/pull/1125) [`2dccccd1`](https://github.com/equinor/fusion-framework/commit/2dccccd124fbe3cdde2132c29c27d3da9fc6f1f5) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump react and @types/react to react 18.2
143
+ - [#1125](https://github.com/equinor/fusion-framework/pull/1125) [`2dccccd1`](https://github.com/equinor/fusion-framework/commit/2dccccd124fbe3cdde2132c29c27d3da9fc6f1f5) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump react and @types/react to react 18.2
106
144
 
107
- only dev deps updated should not affect any consumers
145
+ only dev deps updated should not affect any consumers
108
146
 
109
- see [react changelog](https://github.com/facebook/react/releases) for details
147
+ see [react changelog](https://github.com/facebook/react/releases) for details
110
148
 
111
- - Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`2dccccd1`](https://github.com/equinor/fusion-framework/commit/2dccccd124fbe3cdde2132c29c27d3da9fc6f1f5), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
112
- - @equinor/fusion-framework-react-module@3.0.4
113
- - @equinor/fusion-observable@8.1.0
114
- - @equinor/fusion-framework-module-context@4.0.11
115
- - @equinor/fusion-query@3.0.5
149
+ - Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`2dccccd1`](https://github.com/equinor/fusion-framework/commit/2dccccd124fbe3cdde2132c29c27d3da9fc6f1f5), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
150
+ - @equinor/fusion-framework-react-module@3.0.4
151
+ - @equinor/fusion-observable@8.1.0
152
+ - @equinor/fusion-framework-module-context@4.0.11
153
+ - @equinor/fusion-query@3.0.5
116
154
 
117
155
  ## 6.0.9
118
156
 
119
157
  ### Patch Changes
120
158
 
121
- - [#905](https://github.com/equinor/fusion-framework/pull/905) [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c) Thanks [@odinr](https://github.com/odinr)! - **🚧 Chore: dedupe packages**
159
+ - [#905](https://github.com/equinor/fusion-framework/pull/905) [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c) Thanks [@odinr](https://github.com/odinr)! - **🚧 Chore: dedupe packages**
122
160
 
123
- - align all versions of typescript
124
- - update types to build
125
- - a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
161
+ - align all versions of typescript
162
+ - update types to build
163
+ - a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
126
164
 
127
- - Updated dependencies [[`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c)]:
128
- - @equinor/fusion-framework-module-context@4.0.9
129
- - @equinor/fusion-framework-react-module@3.0.3
165
+ - Updated dependencies [[`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c)]:
166
+ - @equinor/fusion-framework-module-context@4.0.9
167
+ - @equinor/fusion-framework-react-module@3.0.3
130
168
 
131
169
  ## 6.0.8
132
170
 
133
171
  ### Patch Changes
134
172
 
135
- - [#898](https://github.com/equinor/fusion-framework/pull/898) [`4551142e`](https://github.com/equinor/fusion-framework/commit/4551142ededdb2f1bf74eae552da26d28cd23057) Thanks [@odinr](https://github.com/odinr)! - refactor(module-react-context): expose module and configurator interface from context module
173
+ - [#898](https://github.com/equinor/fusion-framework/pull/898) [`4551142e`](https://github.com/equinor/fusion-framework/commit/4551142ededdb2f1bf74eae552da26d28cd23057) Thanks [@odinr](https://github.com/odinr)! - refactor(module-react-context): expose module and configurator interface from context module
136
174
 
137
- - Updated dependencies [[`4551142e`](https://github.com/equinor/fusion-framework/commit/4551142ededdb2f1bf74eae552da26d28cd23057)]:
138
- - @equinor/fusion-framework-module-context@4.0.8
175
+ - Updated dependencies [[`4551142e`](https://github.com/equinor/fusion-framework/commit/4551142ededdb2f1bf74eae552da26d28cd23057)]:
176
+ - @equinor/fusion-framework-module-context@4.0.8
139
177
 
140
178
  All notable changes to this project will be documented in this file.
141
179
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
@@ -172,11 +210,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
172
210
 
173
211
  ### ⚠ BREAKING CHANGES
174
212
 
175
- - **module-context:** `ContextProvider.setCurrentContext` now returns an `Observable`
213
+ - **module-context:** `ContextProvider.setCurrentContext` now returns an `Observable`
176
214
 
177
215
  ### Features
178
216
 
179
- - **module-context:** make setting context as an observable ([21e1c6b](https://github.com/equinor/fusion-framework/commit/21e1c6b64f541ec63dd6ea830410c7bb5cbdd84a))
217
+ - **module-context:** make setting context as an observable ([21e1c6b](https://github.com/equinor/fusion-framework/commit/21e1c6b64f541ec63dd6ea830410c7bb5cbdd84a))
180
218
 
181
219
  ## 5.0.5 (2023-04-24)
182
220
 
@@ -250,12 +288,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
250
288
 
251
289
  ### ⚠ BREAKING CHANGES
252
290
 
253
- - **utils/observable:** `useObservableInputState` and `useObservableSelectorState` now return full state, not only value
291
+ - **utils/observable:** `useObservableInputState` and `useObservableSelectorState` now return full state, not only value
254
292
 
255
293
  ### Bug Fixes
256
294
 
257
- - **utils/observable:** rename `next` to `value`from `useObservableState` ([4a08445](https://github.com/equinor/fusion-framework/commit/4a08445645af2488666564c2da716d32aa5e88c0))
258
- - **utils/observable:** when subject in useObservableState reset state ([9c5c041](https://github.com/equinor/fusion-framework/commit/9c5c041d3d8c0b01bd507ea7f672711d9f5cb653))
295
+ - **utils/observable:** rename `next` to `value`from `useObservableState` ([4a08445](https://github.com/equinor/fusion-framework/commit/4a08445645af2488666564c2da716d32aa5e88c0))
296
+ - **utils/observable:** when subject in useObservableState reset state ([9c5c041](https://github.com/equinor/fusion-framework/commit/9c5c041d3d8c0b01bd507ea7f672711d9f5cb653))
259
297
 
260
298
  ## [3.0.2](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-react-module-context@3.0.1...@equinor/fusion-framework-react-module-context@3.0.2) (2023-02-09)
261
299
 
@@ -269,11 +307,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
269
307
 
270
308
  ### ⚠ BREAKING CHANGES
271
309
 
272
- - hook has new return type
310
+ - hook has new return type
273
311
 
274
312
  ### Bug Fixes
275
313
 
276
- - references to useObservableState ([614a569](https://github.com/equinor/fusion-framework/commit/614a5691f856765f07f5d71e39708f80dea49a6e))
314
+ - references to useObservableState ([614a569](https://github.com/equinor/fusion-framework/commit/614a5691f856765f07f5d71e39708f80dea49a6e))
277
315
 
278
316
  ## 2.0.1 (2023-01-30)
279
317
 
@@ -315,7 +353,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
315
353
 
316
354
  ### Bug Fixes
317
355
 
318
- - :bug: context undefined on first render ([790850e](https://github.com/equinor/fusion-framework/commit/790850e8c928e4feb8537a07bd8d5d6afb268bb5))
356
+ - :bug: context undefined on first render ([790850e](https://github.com/equinor/fusion-framework/commit/790850e8c928e4feb8537a07bd8d5d6afb268bb5))
319
357
 
320
358
  ## 1.0.16 (2022-12-16)
321
359
 
@@ -365,7 +403,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
365
403
 
366
404
  ### Bug Fixes
367
405
 
368
- - **react-module-context:** memo client query fn ([ebfae82](https://github.com/equinor/fusion-framework/commit/ebfae82fcdd4879cdefee07dcc7a5612b7ac81cd))
406
+ - **react-module-context:** memo client query fn ([ebfae82](https://github.com/equinor/fusion-framework/commit/ebfae82fcdd4879cdefee07dcc7a5612b7ac81cd))
369
407
 
370
408
  ## [1.0.4](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-react-module-context@1.0.3...@equinor/fusion-framework-react-module-context@1.0.4) (2022-12-06)
371
409
 
@@ -387,13 +425,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
387
425
 
388
426
  ### Features
389
427
 
390
- - update exiting debounce hooks ([27e716c](https://github.com/equinor/fusion-framework/commit/27e716ca253206d532e0f02233beb6f29c10de22))
428
+ - update exiting debounce hooks ([27e716c](https://github.com/equinor/fusion-framework/commit/27e716ca253206d532e0f02233beb6f29c10de22))
391
429
 
392
430
  ## [1.0.0-alpha.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-react-module-context@0.4.11...@equinor/fusion-framework-react-module-context@1.0.0-alpha.0) (2022-12-02)
393
431
 
394
432
  ### Features
395
433
 
396
- - update exiting debounce hooks ([dd3eb5f](https://github.com/equinor/fusion-framework/commit/dd3eb5ff1a05edd6c25fd1ad65c0b68d50f5799a))
434
+ - update exiting debounce hooks ([dd3eb5f](https://github.com/equinor/fusion-framework/commit/dd3eb5ff1a05edd6c25fd1ad65c0b68d50f5799a))
397
435
 
398
436
  ## [0.4.11](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-react-module-context@0.4.10...@equinor/fusion-framework-react-module-context@0.4.11) (2022-12-01)
399
437
 
@@ -443,7 +481,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
443
481
 
444
482
  ### Features
445
483
 
446
- - **query:** separate query from observable ([1408609](https://github.com/equinor/fusion-framework/commit/140860976c3ee9430a30deebcc8b08da857e5772))
484
+ - **query:** separate query from observable ([1408609](https://github.com/equinor/fusion-framework/commit/140860976c3ee9430a30deebcc8b08da857e5772))
447
485
 
448
486
  ## 0.3.1 (2022-12-01)
449
487
 
@@ -453,12 +491,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
453
491
 
454
492
  ### Features
455
493
 
456
- - **react-module-context:** allow setting context by id ([c2acbf0](https://github.com/equinor/fusion-framework/commit/c2acbf0e1cb3fb8fd54f822ee76ff153851f2da7))
457
- - **react-module-context:** create hook for query context ([67826a5](https://github.com/equinor/fusion-framework/commit/67826a572d43bb36dd58869acf880f87959429d8))
494
+ - **react-module-context:** allow setting context by id ([c2acbf0](https://github.com/equinor/fusion-framework/commit/c2acbf0e1cb3fb8fd54f822ee76ff153851f2da7))
495
+ - **react-module-context:** create hook for query context ([67826a5](https://github.com/equinor/fusion-framework/commit/67826a572d43bb36dd58869acf880f87959429d8))
458
496
 
459
497
  ### Bug Fixes
460
498
 
461
- - **react-module-context:** expose enable context ([59248a5](https://github.com/equinor/fusion-framework/commit/59248a52b1406ed2331b336c02a28a482e2d419f))
499
+ - **react-module-context:** expose enable context ([59248a5](https://github.com/equinor/fusion-framework/commit/59248a52b1406ed2331b336c02a28a482e2d419f))
462
500
 
463
501
  ## 0.2.1 (2022-11-18)
464
502
 
@@ -468,7 +506,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
468
506
 
469
507
  ### Features
470
508
 
471
- - update typing of useModule hook ([958dd04](https://github.com/equinor/fusion-framework/commit/958dd0401667e9ebb1a51bced128ae43369cd6c4))
509
+ - update typing of useModule hook ([958dd04](https://github.com/equinor/fusion-framework/commit/958dd0401667e9ebb1a51bced128ae43369cd6c4))
472
510
 
473
511
  ## [0.1.9](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-react-module-context@0.1.8...@equinor/fusion-framework-react-module-context@0.1.9) (2022-11-16)
474
512
 
@@ -510,4 +548,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
510
548
 
511
549
  ### Features
512
550
 
513
- - **react-module-context:** create react tooling context module ([0864830](https://github.com/equinor/fusion-framework/commit/086483008671d898b4ac901d8729bf700786ee6a))
551
+ - **react-module-context:** create react tooling context module ([0864830](https://github.com/equinor/fusion-framework/commit/086483008671d898b4ac901d8729bf700786ee6a))
package/dist/esm/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export { enableContext, } from '@equinor/fusion-framework-module-context';
2
+ export { FusionContextSearchError } from '@equinor/fusion-framework-module-context/errors.js';
2
3
  export { useCurrentContext, useModuleCurrentContext } from './useCurrentContext';
3
4
  export { useQueryContext, useModuleQueryContext } from './useQueryContext';
4
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,aAAa,GAMhB,MAAM,0CAA0C,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,aAAa,GAMhB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,oDAAoD,CAAC;AAE9F,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useCurrentContext.js","sourceRoot":"","sources":["../../src/useCurrentContext.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE7C,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,QAA0B,EAAE,EAAE;IAC5D,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,eAAe,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC5E,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,kBAAkB,CAAC,eAAe,EAAE;QAClE,OAAO,EAAE,QAAQ,CAAC,cAAc;KACnC,CAAC,CAAC;IACH,MAAM,iBAAiB,GAAG,WAAW,CACjC,CAAC,KAAmC,EAAE,EAAE;QACpC,IAAI,CAAC,KAAK,EAAE,CAAC;YACT,OAAO,QAAQ,CAAC,mBAAmB,EAAE,CAAC;QAC1C,CAAC;aAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YACnC,OAAO,QAAQ,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;QACtD,CAAC;QACD,OAAO,QAAQ,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC,EACD,CAAC,QAAQ,CAAC,CACb,CAAC;IACF,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC;AACjD,CAAC,CAAC;AAKF,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,EAAE;IACxC,MAAM,QAAQ,GAAG,SAAS,CAAgB,gBAAgB,CAAC,CAAC;IAC5D,OAAO,iBAAiB,CAAC,QAAQ,CAAC,CAAC;AACvC,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"useCurrentContext.js","sourceRoot":"","sources":["../../src/useCurrentContext.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE7C,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,QAA0B,EAAE,EAAE;IAC5D,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,eAAe,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC5E,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,kBAAkB,CAAC,eAAe,EAAE;QAClE,OAAO,EAAE,QAAQ,CAAC,cAAc;KACnC,CAAC,CAAC;IACH,MAAM,iBAAiB,GAAG,WAAW,CACjC,CAAC,KAAmC,EAAE,EAAE;QACpC,IAAI,CAAC,KAAK,EAAE;YACR,OAAO,QAAQ,CAAC,mBAAmB,EAAE,CAAC;SACzC;aAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAClC,OAAO,QAAQ,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;SACrD;QACD,OAAO,QAAQ,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC,EACD,CAAC,QAAQ,CAAC,CACb,CAAC;IACF,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC;AACjD,CAAC,CAAC;AAKF,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,EAAE;IACxC,MAAM,QAAQ,GAAG,SAAS,CAAgB,gBAAgB,CAAC,CAAC;IAC5D,OAAO,iBAAiB,CAAC,QAAQ,CAAC,CAAC;AACvC,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1,2 +1,2 @@
1
- export const version = '6.0.20';
1
+ export const version = '6.1.0';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC"}