From 7b6afe2c45abf9afa82a94bf5461846ad7e263fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20Ravent=C3=B3s?= <36898236+Iru89@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:15:52 +0100 Subject: [PATCH] Add needs escalation as a webview end fail (#2946) ## Description @botonic/plugin-hubtype-analytics published in 0.30.2 Add a `needs_escalation` as a new WebviewEndFileType @botonic/plugin-flow-builder published in 0.30.8 export type HtBotActionNode --- package-lock.json | 4 ++-- packages/botonic-plugin-flow-builder/package.json | 2 +- packages/botonic-plugin-flow-builder/src/index.ts | 1 + packages/botonic-plugin-hubtype-analytics/package.json | 2 +- packages/botonic-plugin-hubtype-analytics/src/types.ts | 1 + 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9c0fffcf0..e9bab89a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26551,7 +26551,7 @@ }, "packages/botonic-plugin-flow-builder": { "name": "@botonic/plugin-flow-builder", - "version": "0.30.7", + "version": "0.30.8", "dependencies": { "@botonic/react": "^0.30.5", "axios": "^1.7.2", @@ -26597,7 +26597,7 @@ }, "packages/botonic-plugin-hubtype-analytics": { "name": "@botonic/plugin-hubtype-analytics", - "version": "0.30.1", + "version": "0.30.2", "license": "MIT", "dependencies": { "@babel/runtime": "^7.21.0", diff --git a/packages/botonic-plugin-flow-builder/package.json b/packages/botonic-plugin-flow-builder/package.json index 67babf41d..cd0c22dc6 100644 --- a/packages/botonic-plugin-flow-builder/package.json +++ b/packages/botonic-plugin-flow-builder/package.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-flow-builder", - "version": "0.30.7", + "version": "0.30.8", "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "description": "Use Flow Builder to show your contents", diff --git a/packages/botonic-plugin-flow-builder/src/index.ts b/packages/botonic-plugin-flow-builder/src/index.ts index a3dd1e4ad..4631a19d2 100644 --- a/packages/botonic-plugin-flow-builder/src/index.ts +++ b/packages/botonic-plugin-flow-builder/src/index.ts @@ -291,6 +291,7 @@ export default class BotonicPluginFlowBuilder implements Plugin { export * from './action' export * from './content-fields' +export { HtBotActionNode } from './content-fields/hubtype-fields' export { trackFlowContent } from './tracking' export { BotonicPluginFlowBuilderOptions, diff --git a/packages/botonic-plugin-hubtype-analytics/package.json b/packages/botonic-plugin-hubtype-analytics/package.json index 639c45ae4..7a24b5caa 100644 --- a/packages/botonic-plugin-hubtype-analytics/package.json +++ b/packages/botonic-plugin-hubtype-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@botonic/plugin-hubtype-analytics", - "version": "0.30.1", + "version": "0.30.2", "description": "Plugin for tracking in the Hubtype backend to see the results in the Hubtype Dashbord", "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", diff --git a/packages/botonic-plugin-hubtype-analytics/src/types.ts b/packages/botonic-plugin-hubtype-analytics/src/types.ts index 8bfd0dc97..df2c5a75a 100644 --- a/packages/botonic-plugin-hubtype-analytics/src/types.ts +++ b/packages/botonic-plugin-hubtype-analytics/src/types.ts @@ -154,6 +154,7 @@ export interface EventWebviewEnd extends HtBaseEventProps { export enum WebviewEndFailType { CanceledByUser = 'canceled_by_user', ApiError = 'api_error', + NeedsEscalation = 'needs_escalation', } export interface EventCustom extends HtBaseEventProps {