@equinor/fusion-framework-react-module-signalr 4.0.5 → 4.0.6

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.
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * @packageDocumentation
11
11
  */
12
- export { useSignalRProvider as useProviderTopic } from './useSignalRProvider';
13
- export { useTopic } from './useTopic';
12
+ export { useSignalRProvider as useProviderTopic } from './useSignalRProvider.js';
13
+ export { useTopic } from './useTopic.js';
14
14
  export { Topic, enableSignalR } from '@equinor/fusion-framework-module-signalr';
15
15
  export type { ISignalRConfigurator, SignalRHubConfig, SignalRModule, } from '@equinor/fusion-framework-module-signalr';
@@ -1,4 +1,4 @@
1
- import { useSignalRProvider } from './useSignalRProvider';
1
+ import { useSignalRProvider } from './useSignalRProvider.js';
2
2
  /**
3
3
  * Hook for connecting to a SignalR hub topic, resolving the provider from the framework automatically.
4
4
  *
@@ -1 +1 @@
1
- export declare const version = "4.0.5";
1
+ export declare const version = "4.0.6";
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-react-module-signalr",
3
- "version": "4.0.5",
3
+ "version": "4.0.6",
4
4
  "description": "",
5
+ "type": "module",
5
6
  "sideEffects": false,
6
7
  "main": "dist/esm/index.js",
7
8
  "types": "dist/types/index.d.ts",
@@ -26,18 +27,18 @@
26
27
  "directory": "packages/react/modules/signalr"
27
28
  },
28
29
  "dependencies": {
29
- "@equinor/fusion-framework-module-signalr": "^14.0.1"
30
+ "@equinor/fusion-framework-module-signalr": "^14.0.3"
30
31
  },
31
32
  "devDependencies": {
33
+ "@equinor/fusion-framework-react-module": "^4.0.5",
32
34
  "@types/react": "^19.2.7",
33
35
  "react": "^19.2.1",
34
- "typescript": "^7.0.2",
35
- "@equinor/fusion-framework-react-module": "^4.0.4"
36
+ "typescript": "^7.0.2"
36
37
  },
37
38
  "peerDependencies": {
39
+ "@equinor/fusion-framework-react-module": "^4.0.5",
38
40
  "@types/react": "^18.0.0 || ^19.0.0",
39
- "react": "^18.0.0 || ^19.0.0",
40
- "@equinor/fusion-framework-react-module": "^4.0.4"
41
+ "react": "^18.0.0 || ^19.0.0"
41
42
  },
42
43
  "peerDependenciesMeta": {
43
44
  "@types/react": {
@@ -45,6 +46,7 @@
45
46
  }
46
47
  },
47
48
  "scripts": {
49
+ "prebuild": "node ../../../../.github/scripts/generate-versions.mjs",
48
50
  "build": "tsc -b"
49
51
  }
50
52
  }