@equinor/fusion-framework-react-module-signalr 4.0.4-next.0 → 4.0.5
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/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +7 -4
- package/CHANGELOG.md +0 -602
- package/src/index.ts +0 -21
- package/src/useSignalRProvider.ts +0 -20
- package/src/useTopic.ts +0 -20
- package/src/version.ts +0 -2
- package/tsconfig.json +0 -18
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "4.0.
|
|
1
|
+
export declare const version = "4.0.5";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-react-module-signalr",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
"keywords": [],
|
|
15
15
|
"author": "",
|
|
16
16
|
"license": "ISC",
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
17
20
|
"publishConfig": {
|
|
18
21
|
"access": "public"
|
|
19
22
|
},
|
|
@@ -23,18 +26,18 @@
|
|
|
23
26
|
"directory": "packages/react/modules/signalr"
|
|
24
27
|
},
|
|
25
28
|
"dependencies": {
|
|
26
|
-
"@equinor/fusion-framework-module-signalr": "^14.0.
|
|
29
|
+
"@equinor/fusion-framework-module-signalr": "^14.0.1"
|
|
27
30
|
},
|
|
28
31
|
"devDependencies": {
|
|
29
32
|
"@types/react": "^19.2.7",
|
|
30
33
|
"react": "^19.2.1",
|
|
31
34
|
"typescript": "^7.0.2",
|
|
32
|
-
"@equinor/fusion-framework-react-module": "^4.0.
|
|
35
|
+
"@equinor/fusion-framework-react-module": "^4.0.4"
|
|
33
36
|
},
|
|
34
37
|
"peerDependencies": {
|
|
35
38
|
"@types/react": "^18.0.0 || ^19.0.0",
|
|
36
39
|
"react": "^18.0.0 || ^19.0.0",
|
|
37
|
-
"@equinor/fusion-framework-react-module": "^4.0.
|
|
40
|
+
"@equinor/fusion-framework-react-module": "^4.0.4"
|
|
38
41
|
},
|
|
39
42
|
"peerDependenciesMeta": {
|
|
40
43
|
"@types/react": {
|
package/CHANGELOG.md
DELETED
|
@@ -1,602 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
## 4.0.4-next.0
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- e8aae1f: Internal: publish every package on the `next` pre-release tag so the whole framework can be installed as a coherent set.
|
|
8
|
-
|
|
9
|
-
Packages without their own changes are bumped only to receive a `-next.N` version and the `next` dist-tag on npm. Install with:
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
pnpm add @equinor/fusion-framework-react-app@next
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
- Updated dependencies [e8aae1f]
|
|
16
|
-
- @equinor/fusion-framework-module-signalr@14.0.0-next.0
|
|
17
|
-
- @equinor/fusion-framework-react-module@4.0.3-next.0
|
|
18
|
-
|
|
19
|
-
## 4.0.3
|
|
20
|
-
|
|
21
|
-
### Patch Changes
|
|
22
|
-
|
|
23
|
-
- 80c3e4a: Internal: align source filenames with their exports (`use-signalr-provider.ts` → `useSignalRProvider.ts`, `use-signalr.ts` → `useTopic.ts`) while preserving existing public entrypoints; no public API changes.
|
|
24
|
-
- 80c3e4a: Internal: add missing TSDoc comments to `useSignalRProvider` and `useTopic` to satisfy the `require-hook-tsdoc` lint rule. No functional change.
|
|
25
|
-
|
|
26
|
-
## 4.0.2
|
|
27
|
-
|
|
28
|
-
### Patch Changes
|
|
29
|
-
|
|
30
|
-
- @equinor/fusion-framework-module-signalr@13.0.0
|
|
31
|
-
|
|
32
|
-
## 4.0.1
|
|
33
|
-
|
|
34
|
-
### Patch Changes
|
|
35
|
-
|
|
36
|
-
- @equinor/fusion-framework-module-signalr@12.0.0
|
|
37
|
-
|
|
38
|
-
## 4.0.0
|
|
39
|
-
|
|
40
|
-
### Major Changes
|
|
41
|
-
|
|
42
|
-
- abffa53: Major version bump for Fusion Framework React 19 release.
|
|
43
|
-
|
|
44
|
-
All packages are bumped to the next major version as part of the React 19 upgrade. This release drops support for React versions below 18 and includes breaking changes across the framework.
|
|
45
|
-
|
|
46
|
-
**Breaking changes:**
|
|
47
|
-
- Peer dependencies now require React 18 or 19 (`^18.0.0 || ^19.0.0`)
|
|
48
|
-
- React Router upgraded from v6 to v7
|
|
49
|
-
- Navigation module refactored with new history API
|
|
50
|
-
- `renderComponent` and `renderApp` now use `createRoot` API
|
|
51
|
-
|
|
52
|
-
**Migration:**
|
|
53
|
-
- Update your React version to 18.0.0 or higher before upgrading
|
|
54
|
-
- Replace `NavigationProvider.createRouter()` with `@equinor/fusion-framework-react-router`
|
|
55
|
-
- See individual package changelogs for package-specific migration steps
|
|
56
|
-
|
|
57
|
-
- abffa53: Require React 18+ as peer dependency. React 17 is no longer supported.
|
|
58
|
-
|
|
59
|
-
**Migration:** Update your application to React 18+ to continue using these packages.
|
|
60
|
-
|
|
61
|
-
Closes https://github.com/equinor/fusion-framework/issues/3504
|
|
62
|
-
|
|
63
|
-
- abffa53: Upgrade to React 19 and remove support for React versions lower than 18.
|
|
64
|
-
|
|
65
|
-
**Breaking changes:**
|
|
66
|
-
- Peer dependencies now require React 18 or 19 (`^18.0.0 || ^19.0.0`)
|
|
67
|
-
- React 16 and 17 are no longer supported
|
|
68
|
-
- Dev dependencies upgraded to React 19.2.1 and @types/react 19.2.7
|
|
69
|
-
|
|
70
|
-
**Migration:**
|
|
71
|
-
- Update your React version to 18.0.0 or higher before upgrading these packages
|
|
72
|
-
- If using React 16 or 17, upgrade to React 18 or 19 first
|
|
73
|
-
|
|
74
|
-
Closes https://github.com/equinor/fusion-framework/issues/3504
|
|
75
|
-
|
|
76
|
-
### Patch Changes
|
|
77
|
-
|
|
78
|
-
- Updated dependencies [abffa53]
|
|
79
|
-
- Updated dependencies [abffa53]
|
|
80
|
-
- Updated dependencies [abffa53]
|
|
81
|
-
- Updated dependencies [abffa53]
|
|
82
|
-
- @equinor/fusion-framework-module-signalr@11.0.0
|
|
83
|
-
- @equinor/fusion-framework-react-module@4.0.0
|
|
84
|
-
|
|
85
|
-
## 3.0.37
|
|
86
|
-
|
|
87
|
-
### Patch Changes
|
|
88
|
-
|
|
89
|
-
- [#4157](https://github.com/equinor/fusion-framework/pull/4157) [`6aa8e1f`](https://github.com/equinor/fusion-framework/commit/6aa8e1f5c9d852b25e97aa7d98a63008c64d4581) Thanks [@Noggling](https://github.com/Noggling)! - Internal: patch release to align TypeScript types across packages for consistent type compatibility.
|
|
90
|
-
|
|
91
|
-
- Updated dependencies [[`6aa8e1f`](https://github.com/equinor/fusion-framework/commit/6aa8e1f5c9d852b25e97aa7d98a63008c64d4581)]:
|
|
92
|
-
- @equinor/fusion-framework-module-signalr@10.0.1
|
|
93
|
-
- @equinor/fusion-framework-react-module@3.1.14
|
|
94
|
-
|
|
95
|
-
## 3.0.36
|
|
96
|
-
|
|
97
|
-
### Patch Changes
|
|
98
|
-
|
|
99
|
-
- Updated dependencies []:
|
|
100
|
-
- @equinor/fusion-framework-module-signalr@10.0.0
|
|
101
|
-
|
|
102
|
-
## 3.0.35
|
|
103
|
-
|
|
104
|
-
### Patch Changes
|
|
105
|
-
|
|
106
|
-
- Updated dependencies [[`11fe961`](https://github.com/equinor/fusion-framework/commit/11fe961794e4960ccb987bc320268cc9b263f1f8)]:
|
|
107
|
-
- @equinor/fusion-framework-module-signalr@9.0.0
|
|
108
|
-
|
|
109
|
-
## 3.0.34
|
|
110
|
-
|
|
111
|
-
### Patch Changes
|
|
112
|
-
|
|
113
|
-
- Updated dependencies []:
|
|
114
|
-
- @equinor/fusion-framework-module-signalr@8.0.0
|
|
115
|
-
|
|
116
|
-
## 3.0.33
|
|
117
|
-
|
|
118
|
-
### Patch Changes
|
|
119
|
-
|
|
120
|
-
- Updated dependencies []:
|
|
121
|
-
- @equinor/fusion-framework-module-signalr@7.0.0
|
|
122
|
-
- @equinor/fusion-framework-react-module@3.1.13
|
|
123
|
-
|
|
124
|
-
## 3.0.32
|
|
125
|
-
|
|
126
|
-
### Patch Changes
|
|
127
|
-
|
|
128
|
-
- [#3088](https://github.com/equinor/fusion-framework/pull/3088) [`7441b13`](https://github.com/equinor/fusion-framework/commit/7441b13aa50dd7362d1629086a27b6b4e571575d) Thanks [@eikeland](https://github.com/eikeland)! - chore: update package typesVersions
|
|
129
|
-
- Updated package.json typesVersions.
|
|
130
|
-
- Ensures backward compatibility with older node versions.
|
|
131
|
-
- Ensured consistency with workspace and repository configuration.
|
|
132
|
-
|
|
133
|
-
- Updated dependencies [[`7441b13`](https://github.com/equinor/fusion-framework/commit/7441b13aa50dd7362d1629086a27b6b4e571575d)]:
|
|
134
|
-
- @equinor/fusion-framework-module-signalr@6.0.5
|
|
135
|
-
|
|
136
|
-
## 3.0.31
|
|
137
|
-
|
|
138
|
-
### Patch Changes
|
|
139
|
-
|
|
140
|
-
- Updated dependencies []:
|
|
141
|
-
- @equinor/fusion-framework-module-signalr@6.0.4
|
|
142
|
-
|
|
143
|
-
## 3.0.30
|
|
144
|
-
|
|
145
|
-
### Patch Changes
|
|
146
|
-
|
|
147
|
-
- Updated dependencies []:
|
|
148
|
-
- @equinor/fusion-framework-module-signalr@6.0.3
|
|
149
|
-
|
|
150
|
-
## 3.0.29
|
|
151
|
-
|
|
152
|
-
### Patch Changes
|
|
153
|
-
|
|
154
|
-
- Updated dependencies []:
|
|
155
|
-
- @equinor/fusion-framework-module-signalr@6.0.2
|
|
156
|
-
- @equinor/fusion-framework-react-module@3.1.12
|
|
157
|
-
|
|
158
|
-
## 3.0.28
|
|
159
|
-
|
|
160
|
-
### Patch Changes
|
|
161
|
-
|
|
162
|
-
- [#3054](https://github.com/equinor/fusion-framework/pull/3054) [`c6af3a3`](https://github.com/equinor/fusion-framework/commit/c6af3a3c926fb245e9d056b506d47b8bf4f1efde) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Re-add typesVersions from package.json files
|
|
163
|
-
|
|
164
|
-
- Updated dependencies [[`c6af3a3`](https://github.com/equinor/fusion-framework/commit/c6af3a3c926fb245e9d056b506d47b8bf4f1efde)]:
|
|
165
|
-
- @equinor/fusion-framework-module-signalr@6.0.1
|
|
166
|
-
- @equinor/fusion-framework-react-module@3.1.11
|
|
167
|
-
|
|
168
|
-
## 3.0.27
|
|
169
|
-
|
|
170
|
-
### Patch Changes
|
|
171
|
-
|
|
172
|
-
- Updated dependencies []:
|
|
173
|
-
- @equinor/fusion-framework-module-signalr@6.0.0
|
|
174
|
-
- @equinor/fusion-framework-react-module@3.1.10
|
|
175
|
-
|
|
176
|
-
## 3.0.26
|
|
177
|
-
|
|
178
|
-
### Patch Changes
|
|
179
|
-
|
|
180
|
-
- [#3012](https://github.com/equinor/fusion-framework/pull/3012) [`f53b60b`](https://github.com/equinor/fusion-framework/commit/f53b60b7805706ce7617e614f0ac0c24317a2e43) Thanks [@odinr](https://github.com/odinr)! - removed `typesVersions` from packages, since we no longer support TS < 4.7, also corrected `types` path in package.json
|
|
181
|
-
|
|
182
|
-
- Updated dependencies [[`f53b60b`](https://github.com/equinor/fusion-framework/commit/f53b60b7805706ce7617e614f0ac0c24317a2e43)]:
|
|
183
|
-
- @equinor/fusion-framework-module-signalr@5.0.5
|
|
184
|
-
- @equinor/fusion-framework-react-module@3.1.9
|
|
185
|
-
|
|
186
|
-
## 3.0.25
|
|
187
|
-
|
|
188
|
-
### Patch Changes
|
|
189
|
-
|
|
190
|
-
- Updated dependencies []:
|
|
191
|
-
- @equinor/fusion-framework-module-signalr@5.0.4
|
|
192
|
-
|
|
193
|
-
## 3.0.24
|
|
194
|
-
|
|
195
|
-
### Patch Changes
|
|
196
|
-
|
|
197
|
-
- Updated dependencies []:
|
|
198
|
-
- @equinor/fusion-framework-module-signalr@5.0.3
|
|
199
|
-
|
|
200
|
-
## 3.0.23
|
|
201
|
-
|
|
202
|
-
### Patch Changes
|
|
203
|
-
|
|
204
|
-
- [#2885](https://github.com/equinor/fusion-framework/pull/2885) [`abb3560`](https://github.com/equinor/fusion-framework/commit/abb3560a22ad8830df19904272035458433f4237) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update he `Typescript` version `^5.7.3` to `^5.8.2`
|
|
205
|
-
|
|
206
|
-
- Updated dependencies [[`abb3560`](https://github.com/equinor/fusion-framework/commit/abb3560a22ad8830df19904272035458433f4237)]:
|
|
207
|
-
- @equinor/fusion-framework-react-module@3.1.8
|
|
208
|
-
- @equinor/fusion-framework-module-signalr@5.0.2
|
|
209
|
-
|
|
210
|
-
## 3.0.22
|
|
211
|
-
|
|
212
|
-
### Patch Changes
|
|
213
|
-
|
|
214
|
-
- [#2848](https://github.com/equinor/fusion-framework/pull/2848) [`dcd2fb1`](https://github.com/equinor/fusion-framework/commit/dcd2fb1394e175d0cc2a4289ed3ede8e0271d67d) Thanks [@odinr](https://github.com/odinr)! - Refactored imports to use `type` when importing types from a module, to conform with the `useImportType` rule in Biome.
|
|
215
|
-
|
|
216
|
-
- Updated dependencies [[`811f1a0`](https://github.com/equinor/fusion-framework/commit/811f1a0139ff4d1b0c3fba1ec2b77cc84ba080d1), [`dcd2fb1`](https://github.com/equinor/fusion-framework/commit/dcd2fb1394e175d0cc2a4289ed3ede8e0271d67d)]:
|
|
217
|
-
- @equinor/fusion-framework-react-module@3.1.7
|
|
218
|
-
- @equinor/fusion-framework-module-signalr@5.0.1
|
|
219
|
-
|
|
220
|
-
## 3.0.21
|
|
221
|
-
|
|
222
|
-
### Patch Changes
|
|
223
|
-
|
|
224
|
-
- Updated dependencies []:
|
|
225
|
-
- @equinor/fusion-framework-module-signalr@5.0.0
|
|
226
|
-
|
|
227
|
-
## 3.0.20
|
|
228
|
-
|
|
229
|
-
### Patch Changes
|
|
230
|
-
|
|
231
|
-
- Updated dependencies []:
|
|
232
|
-
- @equinor/fusion-framework-module-signalr@4.0.5
|
|
233
|
-
|
|
234
|
-
## 3.0.19
|
|
235
|
-
|
|
236
|
-
### Patch Changes
|
|
237
|
-
|
|
238
|
-
- Updated dependencies []:
|
|
239
|
-
- @equinor/fusion-framework-module-signalr@4.0.4
|
|
240
|
-
|
|
241
|
-
## 3.0.18
|
|
242
|
-
|
|
243
|
-
### Patch Changes
|
|
244
|
-
|
|
245
|
-
- Updated dependencies []:
|
|
246
|
-
- @equinor/fusion-framework-module-signalr@4.0.3
|
|
247
|
-
|
|
248
|
-
## 3.0.17
|
|
249
|
-
|
|
250
|
-
### Patch Changes
|
|
251
|
-
|
|
252
|
-
- Updated dependencies []:
|
|
253
|
-
- @equinor/fusion-framework-module-signalr@4.0.2
|
|
254
|
-
|
|
255
|
-
## 3.0.16
|
|
256
|
-
|
|
257
|
-
### Patch Changes
|
|
258
|
-
|
|
259
|
-
- Updated dependencies []:
|
|
260
|
-
- @equinor/fusion-framework-module-signalr@4.0.1
|
|
261
|
-
|
|
262
|
-
## 3.0.15
|
|
263
|
-
|
|
264
|
-
### Patch Changes
|
|
265
|
-
|
|
266
|
-
- Updated dependencies [[`15152e4`](https://github.com/equinor/fusion-framework/commit/15152e413c054a5f57af93211a470c98c7696caa)]:
|
|
267
|
-
- @equinor/fusion-framework-module-signalr@4.0.0
|
|
268
|
-
- @equinor/fusion-framework-react-module@3.1.6
|
|
269
|
-
|
|
270
|
-
## 3.0.14
|
|
271
|
-
|
|
272
|
-
### Patch Changes
|
|
273
|
-
|
|
274
|
-
- Updated dependencies []:
|
|
275
|
-
- @equinor/fusion-framework-module-signalr@3.0.13
|
|
276
|
-
|
|
277
|
-
## 3.0.13
|
|
278
|
-
|
|
279
|
-
### Patch Changes
|
|
280
|
-
|
|
281
|
-
- Updated dependencies []:
|
|
282
|
-
- @equinor/fusion-framework-module-signalr@3.0.12
|
|
283
|
-
- @equinor/fusion-framework-react-module@3.1.5
|
|
284
|
-
|
|
285
|
-
## 3.0.12
|
|
286
|
-
|
|
287
|
-
### Patch Changes
|
|
288
|
-
|
|
289
|
-
- Updated dependencies []:
|
|
290
|
-
- @equinor/fusion-framework-module-signalr@3.0.11
|
|
291
|
-
- @equinor/fusion-framework-react-module@3.1.4
|
|
292
|
-
|
|
293
|
-
## 3.0.11
|
|
294
|
-
|
|
295
|
-
### Patch Changes
|
|
296
|
-
|
|
297
|
-
- [#2333](https://github.com/equinor/fusion-framework/pull/2333) [`86d55b8`](https://github.com/equinor/fusion-framework/commit/86d55b8d27a572f3f62170b1e72aceda54f955e1) Thanks [@odinr](https://github.com/odinr)! - Updated `TypeScript` to 5.5.3
|
|
298
|
-
|
|
299
|
-
- [#2320](https://github.com/equinor/fusion-framework/pull/2320) [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee) Thanks [@odinr](https://github.com/odinr)! - Removed the `removeComments` option from the `tsconfig.base.json` file.
|
|
300
|
-
|
|
301
|
-
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
302
|
-
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
303
|
-
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
304
|
-
3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
|
|
305
|
-
|
|
306
|
-
No action is required from consumers of the library. This change affects the build process and doesn't introduce any breaking changes or new features.
|
|
307
|
-
|
|
308
|
-
Before:
|
|
309
|
-
|
|
310
|
-
```json
|
|
311
|
-
{
|
|
312
|
-
"compilerOptions": {
|
|
313
|
-
"module": "ES2022",
|
|
314
|
-
"target": "ES6",
|
|
315
|
-
"incremental": true,
|
|
316
|
-
"removeComments": true,
|
|
317
|
-
"preserveConstEnums": true,
|
|
318
|
-
"sourceMap": true,
|
|
319
|
-
"moduleResolution": "node"
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
```
|
|
323
|
-
|
|
324
|
-
After:
|
|
325
|
-
|
|
326
|
-
```json
|
|
327
|
-
{
|
|
328
|
-
"compilerOptions": {
|
|
329
|
-
"module": "ES2022",
|
|
330
|
-
"target": "ES6",
|
|
331
|
-
"incremental": true,
|
|
332
|
-
"preserveConstEnums": true,
|
|
333
|
-
"sourceMap": true,
|
|
334
|
-
"moduleResolution": "node"
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
```
|
|
338
|
-
|
|
339
|
-
This change ensures that comments are preserved in the compiled output, potentially improving the development and debugging experience for users of the Fusion Framework.
|
|
340
|
-
|
|
341
|
-
- Updated dependencies [[`86d55b8`](https://github.com/equinor/fusion-framework/commit/86d55b8d27a572f3f62170b1e72aceda54f955e1), [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee)]:
|
|
342
|
-
- @equinor/fusion-framework-react-module@3.1.3
|
|
343
|
-
- @equinor/fusion-framework-module-signalr@3.0.10
|
|
344
|
-
|
|
345
|
-
## 3.0.10
|
|
346
|
-
|
|
347
|
-
### Patch Changes
|
|
348
|
-
|
|
349
|
-
- Updated dependencies []:
|
|
350
|
-
- @equinor/fusion-framework-module-signalr@3.0.9
|
|
351
|
-
|
|
352
|
-
## 3.0.9
|
|
353
|
-
|
|
354
|
-
### Patch Changes
|
|
355
|
-
|
|
356
|
-
- Updated dependencies []:
|
|
357
|
-
- @equinor/fusion-framework-module-signalr@3.0.8
|
|
358
|
-
|
|
359
|
-
## 3.0.8
|
|
360
|
-
|
|
361
|
-
### Patch Changes
|
|
362
|
-
|
|
363
|
-
- Updated dependencies []:
|
|
364
|
-
- @equinor/fusion-framework-module-signalr@3.0.7
|
|
365
|
-
- @equinor/fusion-framework-react-module@3.1.2
|
|
366
|
-
|
|
367
|
-
## 3.0.7
|
|
368
|
-
|
|
369
|
-
### Patch Changes
|
|
370
|
-
|
|
371
|
-
- Updated dependencies []:
|
|
372
|
-
- @equinor/fusion-framework-module-signalr@3.0.6
|
|
373
|
-
|
|
374
|
-
## 3.0.6
|
|
375
|
-
|
|
376
|
-
### Patch Changes
|
|
377
|
-
|
|
378
|
-
- Updated dependencies []:
|
|
379
|
-
- @equinor/fusion-framework-module-signalr@3.0.5
|
|
380
|
-
|
|
381
|
-
## 3.0.5
|
|
382
|
-
|
|
383
|
-
### Patch Changes
|
|
384
|
-
|
|
385
|
-
- Updated dependencies []:
|
|
386
|
-
- @equinor/fusion-framework-module-signalr@3.0.4
|
|
387
|
-
|
|
388
|
-
## 3.0.4
|
|
389
|
-
|
|
390
|
-
### Patch Changes
|
|
391
|
-
|
|
392
|
-
- Updated dependencies []:
|
|
393
|
-
- @equinor/fusion-framework-module-signalr@3.0.3
|
|
394
|
-
|
|
395
|
-
## 3.0.3
|
|
396
|
-
|
|
397
|
-
### Patch Changes
|
|
398
|
-
|
|
399
|
-
- Updated dependencies []:
|
|
400
|
-
- @equinor/fusion-framework-module-signalr@3.0.2
|
|
401
|
-
|
|
402
|
-
## 3.0.2
|
|
403
|
-
|
|
404
|
-
### Patch Changes
|
|
405
|
-
|
|
406
|
-
- Updated dependencies []:
|
|
407
|
-
- @equinor/fusion-framework-module-signalr@3.0.1
|
|
408
|
-
|
|
409
|
-
## 3.0.1
|
|
410
|
-
|
|
411
|
-
### Patch Changes
|
|
412
|
-
|
|
413
|
-
- [#1981](https://github.com/equinor/fusion-framework/pull/1981) [`3d068b5`](https://github.com/equinor/fusion-framework/commit/3d068b5a7b214b62fcae5546f08830ea90f872dc) Thanks [@eikeland](https://github.com/eikeland)! - Align package exports with node10+ documentation.
|
|
414
|
-
|
|
415
|
-
- Updated dependencies [[`3d068b5`](https://github.com/equinor/fusion-framework/commit/3d068b5a7b214b62fcae5546f08830ea90f872dc)]:
|
|
416
|
-
- @equinor/fusion-framework-react-module@3.1.1
|
|
417
|
-
|
|
418
|
-
## 3.0.0
|
|
419
|
-
|
|
420
|
-
### Minor Changes
|
|
421
|
-
|
|
422
|
-
- [#1953](https://github.com/equinor/fusion-framework/pull/1953) [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904) Thanks [@odinr](https://github.com/odinr)! - updated typescript to 5.4.2
|
|
423
|
-
|
|
424
|
-
### Patch Changes
|
|
425
|
-
|
|
426
|
-
- Updated dependencies [[`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904)]:
|
|
427
|
-
- @equinor/fusion-framework-react-module@3.1.0
|
|
428
|
-
- @equinor/fusion-framework-module-signalr@3.0.0
|
|
429
|
-
|
|
430
|
-
## 2.0.18
|
|
431
|
-
|
|
432
|
-
### Patch Changes
|
|
433
|
-
|
|
434
|
-
- Updated dependencies []:
|
|
435
|
-
- @equinor/fusion-framework-module-signalr@2.0.19
|
|
436
|
-
- @equinor/fusion-framework-react-module@3.0.8
|
|
437
|
-
|
|
438
|
-
## 2.0.17
|
|
439
|
-
|
|
440
|
-
### Patch Changes
|
|
441
|
-
|
|
442
|
-
- Updated dependencies []:
|
|
443
|
-
- @equinor/fusion-framework-module-signalr@2.0.18
|
|
444
|
-
|
|
445
|
-
## 2.0.16
|
|
446
|
-
|
|
447
|
-
### Patch Changes
|
|
448
|
-
|
|
449
|
-
- Updated dependencies []:
|
|
450
|
-
- @equinor/fusion-framework-module-signalr@2.0.17
|
|
451
|
-
|
|
452
|
-
## 2.0.15
|
|
453
|
-
|
|
454
|
-
### Patch Changes
|
|
455
|
-
|
|
456
|
-
- Updated dependencies []:
|
|
457
|
-
- @equinor/fusion-framework-module-signalr@2.0.16
|
|
458
|
-
|
|
459
|
-
## 2.0.14
|
|
460
|
-
|
|
461
|
-
### Patch Changes
|
|
462
|
-
|
|
463
|
-
- Updated dependencies []:
|
|
464
|
-
- @equinor/fusion-framework-module-signalr@2.0.15
|
|
465
|
-
|
|
466
|
-
## 2.0.13
|
|
467
|
-
|
|
468
|
-
### Patch Changes
|
|
469
|
-
|
|
470
|
-
- Updated dependencies []:
|
|
471
|
-
- @equinor/fusion-framework-module-signalr@2.0.14
|
|
472
|
-
|
|
473
|
-
## 2.0.12
|
|
474
|
-
|
|
475
|
-
### Patch Changes
|
|
476
|
-
|
|
477
|
-
- Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
|
|
478
|
-
- @equinor/fusion-framework-module-signalr@2.0.13
|
|
479
|
-
- @equinor/fusion-framework-react-module@3.0.7
|
|
480
|
-
|
|
481
|
-
## 2.0.11
|
|
482
|
-
|
|
483
|
-
### Patch Changes
|
|
484
|
-
|
|
485
|
-
- Updated dependencies []:
|
|
486
|
-
- @equinor/fusion-framework-module-signalr@2.0.12
|
|
487
|
-
|
|
488
|
-
## 2.0.10
|
|
489
|
-
|
|
490
|
-
### Patch Changes
|
|
491
|
-
|
|
492
|
-
- Updated dependencies []:
|
|
493
|
-
- @equinor/fusion-framework-module-signalr@2.0.11
|
|
494
|
-
|
|
495
|
-
## 2.0.9
|
|
496
|
-
|
|
497
|
-
### Patch Changes
|
|
498
|
-
|
|
499
|
-
- [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
|
|
500
|
-
|
|
501
|
-
- Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
|
|
502
|
-
- @equinor/fusion-framework-module-signalr@2.0.10
|
|
503
|
-
- @equinor/fusion-framework-react-module@3.0.6
|
|
504
|
-
|
|
505
|
-
## 2.0.8
|
|
506
|
-
|
|
507
|
-
### Patch Changes
|
|
508
|
-
|
|
509
|
-
- Updated dependencies []:
|
|
510
|
-
- @equinor/fusion-framework-module-signalr@2.0.9
|
|
511
|
-
|
|
512
|
-
## 2.0.7
|
|
513
|
-
|
|
514
|
-
### Patch Changes
|
|
515
|
-
|
|
516
|
-
- Updated dependencies []:
|
|
517
|
-
- @equinor/fusion-framework-module-signalr@2.0.8
|
|
518
|
-
|
|
519
|
-
## 2.0.6
|
|
520
|
-
|
|
521
|
-
### Patch Changes
|
|
522
|
-
|
|
523
|
-
- Updated dependencies []:
|
|
524
|
-
- @equinor/fusion-framework-module-signalr@2.0.7
|
|
525
|
-
- @equinor/fusion-framework-react-module@3.0.5
|
|
526
|
-
|
|
527
|
-
## 2.0.5
|
|
528
|
-
|
|
529
|
-
### Patch Changes
|
|
530
|
-
|
|
531
|
-
- Updated dependencies []:
|
|
532
|
-
- @equinor/fusion-framework-module-signalr@2.0.6
|
|
533
|
-
|
|
534
|
-
## 2.0.4
|
|
535
|
-
|
|
536
|
-
### Patch Changes
|
|
537
|
-
|
|
538
|
-
- [#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
|
|
539
|
-
|
|
540
|
-
conflicts of `@types/react` made random outcomes when using `yarn`
|
|
541
|
-
|
|
542
|
-
this change should not affect consumer of the packages, but might conflict dependent on local package manager.
|
|
543
|
-
|
|
544
|
-
- Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`2dccccd1`](https://github.com/equinor/fusion-framework/commit/2dccccd124fbe3cdde2132c29c27d3da9fc6f1f5), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
|
|
545
|
-
- @equinor/fusion-framework-react-module@3.0.4
|
|
546
|
-
- @equinor/fusion-framework-module-signalr@2.0.5
|
|
547
|
-
|
|
548
|
-
## 2.0.3
|
|
549
|
-
|
|
550
|
-
### Patch Changes
|
|
551
|
-
|
|
552
|
-
- d8a439f0: chore(signalr): update peer deps
|
|
553
|
-
- Updated dependencies [d8a439f0]
|
|
554
|
-
- @equinor/fusion-framework-module-signalr@2.0.3
|
|
555
|
-
|
|
556
|
-
All notable changes to this project will be documented in this file.
|
|
557
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
558
|
-
|
|
559
|
-
## 2.0.2 (2023-05-23)
|
|
560
|
-
|
|
561
|
-
**Note:** Version bump only for package @equinor/fusion-framework-react-module-signalr
|
|
562
|
-
|
|
563
|
-
## 2.0.1 (2023-05-05)
|
|
564
|
-
|
|
565
|
-
**Note:** Version bump only for package @equinor/fusion-framework-react-module-signalr
|
|
566
|
-
|
|
567
|
-
## 2.0.0 (2023-04-16)
|
|
568
|
-
|
|
569
|
-
**Note:** Version bump only for package @equinor/fusion-framework-react-module-signalr
|
|
570
|
-
|
|
571
|
-
## 1.0.3 (2023-03-22)
|
|
572
|
-
|
|
573
|
-
**Note:** Version bump only for package @equinor/fusion-framework-react-module-signalr
|
|
574
|
-
|
|
575
|
-
## [1.0.2](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-react-module-signalr@1.0.1...@equinor/fusion-framework-react-module-signalr@1.0.2) (2023-03-20)
|
|
576
|
-
|
|
577
|
-
**Note:** Version bump only for package @equinor/fusion-framework-react-module-signalr
|
|
578
|
-
|
|
579
|
-
## 1.0.1 (2023-01-30)
|
|
580
|
-
|
|
581
|
-
**Note:** Version bump only for package @equinor/fusion-framework-react-module-signalr
|
|
582
|
-
|
|
583
|
-
## [1.0.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-react-module-signalr@0.1.0...@equinor/fusion-framework-react-module-signalr@1.0.0) (2023-01-27)
|
|
584
|
-
|
|
585
|
-
**Note:** Version bump only for package @equinor/fusion-framework-react-module-signalr
|
|
586
|
-
|
|
587
|
-
## [1.0.0-alpha.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-react-module-signalr@0.1.0...@equinor/fusion-framework-react-module-signalr@1.0.0-alpha.0) (2023-01-26)
|
|
588
|
-
|
|
589
|
-
**Note:** Version bump only for package @equinor/fusion-framework-react-module-signalr
|
|
590
|
-
|
|
591
|
-
## 0.1.0 (2023-01-26)
|
|
592
|
-
|
|
593
|
-
### Features
|
|
594
|
-
|
|
595
|
-
- initial code for signalr-module and react-signalr ([c385ee2](https://github.com/equinor/fusion-framework/commit/c385ee2eca6ee58d87e2de955c43c2b75212efe4))
|
|
596
|
-
- **react-module-signalr:** create a hook for creating topic on a provider ([b4c1fd5](https://github.com/equinor/fusion-framework/commit/b4c1fd5c35b8b570380201a87a5142b617730a00))
|
|
597
|
-
- **react-module-signalr:** expose cjs module ([a0c9b52](https://github.com/equinor/fusion-framework/commit/a0c9b52bd5f05e5419267ff05e6d533b5ea98bcb))
|
|
598
|
-
- **react-module-signalr:** improve hook for using SignalR topic ([7eb511f](https://github.com/equinor/fusion-framework/commit/7eb511fb7a3f603aa418e5dfa969bea3b175d41c))
|
|
599
|
-
|
|
600
|
-
### Bug Fixes
|
|
601
|
-
|
|
602
|
-
- **react-module-signalr:** resolve circular ref ([f34086d](https://github.com/equinor/fusion-framework/commit/f34086d1710f2a3494feb19dd09079f66a1b5d63))
|
package/src/index.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* React integration for the Fusion SignalR module.
|
|
3
|
-
*
|
|
4
|
-
* Provides hooks for subscribing to SignalR hub topics from React components.
|
|
5
|
-
* Use {@link useTopic} for module-scoped access or {@link useProviderTopic}
|
|
6
|
-
* when injecting a provider explicitly.
|
|
7
|
-
*
|
|
8
|
-
* @see {@link enableSignalR} to enable the module in a configurator.
|
|
9
|
-
*
|
|
10
|
-
* @packageDocumentation
|
|
11
|
-
*/
|
|
12
|
-
export { useSignalRProvider as useProviderTopic } from './useSignalRProvider';
|
|
13
|
-
export { useTopic } from './useTopic';
|
|
14
|
-
|
|
15
|
-
export { Topic, enableSignalR } from '@equinor/fusion-framework-module-signalr';
|
|
16
|
-
|
|
17
|
-
export type {
|
|
18
|
-
ISignalRConfigurator,
|
|
19
|
-
SignalRHubConfig,
|
|
20
|
-
SignalRModule,
|
|
21
|
-
} from '@equinor/fusion-framework-module-signalr';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { useMemo } from 'react';
|
|
2
|
-
import type { ISignalRProvider, Topic } from '@equinor/fusion-framework-module-signalr';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Hook for connecting to a SignalR hub topic via the given provider.
|
|
6
|
-
*
|
|
7
|
-
* @template T - The type of data emitted by the topic
|
|
8
|
-
* @param provider - The SignalR provider used to establish the connection
|
|
9
|
-
* @param hubId - The id of the hub to connect to
|
|
10
|
-
* @param topicId - The id of the topic within the hub to subscribe to
|
|
11
|
-
* @returns The connected topic
|
|
12
|
-
*/
|
|
13
|
-
export const useSignalRProvider = <T>(
|
|
14
|
-
provider: ISignalRProvider,
|
|
15
|
-
hubId: string,
|
|
16
|
-
topicId: string,
|
|
17
|
-
): Topic<T> => {
|
|
18
|
-
const topic = useMemo(() => provider.connect<T>(hubId, topicId), [provider, hubId, topicId]);
|
|
19
|
-
return topic;
|
|
20
|
-
};
|