@botpress/webchat 5.3.2 → 5.5.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/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@botpress/webchat",
3
- "version": "5.3.2",
4
- "type": "module",
3
+ "version": "5.5.3",
5
4
  "license": "MIT",
5
+ "repository": {
6
+ "url": "https://github.com/botpress/genisys"
7
+ },
8
+ "type": "module",
6
9
  "main": "./dist/index.umd.cjs",
7
10
  "module": "./dist/index.js",
8
11
  "types": "./dist/index.d.ts",
@@ -13,18 +16,13 @@
13
16
  "require": "./dist/index.umd.cjs"
14
17
  }
15
18
  },
16
- "repository": {
17
- "url": "https://github.com/botpress/genisys"
18
- },
19
19
  "dependencies": {
20
20
  "@emoji-mart/data": "^1.2.1",
21
21
  "@emoji-mart/react": "^1.1.1",
22
22
  "@floating-ui/react": "^0.25.4",
23
23
  "@headlessui/react": "^2.2.0",
24
24
  "@radix-ui/react-avatar": "^1.1.11",
25
- "@radix-ui/react-collapsible": "^1.1.12",
26
25
  "@radix-ui/react-dialog": "^1.1.15",
27
- "@radix-ui/react-scroll-area": "^1.2.10",
28
26
  "@redux-devtools/extension": "^3.3.0",
29
27
  "@types/deep-equal": "^1.0.4",
30
28
  "@types/qs": "^6.9.15",
@@ -56,20 +54,8 @@
56
54
  "use-stick-to-bottom": "^1.1.1",
57
55
  "uuid": "^9.0.1",
58
56
  "zustand": "^5.0.9",
59
- "@botpress/webchat-client": "0.7.3",
60
- "@bpinternal/shared": "1.2.3"
61
- },
62
- "peerDependencies": {
63
- "react": "^18.0.0 || ^19.0.0",
64
- "react-dom": "^18.0.0 || ^19.0.0"
65
- },
66
- "peerDependenciesMeta": {
67
- "react": {
68
- "optional": false
69
- },
70
- "react-dom": {
71
- "optional": false
72
- }
57
+ "@botpress/webchat-client": "0.8.0",
58
+ "@bpinternal/shared": "1.2.7"
73
59
  },
74
60
  "devDependencies": {
75
61
  "@faker-js/faker": "^10.0.0",
@@ -104,6 +90,18 @@
104
90
  "@repo/eslint-config": "0.0.0",
105
91
  "@repo/typescript-config": "0.0.0"
106
92
  },
93
+ "peerDependencies": {
94
+ "react": "^18.0.0 || ^19.0.0",
95
+ "react-dom": "^18.0.0 || ^19.0.0"
96
+ },
97
+ "peerDependenciesMeta": {
98
+ "react": {
99
+ "optional": false
100
+ },
101
+ "react-dom": {
102
+ "optional": false
103
+ }
104
+ },
107
105
  "scripts": {
108
106
  "check:type": "tsc --noEmit",
109
107
  "build": "vite build",
package/vitest.config.ts CHANGED
@@ -2,7 +2,7 @@ import { defineConfig } from 'vitest/config'
2
2
 
3
3
  export default defineConfig({
4
4
  test: {
5
- include: ['**/*.test.ts'],
5
+ include: ['**/*.test.ts', '**/*.test.tsx'],
6
6
  environment: 'jsdom',
7
7
  },
8
8
  esbuild: {
@@ -10,7 +10,7 @@ export default defineConfig({
10
10
  },
11
11
  resolve: {
12
12
  alias: {
13
- '@botpress/webchat-client': new URL('../webchat-client/src/index.ts', import.meta.url).pathname, // Needed in order to resolve to the mocked module
13
+ '@botpress/webchat-client': new URL('../client/src/index.ts', import.meta.url).pathname, // Needed in order to resolve to the mocked module
14
14
  },
15
15
  },
16
16
  })