diff --git a/packages/embeds/js/package.json b/packages/embeds/js/package.json index 0781c9381..4d8e57809 100644 --- a/packages/embeds/js/package.json +++ b/packages/embeds/js/package.json @@ -1,6 +1,6 @@ { "name": "@typebot.io/js", - "version": "0.1.2", + "version": "0.1.3", "description": "Javascript library to display typebots on your website", "type": "module", "main": "dist/index.js", diff --git a/packages/embeds/js/src/window.ts b/packages/embeds/js/src/window.ts index 343792f24..75fea191a 100644 --- a/packages/embeds/js/src/window.ts +++ b/packages/embeds/js/src/window.ts @@ -9,6 +9,7 @@ import { setPrefilledVariables, showPreviewMessage, toggle, + setInputValue, } from './features/commands' export const initStandard = (props: BotProps & { id?: string }) => { @@ -41,6 +42,7 @@ type Typebot = { setPrefilledVariables: typeof setPrefilledVariables showPreviewMessage: typeof showPreviewMessage toggle: typeof toggle + setInputValue: typeof setInputValue } declare const window: @@ -59,6 +61,7 @@ export const parseTypebot = () => ({ setPrefilledVariables, showPreviewMessage, toggle, + setInputValue, }) export const injectTypebotInWindow = (typebot: Typebot) => { diff --git a/packages/embeds/nextjs/package.json b/packages/embeds/nextjs/package.json index b84fadf7e..05ea15037 100644 --- a/packages/embeds/nextjs/package.json +++ b/packages/embeds/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@typebot.io/nextjs", - "version": "0.1.2", + "version": "0.1.3", "description": "Convenient library to display typebots on your Next.js website", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/embeds/react/package.json b/packages/embeds/react/package.json index f3cf7a5c3..2cd920956 100644 --- a/packages/embeds/react/package.json +++ b/packages/embeds/react/package.json @@ -1,6 +1,6 @@ { "name": "@typebot.io/react", - "version": "0.1.2", + "version": "0.1.3", "description": "Convenient library to display typebots on your Next.js website", "main": "dist/index.js", "types": "dist/index.d.ts",