Closes #993 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a detailed explanation page for the "Remember user" setting in the app documentation. - Introduced persistence of chat state across sessions, with options for local or session storage. - Enhanced bot functionality to store and retrieve initial chat replies and manage bot open state with improved storage handling. - Added a new callback for chat state persistence to bot component props. - **Improvements** - Updated the general settings form to clarify the description of the "Remember user" feature. - Enhanced custom CSS handling and progress value persistence in bot components. - Added conditional transition disabling in various components for smoother user experiences. - Simplified the handling of `onTransitionEnd` across multiple bubble components. - **Refactor** - Renamed `inputIndex` to `chunkIndex` or `index` in various components for consistency. - Removed unused ESLint disable comments related to reactivity rules. - Adjusted import statements and cleaned up code across several files. - **Bug Fixes** - Fixed potential issues with undefined callbacks by introducing optional chaining in component props. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
{
|
|
"name": "@typebot.io/js",
|
|
"version": "0.2.49",
|
|
"description": "Javascript library to display typebots on your website",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"dev": "rollup --watch --config rollup.config.js",
|
|
"build": "rollup --config rollup.config.js",
|
|
"lint": "eslint --fix \"src/**/*.ts*\"",
|
|
"format:check": "prettier --check ./src"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@stripe/stripe-js": "1.54.1",
|
|
"@udecode/plate-common": "30.4.5",
|
|
"dompurify": "3.0.6",
|
|
"ky": "1.1.3",
|
|
"marked": "9.0.3",
|
|
"solid-element": "1.7.1",
|
|
"solid-js": "1.7.8"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-typescript": "7.22.5",
|
|
"@rollup/plugin-babel": "6.0.3",
|
|
"@rollup/plugin-node-resolve": "15.1.0",
|
|
"@rollup/plugin-terser": "0.4.3",
|
|
"@rollup/plugin-typescript": "11.1.2",
|
|
"@typebot.io/bot-engine": "workspace:*",
|
|
"@typebot.io/env": "workspace:*",
|
|
"@typebot.io/lib": "workspace:*",
|
|
"@typebot.io/schemas": "workspace:*",
|
|
"@typebot.io/tsconfig": "workspace:*",
|
|
"@types/dompurify": "3.0.3",
|
|
"autoprefixer": "10.4.14",
|
|
"babel-preset-solid": "1.7.7",
|
|
"clsx": "2.0.0",
|
|
"eslint": "8.44.0",
|
|
"eslint-config-custom": "workspace:*",
|
|
"eslint-plugin-solid": "0.12.1",
|
|
"postcss": "8.4.26",
|
|
"react": "18.2.0",
|
|
"rollup": "3.26.2",
|
|
"rollup-plugin-postcss": "4.0.2",
|
|
"rollup-plugin-typescript-paths": "1.4.0",
|
|
"tailwindcss": "3.3.3",
|
|
"typescript": "5.3.2"
|
|
}
|
|
}
|