2
0
Files
bot/packages/lib/package.json
Baptiste Arnaud 2fcf83c529 Introduce a new high-performing standalone chat API (#1200)
Closes #1154

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
	- Added authentication functionality for user sessions in chat API.
- Introduced chat-related API endpoints for starting, previewing, and
continuing chat sessions, and streaming messages.
- Implemented WhatsApp API webhook handling for receiving and processing
messages.
- Added environment variable `NEXT_PUBLIC_CHAT_API_URL` for chat API URL
configuration.

- **Bug Fixes**
	- Adjusted file upload logic to correctly determine the API host.
	- Fixed message streaming URL in chat integration with OpenAI.

- **Documentation**
- Updated guides for creating blocks, local installation, self-hosting,
and deployment to use `bun` instead of `pnpm`.

- **Refactor**
	- Refactored chat API functionalities to use modular architecture.
- Simplified client log saving and session update functionalities by
using external functions.
	- Transitioned package management and workflow commands to use `bun`.

- **Chores**
- Switched to `bun` for package management in Dockerfiles and GitHub
workflows.
	- Added new Dockerfile for chat API service setup with Bun framework.
	- Updated `.prettierignore` and documentation with new commands.

- **Style**
	- No visible changes to end-users.

- **Tests**
	- No visible changes to end-users.

- **Revert**
	- No reverts in this release.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-03-21 10:23:23 +01:00

51 lines
1.4 KiB
JSON

{
"name": "@typebot.io/lib",
"version": "1.0.0",
"license": "AGPL-3.0-or-later",
"private": true,
"main": "./index.ts",
"types": "./index.ts",
"devDependencies": {
"@paralleldrive/cuid2": "2.2.1",
"@playwright/test": "1.36.0",
"@typebot.io/env": "workspace:*",
"@typebot.io/prisma": "workspace:*",
"@typebot.io/tsconfig": "workspace:*",
"@types/escape-html": "^1.0.4",
"@types/nodemailer": "6.4.8",
"@types/validator": "13.11.9",
"next": "14.1.0",
"nodemailer": "6.9.8",
"tslib": "2.6.0",
"typescript": "5.3.2"
},
"peerDependencies": {
"next": "14.0.0",
"nodemailer": "6.7.8"
},
"dependencies": {
"@sentry/nextjs": "7.77.0",
"@trpc/server": "10.40.0",
"@udecode/plate-basic-marks": "30.5.3",
"@udecode/plate-block-quote": "30.5.3",
"@udecode/plate-code-block": "30.7.0",
"@udecode/plate-common": "30.4.5",
"@udecode/plate-heading": "30.5.3",
"@udecode/plate-horizontal-rule": "30.5.3",
"@udecode/plate-link": "30.5.3",
"@udecode/plate-list": "30.5.3",
"@udecode/plate-media": "30.5.3",
"@udecode/plate-paragraph": "30.5.3",
"escape-html": "1.0.3",
"google-auth-library": "8.9.0",
"got": "12.6.0",
"minio": "7.1.3",
"posthog-node": "3.1.1",
"remark-parse": "11.0.0",
"stripe": "12.13.0",
"unified": "11.0.4",
"validator": "13.11.0",
"zod": "3.22.4"
}
}