Skip to content

Commit

Permalink
🐛 Import open and close command from embed lib
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Oct 29, 2024
1 parent e642c0c commit b734c60
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"next/router.d.ts",
"next/dist/client/router.d.ts"
],
"biome.enabled": true,
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/embeds/js/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 2 additions & 0 deletions packages/embeds/js/src/window.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion packages/embeds/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/embeds/react/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
1 change: 0 additions & 1 deletion packages/embeds/stories/src/bubble.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit b734c60

Please sign in to comment.