omnix-chat 1.1.2 → 1.1.3
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 +9 -0
- package/package.json +3 -2
- package/react/index.d.ts +2 -0
- package/react/index.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.1.3] - 2026-06-03
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Add a physical `react/index.js` + `react/index.d.ts` shim (forwards to
|
|
15
|
+
`dist/react.es.js` and `dist/src/react/index.d.ts`) so Umi 3 MFSU and other
|
|
16
|
+
tools that `stat` `node_modules/omnix-chat/react` no longer hit ENOENT.
|
|
17
|
+
`package.json` `exports["./react"]` is unchanged.
|
|
18
|
+
|
|
10
19
|
### Changed
|
|
11
20
|
|
|
12
21
|
- **开箱即用**:`omnix-chat/react` 内置 antd、@ant-design/x、icons、recharts 等 UI
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnix-chat",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Embeddable Agent chat SDK for the browser. Configure with a DSN and drop a chat widget into any web page.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"dist",
|
|
35
|
+
"react",
|
|
35
36
|
"README.md",
|
|
36
37
|
"CHANGELOG.md",
|
|
37
38
|
"LICENSE"
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
},
|
|
49
50
|
"scripts": {
|
|
50
51
|
"dev": "vite --config vite.config.demo.ts",
|
|
51
|
-
"build": "vite build && vite build --config vite.config.react.ts",
|
|
52
|
+
"build": "vite build && vite build --config vite.config.react.ts && node scripts/generate-react-shim.mjs",
|
|
52
53
|
"prepublishOnly": "pnpm typecheck && pnpm build",
|
|
53
54
|
"build:demo": "vite build --config vite.config.demo.ts",
|
|
54
55
|
"preview": "vite preview --config vite.config.demo.ts",
|
package/react/index.d.ts
ADDED
package/react/index.js
ADDED