@equinor/fusion-framework-react-module-context 6.1.0 → 6.1.2
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 +122 -108
- package/dist/esm/useCurrentContext.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 +3 -3
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,179 +1,193 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 6.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`701c297`](https://github.com/equinor/fusion-framework/commit/701c29709351ff80864d26311efc72a439cd4098), [`701c297`](https://github.com/equinor/fusion-framework/commit/701c29709351ff80864d26311efc72a439cd4098)]:
|
|
8
|
+
- @equinor/fusion-framework-module-context@4.2.0
|
|
9
|
+
|
|
10
|
+
## 6.1.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`7424ad3`](https://github.com/equinor/fusion-framework/commit/7424ad37760904b7897bcafc11d85235246e1381)]:
|
|
15
|
+
- @equinor/fusion-framework-module-context@4.1.1
|
|
16
|
+
|
|
3
17
|
## 6.1.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
6
20
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
21
|
+
- [#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.
|
|
22
|
+
|
|
23
|
+
- Potential _BREAKING_:
|
|
24
|
+
- Error in `ContextProvider.ts` are now unwrapped if the thrown error is
|
|
25
|
+
`QueryClientError`.
|
|
26
|
+
|
|
27
|
+
```diff
|
|
28
|
+
index 114f430b1..2640c9a55 100644
|
|
29
|
+
--- a/packages/modules/context/src/ContextProvider.ts
|
|
30
|
+
+++ b/packages/modules/context/src/ContextProvider.ts
|
|
31
|
+
@@ -406,7 +407,15 @@ export class ContextProvider implements IContextProvider {
|
|
32
|
+
/* @ts-ignore */
|
|
33
|
+
this.#contextParameterFn({ search, type: this.#contextType }),
|
|
34
|
+
)
|
|
35
|
+
- .pipe(map((x) => x.value));
|
|
36
|
+
+ .pipe(
|
|
37
|
+
+ catchError((err) => {
|
|
38
|
+
+ if (err.name === 'QueryClientError') {
|
|
39
|
+
+ throw err.cause;
|
|
40
|
+
+ }
|
|
41
|
+
+ throw err;
|
|
42
|
+
+ }),
|
|
43
|
+
+ map((x) => x.value),
|
|
44
|
+
+ );
|
|
45
|
+
|
|
46
|
+
return this.#contextFilter ? query$.pipe(map(this.#contextFilter)) : query$;
|
|
47
|
+
}
|
|
48
|
+
```
|
|
35
49
|
|
|
36
50
|
### Patch Changes
|
|
37
51
|
|
|
38
|
-
-
|
|
39
|
-
|
|
52
|
+
- Updated dependencies [[`6e6ee6b`](https://github.com/equinor/fusion-framework/commit/6e6ee6b7ce280820111e8b98ac8377efb15808ef)]:
|
|
53
|
+
- @equinor/fusion-framework-module-context@4.1.0
|
|
40
54
|
|
|
41
55
|
## 6.0.20
|
|
42
56
|
|
|
43
57
|
### Patch Changes
|
|
44
58
|
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
59
|
+
- Updated dependencies []:
|
|
60
|
+
- @equinor/fusion-framework-module-context@4.0.21
|
|
61
|
+
- @equinor/fusion-framework-react-module@3.0.8
|
|
48
62
|
|
|
49
63
|
## 6.0.19
|
|
50
64
|
|
|
51
65
|
### Patch Changes
|
|
52
66
|
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
67
|
+
- Updated dependencies [[`036546f`](https://github.com/equinor/fusion-framework/commit/036546f2e3d9c0d289c7145da84e940673027b5e), [`d0c0c6a`](https://github.com/equinor/fusion-framework/commit/d0c0c6a971a478e3f447663bf50b4e3a7cb1517e)]:
|
|
68
|
+
- @equinor/fusion-observable@8.1.5
|
|
69
|
+
- @equinor/fusion-query@4.0.6
|
|
70
|
+
- @equinor/fusion-framework-module-context@4.0.20
|
|
57
71
|
|
|
58
72
|
## 6.0.18
|
|
59
73
|
|
|
60
74
|
### Patch Changes
|
|
61
75
|
|
|
62
|
-
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
76
|
+
- Updated dependencies [[`6ffaabf`](https://github.com/equinor/fusion-framework/commit/6ffaabf120704f2f4f4074a0fa0a17faf77fe22a)]:
|
|
77
|
+
- @equinor/fusion-observable@8.1.4
|
|
78
|
+
- @equinor/fusion-query@4.0.5
|
|
79
|
+
- @equinor/fusion-framework-module-context@4.0.19
|
|
66
80
|
|
|
67
81
|
## 6.0.17
|
|
68
82
|
|
|
69
83
|
### Patch Changes
|
|
70
84
|
|
|
71
|
-
-
|
|
85
|
+
- [#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
|
|
72
86
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
87
|
+
- Updated dependencies [[`4ab2df5`](https://github.com/equinor/fusion-framework/commit/4ab2df5c83439f7fe3fe0846c005427e1793b576), [`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
|
|
88
|
+
- @equinor/fusion-framework-module-context@4.0.18
|
|
89
|
+
- @equinor/fusion-observable@8.1.3
|
|
90
|
+
- @equinor/fusion-query@4.0.4
|
|
91
|
+
- @equinor/fusion-framework-react-module@3.0.7
|
|
78
92
|
|
|
79
93
|
## 6.0.16
|
|
80
94
|
|
|
81
95
|
### Patch Changes
|
|
82
96
|
|
|
83
|
-
-
|
|
84
|
-
|
|
85
|
-
|
|
97
|
+
- Updated dependencies [[`446b63ce`](https://github.com/equinor/fusion-framework/commit/446b63ce44b59a3aaab4399c0d877d3a1b560a0e)]:
|
|
98
|
+
- @equinor/fusion-query@4.0.3
|
|
99
|
+
- @equinor/fusion-framework-module-context@4.0.17
|
|
86
100
|
|
|
87
101
|
## 6.0.15
|
|
88
102
|
|
|
89
103
|
### Patch Changes
|
|
90
104
|
|
|
91
|
-
-
|
|
92
|
-
|
|
93
|
-
|
|
105
|
+
- Updated dependencies [[`7ad31761`](https://github.com/equinor/fusion-framework/commit/7ad3176102f92da108b67ede6fdf29b76149bed9)]:
|
|
106
|
+
- @equinor/fusion-query@4.0.2
|
|
107
|
+
- @equinor/fusion-framework-module-context@4.0.16
|
|
94
108
|
|
|
95
109
|
## 6.0.14
|
|
96
110
|
|
|
97
111
|
### Patch Changes
|
|
98
112
|
|
|
99
|
-
-
|
|
113
|
+
- [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
|
|
100
114
|
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
115
|
+
- Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
|
|
116
|
+
- @equinor/fusion-framework-module-context@4.0.15
|
|
117
|
+
- @equinor/fusion-framework-react-module@3.0.6
|
|
118
|
+
- @equinor/fusion-observable@8.1.2
|
|
119
|
+
- @equinor/fusion-query@4.0.1
|
|
106
120
|
|
|
107
121
|
## 6.0.13
|
|
108
122
|
|
|
109
123
|
### Patch Changes
|
|
110
124
|
|
|
111
|
-
-
|
|
112
|
-
|
|
113
|
-
|
|
125
|
+
- Updated dependencies [[`ebcabd0e`](https://github.com/equinor/fusion-framework/commit/ebcabd0e6945e1420a0a9a7d82bd9255da1b8578), [`8739a5a6`](https://github.com/equinor/fusion-framework/commit/8739a5a65d8aaa46ce9ef56cce013efeeb006e8a)]:
|
|
126
|
+
- @equinor/fusion-query@4.0.0
|
|
127
|
+
- @equinor/fusion-framework-module-context@4.0.14
|
|
114
128
|
|
|
115
129
|
## 6.0.12
|
|
116
130
|
|
|
117
131
|
### Patch Changes
|
|
118
132
|
|
|
119
|
-
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
133
|
+
- Updated dependencies [[`6f64d1aa`](https://github.com/equinor/fusion-framework/commit/6f64d1aa5e44af37f0abd76cef36e87761134760), [`758eaaf4`](https://github.com/equinor/fusion-framework/commit/758eaaf436ae28d180e7d91818b41abe0d9624c4)]:
|
|
134
|
+
- @equinor/fusion-observable@8.1.1
|
|
135
|
+
- @equinor/fusion-query@3.0.7
|
|
136
|
+
- @equinor/fusion-framework-module-context@4.0.13
|
|
137
|
+
- @equinor/fusion-framework-react-module@3.0.5
|
|
124
138
|
|
|
125
139
|
## 6.0.11
|
|
126
140
|
|
|
127
141
|
### Patch Changes
|
|
128
142
|
|
|
129
|
-
-
|
|
130
|
-
|
|
131
|
-
|
|
143
|
+
- Updated dependencies [[`066d843c`](https://github.com/equinor/fusion-framework/commit/066d843c88cb974150f23f4fb9e7d0b066c93594)]:
|
|
144
|
+
- @equinor/fusion-query@3.0.6
|
|
145
|
+
- @equinor/fusion-framework-module-context@4.0.12
|
|
132
146
|
|
|
133
147
|
## 6.0.10
|
|
134
148
|
|
|
135
149
|
### Patch Changes
|
|
136
150
|
|
|
137
|
-
-
|
|
151
|
+
- [#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
|
|
138
152
|
|
|
139
|
-
|
|
153
|
+
conflicts of `@types/react` made random outcomes when using `yarn`
|
|
140
154
|
|
|
141
|
-
|
|
155
|
+
this change should not affect consumer of the packages, but might conflict dependent on local package manager.
|
|
142
156
|
|
|
143
|
-
-
|
|
157
|
+
- [#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
|
|
144
158
|
|
|
145
|
-
|
|
159
|
+
only dev deps updated should not affect any consumers
|
|
146
160
|
|
|
147
|
-
|
|
161
|
+
see [react changelog](https://github.com/facebook/react/releases) for details
|
|
148
162
|
|
|
149
|
-
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
163
|
+
- 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)]:
|
|
164
|
+
- @equinor/fusion-framework-react-module@3.0.4
|
|
165
|
+
- @equinor/fusion-observable@8.1.0
|
|
166
|
+
- @equinor/fusion-framework-module-context@4.0.11
|
|
167
|
+
- @equinor/fusion-query@3.0.5
|
|
154
168
|
|
|
155
169
|
## 6.0.9
|
|
156
170
|
|
|
157
171
|
### Patch Changes
|
|
158
172
|
|
|
159
|
-
-
|
|
173
|
+
- [#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**
|
|
160
174
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
175
|
+
- align all versions of typescript
|
|
176
|
+
- update types to build
|
|
177
|
+
- 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
|
|
164
178
|
|
|
165
|
-
-
|
|
166
|
-
|
|
167
|
-
|
|
179
|
+
- Updated dependencies [[`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c)]:
|
|
180
|
+
- @equinor/fusion-framework-module-context@4.0.9
|
|
181
|
+
- @equinor/fusion-framework-react-module@3.0.3
|
|
168
182
|
|
|
169
183
|
## 6.0.8
|
|
170
184
|
|
|
171
185
|
### Patch Changes
|
|
172
186
|
|
|
173
|
-
-
|
|
187
|
+
- [#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
|
|
174
188
|
|
|
175
|
-
-
|
|
176
|
-
|
|
189
|
+
- Updated dependencies [[`4551142e`](https://github.com/equinor/fusion-framework/commit/4551142ededdb2f1bf74eae552da26d28cd23057)]:
|
|
190
|
+
- @equinor/fusion-framework-module-context@4.0.8
|
|
177
191
|
|
|
178
192
|
All notable changes to this project will be documented in this file.
|
|
179
193
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
@@ -210,11 +224,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
210
224
|
|
|
211
225
|
### ⚠ BREAKING CHANGES
|
|
212
226
|
|
|
213
|
-
-
|
|
227
|
+
- **module-context:** `ContextProvider.setCurrentContext` now returns an `Observable`
|
|
214
228
|
|
|
215
229
|
### Features
|
|
216
230
|
|
|
217
|
-
-
|
|
231
|
+
- **module-context:** make setting context as an observable ([21e1c6b](https://github.com/equinor/fusion-framework/commit/21e1c6b64f541ec63dd6ea830410c7bb5cbdd84a))
|
|
218
232
|
|
|
219
233
|
## 5.0.5 (2023-04-24)
|
|
220
234
|
|
|
@@ -288,12 +302,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
288
302
|
|
|
289
303
|
### ⚠ BREAKING CHANGES
|
|
290
304
|
|
|
291
|
-
-
|
|
305
|
+
- **utils/observable:** `useObservableInputState` and `useObservableSelectorState` now return full state, not only value
|
|
292
306
|
|
|
293
307
|
### Bug Fixes
|
|
294
308
|
|
|
295
|
-
-
|
|
296
|
-
-
|
|
309
|
+
- **utils/observable:** rename `next` to `value`from `useObservableState` ([4a08445](https://github.com/equinor/fusion-framework/commit/4a08445645af2488666564c2da716d32aa5e88c0))
|
|
310
|
+
- **utils/observable:** when subject in useObservableState reset state ([9c5c041](https://github.com/equinor/fusion-framework/commit/9c5c041d3d8c0b01bd507ea7f672711d9f5cb653))
|
|
297
311
|
|
|
298
312
|
## [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)
|
|
299
313
|
|
|
@@ -307,11 +321,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
307
321
|
|
|
308
322
|
### ⚠ BREAKING CHANGES
|
|
309
323
|
|
|
310
|
-
-
|
|
324
|
+
- hook has new return type
|
|
311
325
|
|
|
312
326
|
### Bug Fixes
|
|
313
327
|
|
|
314
|
-
-
|
|
328
|
+
- references to useObservableState ([614a569](https://github.com/equinor/fusion-framework/commit/614a5691f856765f07f5d71e39708f80dea49a6e))
|
|
315
329
|
|
|
316
330
|
## 2.0.1 (2023-01-30)
|
|
317
331
|
|
|
@@ -353,7 +367,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
353
367
|
|
|
354
368
|
### Bug Fixes
|
|
355
369
|
|
|
356
|
-
-
|
|
370
|
+
- :bug: context undefined on first render ([790850e](https://github.com/equinor/fusion-framework/commit/790850e8c928e4feb8537a07bd8d5d6afb268bb5))
|
|
357
371
|
|
|
358
372
|
## 1.0.16 (2022-12-16)
|
|
359
373
|
|
|
@@ -403,7 +417,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
403
417
|
|
|
404
418
|
### Bug Fixes
|
|
405
419
|
|
|
406
|
-
-
|
|
420
|
+
- **react-module-context:** memo client query fn ([ebfae82](https://github.com/equinor/fusion-framework/commit/ebfae82fcdd4879cdefee07dcc7a5612b7ac81cd))
|
|
407
421
|
|
|
408
422
|
## [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)
|
|
409
423
|
|
|
@@ -425,13 +439,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
425
439
|
|
|
426
440
|
### Features
|
|
427
441
|
|
|
428
|
-
-
|
|
442
|
+
- update exiting debounce hooks ([27e716c](https://github.com/equinor/fusion-framework/commit/27e716ca253206d532e0f02233beb6f29c10de22))
|
|
429
443
|
|
|
430
444
|
## [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)
|
|
431
445
|
|
|
432
446
|
### Features
|
|
433
447
|
|
|
434
|
-
-
|
|
448
|
+
- update exiting debounce hooks ([dd3eb5f](https://github.com/equinor/fusion-framework/commit/dd3eb5ff1a05edd6c25fd1ad65c0b68d50f5799a))
|
|
435
449
|
|
|
436
450
|
## [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)
|
|
437
451
|
|
|
@@ -481,7 +495,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
481
495
|
|
|
482
496
|
### Features
|
|
483
497
|
|
|
484
|
-
-
|
|
498
|
+
- **query:** separate query from observable ([1408609](https://github.com/equinor/fusion-framework/commit/140860976c3ee9430a30deebcc8b08da857e5772))
|
|
485
499
|
|
|
486
500
|
## 0.3.1 (2022-12-01)
|
|
487
501
|
|
|
@@ -491,12 +505,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
491
505
|
|
|
492
506
|
### Features
|
|
493
507
|
|
|
494
|
-
-
|
|
495
|
-
-
|
|
508
|
+
- **react-module-context:** allow setting context by id ([c2acbf0](https://github.com/equinor/fusion-framework/commit/c2acbf0e1cb3fb8fd54f822ee76ff153851f2da7))
|
|
509
|
+
- **react-module-context:** create hook for query context ([67826a5](https://github.com/equinor/fusion-framework/commit/67826a572d43bb36dd58869acf880f87959429d8))
|
|
496
510
|
|
|
497
511
|
### Bug Fixes
|
|
498
512
|
|
|
499
|
-
-
|
|
513
|
+
- **react-module-context:** expose enable context ([59248a5](https://github.com/equinor/fusion-framework/commit/59248a52b1406ed2331b336c02a28a482e2d419f))
|
|
500
514
|
|
|
501
515
|
## 0.2.1 (2022-11-18)
|
|
502
516
|
|
|
@@ -506,7 +520,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
506
520
|
|
|
507
521
|
### Features
|
|
508
522
|
|
|
509
|
-
-
|
|
523
|
+
- update typing of useModule hook ([958dd04](https://github.com/equinor/fusion-framework/commit/958dd0401667e9ebb1a51bced128ae43369cd6c4))
|
|
510
524
|
|
|
511
525
|
## [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)
|
|
512
526
|
|
|
@@ -548,4 +562,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
548
562
|
|
|
549
563
|
### Features
|
|
550
564
|
|
|
551
|
-
-
|
|
565
|
+
- **react-module-context:** create react tooling context module ([0864830](https://github.com/equinor/fusion-framework/commit/086483008671d898b4ac901d8729bf700786ee6a))
|
|
@@ -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;
|
|
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"}
|
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '6.1.
|
|
1
|
+
export const version = '6.1.2';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|