@inploi/plugin-chatbot
Advanced tools
Comparing version 3.19.0 to 3.20.0
import { IfBlockNode } from '@inploi/core/flows'; | ||
import { KeyToSubmissionMap } from './chatbot.state'; | ||
export declare const isIfBlockConditionMet: (ifBlock: IfBlockNode, submissions?: KeyToSubmissionMap) => boolean; | ||
export declare const isIfBlockConditionMet: (ifBlock: IfBlockNode, { context, submissions }: { | ||
submissions?: KeyToSubmissionMap; | ||
context: Record<string, unknown>; | ||
}) => boolean; |
@@ -49,3 +49,11 @@ import { FlowNode } from '@inploi/core/flows'; | ||
}; | ||
export declare const interpolateString: (str: string, context: KeyToSubmissionMap | undefined) => string; | ||
export type SubmissionValueData = { | ||
submissions: KeyToSubmissionMap | undefined; | ||
context: Record<string, unknown>; | ||
}; | ||
/** Gets a submission value from either submissions or context */ | ||
export declare const getSubmissionValueToCheck: ({ key, path, submissions, context, }: SubmissionValueData & { | ||
key: string; | ||
path?: string[]; | ||
}) => FlowSubmission | undefined; | ||
export {}; |
@@ -1,5 +0,5 @@ | ||
import { M } from "./index-18edb2f5.js"; | ||
import { P } from "./index-41fa1f9a.js"; | ||
import "@inploi/sdk"; | ||
export { | ||
M as chatbotPlugin | ||
P as chatbotPlugin | ||
}; |
{ | ||
"name": "@inploi/plugin-chatbot", | ||
"version": "3.19.0", | ||
"version": "3.20.0", | ||
"type": "module", | ||
@@ -28,4 +28,4 @@ "main": "dist/plugin-chatbot.js", | ||
"@hookform/resolvers": "^3.3.2", | ||
"@preact/preset-vite": "^2.5.0", | ||
"@preact/signals": "^1.2.2", | ||
"@preact/preset-vite": "2.5.0", | ||
"@preact/signals": "1.2.2", | ||
"@radix-ui/react-dialog": "1.0.5", | ||
@@ -57,3 +57,3 @@ "@radix-ui/react-focus-guards": "1.0.1", | ||
"postcss-nesting": "^12.0.1", | ||
"preact": "^10.16.0", | ||
"preact": "10.16.0", | ||
"react": "npm:@preact/compat", | ||
@@ -60,0 +60,0 @@ "react-dom": "npm:@preact/compat", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1105219
28
25604
3