@chainlit/react-client 0.2.4 → 0.3.0

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,15 +1,7 @@
1
1
  {
2
2
  "name": "@chainlit/react-client",
3
3
  "description": "Websocket client to connect to your chainlit app.",
4
- "version": "0.2.4",
5
- "scripts": {
6
- "build": "tsup src/index.ts --tsconfig tsconfig.build.json --clean --format esm,cjs --dts --external react --external recoil --minify --sourcemap --treeshake",
7
- "dev": "tsup src/index.ts --clean --format esm,cjs --dts --external react --external recoil --minify --sourcemap --treeshake",
8
- "lint": "eslint ./src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 && tsc --noemit",
9
- "format": "prettier '**/*.{ts,tsx}' --write",
10
- "test": "echo no tests yet",
11
- "prepublishOnly": "pnpm run build"
12
- },
4
+ "version": "0.3.0",
13
5
  "repository": {
14
6
  "type": "git",
15
7
  "url": "https://github.com/Chainlit/"
@@ -59,19 +51,11 @@
59
51
  "swr": "^2.2.2",
60
52
  "uuid": "^9.0.0"
61
53
  },
62
- "pnpm": {
63
- "overrides": {
64
- "vite@>=4.4.0 <4.4.12": ">=4.4.12",
65
- "@adobe/css-tools@<4.3.2": ">=4.3.2",
66
- "vite@>=4.0.0 <=4.5.1": ">=4.5.2",
67
- "vite@>=4.0.0 <=4.5.2": ">=4.5.3",
68
- "braces@<3.0.3": ">=3.0.3",
69
- "ws@>=8.0.0 <8.17.1": ">=8.17.1",
70
- "micromatch@<4.0.8": ">=4.0.8",
71
- "vite@>=4.0.0 <4.5.4": ">=4.5.4",
72
- "vite@>=4.0.0 <=4.5.3": ">=4.5.4",
73
- "rollup@>=3.0.0 <3.29.5": ">=3.29.5",
74
- "cross-spawn@>=7.0.0 <7.0.5": ">=7.0.5"
75
- }
54
+ "scripts": {
55
+ "build": "tsup src/index.ts --tsconfig tsconfig.build.json --clean --format esm,cjs --dts --external react --external recoil --minify --sourcemap --treeshake",
56
+ "dev": "tsup src/index.ts --clean --format esm,cjs --dts --external react --external recoil --minify --sourcemap --treeshake",
57
+ "lint": "eslint ./src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 && tsc --noemit",
58
+ "format": "prettier '**/*.{ts,tsx}' --write",
59
+ "test": "echo no tests yet"
76
60
  }
77
- }
61
+ }