2
0

🔧 Allow react lib to be used with v16

This commit is contained in:
Baptiste Arnaud
2024-01-10 11:20:31 +01:00
parent 2b2e7c72f3
commit 459dac4224
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@typebot.io/js", "name": "@typebot.io/js",
"version": "0.2.31", "version": "0.2.32",
"description": "Javascript library to display typebots on your website", "description": "Javascript library to display typebots on your website",
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",

View File

@ -40,6 +40,6 @@
}, },
"peerDependencies": { "peerDependencies": {
"next": "12.x || 13.x || 14.x", "next": "12.x || 13.x || 14.x",
"react": "18.x" "react": "^16.0.0 || ^17.0.0 || ^18.0.0"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@typebot.io/react", "name": "@typebot.io/react",
"version": "0.2.31", "version": "0.2.32",
"description": "Convenient library to display typebots on your React app", "description": "Convenient library to display typebots on your React app",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
@ -43,6 +43,6 @@
"typescript": "5.3.2" "typescript": "5.3.2"
}, },
"peerDependencies": { "peerDependencies": {
"react": "18.x" "react": "^16.0.0 || ^17.0.0 || ^18.0.0"
} }
} }