diff --git a/.vscode/settings.json b/.vscode/settings.json index deaf8ae567..1cddbb56a9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,6 +7,7 @@ "next/router.d.ts", "next/dist/client/router.d.ts" ], + "biome.enabled": true, "[javascript]": { "editor.defaultFormatter": "biomejs.biome" }, diff --git a/packages/embeds/js/package.json b/packages/embeds/js/package.json index a42e888742..28c76a3f02 100644 --- a/packages/embeds/js/package.json +++ b/packages/embeds/js/package.json @@ -1,6 +1,6 @@ { "name": "@typebot.io/js", - "version": "0.3.26", + "version": "0.3.27", "description": "Javascript library to display typebots on your website", "license": "FSL-1.1-ALv2", "type": "module", diff --git a/packages/embeds/js/src/window.ts b/packages/embeds/js/src/window.ts index b839921485..46c8284bfc 100644 --- a/packages/embeds/js/src/window.ts +++ b/packages/embeds/js/src/window.ts @@ -1,5 +1,7 @@ import type { BubbleProps } from "./features/bubble/components/Bubble"; +import { close } from "./features/commands/utils/close"; import { hidePreviewMessage } from "./features/commands/utils/hidePreviewMessage"; +import { open } from "./features/commands/utils/open"; import { setInputValue } from "./features/commands/utils/setInputValue"; import { setPrefilledVariables } from "./features/commands/utils/setPrefilledVariables"; import { showPreviewMessage } from "./features/commands/utils/showPreviewMessage"; diff --git a/packages/embeds/nextjs/package.json b/packages/embeds/nextjs/package.json index b97bf652aa..50b9e80669 100644 --- a/packages/embeds/nextjs/package.json +++ b/packages/embeds/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@typebot.io/nextjs", - "version": "0.3.26", + "version": "0.3.27", "license": "FSL-1.1-ALv2", "description": "Convenient library to display typebots on your Next.js website", "type": "module", diff --git a/packages/embeds/react/package.json b/packages/embeds/react/package.json index 43e7f83952..3dd1567937 100644 --- a/packages/embeds/react/package.json +++ b/packages/embeds/react/package.json @@ -1,6 +1,6 @@ { "name": "@typebot.io/react", - "version": "0.3.26", + "version": "0.3.27", "description": "Convenient library to display typebots on your React app", "license": "FSL-1.1-ALv2", "type": "module", diff --git a/packages/embeds/stories/src/bubble.stories.tsx b/packages/embeds/stories/src/bubble.stories.tsx index 3fc7530e06..22a09e1778 100644 --- a/packages/embeds/stories/src/bubble.stories.tsx +++ b/packages/embeds/stories/src/bubble.stories.tsx @@ -9,7 +9,6 @@ import { toggle, } from "@typebot.io/react"; import { useState } from "react"; -import { leadGenerationTypebot } from "./assets/leadGenerationTypebot"; export const Default = () => { const [name, setName] = useState("John");