@trycourier/courier-react 8.0.16-beta → 8.0.17-beta

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.
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { ReactNode } from '../../../../node_modules/react';
2
2
  /**
3
3
  * Converts a React node to an HTMLElement.
4
4
  * This function uses flushSync to ensure the DOM is updated synchronously.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trycourier/courier-react",
3
- "version": "8.0.16-beta",
3
+ "version": "8.0.17-beta",
4
4
  "description": "The React components for the Courier web UI",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -13,6 +13,9 @@
13
13
  "prepare": "npm run build",
14
14
  "test": "echo \"courier-react has no tests\""
15
15
  },
16
+ "files": [
17
+ "dist"
18
+ ],
16
19
  "keywords": [
17
20
  "courier",
18
21
  "ui",
@@ -22,9 +25,6 @@
22
25
  ],
23
26
  "author": "Courier",
24
27
  "license": "MIT",
25
- "files": [
26
- "dist"
27
- ],
28
28
  "dependencies": {
29
29
  "@trycourier/courier-js": "2.0.3-beta",
30
30
  "@trycourier/courier-ui-core": "1.0.5-beta",
@@ -40,9 +40,17 @@
40
40
  "@types/react-dom": "19.1.0",
41
41
  "@vitejs/plugin-react": "4.4.1",
42
42
  "cross-env": "^7.0.3",
43
- "react": ">=18.0.0",
44
- "react-dom": ">=18.0.0",
43
+ "react": "18.2.0",
44
+ "react-dom": "18.2.0",
45
45
  "vite": "6.2.6",
46
46
  "vite-plugin-dts": "4.5.3"
47
+ },
48
+ "overrides": {
49
+ "react": "18.2.0",
50
+ "react-dom": "18.2.0"
51
+ },
52
+ "resolutions": {
53
+ "react": "18.2.0",
54
+ "react-dom": "18.2.0"
47
55
  }
48
56
  }