@marketrix.ai/widget 3.8.470 → 3.8.472
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/README.md +1 -1
- package/dist/src/components/{MarketrixWidget.d.ts → WidgetRoot.d.ts} +2 -2
- package/dist/src/components/base/ErrorBoundary.d.ts +19 -0
- package/dist/src/components/base/Surface.d.ts +0 -2
- package/dist/src/components/base/icons.d.ts +8 -92
- package/dist/src/components/base/layoutProps.d.ts +46 -7
- package/dist/src/components/blocks/ChatInput.d.ts +4 -3
- package/dist/src/components/navigation/ResizeHandles.d.ts +1 -1
- package/dist/src/context/WidgetProviders.d.ts +1 -1
- package/dist/src/context/sseReducer.d.ts +5 -4
- package/dist/src/design-system/layers.d.ts +2 -1
- package/dist/src/hooks/useResize.d.ts +24 -2
- package/dist/src/hooks/useScreenShare.d.ts +4 -3
- package/dist/src/hooks/useWidget.d.ts +1 -1
- package/dist/src/services/ApiService.d.ts +2 -2
- package/dist/src/services/BrowserToolService.d.ts +2 -1
- package/dist/src/services/ChatService.d.ts +0 -1
- package/dist/src/services/DomService.d.ts +1 -1
- package/dist/src/services/ShowModeService.d.ts +2 -1
- package/dist/src/services/StorageService.d.ts +6 -5
- package/dist/src/services/StreamClient.d.ts +5 -1
- package/dist/src/services/WidgetService.d.ts +2 -1
- package/dist/src/types/index.d.ts +0 -3
- package/dist/src/utils/bootstrap.d.ts +10 -6
- package/dist/src/utils/chat.d.ts +1 -2
- package/dist/src/utils/dom.d.ts +1 -0
- package/dist/widget.mjs +57 -57
- package/dist/widget.mjs.map +1 -1
- package/package.json +12 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marketrix.ai/widget",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.472",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/widget.mjs",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"start": "vite",
|
|
23
23
|
"build": "vite build",
|
|
24
24
|
"ci": "npm run type-check && npm run lint:check && npm run build && npm run format:check && npm run test:run && npm run bundle:check",
|
|
25
|
-
"lint": "eslint . --
|
|
26
|
-
"lint:check": "eslint . --
|
|
25
|
+
"lint": "eslint . --max-warnings 200 --fix",
|
|
26
|
+
"lint:check": "eslint . --max-warnings 0",
|
|
27
27
|
"check": "tsc --noEmit",
|
|
28
28
|
"type-check": "tsc --noEmit",
|
|
29
29
|
"test": "vitest",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"format": "prettier --write .",
|
|
34
34
|
"format:check": "prettier --check .",
|
|
35
35
|
"bundle:check": "node scripts/bundle-check.mjs",
|
|
36
|
-
"code:fix": "eslint . --
|
|
37
|
-
"code:check": "tsc --noEmit && eslint .
|
|
36
|
+
"code:fix": "eslint . --fix && prettier --write .",
|
|
37
|
+
"code:check": "tsc --noEmit && eslint . && prettier --check ."
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@base-ui/react": "^1.7.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@orpc/contract": "^1.15.0",
|
|
43
43
|
"@rrweb/record": "^2.1.1",
|
|
44
44
|
"tailwind-merge": "^3.6.0",
|
|
45
|
-
"zod": "
|
|
45
|
+
"zod": "~4.5.4"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": "^19.2.3",
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"@rrweb/types": "^2.0.0-alpha.20",
|
|
54
54
|
"@tailwindcss/vite": "^4.3.3",
|
|
55
55
|
"@testing-library/jest-dom": "^7.0.1",
|
|
56
|
-
"@testing-library/react": "^16.3.
|
|
57
|
-
"@types/node": "^26.
|
|
56
|
+
"@testing-library/react": "^16.3.3",
|
|
57
|
+
"@types/node": "^26.4.1",
|
|
58
58
|
"@types/react": "^19.2.18",
|
|
59
59
|
"@types/react-dom": "^19.2.5",
|
|
60
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^8.69.0",
|
|
61
61
|
"@typescript-eslint/parser": "^8.59.0",
|
|
62
|
-
"@vitejs/plugin-react": "^6.1.
|
|
62
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
63
63
|
"@vitest/coverage-v8": "^4.1.11",
|
|
64
64
|
"eslint": "^10.9.1",
|
|
65
65
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -67,11 +67,12 @@
|
|
|
67
67
|
"eslint-plugin-simple-import-sort": "^14.0.0",
|
|
68
68
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
69
69
|
"jsdom": "^30.0.1",
|
|
70
|
+
"lefthook": "^2.1.12",
|
|
70
71
|
"prettier": "^3.9.6",
|
|
71
72
|
"react": "^19.2.8",
|
|
72
73
|
"react-dom": "^19.2.8",
|
|
73
74
|
"tailwindcss": "^4.2.4",
|
|
74
|
-
"terser": "^5.
|
|
75
|
+
"terser": "^5.51.2",
|
|
75
76
|
"typescript": "^6.0.3",
|
|
76
77
|
"vite": "^8.2.2",
|
|
77
78
|
"vitest": "^4.1.5",
|