@botonic/nx-plugin 2.24.0 → 2.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## 2.26.0 (2026-03-31)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **webchat-react:** chat input action bar and contextual send/mic #BLT-2290 ([#788](https://github.com/metis-ai/hubtype-product/pull/788))
6
+ - **botonic:** allow Cloudflare tunnel hostnames in Vite webchat ([#780](https://github.com/metis-ai/hubtype-product/pull/780))
7
+
8
+ ### ❤️ Thank You
9
+
10
+ - David Hidalgo @Davidhidalgo
11
+
12
+ ## 2.25.0 (2026-03-27)
13
+
14
+ This was a version bump only for @botonic/nx-plugin to align it with other projects, there were no code changes.
15
+
1
16
  ## 2.24.0 (2026-03-27)
2
17
 
3
18
  ### 🚀 Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botonic/nx-plugin",
3
- "version": "2.24.0",
3
+ "version": "2.26.0",
4
4
  "description": "Nx plugin for creating Botonic bot applications",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -70,12 +70,12 @@ test.describe('Botonic Publish E2E', () => {
70
70
  await ensureWebchatOpen(page)
71
71
 
72
72
  const input = page.locator('textarea').first()
73
- const sendButton = page.locator('button[class*="send-button"]').first()
74
-
75
73
  await expect(input).toBeVisible({ timeout: 5000 })
76
- await expect(sendButton).toBeVisible()
77
74
 
78
75
  await input.fill('test message')
76
+
77
+ const sendButton = page.getByRole('button', { name: 'Send message' })
78
+ await expect(sendButton).toBeVisible()
79
79
  await sendButton.click()
80
80
 
81
81
  const messages = page.locator('[class*="message-module"]')
@@ -26,11 +26,17 @@ export function getWebchatConfig(command: 'serve' | 'build'): UserConfig {
26
26
  port: server.port,
27
27
  host: 'localhost',
28
28
  open: '/',
29
+ allowedHosts: process.env.VITE_ALLOWED_HOSTS
30
+ ? process.env.VITE_ALLOWED_HOSTS.split(',')
31
+ : [],
29
32
  },
30
33
 
31
34
  preview: {
32
35
  port: server.preview,
33
36
  host: 'localhost',
37
+ allowedHosts: process.env.VITE_ALLOWED_HOSTS
38
+ ? process.env.VITE_ALLOWED_HOSTS.split(',')
39
+ : [],
34
40
  },
35
41
 
36
42
  build: {
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "0.4.0"
2
+ "version": "0.5.0"
3
3
  }