@locdo.tech/botiq-chat-sdk 0.3.1 → 0.3.2

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/dist/sdk/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./npm-D7UnWA_n.js";
1
+ import { t as e } from "./npm-CHWKiGUF.js";
2
2
  export { e as init };
@@ -558,7 +558,7 @@ function L(e, t, n, r, i) {
558
558
  </div>
559
559
  <button class="close-btn" aria-label="${F(n.ariaCloseChat)}">×</button>
560
560
  </div>
561
- <div class="messages" id="messages-container"></div>
561
+ <div class="messages" id="messages-container" role="log" aria-live="polite" aria-atomic="false"></div>
562
562
  <div class="chat-footer">
563
563
  <div class="input-row">
564
564
  <textarea
package/dist/sdk/react.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./npm-D7UnWA_n.js";
1
+ import { t as e } from "./npm-CHWKiGUF.js";
2
2
  import { useEffect as t } from "react";
3
3
  //#region src/builds/npm/react.tsx
4
4
  function n(n) {
package/dist/sdk/vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./npm-D7UnWA_n.js";
1
+ import { t as e } from "./npm-CHWKiGUF.js";
2
2
  import { defineComponent as t, onMounted as n, onUnmounted as r } from "vue";
3
3
  //#region src/builds/npm/vue.ts
4
4
  var i = t({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locdo.tech/botiq-chat-sdk",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "BotIQ chat widget SDK — embed AI chatbot into any website with vanilla JS, React, or Vue.",
5
5
  "keywords": [
6
6
  "botiq",
@@ -69,15 +69,27 @@
69
69
  "preview": "vite preview",
70
70
  "test": "vitest run",
71
71
  "test:watch": "vitest",
72
- "prepublishOnly": "npm run build:sdk"
72
+ "test:bundle": "npm run build:cdn && vitest run test/bundle",
73
+ "test:browser": "playwright test",
74
+ "test:browser:ui": "playwright test --ui",
75
+ "test:browser:chromium": "playwright test --project=chromium",
76
+ "pretest:browser": "npm run build:cdn && cpx \"test/browser/fixtures/**\" dist/test-fixtures",
77
+ "pretest:browser:chromium": "npm run pretest:browser",
78
+ "prepublishOnly": "npm run build:sdk",
79
+ "rollback:cdn": "bash scripts/rollback/cdn-rollback.sh"
73
80
  },
74
81
  "devDependencies": {
82
+ "@playwright/test": "^1.60.0",
83
+ "@types/node": "^25.9.1",
75
84
  "@types/react": "^19.2.14",
76
85
  "@types/react-dom": "^19.2.3",
77
86
  "@vitest/coverage-v8": "^4.1.6",
87
+ "cpx2": "^9.0.0",
88
+ "gzip-size": "^7.0.0",
78
89
  "jsdom": "^29.1.1",
79
90
  "react": "^19.2.6",
80
91
  "react-dom": "^19.2.6",
92
+ "serve": "^14.2.6",
81
93
  "typescript": "~6.0.2",
82
94
  "vite": "^8.0.12",
83
95
  "vite-plugin-dts": "^5.0.0",